Browse Source

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

meizhou
selia-zx 1 week ago
parent
commit
16710f719c
  1. 138
      src/views/aircAndWindc/awSysMonitor/components/damperMonitor.vue

138
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>
@ -481,41 +481,41 @@
风机频率远程手自动: 风机频率远程手自动:
</div> </div>
<el-switch <el-switch
style="display: block" style="display: block"
v-model="damperHzRemoteObj.collectValue" v-model="damperHzRemoteObj.collectValue"
active-color="#13ce66" active-color="#13ce66"
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>
<div class="context-li" v-if="isObjectValid(damperByHandHzObj)"> <div class="context-li" v-if="isObjectValid(damperByHandHzObj)">
<div :class="getTextClass(damperByHandHzObj, 'wind-text')"> <div :class="getTextClass(damperByHandHzObj, 'wind-text')">
风机频率手动调节: 风机频率手动调节:
</div> </div>
<el-form @submit.native.prevent> <el-form @submit.native.prevent>
<el-form-item> <el-form-item>
<el-input <el-input
style="width: 1.2rem" style="width: 1.2rem"
@keyup.enter.native=" @keyup.enter.native="
handleEnter(damperByHandHzObj, $event, '%') handleEnter(damperByHandHzObj, $event, '%')
" "
@input="handleInput(damperByHandHzObj)" @input="handleInput(damperByHandHzObj)"
@blur="handleBlur()" @blur="handleBlur()"
v-model="damperByHandHzObj.collectValue" v-model="damperByHandHzObj.collectValue"
size="mini" size="mini"
:disabled="!damperHzRemoteObj.collectValue" :disabled="!damperHzRemoteObj.collectValue"
> >
<svg-icon <svg-icon
slot="prefix" slot="prefix"
icon-class="percentage-icon" icon-class="percentage-icon"
class="percentage-icon" class="percentage-icon"
/> />
</el-input> </el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
</div> </div>
<div class="fan-satatus2"> <div class="fan-satatus2">
@ -574,41 +574,41 @@
水阀远程手自动: 水阀远程手自动:
</div> </div>
<el-switch <el-switch
style="display: block" style="display: block"
v-model="waterValveRemoteObj.collectValue" v-model="waterValveRemoteObj.collectValue"
active-color="#13ce66" active-color="#13ce66"
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>
<div class="context-li" v-if="isObjectValid(waterValveByHandHzObj)"> <div class="context-li" v-if="isObjectValid(waterValveByHandHzObj)">
<div :class="getTextClass(waterValveByHandHzObj, 'wind-text')"> <div :class="getTextClass(waterValveByHandHzObj, 'wind-text')">
水阀手动调节: 水阀手动调节:
</div> </div>
<el-form @submit.native.prevent> <el-form @submit.native.prevent>
<el-form-item> <el-form-item>
<el-input <el-input
style="width: 1.2rem" style="width: 1.2rem"
@keyup.enter.native=" @keyup.enter.native="
handleEnter(waterValveByHandHzObj, $event, '%') handleEnter(waterValveByHandHzObj, $event, '%')
" "
@input="handleInput(waterValveByHandHzObj)" @input="handleInput(waterValveByHandHzObj)"
@blur="handleBlur()" @blur="handleBlur()"
v-model="waterValveByHandHzObj.collectValue" v-model="waterValveByHandHzObj.collectValue"
size="mini" size="mini"
:disabled="!waterValveRemoteObj.collectValue" :disabled="!waterValveRemoteObj.collectValue"
> >
<svg-icon <svg-icon
slot="prefix" slot="prefix"
icon-class="percentage-icon" icon-class="percentage-icon"
class="percentage-icon" class="percentage-icon"
/> />
</el-input> </el-input>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
</div> </div>
@ -1075,8 +1075,8 @@ export default {
this.backwaterObj = {}; // this.backwaterObj = {}; //
this.waterValveObj = {}; // this.waterValveObj = {}; //
this.waterValveObjSet = {}; // this.waterValveObjSet = {}; //
this.waterValveByHandHzObj = {}; // this.waterValveByHandHzObj = {}; //
this.waterValveRemoteObj = {}; // this.waterValveRemoteObj = {}; //
this.startControlObj = {}; // this.startControlObj = {}; //
this.runStatusObj = {}; // this.runStatusObj = {}; //
this.airSupplyObj = {}; // this.airSupplyObj = {}; //
@ -1098,8 +1098,8 @@ export default {
this.timeScheduleObj = {}; // this.timeScheduleObj = {}; //
this.damperHzBackObj = {}; // this.damperHzBackObj = {}; //
this.damperHzObj = {}; // this.damperHzObj = {}; //
this.damperHzRemoteObj = {}; // this.damperHzRemoteObj = {}; //
this.damperByHandHzObj = {}; // this.damperByHandHzObj = {}; //
this.modeChangeObj = {}; // this.modeChangeObj = {}; //
this.modeOneObj = {}; // this.modeOneObj = {}; //
this.modeTwoObj = {}; // this.modeTwoObj = {}; //
@ -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