pull/22/head
孙萌 2023-11-07 17:32:13 +08:00
parent 4c06530f6a
commit afe6d43b3b
2 changed files with 67 additions and 70 deletions

View File

@ -4,8 +4,8 @@
<img src="../assets/image/set-icon.png" alt="">设定值参数
</div>
<div class="set-tips">
<div @click="toHome($store.state.equipmentIndex)">
{{ $store.state.equipmentList[$store.state.equipmentIndex - 1].deviceTypeName }}状态显示</div>
<!-- <div @click="toHome($store.state.equipmentIndex)">
日光温室特殊参数丽水项目</div> -->
</div>
<el-collapse v-model="$store.state.activeNames">
<template v-for="item, index in routerList">
@ -39,7 +39,7 @@ export default {
return {
routerList: [
{
name: '天窗',router: 'skylight', list: [
name: '日光温室特殊参数(丽水项目)',router: 'skylight', list: [
{ name: '顶卷膜1', status: -1, router: 'skylight', index: 1 },
{ name: '顶卷膜2', status: -1, router: 'skylight', index: 2 },
{ name: '顶卷膜3', status: -1, router: 'skylight', index: 3 },
@ -153,7 +153,7 @@ export default {
cursor: pointer;
>div {
width: 220px;
width: 260px;
height: 40px;
// background: rgba(255, 255, 255, 0.1);
// border: 1px solid rgba(255, 255, 255, 0.3);

View File

@ -29,8 +29,8 @@
<div class="arrow"><img src="../../assets/image/arrow.png" alt=""></div>
</div>
<el-dropdown-menu slot="dropdown">
<el-dropdown-item v-for="item, index in typeSelList" :key="index"
:command="index">{{ item.name }}</el-dropdown-item>
<el-dropdown-item v-for="item, index in typeSelList" :key="index" :command="index">{{ item.name
}}</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
@ -46,49 +46,33 @@
<div class="title">
①室内温度 >
</div>
<input
@blur="blurChangeCount(21615 + ((indexs - 1) * 11), $event)"
v-model="inputData[21615 + ((indexs - 1) * 11)]"
@input="changeCountData(21615 + ((indexs - 1) * 11), $event)"
class="input-140" type="text" placeholder="0.0">
<input @blur="blurChangeCount(21615 + ((indexs - 1) * 11), $event)" v-model="inputData[21615 + ((indexs - 1) * 11)]"
@input="changeCountData(21615 + ((indexs - 1) * 11), $event)" class="input-140" type="text" placeholder="0.0">
<span>打开</span>
<input
@blur="blurChange(21616 + ((indexs - 1) * 11), $event)"
v-model="inputData[21616 + ((indexs - 1) * 11)]"
@input="change(21616 + ((indexs - 1) * 11), $event)"
class="input-140" type="text" placeholder="0">
<input @blur="blurChange(21616 + ((indexs - 1) * 11), $event)" v-model="inputData[21616 + ((indexs - 1) * 11)]"
@input="change(21616 + ((indexs - 1) * 11), $event)" class="input-140" type="text" placeholder="0">
<span>%</span>
</div>
<div class="input-100-view">
<div class="title">
②室内温度 >
</div>
<input
@blur="blurChangeCount(21617 + ((indexs - 1) * 11), $event)"
v-model="inputData[21617 + ((indexs - 1) * 11)]"
@input="changeCountData(21617 + ((indexs - 1) * 11), $event)"
class="input-140" type="text" placeholder="0.0">
<input @blur="blurChangeCount(21617 + ((indexs - 1) * 11), $event)" v-model="inputData[21617 + ((indexs - 1) * 11)]"
@input="changeCountData(21617 + ((indexs - 1) * 11), $event)" class="input-140" type="text" placeholder="0.0">
<span>打开</span>
<input
@blur="blurChange(21618 + ((indexs - 1) * 11), $event)" v-model="inputData[21618 + ((indexs - 1) * 11)]"
@input="change(21618 + ((indexs - 1) * 11), $event)"
class="input-140" type="text" placeholder="0">
<input @blur="blurChange(21618 + ((indexs - 1) * 11), $event)" v-model="inputData[21618 + ((indexs - 1) * 11)]"
@input="change(21618 + ((indexs - 1) * 11), $event)" class="input-140" type="text" placeholder="0">
<span>%</span>
</div>
<div class="input-100-view margin-none">
<div class="title">
③室内温度 >
</div>
<input
@blur="blurChangeCount(21619 + ((indexs - 1) * 11), $event)"
v-model="inputData[21619 + ((indexs - 1) * 11)]"
@input="changeCountData(21619 + ((indexs - 1) * 11), $event)"
class="input-140" type="text" placeholder="0.0">
<input @blur="blurChangeCount(21619 + ((indexs - 1) * 11), $event)" v-model="inputData[21619 + ((indexs - 1) * 11)]"
@input="changeCountData(21619 + ((indexs - 1) * 11), $event)" class="input-140" type="text" placeholder="0.0">
<span>打开</span>
<input
@blur="blurChange(21620 + ((indexs - 1) * 11), $event)" v-model="inputData[21620 + ((indexs - 1) * 11)]"
@input="change(21620 + ((indexs - 1) * 11), $event)"
class="input-140" type="text" placeholder="0">
<input @blur="blurChange(21620 + ((indexs - 1) * 11), $event)" v-model="inputData[21620 + ((indexs - 1) * 11)]"
@input="change(21620 + ((indexs - 1) * 11), $event)" class="input-140" type="text" placeholder="0">
<span>%</span>
</div>
<div class="flex-view padding-none">
@ -240,6 +224,19 @@ export default {
this.inputData[21615 + ((this.indexs - 1) * 11)] = this.countData(this.inputData[21615 + ((this.indexs - 1) * 11)])
this.inputData[21617 + ((this.indexs - 1) * 11)] = this.countData(this.inputData[21617 + ((this.indexs - 1) * 11)])
this.inputData[21619 + ((this.indexs - 1) * 11)] = this.countData(this.inputData[21619 + ((this.indexs - 1) * 11)])
this.typeSelList.forEach((el, index) => {
if( el.value == this.inputData[21657 + (this.indexs - 1)]){
this.TypeSel = el.name
this.TypeSelIndex = el.value
}else{
this.TypeSel = ''
this.TypeSelIndex =0
}
})
},
//
selectValue(e) {