Browse Source

修改风柜水阀、风机的远程手自动状态

meizhou
selia-zx 2 weeks ago
parent
commit
16710f719c
  1. 18
      src/views/aircAndWindc/awSysMonitor/components/damperMonitor.vue

18
src/views/aircAndWindc/awSysMonitor/components/damperMonitor.vue

@ -151,7 +151,7 @@
inactive-color="#ff4949" inactive-color="#ff4949"
active-text="手动" active-text="手动"
inactive-text="自动" inactive-text="自动"
@change="handleControlText(damperOneRemoteObj,'手动','自动')" @change="handleControlText(damperOneRemoteObj, '手动', '自动')"
> >
</el-switch> </el-switch>
</div> </div>
@ -220,7 +220,7 @@
inactive-color="#ff4949" inactive-color="#ff4949"
active-text="手动" active-text="手动"
inactive-text="自动" inactive-text="自动"
@change="handleControlText(damperTwoRemoteObj,'手动','自动')" @change="handleControlText(damperTwoRemoteObj, '手动', '自动')"
> >
</el-switch> </el-switch>
</div> </div>
@ -299,7 +299,7 @@
inactive-color="#ff4949" inactive-color="#ff4949"
active-text="手动" active-text="手动"
inactive-text="自动" inactive-text="自动"
@change="handleControlText(damperThreeRemoteObj,'手动','自动')" @change="handleControlText(damperThreeRemoteObj, '手动', '自动')"
> >
</el-switch> </el-switch>
</div> </div>
@ -373,7 +373,7 @@
inactive-color="#ff4949" inactive-color="#ff4949"
active-text="开启" active-text="开启"
inactive-text="停止" inactive-text="停止"
@change="handleControlText(remoteManualObj,'开启','停止')" @change="handleControlText(remoteManualObj, '开启', '停止')"
:disabled="automaticObj.collectValue" :disabled="automaticObj.collectValue"
> >
</el-switch> </el-switch>
@ -392,7 +392,7 @@
inactive-color="#ff4949" inactive-color="#ff4949"
active-text="开启" active-text="开启"
inactive-text="停止" inactive-text="停止"
@change="handleControlText(timeScheduleObj,'开启','停止')" @change="handleControlText(timeScheduleObj, '开启', '停止')"
:disabled="automaticObj.collectValue" :disabled="automaticObj.collectValue"
> >
</el-switch> </el-switch>
@ -487,7 +487,7 @@
inactive-color="#ff4949" inactive-color="#ff4949"
active-text="手动" active-text="手动"
inactive-text="自动" inactive-text="自动"
@change="handleControlText(damperHzRemoteObj,'手动','自动')" @change="handleControlText(damperHzRemoteObj, '手动', '自动')"
> >
</el-switch> </el-switch>
</div> </div>
@ -580,7 +580,7 @@
inactive-color="#ff4949" inactive-color="#ff4949"
active-text="手动" active-text="手动"
inactive-text="自动" inactive-text="自动"
@change="handleControlText(waterValveRemoteObj,'手动','自动')" @change="handleControlText(waterValveRemoteObj, '手动', '自动')"
> >
</el-switch> </el-switch>
</div> </div>
@ -1334,6 +1334,8 @@ export default {
item.collectName.includes("风机频率远程手自动") item.collectName.includes("风机频率远程手自动")
) { ) {
this.damperHzRemoteObj = item; this.damperHzRemoteObj = item;
this.damperHzRemoteObj.collectValue =
Number(item.collectValue) == 1 ? true : false;
} }
// //
else if ( else if (
@ -1348,6 +1350,8 @@ export default {
item.collectName.includes("水阀远程手自动") item.collectName.includes("水阀远程手自动")
) { ) {
this.waterValveRemoteObj = item; this.waterValveRemoteObj = item;
this.waterValveRemoteObj.collectValue =
Number(item.collectValue) == 1 ? true : false;
console.log("水阀远程手自动", this.waterValveRemoteObj); console.log("水阀远程手自动", this.waterValveRemoteObj);
} }
// //

Loading…
Cancel
Save