|
@@ -504,15 +504,15 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
handleClick(tab) {
|
|
|
- if (tab.index == '0') {
|
|
|
+ if (tab.label == '机房布置图') {
|
|
|
this.Index()
|
|
|
- } else if (tab.index == '1') {
|
|
|
+ } else if (tab.label == '配电室低压柜及出线明细表') {
|
|
|
this.Index1()
|
|
|
- } else if (tab.index == '2') {
|
|
|
+ } else if (tab.label == '机房内核心设备') {
|
|
|
this.Index2()
|
|
|
- } else if (tab.index == '3') {
|
|
|
+ } else if (tab.label == '维修记录') {
|
|
|
this.Index3()
|
|
|
- } else if (tab.index == '4') {
|
|
|
+ } else if (tab.label == '维保记录') {
|
|
|
this.Index4()
|
|
|
this.changeSelect()
|
|
|
}
|
|
@@ -614,7 +614,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
if (this.floorChange) {
|
|
|
- data.floor = this.floorChange
|
|
|
+ data.gname = this.floorChange
|
|
|
}
|
|
|
queryHxsb({ data, postParams }).then(res => {
|
|
|
// console.log('核心设备', res)
|