Commit f3cac267 authored by dxw's avatar dxw

调整

parent 3fbbfd1d
......@@ -339,6 +339,9 @@ export default {
},
currentModel() {
return this.$store.state.d2admin.paramsList.list.syBean.currentModel
},
type() {
return this.$store.state.d2admin.paramsList.list.syBean.type
}
},
watch: {
......@@ -491,6 +494,13 @@ export default {
'electric_energy',
e.electric_energy
)
if(this.type == 2){
this.$set(
this.tableData[i],
'statusName',
e.status == 1 ?'运行': e.status == 2?'停止':e.status == 3?'离线':'故障'
)
}
}
})
}
......@@ -536,6 +546,13 @@ export default {
'electric_energy',
e.electric_energy
)
if(this.type == 2){
this.$set(
this.tableData[i],
'statusName',
e.status == 1 ?'运行': e.status == 2?'停止':e.status == 3?'离线':'故障'
)
}
}
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment