|
@@ -76,6 +76,7 @@ import dialogAssets from "@/components/ledger/addDialog/dialogSystem"
|
|
import detailsDialog from "@/components/business_space/lib/detailsDia"
|
|
import detailsDialog from "@/components/business_space/lib/detailsDia"
|
|
import systemRelevance from "@/components/ledger/tableTransfers"
|
|
import systemRelevance from "@/components/ledger/tableTransfers"
|
|
import Handsontable from "handsontable-pro"
|
|
import Handsontable from "handsontable-pro"
|
|
|
|
+import text from "@/utils/handsontable/mainText"
|
|
import 'handsontable-pro/dist/handsontable.full.css'
|
|
import 'handsontable-pro/dist/handsontable.full.css'
|
|
|
|
|
|
import { mapGetters } from "vuex";
|
|
import { mapGetters } from "vuex";
|
|
@@ -264,6 +265,9 @@ export default {
|
|
let arr = tools.copyArr(list)
|
|
let arr = tools.copyArr(list)
|
|
let data = showTools.headerTextFilter(arr, 'system', this.onlyRead, this.showType)
|
|
let data = showTools.headerTextFilter(arr, 'system', this.onlyRead, this.showType)
|
|
data.unshift("操作", "关联设备数量");
|
|
data.unshift("操作", "关联设备数量");
|
|
|
|
+ if (this.showType == "all") {
|
|
|
|
+ data.splice(3, 0, "所属建筑楼层")
|
|
|
|
+ }
|
|
return data;
|
|
return data;
|
|
},
|
|
},
|
|
//格式化表内容
|
|
//格式化表内容
|
|
@@ -287,6 +291,13 @@ export default {
|
|
item.readOnly = true
|
|
item.readOnly = true
|
|
})
|
|
})
|
|
}
|
|
}
|
|
|
|
+ if (this.showType == "all") {
|
|
|
|
+ data.splice(3, 0, {
|
|
|
|
+ data: "sysInBuildFloor",
|
|
|
|
+ renderer: text.sysInBuildFloor,
|
|
|
|
+ readOnly: this.onlyRead
|
|
|
|
+ })
|
|
|
|
+ }
|
|
return data;
|
|
return data;
|
|
},
|
|
},
|
|
//获取动态参数
|
|
//获取动态参数
|