Sfoglia il codice sorgente

选择“停炉”,当前炉子测温或测压数据默认全部为0

wangggziwen 1 anno fa
parent
commit
7a601e12e7

+ 1 - 1
ui/src/views/production/pressure/h109.vue

@@ -644,7 +644,7 @@
         return this.selectDictLabel(this.teamOptions, row.team);
       },
       handleChange() {
-        if (this.form.status != '0') {
+        if (this.form.status === '1') {
           this.pass1 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass2 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass3 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];

+ 1 - 1
ui/src/views/production/pressure/h110.vue

@@ -496,7 +496,7 @@
         return this.selectDictLabel(this.statusOptions, row.status);
       },
       handleChange() {
-        if (this.form.status != '0') {
+        if (this.form.status === '1') {
           this.pass1 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass2 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass3 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];

+ 1 - 1
ui/src/views/production/pressure/h111.vue

@@ -496,7 +496,7 @@
         return this.selectDictLabel(this.statusOptions, row.status);
       },
       handleChange() {
-        if (this.form.status != '0') {
+        if (this.form.status === '1') {
           this.pass1 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass2 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass3 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];

+ 1 - 1
ui/src/views/production/pressure/h112.vue

@@ -496,7 +496,7 @@
         return this.selectDictLabel(this.statusOptions, row.status);
       },
       handleChange() {
-        if (this.form.status != '0') {
+        if (this.form.status === '1') {
           this.pass1 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass2 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass3 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];

+ 1 - 1
ui/src/views/production/pressure/h113.vue

@@ -496,7 +496,7 @@
         return this.selectDictLabel(this.statusOptions, row.status);
       },
       handleChange() {
-        if (this.form.status != '0') {
+        if (this.form.status === '1') {
           this.pass1 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass2 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass3 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];

+ 1 - 1
ui/src/views/production/pressure/h114.vue

@@ -496,7 +496,7 @@
         return this.selectDictLabel(this.statusOptions, row.status);
       },
       handleChange() {
-        if (this.form.status != '0') {
+        if (this.form.status === '1') {
           this.pass1 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass2 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass3 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];

+ 1 - 1
ui/src/views/production/pressure/h115.vue

@@ -496,7 +496,7 @@
         return this.selectDictLabel(this.statusOptions, row.status);
       },
       handleChange() {
-        if (this.form.status != '0') {
+        if (this.form.status === '1') {
           this.pass1 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass2 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass3 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];

+ 1 - 1
ui/src/views/production/pressure/h116.vue

@@ -496,7 +496,7 @@
         return this.selectDictLabel(this.statusOptions, row.status);
       },
       handleChange() {
-        if (this.form.status != '0') {
+        if (this.form.status === '1') {
           this.pass1 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass2 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass3 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];

+ 1 - 1
ui/src/views/production/pressure/h117.vue

@@ -496,7 +496,7 @@
         return this.selectDictLabel(this.statusOptions, row.status);
       },
       handleChange() {
-        if (this.form.status != '0') {
+        if (this.form.status === '1') {
           this.pass1 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass2 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass3 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];

+ 1 - 1
ui/src/views/production/pressure/h118.vue

@@ -496,7 +496,7 @@
         return this.selectDictLabel(this.statusOptions, row.status);
       },
       handleChange() {
-        if (this.form.status != '0') {
+        if (this.form.status === '1') {
           this.pass1 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass2 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass3 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];

+ 1 - 1
ui/src/views/production/pressure/h130.vue

@@ -568,7 +568,7 @@
         return this.selectDictLabel(this.statusOptions, row.status);
       },
       handleChange() {
-        if (this.form.status != '0') {
+        if (this.form.status === '1') {
           this.pass1 = ["0", "0", "0", "0", "0", "0", "0"];
           this.pass2 = ["0", "0", "0", "0", "0", "0", "0"];
           this.pass3 = ["0", "0", "0", "0", "0", "0", "0"];

+ 1 - 1
ui/src/views/production/temperature/h109.vue

@@ -504,7 +504,7 @@
         return this.selectDictLabel(this.teamOptions, row.team);
       },
       handleChange() {
-        if (this.form.status != '0') {
+        if (this.form.status === '1') {
           this.pass1 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass2 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass3 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];

+ 1 - 1
ui/src/views/production/temperature/h110.vue

@@ -412,7 +412,7 @@
         return this.selectDictLabel(this.statusOptions, row.status);
       },
       handleChange() {
-        if (this.form.status != '0') {
+        if (this.form.status === '1') {
           this.pass1 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass2 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass3 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];

+ 1 - 1
ui/src/views/production/temperature/h111.vue

@@ -412,7 +412,7 @@
         return this.selectDictLabel(this.statusOptions, row.status);
       },
       handleChange() {
-        if (this.form.status != '0') {
+        if (this.form.status === '1') {
           this.pass1 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass2 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass3 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];

+ 1 - 1
ui/src/views/production/temperature/h112.vue

@@ -412,7 +412,7 @@
         return this.selectDictLabel(this.statusOptions, row.status);
       },
       handleChange() {
-        if (this.form.status != '0') {
+        if (this.form.status === '1') {
           this.pass1 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass2 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass3 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];

+ 1 - 1
ui/src/views/production/temperature/h113.vue

@@ -412,7 +412,7 @@
         return this.selectDictLabel(this.statusOptions, row.status);
       },
       handleChange() {
-        if (this.form.status != '0') {
+        if (this.form.status === '1') {
           this.pass1 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass2 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass3 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];

+ 1 - 1
ui/src/views/production/temperature/h114.vue

@@ -412,7 +412,7 @@
         return this.selectDictLabel(this.statusOptions, row.status);
       },
       handleChange() {
-        if (this.form.status != '0') {
+        if (this.form.status === '1') {
           this.pass1 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass2 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass3 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];

+ 1 - 1
ui/src/views/production/temperature/h115.vue

@@ -412,7 +412,7 @@
         return this.selectDictLabel(this.statusOptions, row.status);
       },
       handleChange() {
-        if (this.form.status != '0') {
+        if (this.form.status === '1') {
           this.pass1 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass2 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass3 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];

+ 1 - 1
ui/src/views/production/temperature/h116.vue

@@ -412,7 +412,7 @@
         return this.selectDictLabel(this.statusOptions, row.status);
       },
       handleChange() {
-        if (this.form.status != '0') {
+        if (this.form.status === '1') {
           this.pass1 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass2 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass3 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];

+ 1 - 1
ui/src/views/production/temperature/h117.vue

@@ -412,7 +412,7 @@
         return this.selectDictLabel(this.statusOptions, row.status);
       },
       handleChange() {
-        if (this.form.status != '0') {
+        if (this.form.status === '1') {
           this.pass1 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass2 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass3 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];

+ 1 - 1
ui/src/views/production/temperature/h118.vue

@@ -412,7 +412,7 @@
         return this.selectDictLabel(this.teamOptions, row.team);
       },
       handleChange() {
-        if (this.form.status != '0') {
+        if (this.form.status === '1') {
           this.pass1 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass2 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];
           this.pass3 = ["0", "0", "0", "0", "0", "0", "0", "0", "0", "0"];

+ 1 - 1
ui/src/views/production/temperature/h130.vue

@@ -460,7 +460,7 @@
         return this.selectDictLabel(this.statusOptions, row.status);
       },
       handleChange() {
-        if (this.form.status != '0') {
+        if (this.form.status === '1') {
           this.pass1 = ["0", "0", "0"];
           this.pass2 = ["0", "0", "0"];
           this.pass3 = ["0", "0", "0"];