|
@@ -7,7 +7,7 @@
|
|
|
</el-tooltip>
|
|
|
</el-row>
|
|
|
<div class="table-box">
|
|
|
- <el-table :data="tableData" style="width: 100%" height="100%" :header-cell-style="headerStyle" v-loading="loading">
|
|
|
+ <el-table :data="tableData" style="width: 100%" height="100%" :header-cell-style="headerStyle" v-loading="loading">
|
|
|
<el-table-column :label="`${inSpaceType}名称`" show-overflow-tooltip min-width="100">
|
|
|
<template slot-scope="scope">
|
|
|
<div>
|
|
@@ -158,13 +158,16 @@ export default {
|
|
|
this.$refs.addEqDialog.floor = [this.params.BuildingId, this.params.FloorId];
|
|
|
this.$refs.addEqDialog.showDialog()
|
|
|
},
|
|
|
- changeContentStyle(){
|
|
|
- this.$route.name == "spaceLedger"?this.hidden = false:this.hidden = true;
|
|
|
+ changeContentStyle() {
|
|
|
+ this.$route.name == "spaceLedger" ? this.hidden = false : this.hidden = true;
|
|
|
}
|
|
|
},
|
|
|
watch: {
|
|
|
type() {
|
|
|
this.getTableData()
|
|
|
+ },
|
|
|
+ params() {
|
|
|
+ this.getTableData()
|
|
|
}
|
|
|
}
|
|
|
};
|