|
@@ -26,15 +26,16 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <div style="display: flex;flex-direction: column;margin-left: 600px">
|
|
|
+ <div class="BUT">
|
|
|
<div>
|
|
|
控制选择模式:
|
|
|
<el-button
|
|
|
- @click="JZXZ"
|
|
|
- class="button"
|
|
|
type="primary"
|
|
|
+ @click="JZXZ"
|
|
|
size="small"
|
|
|
- :class="{'Active_button' :formData.JZ_XZ == 1}">
|
|
|
+ class="Blue_button"
|
|
|
+ :class="{'Green_button' :formData.JZ_XZ == 1}"
|
|
|
+ >
|
|
|
|
|
|
{{ formData.JZ_XZ == 0 ? "CK1" : "CK2" }}
|
|
|
</el-button>
|
|
@@ -44,11 +45,12 @@
|
|
|
控制模式复位:
|
|
|
<el-button
|
|
|
@click="MSXZ"
|
|
|
- class="button"
|
|
|
+ class="Blue_button"
|
|
|
+ :class="{'Green_button' :formData.MS_XZ == 1}"
|
|
|
type="primary"
|
|
|
size="small"
|
|
|
- :class="{'Active_button' :formData.MS_XZ == 1}">
|
|
|
- 复位
|
|
|
+ >
|
|
|
+ {{ formData.MS_XZ == 0 ? "主用" : "备用" }}
|
|
|
</el-button>
|
|
|
</div>
|
|
|
|
|
@@ -56,10 +58,10 @@
|
|
|
故障复位:
|
|
|
<el-button
|
|
|
@click="GZFW"
|
|
|
- class="button"
|
|
|
+ class="Blue_button"
|
|
|
type="primary"
|
|
|
size="small"
|
|
|
- :class="{'Active_button' :formData.GZ_FW == 1}">
|
|
|
+ :class="{'Red_button' :formData.GZ_FW == 1}">
|
|
|
{{ formData.GZ_FW == 0 ? "关闭" : "打开" }}
|
|
|
</el-button>
|
|
|
</div>
|
|
@@ -68,8 +70,7 @@
|
|
|
|
|
|
</div>
|
|
|
|
|
|
- <div style="padding: 0px;border: 1px solid #545c64;margin-top: 16px">
|
|
|
-
|
|
|
+ <div class="All">
|
|
|
<div>
|
|
|
<div class="head">
|
|
|
<span>设备名称</span>
|
|
@@ -77,98 +78,106 @@
|
|
|
<span>手动命令</span>
|
|
|
<span>实时反馈</span>
|
|
|
</div>
|
|
|
+
|
|
|
<div class="item">
|
|
|
<span>空调送风机</span>
|
|
|
- <el-button size="small" @click="shouZiDongSFJ" :class="{'Active_button' :formData.SFJ_SZXZ == 1}">
|
|
|
+ <el-button size="small" @click="shouZiDongSFJ" class="Blue_button"
|
|
|
+ :class="{'Green_button' :formData.SFJ_SZXZ == 1}"
|
|
|
+ >
|
|
|
{{ formData.SFJ_SZXZ == 0 ? '自动' : '手动' }}
|
|
|
</el-button>
|
|
|
- <el-button size="small" @click="shouZiDongSFJSD" :class="{'Active_button' :formData.SFJ_SDQD == 1}"
|
|
|
+ <el-button size="small" @click="shouZiDongSFJSD" class="Blue_button"
|
|
|
+ :class="{'Red_button' :formData.SFJ_SDQD == 0}"
|
|
|
style="margin-right: 30px">
|
|
|
- {{ formData.SFJ_SDQD == 0 ? '启动' : '停止' }}
|
|
|
+ {{ formData.SFJ_SDQD == 1 ? '启动' : '停止' }}
|
|
|
</el-button>
|
|
|
<span style="margin-right: 14px">{{ formData.SFJ_QT == 0 ? "停止" : "启动" }}</span>
|
|
|
</div>
|
|
|
|
|
|
<div class="item">
|
|
|
<span>空调排风机</span>
|
|
|
- <el-button size="small" @click="shouZiDongPFJ" :class="{'Active_button' :formData.PFJ_SZXZ == 1}">
|
|
|
+ <el-button size="small" @click="shouZiDongPFJ" class="Blue_button"
|
|
|
+ :class="{'Green_button' :formData.PFJ_SZXZ == 1}">
|
|
|
{{ formData.PFJ_SZXZ == 0 ? '自动' : '手动' }}
|
|
|
</el-button>
|
|
|
- <el-button size="small" @click="shouZiDongPFJSD" :class="{'Active_button' :formData.PFJ_SDQD == 1}"
|
|
|
+ <el-button size="small" @click="shouZiDongPFJSD" class="Blue_button"
|
|
|
+ :class="{'Red_button' :formData.PFJ_SDQD == 0}"
|
|
|
style="margin-right: 30px">
|
|
|
- {{ formData.PFJ_SDQD == 0 ? '启动' : '停止' }}
|
|
|
+ {{ formData.PFJ_SDQD == 1 ? '启动' : '停止' }}
|
|
|
</el-button>
|
|
|
<span style="margin-right: 14px">{{ formData.PFJ_QT == 0 ? "停止" : "启动" }}</span>
|
|
|
</div>
|
|
|
|
|
|
<div class="item">
|
|
|
<span>风 冷 主 机</span>
|
|
|
- <el-button size="small" @click="shouZiDongFLZJ" :class="{'Active_button' :formData.FLZJ_SZXZ == 1}">
|
|
|
+ <el-button size="small" @click="shouZiDongFLZJ" :class="{'Green_button' :formData.FLZJ_SZXZ == 1}">
|
|
|
{{ formData.FLZJ_SZXZ == 0 ? '自动' : '手动' }}
|
|
|
</el-button>
|
|
|
- <el-button size="small" @click="shouZiDongFLZJSD" :class="{'Active_button' :formData.FLZJ_SDQD == 1}"
|
|
|
+ <el-button size="small" @click="shouZiDongFLZJSD" :class="{'Red_button' :formData.FLZJ_SDQD == 0}"
|
|
|
style="margin-right: 30px">
|
|
|
- {{ formData.FLZJ_SDQD == 0 ? '启动' : '停止' }}
|
|
|
+ {{ formData.FLZJ_SDQD == 1 ? '启动' : '停止' }}
|
|
|
</el-button>
|
|
|
<span style="margin-right: 14px">{{ formData.FLZJ_QT == 0 ? "停止" : "启动" }}</span>
|
|
|
</div>
|
|
|
|
|
|
<div class="item">
|
|
|
<span>一级电加热</span>
|
|
|
- <el-button size="small" @click="shouZiDongYJDJRSS" :class="{'Active_button' :formData.YJDJR_SZXZ == 1}">
|
|
|
+ <el-button size="small" @click="shouZiDongYJDJRSS" :class="{'Green_button' :formData.YJDJR_SZXZ == 1}">
|
|
|
{{ formData.YJDJR_SZXZ == 0 ? '自动' : '手动' }}
|
|
|
</el-button>
|
|
|
- <el-button size="small" @click="shouZiDongYJDJRSDSS" :class="{'Active_button' :formData.YJDJR_SDQD == 1}"
|
|
|
+ <el-button size="small" @click="shouZiDongYJDJRSDSS" :class="{'Red_button' :formData.YJDJR_SDQD == 0}"
|
|
|
style="margin-right: 30px">
|
|
|
- {{ formData.YJDJR_SDQD == 0 ? '启动' : '停止' }}
|
|
|
+ {{ formData.YJDJR_SDQD == 1 ? '启动' : '停止' }}
|
|
|
</el-button>
|
|
|
<span style="margin-right: 14px">{{ formData.YJDJR_QT == 0 ? "停止" : "启动" }}</span>
|
|
|
</div>
|
|
|
|
|
|
<div class="item">
|
|
|
<span>二级电加热</span>
|
|
|
- <el-button size="small" @click="shouZiDongEJDJRSS" :class="{'Active_button' :formData.EJDJR_SZXZ == 1}">
|
|
|
+ <el-button size="small" @click="shouZiDongEJDJRSS" :class="{'Green_button' :formData.EJDJR_SZXZ == 1}">
|
|
|
{{ formData.EJDJR_SZXZ == 0 ? '自动' : '手动' }}
|
|
|
</el-button>
|
|
|
- <el-button size="small" @click="shouZiDongEJDJRSDSS" :class="{'Active_button' :formData.EJDJR_SDQD == 1}"
|
|
|
+ <el-button size="small" @click="shouZiDongEJDJRSDSS" :class="{'Red_button' :formData.EJDJR_SDQD == 0}"
|
|
|
style="margin-right: 30px">
|
|
|
- {{ formData.EJDJR_SDQD == 0 ? '启动' : '停止' }}
|
|
|
+ {{ formData.EJDJR_SDQD == 1 ? '启动' : '停止' }}
|
|
|
</el-button>
|
|
|
<span style="margin-right: 14px">{{ formData.EJDJR_QT == 0 ? "停止" : "启动" }}</span>
|
|
|
</div>
|
|
|
|
|
|
<div class="item">
|
|
|
<span>三级电加热</span>
|
|
|
- <el-button size="small" @click="shouZiDongSJDJRSS" :class="{'Active_button' :formData.SJDJR_SZXZ == 1}">
|
|
|
+ <el-button size="small" @click="shouZiDongSJDJRSS" :class="{'Green_button' :formData.SJDJR_SZXZ == 1}">
|
|
|
{{ formData.SJDJR_SZXZ == 0 ? '自动' : '手动' }}
|
|
|
</el-button>
|
|
|
- <el-button size="small" @click="shouZiDongSJDJRSDSS" :class="{'Active_button' :formData.SJDJR_SDQD == 1}"
|
|
|
+ <el-button size="small" @click="shouZiDongSJDJRSDSS" :class="{'Red_button' :formData.SJDJR_SDQD == 0}"
|
|
|
style="margin-right: 30px">
|
|
|
- {{ formData.SJDJR_SDQD == 0 ? '启动' : '停止' }}
|
|
|
+ {{ formData.SJDJR_SDQD == 1 ? '启动' : '停止' }}
|
|
|
</el-button>
|
|
|
<span style="margin-right: 14px">{{ formData.SJDJR_QT == 0 ? "停止" : "启动" }}</span>
|
|
|
</div>
|
|
|
|
|
|
<div class="item">
|
|
|
<span>空调送风阀</span>
|
|
|
- <el-button size="small" @click="shouZiDongSFF" :class="{'Active_button' :formData.SFF_SZXZ == 1}">
|
|
|
+ <el-button size="small" @click="shouZiDongSFF" :class="{'Green_button' :formData.SFF_SZXZ == 1}">
|
|
|
{{ formData.SFF_SZXZ == 0 ? '自动' : '手动' }}
|
|
|
</el-button>
|
|
|
- <el-button size="small" @click="shouZiDongSFFSD" :class="{'Active_button' :formData.SFF_SDQD == 1}"
|
|
|
+
|
|
|
+ <el-button size="small" @click="shouZiDongSFFSD" :class="{'Red_button' :formData.SFF_SDQD == 0}"
|
|
|
style="margin-right: 30px">
|
|
|
- {{ formData.SFF_SDQD == 0 ? '启动' : '停止' }}
|
|
|
+ {{ formData.SFF_SDQD == 1 ? '启动' : '停止' }}
|
|
|
</el-button>
|
|
|
+
|
|
|
<span style="margin-right: 14px">{{ formData.SFF_KGKZ == 0 ? "关闭" : "打开" }}</span>
|
|
|
</div>
|
|
|
|
|
|
<div class="item">
|
|
|
<span>空调排风阀</span>
|
|
|
- <el-button size="small" @click="shouZiDongPFF" :class="{'Active_button' :formData.PFF_SZXZ == 1}">
|
|
|
+ <el-button size="small" @click="shouZiDongPFF" :class="{'Green_button' :formData.PFF_SZXZ == 1}">
|
|
|
{{ formData.PFF_SZXZ == 0 ? '自动' : '手动' }}
|
|
|
</el-button>
|
|
|
- <el-button size="small" @click="shouZiDongPFFSD" :class="{'Active_button' :formData.PFF_SDQD == 1}"
|
|
|
+ <el-button size="small" @click="shouZiDongPFFSD" :class="{'Red_button' :formData.PFF_SDQD == 0}"
|
|
|
style="margin-right: 30px">
|
|
|
- {{ formData.PFF_SDQD == 0 ? '启动' : '停止' }}
|
|
|
+ {{ formData.PFF_SDQD == 1 ? '启动' : '停止' }}
|
|
|
</el-button>
|
|
|
<span style="margin-right: 14px">{{ formData.PFF_KGKZ == 0 ? "关闭" : "打开" }}</span>
|
|
|
</div>
|
|
@@ -176,7 +185,7 @@
|
|
|
<div class="item">
|
|
|
<span>空调冷水阀</span>
|
|
|
<el-button style="margin-left: 26px" size="small" @click="shouZiDongLSF"
|
|
|
- :class="{'Active_button' :formData.LSF_SZXZ == 1}">
|
|
|
+ :class="{'Green_button' :formData.LSF_SZXZ == 1}">
|
|
|
{{ formData.LSF_SZXZ == 0 ? '自动' : '手动' }}
|
|
|
</el-button>
|
|
|
<el-button size="small" @click="dialogA"
|
|
@@ -189,7 +198,7 @@
|
|
|
<div class="item">
|
|
|
<span>空调热水阀</span>
|
|
|
<el-button style="margin-left: 26px" size="small" @click="shouZiDongRSF"
|
|
|
- :class="{'Active_button' :formData.RSF_SZXZ == 1}">
|
|
|
+ :class="{'Green_button' :formData.RSF_SZXZ == 1}">
|
|
|
{{ formData.RSF_SZXZ == 0 ? '自动' : '手动' }}
|
|
|
</el-button>
|
|
|
<el-button size="small" @click="dialogB"
|
|
@@ -201,10 +210,11 @@
|
|
|
|
|
|
<div class="item" style="border-bottom: 0px">
|
|
|
<span>空调加湿器</span>
|
|
|
- <el-button style="margin-left: 26px" size="small" @click="shouZiDongJSF">
|
|
|
+ <el-button style="margin-left: 26px" size="small" @click="shouZiDongJSF"
|
|
|
+ :class="{'Green_button' :formData.JSF_SZXZ == 1}">
|
|
|
{{ formData.JSF_SZXZ == 0 ? '自动' : '手动' }}
|
|
|
</el-button>
|
|
|
- <el-button size="small" @click="dialogC" :class="{'Active_button' :formData.JSF_SDKD == 1}"
|
|
|
+ <el-button size="small" @click="dialogC"
|
|
|
style="margin-right: 30px">
|
|
|
{{ formData.JSF_SDKD }} %
|
|
|
</el-button>
|
|
@@ -393,51 +403,51 @@ export default {
|
|
|
dialogFormVisibleC: false,
|
|
|
|
|
|
formData: {
|
|
|
- GZ_FW: '0',
|
|
|
- JZ_XZ: '0',
|
|
|
- MS_XZ: '0',
|
|
|
+ GZ_FW: '',
|
|
|
+ JZ_XZ: '',
|
|
|
+ MS_XZ: '',
|
|
|
|
|
|
RSF: '',
|
|
|
LSF: '',
|
|
|
JSF: '',
|
|
|
- WD_SD: '12',
|
|
|
- SD_SD: '1',
|
|
|
- JZ_YSTZ: '12',
|
|
|
+ WD_SD: '',
|
|
|
+ SD_SD: '',
|
|
|
+ JZ_YSTZ: '',
|
|
|
RSF_SDKD: '', //热水温度手动_设定(0~100,单位为%)
|
|
|
LSF_SDKD: '', //冷水温度手动_设定(0~100,单位为%)
|
|
|
JSF_SDKD: '', //电加湿手动_设定(0~100,单位为%)
|
|
|
|
|
|
- LSF_SZXZ: '0',
|
|
|
- RSF_SZXZ: '0',
|
|
|
- JSF_SZXZ: '0',
|
|
|
+ LSF_SZXZ: '',
|
|
|
+ RSF_SZXZ: '',
|
|
|
+ JSF_SZXZ: '',
|
|
|
|
|
|
//下部按钮参数
|
|
|
- SFF_SZXZ: '0',
|
|
|
- SFF_SDQD: '0',
|
|
|
- PFF_SZXZ: '0',
|
|
|
- PFF_SDQD: '0',
|
|
|
- SFJ_SZXZ: '0',
|
|
|
- SFJ_SDQD: '0',
|
|
|
- PFJ_SZXZ: '0',
|
|
|
- PFJ_SDQD: '0',
|
|
|
- FLZJ_SZXZ: '0',
|
|
|
- FLZJ_SDQD: '0',
|
|
|
- YJDJR_SZXZ: '0',
|
|
|
- YJDJR_SDQD: '0',
|
|
|
- EJDJR_SZXZ: '0',
|
|
|
- EJDJR_SDQD: '0',
|
|
|
- SJDJR_SZXZ: '0',
|
|
|
- SJDJR_SDQD: '0',
|
|
|
+ SFF_SZXZ: '',
|
|
|
+ SFF_SDQD: '',
|
|
|
+ PFF_SZXZ: '',
|
|
|
+ PFF_SDQD: '',
|
|
|
+ SFJ_SZXZ: '',
|
|
|
+ SFJ_SDQD: '',
|
|
|
+ PFJ_SZXZ: '',
|
|
|
+ PFJ_SDQD: '',
|
|
|
+ FLZJ_SZXZ: '',
|
|
|
+ FLZJ_SDQD: '',
|
|
|
+ YJDJR_SZXZ: '',
|
|
|
+ YJDJR_SDQD: '',
|
|
|
+ EJDJR_SZXZ: '',
|
|
|
+ EJDJR_SDQD: '',
|
|
|
+ SJDJR_SZXZ: '',
|
|
|
+ SJDJR_SDQD: '',
|
|
|
|
|
|
//第四列实时反馈
|
|
|
- SFJ_QT: '1', //送风机工频启动(0:停止,1:启动)
|
|
|
- PFJ_QT: '0', //排风机工频启动(0:停止,1:启动)
|
|
|
- YJDJR_QT: '0', //一级电加热启停(0:停止,1:启动)
|
|
|
- EJDJR_QT: '0', //二级电加热启停(0:停止,1:启动)
|
|
|
- SJDJR_QT: '0', //三级电加热启停(0:停止,1:启动)
|
|
|
- SFF_KGKZ: '0', //送风阀开关控制(0:关闭,1:打开)
|
|
|
- PFF_KGKZ: '0', //排风阀开关控制(0:关闭,1:打开)
|
|
|
- FLZJ_QT: '0', //风冷主机启停(0:停止,1:启动)
|
|
|
+ SFJ_QT: '', //送风机工频启动(:停止,1:启动)
|
|
|
+ PFJ_QT: '', //排风机工频启动(:停止,1:启动)
|
|
|
+ YJDJR_QT: '', //一级电加热启停(:停止,1:启动)
|
|
|
+ EJDJR_QT: '', //二级电加热启停(:停止,1:启动)
|
|
|
+ SJDJR_QT: '', //三级电加热启停(:停止,1:启动)
|
|
|
+ SFF_KGKZ: '', //送风阀开关控制(:关闭,1:打开)
|
|
|
+ PFF_KGKZ: '', //排风阀开关控制(:关闭,1:打开)
|
|
|
+ FLZJ_QT: '', //风冷主机启停(0:停止,1:启动)
|
|
|
|
|
|
//上部三个按钮
|
|
|
},
|
|
@@ -829,7 +839,7 @@ export default {
|
|
|
id: '290'
|
|
|
}
|
|
|
}).then((res) => {
|
|
|
- this.formData.SFF_KGKZ = res.data.data.deviceParam.value;
|
|
|
+ this.formData.SFF_SZXZ = res.data.data.deviceParam.value;
|
|
|
})
|
|
|
},
|
|
|
getShouZiDongSFFSD() {
|
|
@@ -1343,6 +1353,33 @@ export default {
|
|
|
</script>
|
|
|
|
|
|
<style scoped>
|
|
|
+.All {
|
|
|
+ padding: 0px;
|
|
|
+ border: 1px solid #545c64;
|
|
|
+ margin-top: 16px
|
|
|
+}
|
|
|
+
|
|
|
+.BUT {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ margin-left: 600px
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+.Blue_button {
|
|
|
+ background-color: #007AFF;
|
|
|
+ color: white;
|
|
|
+ border: 0px
|
|
|
+}
|
|
|
+
|
|
|
+.Green_button {
|
|
|
+ background-color: green !important;
|
|
|
+}
|
|
|
+
|
|
|
+.Red_button {
|
|
|
+ background-color: crimson !important;
|
|
|
+}
|
|
|
+
|
|
|
.head {
|
|
|
font-weight: 500;
|
|
|
align-items: center;
|