Commit 4b8c21d0 authored by 黄奎's avatar 黄奎

11

parent ea389b54
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
<div style="font-size:12px;padding:2px 4px 3px 4px; color:red">{{$t('ground.zymcdcsjbcgygy')}}</div> <div style="font-size:12px;padding:2px 4px 3px 4px; color:red">{{$t('ground.zymcdcsjbcgygy')}}</div>
<!-- 使用 el-table 替换原生 table,设置 height 实现固定表头 --> <!-- 使用 el-table 替换原生 table,设置 height 实现固定表头 -->
<el-table :data="flattenedRows" v-loading="loading" stripe border :height="tableHeight" <el-table :data="flattenedRows" v-loading="loading" stripe border :height="tableHeight"
:span-method="tableSpanMethod" style="width: 100%; font-size:12px;" > :span-method="tableSpanMethod" style="width: 100%; font-size:12px;">
<el-table-column :label="$t('active.ad_xuhao')" prop="DMCNum" width="150"> <el-table-column :label="$t('active.ad_xuhao')" prop="DMCNum" width="150">
<template #default="{row}"> <template #default="{row}">
<span v-if="row.isFirst">{{row.parent.DMCNum}}</span> <span v-if="row.isFirst">{{row.parent.DMCNum}}</span>
...@@ -323,6 +323,10 @@ ...@@ -323,6 +323,10 @@
else if (subItem.HouseType == 5) { else if (subItem.HouseType == 5) {
roomName = "T/D"; roomName = "T/D";
} }
//NoBed
else if (subItem.HouseType == 6) {
roomName = "NoBed";
}
return roomName; return roomName;
}, },
getLineList() { getLineList() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment