|
@@ -342,7 +342,7 @@
|
|
|
style="width:192px;margin-right:12px"
|
|
|
></el-input>
|
|
|
<Select
|
|
|
- @change="Index3Emit(1)"
|
|
|
+ @change="confirmMore"
|
|
|
@confirm="confirmMore"
|
|
|
style="margin-right:12px;"
|
|
|
v-model="statue"
|
|
@@ -593,9 +593,8 @@ export default {
|
|
|
this.Index2();
|
|
|
this.$refs.roomTable3.computedHeight();
|
|
|
} else if (tab.label == "核心设备日常维修") {
|
|
|
- // this.Index3();
|
|
|
- this.$refs.roomTable4.computedHeight();
|
|
|
this.changeSelect("核心设备日常维修");
|
|
|
+ // this.$refs.roomTable4.computedHeight();
|
|
|
} else if (tab.label == "核心设备日常维保") {
|
|
|
this.changeSelect("核心设备日常维保");
|
|
|
this.$refs.roomTable5.computedHeight();
|
|
@@ -769,10 +768,6 @@ export default {
|
|
|
if (this.smsxtArr.smsxt != "1008") {
|
|
|
getParams.data.onlyMainAsset = true;
|
|
|
}
|
|
|
- //////////待定
|
|
|
- // if (this.assetnum) {
|
|
|
- // getParams.data.assetnum = this.assetnum;
|
|
|
- // }
|
|
|
|
|
|
//下拉
|
|
|
// 监听下拉框
|
|
@@ -815,13 +810,17 @@ export default {
|
|
|
if (getParams.data.keyword == "") {
|
|
|
delete getParams.data.keyword;
|
|
|
}
|
|
|
+ if(this.statue.length){
|
|
|
const data = {
|
|
|
- status:this.statue
|
|
|
+ status: this.statue
|
|
|
+ };
|
|
|
+ getParams.getParams = data;
|
|
|
}
|
|
|
- queryWxzy(data,getParams).then(res => {
|
|
|
+ queryWxzy(getParams).then(res => {
|
|
|
+ console.log('data4',res)
|
|
|
this.loading4 = false;
|
|
|
this.total3 = res.count;
|
|
|
- this.table4 = res.data ? res.data : [];
|
|
|
+ this.table4 = res.data.data ? res.data.data : []
|
|
|
});
|
|
|
},
|
|
|
// 机房维保记录
|
|
@@ -986,6 +985,7 @@ export default {
|
|
|
this.statue = statue;
|
|
|
if (val == "核心设备日常维修") {
|
|
|
this.Index3Emit(1);
|
|
|
+ this.$refs.roomTable4.computedHeight();
|
|
|
} else {
|
|
|
this.Index4Emit(1);
|
|
|
}
|