pc-master #86

Merged
xiaomeng merged 5 commits from pc-master into portal 2024-01-08 05:31:12 +00:00
25 changed files with 196 additions and 340 deletions

View File

@ -1190,23 +1190,6 @@
max-height: 50px;
}
.upload .upload-content > div .no-sel {
margin-right: 10px;
width: 35px;
height: 35px;
box-shadow: 0 0 15px rgba(53, 187, 247, 0.5) inset;
border: 1px solid rgba(0, 204, 255, 0.7);
border-radius: 50%;
}
.upload .upload-content > div .sel {
margin-right: 10px;
width: 35px;
height: 35px;
background: url(../image/radio.png) no-repeat center;
background-size: 100% 100%;
}
.sensorSet {
height: 100%;
}
@ -1295,23 +1278,6 @@
padding: 0 0 15px 0;
}
.sensorSet .sensor-view .right .right-top .right-sel > div > .no-sel {
margin-right: 10px;
width: 35px;
height: 35px;
box-shadow: 0 0 15px rgba(53, 187, 247, 0.5) inset;
border: 1px solid rgba(0, 204, 255, 0.7);
border-radius: 50%;
}
.sensorSet .sensor-view .right .right-top .right-sel > div .sel {
margin-right: 10px;
width: 35px;
height: 35px;
background: url(../image/radio.png) no-repeat center;
background-size: 100% 100%;
}
.sensorSet .sensor-view .right .right-bottom {
padding: 40px 0 0 75px;
}
@ -1397,23 +1363,6 @@
padding: 0 20px;
}
.sensorSet .sensor-type .sensor-type-div .sensor-sel > div > .no-sel {
margin-right: 10px;
width: 35px;
height: 35px;
box-shadow: 0 0 15px rgba(53, 187, 247, 0.5) inset;
border: 1px solid rgba(0, 204, 255, 0.7);
border-radius: 50%;
}
.sensorSet .sensor-type .sensor-type-div .sensor-sel > div .sel {
margin-right: 10px;
width: 35px;
height: 35px;
background: url(../image/radio.png) no-repeat center;
background-size: 100% 100%;
}
.el-dialog__wrapper .el-dialog {
background: rgba(0, 59, 114, 0.8);
border: 2px solid rgba(0, 186, 255, 0.35);
@ -2138,7 +2087,7 @@
margin-right: 10px;
}
.wufang .no-sel {
.no-sel {
width: 35px;
height: 35px;
box-shadow: 0 0 15px rgba(53, 187, 247, 0.5) inset;
@ -2148,7 +2097,7 @@
margin-right: 9px;
}
.wufang .sel {
.sel {
width: 35px;
height: 35px;
margin-right: 9px;
@ -2359,25 +2308,6 @@
margin-right: 10px;
}
.skylight .no-sel {
width: 35px;
height: 35px;
box-shadow: 0 0 15px rgba(53, 187, 247, 0.5) inset;
border: 1px solid rgba(0, 204, 255, 0.7);
border-radius: 50%;
cursor: pointer;
margin-right: 9px;
}
.skylight .sel {
width: 35px;
height: 35px;
margin-right: 9px;
background: url(../image/radio.png) no-repeat center;
background-size: 100% 100%;
cursor: pointer;
}
.skylight .input-sel {
margin-right: 20px;
}
@ -2475,23 +2405,6 @@
background: rgba(0, 180, 255, 0.2);
}
.synthesis-con .synthesis-content .table-tr .no-sel {
width: 35px;
height: 35px;
box-shadow: 0 0 15px rgba(53, 187, 247, 0.5) inset;
border: 1px solid rgba(0, 204, 255, 0.7);
border-radius: 50%;
cursor: pointer;
}
.synthesis-con .synthesis-content .table-tr .sel {
width: 35px;
height: 35px;
background: url(../image/radio.png) no-repeat center;
background-size: 100% 100%;
cursor: pointer;
}
.synthesis-con .synthesis-content .table-header {
width: 100%;
height: 50px;
@ -2913,23 +2826,6 @@
margin-bottom: 15px;
}
.vrcode-model .vrcode-radio .no-sel {
width: 35px;
height: 35px;
box-shadow: 0 0 15px rgba(53, 187, 247, 0.5) inset;
border: 1px solid rgba(0, 204, 255, 0.7);
border-radius: 50%;
cursor: pointer;
}
.vrcode-model .vrcode-radio .sel {
width: 35px;
height: 35px;
background: url(../image/radio.png) no-repeat center;
background-size: 100% 100%;
cursor: pointer;
}
.vrcode-model .vrcode-radio > div {
margin-right: 30px;
display: flex;
@ -3255,25 +3151,6 @@
align-items: center;
}
.model-sel .no-sel {
margin-right: 10px;
width: 35px;
height: 35px;
box-shadow: 0 0 15px rgba(53, 187, 247, 0.5) inset;
border: 1px solid rgba(0, 204, 255, 0.7);
border-radius: 50%;
cursor: pointer;
}
.model-sel .sel {
margin-right: 10px;
width: 35px;
height: 35px;
background: url(../image/radio.png) no-repeat center;
background-size: 100% 100%;
cursor: pointer;
}
.setsuyuan {
width: 100%;
height: 100%;
@ -3447,23 +3324,6 @@
margin-right: 20px;
}
.setsuyuan .setsuyuan-input-select .no-sel {
margin-right: 10px;
width: 35px;
height: 35px;
box-shadow: 0 0 15px rgba(53, 187, 247, 0.5) inset;
border: 1px solid rgba(0, 204, 255, 0.7);
border-radius: 50%;
}
.setsuyuan .setsuyuan-input-select .sel {
margin-right: 10px;
width: 35px;
height: 35px;
background: url(../image/radio.png) no-repeat center;
background-size: 100% 100%;
}
.el-button span {
color: #606266;
}

File diff suppressed because one or more lines are too long

View File

@ -1242,22 +1242,6 @@
white-space: nowrap;
max-height: 50px;
.no-sel {
margin-right: 10px;
width: 35px;
height: 35px;
box-shadow: 0 0 15px rgba(53, 187, 247, 0.50) inset;
border: 1px solid rgba(0, 204, 255, 0.70);
border-radius: 50%;
}
.sel {
margin-right: 10px;
width: 35px;
height: 35px;
background: url(../image/radio.png) no-repeat center;
background-size: 100% 100%;
}
}
}
}
@ -1346,22 +1330,7 @@
margin-right: 30px;
padding: 0 0 15px 0;
>.no-sel {
margin-right: 10px;
width: 35px;
height: 35px;
box-shadow: 0 0 15px rgba(53, 187, 247, 0.50) inset;
border: 1px solid rgba(0, 204, 255, 0.70);
border-radius: 50%;
}
.sel {
margin-right: 10px;
width: 35px;
height: 35px;
background: url(../image/radio.png) no-repeat center;
background-size: 100% 100%;
}
}
}
}
@ -1457,22 +1426,7 @@
max-height: 50px;
padding: 0 20px;
>.no-sel {
margin-right: 10px;
width: 35px;
height: 35px;
box-shadow: 0 0 15px rgba(53, 187, 247, 0.50) inset;
border: 1px solid rgba(0, 204, 255, 0.70);
border-radius: 50%;
}
.sel {
margin-right: 10px;
width: 35px;
height: 35px;
background: url(../image/radio.png) no-repeat center;
background-size: 100% 100%;
}
}
}
}
@ -2256,6 +2210,8 @@
margin-right: 10px;
}
}
.no-sel {
width: 35px;
height: 35px;
@ -2274,8 +2230,6 @@
background-size: 100% 100%;
cursor: pointer;
}
}
.dataAnalysis {
.page-content {
.search-flex {
@ -2496,24 +2450,7 @@
margin-right: 10px;
}
.no-sel {
width: 35px;
height: 35px;
box-shadow: 0 0 15px rgba(53, 187, 247, 0.50) inset;
border: 1px solid rgba(0, 204, 255, 0.70);
border-radius: 50%;
cursor: pointer;
margin-right: 9px;
}
.sel {
width: 35px;
height: 35px;
margin-right: 9px;
background: url(../image/radio.png) no-repeat center;
background-size: 100% 100%;
cursor: pointer;
}
.input-sel {
margin-right: 20px;
@ -2628,22 +2565,7 @@
background: rgba(0, 180, 255, 0.2);
}
.no-sel {
width: 35px;
height: 35px;
box-shadow: 0 0 15px rgba(53, 187, 247, 0.50) inset;
border: 1px solid rgba(0, 204, 255, 0.70);
border-radius: 50%;
cursor: pointer;
}
.sel {
width: 35px;
height: 35px;
background: url(../image/radio.png) no-repeat center;
background-size: 100% 100%;
cursor: pointer;
}
}
.table-header {
@ -3093,22 +3015,6 @@
align-items: center;
margin-bottom: 15px;
.no-sel {
width: 35px;
height: 35px;
box-shadow: 0 0 15px rgba(53, 187, 247, 0.50) inset;
border: 1px solid rgba(0, 204, 255, 0.70);
border-radius: 50%;
cursor: pointer;
}
.sel {
width: 35px;
height: 35px;
background: url(../image/radio.png) no-repeat center;
background-size: 100% 100%;
cursor: pointer;
}
>div {
margin-right: 30px;
@ -3443,24 +3349,7 @@
align-items: center;
}
.no-sel {
margin-right: 10px;
width: 35px;
height: 35px;
box-shadow: 0 0 15px rgba(53, 187, 247, 0.50) inset;
border: 1px solid rgba(0, 204, 255, 0.70);
border-radius: 50%;
cursor: pointer;
}
.sel {
margin-right: 10px;
width: 35px;
height: 35px;
background: url(../image/radio.png) no-repeat center;
background-size: 100% 100%;
cursor: pointer;
}
}
.setsuyuan {
@ -3635,22 +3524,7 @@
max-height: 50px;
margin-right: 20px;
.no-sel {
margin-right: 10px;
width: 35px;
height: 35px;
box-shadow: 0 0 15px rgba(53, 187, 247, 0.50) inset;
border: 1px solid rgba(0, 204, 255, 0.70);
border-radius: 50%;
}
.sel {
margin-right: 10px;
width: 35px;
height: 35px;
background: url(../image/radio.png) no-repeat center;
background-size: 100% 100%;
}
}
}

