pull/153/head
home孙 2024-06-22 18:10:39 +08:00
parent ead496565a
commit de60aca2b2
4 changed files with 10 additions and 10 deletions

View File

@ -31,8 +31,8 @@
</div> </div>
<div class="input-main input-main-w120"> <div class="input-main input-main-w120">
<span>室内温度高于目标温度</span> <span>室内温度高于目标温度</span>
<input @blur="blurChangeCount(startList[indexs - 1] + 2, $event)" v-model="inputData[startList[indexs - 1] + 2]" <input @blur="blurChange10(startList[indexs - 1] + 2, $event)" v-model="inputData[startList[indexs - 1] + 2]"
@input="changeCountData(startList[indexs - 1] + 2, $event)" type="text" placeholder="0"> @input="changeCount10(startList[indexs - 1] + 2, $event)" type="text" placeholder="0">
<span>开启高压微雾降温</span> <span>开启高压微雾降温</span>
</div> </div>
</div> </div>
@ -232,7 +232,7 @@ export default {
if (res.data.code == 200) { if (res.data.code == 200) {
this.inputData = res.data.data; this.inputData = res.data.data;
this.startList.forEach((el, index) => { this.startList.forEach((el, index) => {
this.inputData[el + 2] = this.countData(this.inputData[el + 2]) this.inputData[el + 2] = this.countData10(this.inputData[el + 2])
this.inputData[el + 5] = this.countData10(this.inputData[el + 5]) this.inputData[el + 5] = this.countData10(this.inputData[el + 5])
}) })
this.getActive1() this.getActive1()

View File

@ -72,7 +72,7 @@
</div> </div>
<div class="input-main-80"> <div class="input-main-80">
<span>室内温度高于目标温度</span> <span>室内温度高于目标温度</span>
<input @blur="blurChangeCount(startList[indexs-1]+7, $event)" v-model="inputData[startList[indexs-1]+7]" @input="changeCountData(startList[indexs-1]+7, $event)" <input @blur="blurChange10(startList[indexs-1]+7, $event)" v-model="inputData[startList[indexs-1]+7]" @input="changeCount10(startList[indexs-1]+7, $event)"
type="text" placeholder="0"> type="text" placeholder="0">
<span>展开内遮阳</span> <span>展开内遮阳</span>
</div> </div>
@ -313,7 +313,7 @@ export default {
this.inputData = res.data.data; this.inputData = res.data.data;
this.startList.forEach((el, index) => { this.startList.forEach((el, index) => {
this.inputData[el + 6] = this.countData10(this.inputData[el + 6]) this.inputData[el + 6] = this.countData10(this.inputData[el + 6])
this.inputData[el + 7] = this.countData(this.inputData[el + 7]) this.inputData[el + 7] = this.countData10(this.inputData[el + 7])
this.inputData[el + 14] = this.countData10(this.inputData[el + 14]) this.inputData[el + 14] = this.countData10(this.inputData[el + 14])
}) })
this.getActive1() this.getActive1()

View File

@ -63,8 +63,8 @@
</div> </div>
<div class="input-main-80"> <div class="input-main-80">
<span>室内温度高于目标温度</span> <span>室内温度高于目标温度</span>
<input @blur="blurChangeCount(startList[indexs - 1] + 2, $event)" v-model="inputData[startList[indexs - 1] + 2]" <input @blur="blurChange10(startList[indexs - 1] + 2, $event)" v-model="inputData[startList[indexs - 1] + 2]"
@input="changeCountData(startList[indexs - 1] + 2, $event)" type="text" placeholder="0"> @input="changeCount10(startList[indexs - 1] + 2, $event)" type="text" placeholder="0">
<span>展开内保温</span> <span>展开内保温</span>
</div> </div>
</div> </div>
@ -259,7 +259,7 @@ export default {
if (res.data.code == 200) { if (res.data.code == 200) {
this.inputData = res.data.data; this.inputData = res.data.data;
this.startList.forEach((el, index) => { this.startList.forEach((el, index) => {
this.inputData[el + 2] = this.countData(this.inputData[el + 2]) this.inputData[el + 2] = this.countData10(this.inputData[el + 2])
this.inputData[el + 8] = this.countData10(this.inputData[el + 8]) this.inputData[el + 8] = this.countData10(this.inputData[el + 8])
}) })
this.getActive1() this.getActive1()

View File

@ -117,7 +117,7 @@
</div> </div>
<div class="input-main-80"> <div class="input-main-80">
<span>室内温度高于目标温度</span> <span>室内温度高于目标温度</span>
<input @blur="blurChangeCount(startList[indexs-1]+10, $event)" v-model="inputData[startList[indexs-1]+10]" @input="changeCountData(startList[indexs-1]+10, $event)" <input @blur="blurChange10(startList[indexs-1]+10, $event)" v-model="inputData[startList[indexs-1]+10]" @input="changeCount10(startList[indexs-1]+10, $event)"
type="text" placeholder="0"> type="text" placeholder="0">
<span>展开外遮阳</span> <span>展开外遮阳</span>
</div> </div>
@ -284,7 +284,7 @@ export default {
this.startList.forEach((el, index) => { this.startList.forEach((el, index) => {
this.inputData[el + 7] = this.countData10(this.inputData[el + 7]) this.inputData[el + 7] = this.countData10(this.inputData[el + 7])
this.inputData[el + 9] = this.countData10(this.inputData[el + 9]) this.inputData[el + 9] = this.countData10(this.inputData[el + 9])
this.inputData[el + 10] = this.countData(this.inputData[el + 10]) this.inputData[el + 10] = this.countData10(this.inputData[el + 10])
this.inputData[el + 12] = this.countData10(this.inputData[el + 12]) this.inputData[el + 12] = this.countData10(this.inputData[el + 12])
}) })