|
|
@ -80,34 +80,41 @@ |
|
|
|
:selectable="checkSelect" |
|
|
|
width="55"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="houseName" |
|
|
|
<el-table-column prop="houseNameShow" |
|
|
|
label="房屋名称" |
|
|
|
width="120"> |
|
|
|
min-width="160"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="neighborHoodName" |
|
|
|
label="所属小区" |
|
|
|
width="160"> |
|
|
|
min-width="150"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="buildingName" |
|
|
|
label="所属楼栋"> |
|
|
|
label="所属楼栋" |
|
|
|
width="80"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="unitNum" |
|
|
|
label="单元号"> |
|
|
|
<el-table-column prop="unitNumShow" |
|
|
|
label="单元号" |
|
|
|
width="70"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="doorName" |
|
|
|
label="门牌号"> |
|
|
|
label="门牌号" |
|
|
|
width="70"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="houseType" |
|
|
|
label="类型"> |
|
|
|
label="类型" |
|
|
|
width="50"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="purpose" |
|
|
|
label="用途"> |
|
|
|
label="用途" |
|
|
|
width="50"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="rentFlag" |
|
|
|
label="是否出租"> |
|
|
|
label="是否出租" |
|
|
|
width="80"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="ownerName" |
|
|
|
label="房主姓名"> |
|
|
|
label="房主姓名" |
|
|
|
width="90"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="ownerPhone" |
|
|
|
label="房主电话" |
|
|
@ -214,6 +221,8 @@ export default { |
|
|
|
selection: [], |
|
|
|
showDeletBtn: false, |
|
|
|
|
|
|
|
tableData: [], |
|
|
|
|
|
|
|
//form相关 |
|
|
|
formShow: false, |
|
|
|
formTitle: '新增房屋', |
|
|
@ -229,7 +238,6 @@ export default { |
|
|
|
}, |
|
|
|
computed: { |
|
|
|
tableHeight () { |
|
|
|
|
|
|
|
return this.$store.state.inIframe ? this.clientHeight - 300 + this.iframeHeight : this.clientHeight - 300 |
|
|
|
|
|
|
|
}, |
|
|
@ -298,6 +306,8 @@ export default { |
|
|
|
this.total = data.total |
|
|
|
this.validTableDataNum = 0 |
|
|
|
data.list.forEach(item => { |
|
|
|
item.houseNameShow = item.neighborHoodName + item.buildingName + item.unitNum + '单元' + item.doorName |
|
|
|
item.unitNumShow = item.unitNum + '单元' |
|
|
|
if (item.agencyId === this.staffAgencyId) { |
|
|
|
item.showBtn = true |
|
|
|
this.validTableDataNum++ |
|
|
@ -327,6 +337,7 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
handleAdd () { |
|
|
|
|
|
|
|
this.formTitle = '新增房屋' |
|
|
|
this.formShow = true |
|
|
|
this.$nextTick(() => { |
|
|
|