pull/44/head^2
孙萌 2023-11-20 10:14:41 +08:00
parent ba1b7594fc
commit f88a36a07d
1 changed files with 15 additions and 17 deletions

View File

@ -35,8 +35,8 @@
</div> </div>
</div> </div>
<div class="left-btn"> <div class="left-btn">
<div :class="left1Act == 1 && left1Act == 3 ? 'active' : ''">进水泵</div> <div :class="left1Act == 1 || left1Act == 3 ? 'active' : ''">进水泵</div>
<div :class="left1Act == 2 && left1Act == 3 ? 'active' : ''">配肥泵</div> <div :class="left1Act == 2 || left1Act == 3 ? 'active' : ''">配肥泵</div>
</div> </div>
</div> </div>
@ -328,7 +328,6 @@ export default {
typeList.forEach((el, index) => { typeList.forEach((el, index) => {
if (el.value == this.inputData1[typeCode]) { if (el.value == this.inputData1[typeCode]) {
console.log(this.inputData1[typeCode], 111, el.countType);
countType = el.countType countType = el.countType
} }
}) })
@ -502,23 +501,22 @@ export default {
} }
} }
} }
console.log(this.right2Index, 123);
}, },
// //
getData30() { getData30() {
// var number = this.padString(this.inputData['30'].toString(2), 2) var number = this.padString(this.inputData['30'].toString(2), 2)
// if (Number(number[0])) { if (Number(number[0])) {
// this.left1Act = 1 this.left1Act = 1
// } }
// if (Number(number[1])) { if (Number(number[1])) {
// this.left1Act = 0 this.left1Act = 0
// } }
// if (Number(number[0])&&Number(number[1])) { if (Number(number[0])&&Number(number[1])) {
// this.left1Act = 3 this.left1Act = 3
// } }
// else { else {
// this.left1Act = -1 this.left1Act = -1
// } }
}, },
dataInit() { dataInit() {
const that = this const that = this