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

11

parent ea389b54
......@@ -73,7 +73,7 @@
<div style="font-size:12px;padding:2px 4px 3px 4px; color:red">{{$t('ground.zymcdcsjbcgygy')}}</div>
<!-- 使用 el-table 替换原生 table,设置 height 实现固定表头 -->
<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">
<template #default="{row}">
<span v-if="row.isFirst">{{row.parent.DMCNum}}</span>
......@@ -260,7 +260,7 @@
},
methods: {
// 控制合并单元格:当为某父项的第一行时,把前几列合并到子项个数
tableSpanMethod({
row,
......@@ -323,6 +323,10 @@
else if (subItem.HouseType == 5) {
roomName = "T/D";
}
//NoBed
else if (subItem.HouseType == 6) {
roomName = "NoBed";
}
return roomName;
},
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