|
@@ -126,7 +126,7 @@
|
|
>
|
|
>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
- <div class="titleinfoall" >
|
|
|
|
|
|
+ <div class="titleinfoall" v-if="showControlStatistics">
|
|
<div class="titleinfo">
|
|
<div class="titleinfo">
|
|
<span class="showTitle fontSty1">启动:</span>
|
|
<span class="showTitle fontSty1">启动:</span>
|
|
<span class="showvalue">
|
|
<span class="showvalue">
|
|
@@ -359,7 +359,7 @@ export default {
|
|
obj.stationId = item.id;
|
|
obj.stationId = item.id;
|
|
obj.children = [];
|
|
obj.children = [];
|
|
this.showData[0].children.push(obj);
|
|
this.showData[0].children.push(obj);
|
|
- console.log(123,obj.stationId);
|
|
|
|
|
|
+ // console.log(123,obj.stationId);
|
|
}
|
|
}
|
|
});
|
|
});
|
|
this.datas = this.$store.state.windturbinelist
|
|
this.datas = this.$store.state.windturbinelist
|
|
@@ -374,7 +374,7 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
handleChange(value) {
|
|
handleChange(value) {
|
|
- console.log(111,value);
|
|
|
|
|
|
+ // console.log(111,value);
|
|
this.statname=value.stationId
|
|
this.statname=value.stationId
|
|
this.chooseStation = value;
|
|
this.chooseStation = value;
|
|
this.pageIndex = 1;
|
|
this.pageIndex = 1;
|
|
@@ -434,7 +434,7 @@ export default {
|
|
)
|
|
)
|
|
.then((res) => {
|
|
.then((res) => {
|
|
this.showControlStatistics = true;
|
|
this.showControlStatistics = true;
|
|
- console.log(999,res);
|
|
|
|
|
|
+ // console.log(999,res);
|
|
this.controlStatisticsInfo = {
|
|
this.controlStatisticsInfo = {
|
|
advanceTime: res.data.advanceTime,
|
|
advanceTime: res.data.advanceTime,
|
|
maintenanceCount: res.data.maintenanceCount,
|
|
maintenanceCount: res.data.maintenanceCount,
|
|
@@ -470,6 +470,7 @@ export default {
|
|
pageIndex: this.pageIndex,
|
|
pageIndex: this.pageIndex,
|
|
})
|
|
})
|
|
.then((res) => {
|
|
.then((res) => {
|
|
|
|
+ console.log(123,res);
|
|
if (res) {
|
|
if (res) {
|
|
let types = {
|
|
let types = {
|
|
Start: "启动",
|
|
Start: "启动",
|
|
@@ -486,10 +487,10 @@ export default {
|
|
item.result = this.controlErorCodes[item.errorCode];
|
|
item.result = this.controlErorCodes[item.errorCode];
|
|
item.controls = types[item.controlType];
|
|
item.controls = types[item.controlType];
|
|
item.showName = item.windturbineId;
|
|
item.showName = item.windturbineId;
|
|
- if(item.statusChanged=='true'){
|
|
|
|
- item.statusChanged='成功'
|
|
|
|
|
|
+ if(item.statusChanged==false){
|
|
|
|
+ item.statusChanged='失败'
|
|
}else{
|
|
}else{
|
|
- item.statusChanged='失败'
|
|
|
|
|
|
+ item.statusChanged='成功'
|
|
}
|
|
}
|
|
});
|
|
});
|
|
this.total = res.data.total;
|
|
this.total = res.data.total;
|