pull/178/head
parent
9f227a54c8
commit
52784f7de6
|
@ -86,7 +86,24 @@
|
|||
placeholder="0"
|
||||
/>
|
||||
</div>
|
||||
<div class="input-main-80">
|
||||
|
||||
</div>
|
||||
<div class="flex-view">
|
||||
<div class="flex-view border-none padding-none">
|
||||
<div class="input-main input-main-w120">
|
||||
<span>下雨禁止灌溉功能</span>
|
||||
</div>
|
||||
<div class="input-btn">
|
||||
|
||||
<div class="btn btn-w80" @click="change71()" :class="inputData['1' + (10 + (indexs - 1)) + '71'] == '1' ? 'blue' : 'off'">
|
||||
{{ inputData['1' + (10 + (indexs - 1)) + '71'] == '1' ? '开启' : '关闭' }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="input-main input-main-w120">
|
||||
<span>(自动模式下生效)</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="input-main-80">
|
||||
<span>雨量达到</span>
|
||||
<input
|
||||
@blur="blurChange('1' + (10 + (indexs - 1)) + '72', $event)"
|
||||
|
@ -97,22 +114,7 @@
|
|||
/>
|
||||
<span>mm,本灌溉组停止灌溉</span>
|
||||
</div>
|
||||
<div class="flex-view border-none padding-none">
|
||||
<div class="input-main input-main-w120">
|
||||
<span>下雨禁止濯溉功能</span>
|
||||
</div>
|
||||
<div class="input-btn">
|
||||
|
||||
<div class="btn btn-w80" @click="change71()" :class="inputData['1' + (10 + (indexs - 1)) + '71'] == '1' ? 'blue' : 'off'">
|
||||
{{ inputData['1' + (10 + (indexs - 1)) + '71'] == '1' ? '有效' : '无效' }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="input-main input-main-w120">
|
||||
<span>(自动模式下生效)</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<!-- <div class="flex-view">
|
||||
<div class="input-main-80">
|
||||
<span>灌溉</span>
|
||||
|
@ -1127,8 +1129,7 @@ export default {
|
|||
}
|
||||
console.log(this.topActive, 11);
|
||||
},
|
||||
change71() {
|
||||
|
||||
change71() {
|
||||
var num = 0;
|
||||
if (this.inputData["1" + (10 + (this.indexs - 1)) + "71"] == 1) {
|
||||
this.inputData["1" + (10 + (this.indexs - 1)) + "71"] = 0;
|
||||
|
|
Loading…
Reference in New Issue