View File

@ -136,7 +136,7 @@ export default {
methods: {
// id
get_user_getjurisdiction() {
let userInfo = JSON.parse(localStorage.getItem("userInfo"));
let userInfo = localStorage.getItem("userInfo")?JSON.parse(localStorage.getItem("userInfo")):{userid:-1};
let userId = userInfo.userid
this.api.user_getjurisdiction(userId).then(res => {
if (res.data.code == 200) {
@ -184,7 +184,7 @@ export default {
},
//
getEqbyid() {
var userInfo = JSON.parse(localStorage.getItem('userInfo'))
var userInfo =localStorage.getItem('userInfo')? JSON.parse(localStorage.getItem('userInfo')):{userid:-1}
this.api.getEqbyid(userInfo.userid).then((res) => {
if (res.data.code == 200) {
this.$store.state.equipmentList = res.data.data.map((item, index) => {

View File

@ -1,7 +1,11 @@
<template>
<div class="wetFan">
<div class="table-title">
<img src="../../assets/img/LED.png" alt="">补光灯
<img src="../../assets/img/LED.png" alt="">补光灯&nbsp;&nbsp;&nbsp;&nbsp;
<div @click="changeOpen(0)" class="flex-view border-none">
<div :class="inputData[21400] == 0 ? 'sel' : 'no-sel'"></div>
有效性
</div>
</div>
<div class="title-tips">
工作方式选择

View File

@ -1,7 +1,11 @@
<template>
<div class="circulationCan">
<div class="table-title">
<img src="../../assets/img/circulationCan.png" alt="">环流风扇{{ indexs }}
<img src="../../assets/img/circulationCan.png" alt="">环流风扇{{ indexs }}&nbsp;&nbsp;&nbsp;&nbsp;
<div @click="changeOpen(0)" class="flex-view border-none">
<div :class="inputData[startList[indexs - 1]] == 0 ? 'sel' : 'no-sel'"></div>
有效性
</div>
</div>
<div class="title-tips">工作方式选择</div>
<div class="flex-view">
@ -9,10 +13,10 @@
<div class="btn" @click="changeOpen(1)" :class="inputData[startList[indexs - 1]] == 1 ? 'blue' : 'green'">
<img src="../../assets/image/irrigateSet2.png" alt="" />自动运行
</div>
<div class="btn" @click="changeOpen(1)" :class="inputData[startList[indexs - 1]] == 2 ? 'blue' : 'green'">
<div class="btn" @click="changeOpen(2)" :class="inputData[startList[indexs - 1]] == 2 ? 'blue' : 'green'">
<img src="../../assets/image/irrigateSet3.png" alt="" />手动打开
</div>
<div class="btn" @click="changeOpen(1)" :class="inputData[startList[indexs - 1]] == 3 ? 'blue' : 'green'">
<div class="btn" @click="changeOpen(3)" :class="inputData[startList[indexs - 1]] == 3 ? 'blue' : 'green'">
<img src="../../assets/image/irrigateSet1.png" alt="" />手动关闭
</div>
</div>

View File

@ -1,7 +1,11 @@
<template>
<div class="coercionMist">
<div class="table-title">
<img src="../../assets/img/coercionMist.png" alt="">高压微雾{{ indexs }}
<img src="../../assets/img/coercionMist.png" alt="">高压微雾{{ indexs }}&nbsp;&nbsp;&nbsp;&nbsp;
<div @click="changeOpen(0)" class="flex-view border-none">
<div :class="inputData[startList[indexs - 1]] == 0 ? 'sel' : 'no-sel'"></div>
有效性
</div>
</div>
<div class="title-tips">工作方式选择</div>
<div class="flex-view">

View File

@ -1,7 +1,11 @@
<template>
<div class="electromagneticControl">
<div class="table-title">
<img src="../../assets/img/electromagneticControl.png" alt="">{{ indexs }}#电磁阀
<img src="../../assets/img/electromagneticControl.png" alt="">{{ indexs }}#电磁阀&nbsp;&nbsp;&nbsp;&nbsp;
<div @click="changeOpen(0)" class="flex-view border-none">
<div :class="inputData[startList[indexs - 1]] == 0 ? 'sel' : 'no-sel'"></div>
有效性
</div>
</div>
<div class="title-tips">
工作方式选择

View File

@ -1,7 +1,11 @@
<template>
<div class="skylight fan">
<div class="table-title">
<img src="../../assets/image/skylight.png" alt=""> 风机{{ indexs }}
<img src="../../assets/image/skylight.png" alt=""> 风机{{ indexs }}&nbsp;&nbsp;&nbsp;&nbsp;
<div @click="changeOpen(0)" class="flex-view border-none">
<div :class="openIndex == 0 ? 'sel' : 'no-sel'"></div>
有效性
</div>
</div>
<div class="flex-view">
<div class="input-btn">
@ -19,6 +23,7 @@
</div>
<div class="flex-view">
<div class="input-btn">
<div @click="changeIndexOpen(0)" class="btn" :class="actList1[0]=='1'?'blue':'off'">
一号风组
</div>
@ -35,6 +40,7 @@
五号风组
</div>
</div>
</div>
<div class="bold-title">通道输入信号类型</div>
<div class="input-100-view">
<span>风机控温宽度</span>

View File

@ -1,7 +1,11 @@
<template>
<div class="insizeSunshade">
<div class="table-title">
<img src="../../assets/img/insizeSunshade.png" alt="">内遮阳{{ indexs }}
<img src="../../assets/img/insizeSunshade.png" alt="">内遮阳{{ indexs }}&nbsp;&nbsp;&nbsp;&nbsp;
<div @click="changeOpen(0)" class="flex-view border-none">
<div :class="inputData[startList[indexs - 1]] == 0 ? 'sel' : 'no-sel'"></div>
有效性
</div>
</div>
<div class="title-tips">工作方式选择</div>
<div class="flex-view">
@ -101,7 +105,7 @@
</div>
</div>
<div class="input-main-80">
<span>窗除湿时内遮阳开启角度</span>
<span>通风窗除湿时内遮阳开启角度</span>
<input @blur="blurChange(startList[indexs-1]+13, $event)" v-model="inputData[startList[indexs-1]+13]" @input="change(startList[indexs-1]+13, $event)"
type="text" placeholder="0">
</div>

View File

@ -1,7 +1,11 @@
<template>
<div class="internalInsulation">
<div class="table-title">
<img src="../../assets/img/internalInsulation.png" alt="">内保温{{ indexs }}
<img src="../../assets/img/internalInsulation.png" alt="">内保温{{ indexs }}&nbsp;&nbsp;&nbsp;&nbsp;
<div @click="changeOpen(0)" class="flex-view border-none">
<div :class="inputData[startList[indexs - 1]] == 0 ? 'sel' : 'no-sel'"></div>
有效性
</div>
</div>
<div class="title-tips">工作方式选择</div>
<div class="flex-view">
@ -69,7 +73,7 @@
</div>
</div>
<div class="input-main-80">
<span>窗除湿时内保温开启角度</span>
<span>通风窗除湿时内保温开启角度</span>
<input @blur="blurChange(startList[indexs-1]+7, $event)" v-model="inputData[startList[indexs-1]+7]" @input="change(startList[indexs-1]+7, $event)"
type="text" placeholder="0">
</div>

View File

@ -255,7 +255,7 @@
<div class="flex-view border-none shrink-none padding-none">
<div class="input-main-80">
<span>1#窗全程运行时间</span>
<span>1#通风窗全程运行时间</span>
<input @blur="blurChange(20667, $event)" v-model="inputData[20667]" @input="change(20667, $event)"
type="text" placeholder="0">
<span>打开输出通道</span>
@ -266,7 +266,7 @@
type="text" placeholder="0">
</div>
<div class="input-sel input-sel-w180">
<span>窗朝向</span>
<span>通风窗朝向</span>
<el-dropdown @command="handleCommand2($event,20668)">
<div class="el-dropdown-link">
<input v-model="inputDataNew[20668]" type="text" class="input-input" placeholder="无">
@ -281,7 +281,7 @@
</div>
<div class="flex-view border-none shrink-none padding-none">
<div class="input-main-80">
<span>2#窗全程运行时间</span>
<span>2#通风窗全程运行时间</span>
<input @blur="blurChange(20671, $event)" v-model="inputData[20671]" @input="change(20671, $event)"
type="text" placeholder="0">
<span>打开输出通道</span>
@ -292,7 +292,7 @@
type="text" placeholder="0">
</div>
<div class="input-sel input-sel-w180">
<span>窗朝向</span>
<span>通风窗朝向</span>
<el-dropdown @command="handleCommand2($event,20672)">
<div class="el-dropdown-link">
<input v-model="inputDataNew[20672]" type="text" class="input-input" placeholder="无">
@ -307,7 +307,7 @@
</div>
<div class="flex-view border-none shrink-none padding-none">
<div class="input-main-80">
<span>3#窗全程运行时间</span>
<span>3#通风窗全程运行时间</span>
<input @blur="blurChange(20675, $event)" v-model="inputData[20675]" @input="change(20675, $event)"
type="text" placeholder="0">
<span>打开输出通道</span>
@ -318,7 +318,7 @@
type="text" placeholder="0">
</div>
<div class="input-sel input-sel-w180">
<span>窗朝向</span>
<span>通风窗朝向</span>
<el-dropdown @command="handleCommand2($event,20676)">
<div class="el-dropdown-link">
<input v-model="inputDataNew[20676]" type="text" class="input-input" placeholder="无">
@ -333,7 +333,7 @@
</div>
<div class="flex-view shrink-none padding-none">
<div class="input-main-80">
<span>4#窗全程运行时间</span>
<span>4#通风窗全程运行时间</span>
<input @blur="blurChange(20679, $event)" v-model="inputData[20679]" @input="change(20679, $event)"
type="text" placeholder="0">
<span>打开输出通道</span>
@ -344,7 +344,7 @@
type="text" placeholder="0">
</div>
<div class="input-sel input-sel-w180">
<span>窗朝向</span>
<span>通风窗朝向</span>
<el-dropdown @command="handleCommand2($event,20680)">
<div class="el-dropdown-link">
<input v-model="inputDataNew[20680]" type="text" class="input-input" placeholder="无">
@ -606,6 +606,34 @@ export default {
}
})
},
//
padString(str, length) {
return str.padStart(length, '0');
},
//
myReverse(arr) {
return [...arr].reverse()
},
//
selectValue(e) {
var store = this.$store.state
store.nowInput = e.target.value
e.currentTarget.select();
},
//
blurChange(code, el) {
var store = this.$store.state
var data = {
equipmentId: store.equipmentList[store.equipmentIndex - 1].deviceId,
regAddress: code,
num: el.target.value,
}; //
if (this.timer) {
this.timer && clearInterval(this.timer);
this.changeData(data);
}
},
//
changeBtn(code, el) {
@ -677,6 +705,31 @@ export default {
};
this.changeBtn(code, dataNum);
},
change(code, el) {
var store = this.$store.state
var data = {
equipmentId: store.equipmentList[store.equipmentIndex - 1].deviceId,
regAddress: code,
num: el.target.value,
};
this.delayTimer(0, data);
},
// j*100
delayTimer(i, data) {
const that = this;
//
let j = this.$store.state.lateSend;
//
this.timer && clearInterval(this.timer);
this.timer = setInterval(() => {
++i;
if (i == j) {
that.changeData(data);
clearInterval(this.timer);
}
}, 100);
},
changeData(data) {
var store = this.$store.state
this.api.postControlWrite(data).then((res) => {

View File

@ -956,7 +956,6 @@ export default {
regNum: 61,
};
this.api.postReg(data).then((res) => {
console.log(res, 11);
if (res.data.code == 200) {
this.inputData = res.data.data;
this.getType();

View File

@ -1,7 +1,11 @@
<template>
<div class="outsizeSunshade">
<div class="table-title">
<img src="../../assets/img/outsizeSunshade.png" alt="">外遮阳{{ indexs }}
<img src="../../assets/img/outsizeSunshade.png" alt="">外遮阳{{ indexs }}&nbsp;&nbsp;&nbsp;&nbsp;
<div @click="changeOpen(0)" class="flex-view border-none">
<div :class="inputData[startList[indexs-1]] == 0 ? 'sel' : 'no-sel'"></div>
有效性
</div>
</div>
<div class="title-tips">工作方式选择</div>
<div class="flex-view">

View File

@ -172,7 +172,7 @@
<div class="flex-view shrink-none border-none">
<div class="input-sel input-sel-w180">
<span>1#: 目标温度选择</span>
<span>1#通风: 目标温度选择</span>
<el-dropdown @command="handleCommand1($event,21757)">
<div class="el-dropdown-link">
<input v-model="inputDataNew[21757]" type="text" class="input-input" placeholder="无">
@ -227,7 +227,7 @@
<div class="flex-view shrink-none border-none">
<div class="input-sel input-sel-w180">
<span>2#: 目标温度选择</span>
<span>2#通风: 目标温度选择</span>
<el-dropdown @command="handleCommand3($event,21761)">
<div class="el-dropdown-link">
<input v-model="inputDataNew[21761]" type="text" class="input-input" placeholder="无">
@ -282,7 +282,7 @@
<div class="flex-view shrink-none border-none">
<div class="input-sel input-sel-w180">
<span>3#: 目标温度选择</span>
<span>3#通风: 目标温度选择</span>
<el-dropdown @command="handleCommand3($event,21765)">
<div class="el-dropdown-link">
<input v-model="inputDataNew[21765]" type="text" class="input-input" placeholder="无">
@ -337,7 +337,7 @@
<div class="flex-view shrink-none">
<div class="input-sel input-sel-w180">
<span>4#: 目标温度选择</span>
<span>4#通风: 目标温度选择</span>
<el-dropdown @command="handleCommand3($event,21769)">
<div class="el-dropdown-link">
<input v-model="inputDataNew[21769]" type="text" class="input-input" placeholder="无">

View File

@ -80,7 +80,7 @@
<div class="status-view-content" v-if="item.type == 1">
<div v-if="item.open != 0" class="status-true">
<div class="status-true-sel">
<div class="sel">
<div class="sel-auto">
<img v-if="item.open == 1" src="../../assets/img/status-true-sel.png" alt="">
<img v-else src="../../assets/img/status-true-nosel.png" alt="">
自动控制
@ -129,7 +129,7 @@
<div class="status-view-content" v-else-if="item.type == 8">
<div v-if="item.open != 0" class="status-true">
<div class="status-true-sel">
<div class="sel">
<div class="sel-auto">
<img v-if="item.open == 1" src="../../assets/img/status-true-sel.png" alt="">
<img v-else src="../../assets/img/status-true-nosel.png" alt="">
自动控制
@ -200,7 +200,7 @@
<div class="status-view-content" v-else>
<div v-if="item.open != 0" class="status-true">
<div class="status-true-sel">
<div class="sel">
<div class="sel-auto">
<img v-if="item.open == 1" src="../../assets/img/status-true-sel.png" alt="">
<img v-else src="../../assets/img/status-true-nosel.png" alt="">
自动控制
@ -1223,7 +1223,7 @@ export default {
var statusData = { name: el.name, type:14, id: el.id, open: res.data.data[(1096 + ((el.id - 24)*2))], progress: res.data.data[(1098 + ((el.id - 24)*2))], index: res.data.data[(1097 + ((el.id - 24)*2))] }
statusList.push(statusData)
}else if (el.id == 26||el.id == 27||el.id == 28||el.id == 29) {
//
//
var statusData = { name: el.name, type:15, id: el.id, open: res.data.data[(1102 + ((el.id - 26)*2))], progress: res.data.data[(1104 + ((el.id - 26)*2))], index: res.data.data[(1103 + ((el.id - 26)*2))] }
statusList.push(statusData)
}

View File

@ -1,7 +1,11 @@
<template>
<div class="skylight">
<div class="table-title">
<img src="../../assets/image/skylight.png" alt=""> 顶卷膜{{ indexs }}
<img src="../../assets/image/skylight.png" alt=""> 顶卷膜{{ indexs }}&nbsp;&nbsp;&nbsp;&nbsp;
<div @click="changeOpen(0)" class="flex-view border-none">
<div :class="openIndex == 0 ? 'sel' : 'no-sel'"></div>
有效性
</div>
</div>
<div class="flex-view border-bottom">
<div class="input-btn">

View File

@ -1,7 +1,11 @@
<template>
<div class="sunroofControl">
<div class="table-title">
<img src="../../assets/img/sunroofControl.png" alt="">天窗{{indexs}}
<img src="../../assets/img/sunroofControl.png" alt="">通风窗{{indexs}}&nbsp;&nbsp;&nbsp;&nbsp;
<div @click="changeOpen(0)" class="flex-view border-none">
<div :class="inputData[startList[indexs-1]] == 0 ? 'sel' : 'no-sel'"></div>
有效性
</div>
</div>
<div class="title-tips">工作方式选择</div>
<div class="flex-view">
@ -59,7 +63,7 @@
<div>3</div>
</div>
<div class="input-main input-main-w260">
<div>窗分阶段全部打开次数</div>
<div>通风窗分阶段全部打开次数</div>
<input @blur="blurChange(startList[indexs-1]+4, $event)" v-model="inputData[startList[indexs-1]+4]" @input="change(startList[indexs-1]+4, $event)"
type="text" placeholder="0">
</div>
@ -69,7 +73,7 @@
<div>4</div>
</div>
<div class="input-main input-main-w260">
<div>风机运行时窗打开角度</div>
<div>风机运行时通风窗打开角度</div>
<input @blur="blurChange(startList[indexs-1]+2, $event)" v-model="inputData[startList[indexs-1]+2]" @input="change(startList[indexs-1]+2, $event)"
type="text" placeholder="0">
</div>
@ -84,7 +88,7 @@
<span>室外温度低于</span>
<input @blur="blurChangeCount(startList[indexs-1]+8, $event)" v-model="inputData[startList[indexs-1]+8]" @input="changeCountData(startList[indexs-1]+8, $event)"
type="text" placeholder="0">
<span>度禁止开启</span>
<span>度禁止开启通风</span>
</div>
</div>
<div class="flex-view padding-none">
@ -97,7 +101,7 @@
<span>风速大于</span>
<input @blur="blurChange10(startList[indexs-1]+13, $event)" v-model="inputData[startList[indexs-1]+13]" @input="changeCount10(startList[indexs-1]+13, $event)"
type="text" placeholder="0">
<span>关闭大风保护解除时间</span>
<span>关闭通风大风保护解除时间</span>
</div>
<div class="input-main input-main-w80">
<input @blur="blurChange(startList[indexs-1]+14, $event)" v-model="inputData[startList[indexs-1]+14]" @input="change(startList[indexs-1]+14, $event)"
@ -112,7 +116,7 @@
</div>
</div>
<div class="input-main input-main-w120">
<span>开启窗除湿功能;</span>
<span>开启通风窗除湿功能;</span>
</div>
</div>
<div class="flex-view border-none ">
@ -140,7 +144,7 @@
<span>湿度控制精度</span>
<input @blur="blurChange10(startList[indexs-1]+9, $event)" v-model="inputData[startList[indexs-1]+9]" @input="changeCount10(startList[indexs-1]+9, $event)"
type="text" placeholder="0">
<span>窗除湿时开启角度</span>
<span>通风窗除湿时开启角度</span>
<input @blur="blurChange(startList[indexs-1]+12, $event)" v-model="inputData[startList[indexs-1]+12]" @input="change(startList[indexs-1]+12, $event)"
type="text" placeholder="0">
</div>

View File

@ -1,7 +1,11 @@
<template>
<div class="wetFan">
<div class="table-title">
<img src="../../assets/img/wetFan.png" alt="">风机湿帘
<img src="../../assets/img/wetFan.png" alt="">风机湿帘&nbsp;&nbsp;&nbsp;&nbsp;
<div @click="changeOpen(0)" class="flex-view border-none">
<div :class="inputData[21950] == 0 ? 'sel' : 'no-sel'"></div>
有效性
</div>
</div>
<div class="title-tips">
工作方式选择
@ -109,7 +113,7 @@
<span>实测温度大于目标温度</span>
<input @blur="blurChange10(21960, $event)" v-model="inputData[21960]" @input="changeCount10(21960, $event)"
type="text" placeholder="0">
<span>跳过窗直接启动风机</span>
<span>跳过通风窗直接启动风机</span>
</div>
</div>
<div class="flex-view border-none shrink-none padding-none">

View File

@ -1,7 +1,11 @@
<template>
<div class="waterPump wufang">
<div class="table-title">
<img src="../../assets/img/downtake.png" alt="" /> 下风口
<img src="../../assets/img/downtake.png" alt="" /> 下风口&nbsp;&nbsp;&nbsp;&nbsp;
<div @click="changeOpen(0)" class="flex-view border-none">
<div :class="openIndex == 0 ? 'sel' : 'no-sel'"></div>
有效性
</div>
</div>
<div class="title-tips">下风口有效性设置</div>
<div class="flex-view">

View File

@ -1,7 +1,11 @@
<template>
<div class="waterPump">
<div class="table-title">
<img src="../../assets/img/geothermalFan.png" alt=""> 地热风机
<img src="../../assets/img/geothermalFan.png" alt=""> 地热风机&nbsp;&nbsp;&nbsp;&nbsp;
<div @click="changeOpen(0)" class="flex-view border-none">
<div :class="openIndex == 0 ? 'sel' : 'no-sel'"></div>
有效性
</div>
</div>
<div class="title-tips">地热风机有效性设置</div>
<div class="flex-view">

View File

@ -1,7 +1,11 @@
<template>
<div class="waterPump wufang">
<div class="table-title">
<img src="../../assets/img/rollByRoll.png" alt="" /> 卷被
<img src="../../assets/img/rollByRoll.png" alt="" /> 卷被&nbsp;&nbsp;&nbsp;&nbsp;
<div @click="changeOpen(0)" class="flex-view border-none">
<div :class="openIndex == 0 ? 'sel' : 'no-sel'"></div>
有效性
</div>
<div class="title-text">日出:{{ sunrise }}</div>
<div class="title-text">日落:{{ sunset }}</div>

View File

@ -1,7 +1,11 @@
<template>
<div class="waterPump wufang">
<div class="table-title">
<img src="../../assets/img/snowRemoval.png" alt="" /> 除雪
<img src="../../assets/img/snowRemoval.png" alt="" /> 除雪&nbsp;&nbsp;&nbsp;&nbsp;
<div @click="changeOpen(0)" class="flex-view border-none">
<div :class="openIndex == 0 ? 'sel' : 'no-sel'"></div>
有效性
</div>
</div>
<div class="title-tips">除雪有效性设置</div>
<div class="flex-view">

View File

@ -1,7 +1,11 @@
<template>
<div class="waterPump wufang">
<div class="table-title">
<img src="../../assets/img/uptake.png" alt="" /> 上风口
<img src="../../assets/img/uptake.png" alt="" /> 上风口&nbsp;&nbsp;&nbsp;&nbsp;
<div @click="changeOpen(0)" class="flex-view border-none">
<div :class="openIndex == 0 ? 'sel' : 'no-sel'"></div>
有效性
</div>
</div>
<div class="title-tips">上风口有效性设置</div>
<div class="flex-view">

View File

@ -1,7 +1,11 @@
<template>
<div class="waterPump">
<div class="table-title">
<img src="../../assets/img/waterPump.png" alt=""> 加热水泵
<img src="../../assets/img/waterPump.png" alt=""> 加热水泵&nbsp;&nbsp;&nbsp;&nbsp;
<div @click="changeOpen(0)" class="flex-view border-none">
<div :class="openIndex == 0 ? 'sel' : 'no-sel'"></div>
有效性
</div>
</div>
<div class="flex-view">
<div class="input-btn">