diff --git a/pages/fertilizer_machine_new/fertilizer_machine_new.vue b/pages/fertilizer_machine_new/fertilizer_machine_new.vue index 83d2968..2f5e682 100644 --- a/pages/fertilizer_machine_new/fertilizer_machine_new.vue +++ b/pages/fertilizer_machine_new/fertilizer_machine_new.vue @@ -81,7 +81,17 @@ {{item}} - + @@ -107,11 +117,11 @@ 控制模式: - 停止 - 手动启动 - 自动 + 自动 @@ -149,6 +159,14 @@ 电磁阀控制通道 + + + + + + @@ -161,36 +179,28 @@ + + + + + + + + - - - - - - - - - - - - - - @@ -471,7 +481,7 @@ uni.hideLoading() // uni.stopPullDownRefresh(); this.inputData1 = res.data; - this.getType00(); + // this.getType00(); this.get59() this.inputData1['1'+(10 + (this.indexs - 1)) + '01'] = this.countData10(this.inputData1['1'+(10 + (this.indexs - 1)) + '01']) @@ -506,26 +516,26 @@ title: '加载中...' }) this.topActive = index - var list = ["0", "0", "0"]; - if (index == 1) { - list[0] = "1"; - } else { - list[0] = "0"; - } - if (index == 2) { - list[1] = "1"; - } else { - list[1] = "0"; - } - if (index == 3) { - list[2] = "1"; - } else { - list[2] = "0"; - } - var num = list.join(""); + // var list = ["0", "0", "0"]; + // if (index == 1) { + // list[0] = "1"; + // } else { + // list[0] = "0"; + // } + // if (index == 2) { + // list[1] = "1"; + // } else { + // list[1] = "0"; + // } + // if (index == 3) { + // list[2] = "1"; + // } else { + // list[2] = "0"; + // } + // var num = list.join(""); var dataNum = { target: { - value: parseInt(num, 2), + value:index, }, }; this.change('1'+(10 + (this.indexs - 1)) + "00", dataNum);