Bläddra i källkod

Merge branch 'superman' of http://git.shengws.com/zhangbj/xt_vue into superman

See999 4 år sedan
förälder
incheckning
5441f96330
1 ändrade filer med 9 tillägg och 9 borttagningar
  1. 9 9
      src/xt_pages/management/home.vue

+ 9 - 9
src/xt_pages/management/home.vue Visa fil

493
                                         </el-select>
493
                                         </el-select>
494
                                      </el-form-item>
494
                                      </el-form-item>
495
                                 </el-col>
495
                                 </el-col>
496
-                                 <el-col :span="7">      
496
+                                 <el-col :span="7">
497
                                     <el-form-item label="使用年限(年):">
497
                                     <el-form-item label="使用年限(年):">
498
                                       <el-input style="width:150px" v-model="form.user_year" :disabled="disableFour"></el-input>
498
                                       <el-input style="width:150px" v-model="form.user_year" :disabled="disableFour"></el-input>
499
                                     </el-form-item>
499
                                     </el-form-item>
2685
                 this.$refs.singleTable.setCurrentRow(this.tableDatatwo[i])
2685
                 this.$refs.singleTable.setCurrentRow(this.tableDatatwo[i])
2686
                 break
2686
                 break
2687
               }
2687
               }
2688
-              
2688
+
2689
             }
2689
             }
2690
             // this.$refs.singleTable.setCurrentRow(this.tableDatatwo[this.tabIndex])
2690
             // this.$refs.singleTable.setCurrentRow(this.tableDatatwo[this.tabIndex])
2691
           }
2691
           }
3004
                       //   this.$forceUpdate()
3004
                       //   this.$forceUpdate()
3005
                     }
3005
                     }
3006
                   }
3006
                   }
3007
-  
3007
+
3008
                   this.tableDatatwo[i] = addmacher
3008
                   this.tableDatatwo[i] = addmacher
3009
                   // this.$refs.singleTable.setCurrentRow(this.tableDatatwo[i])
3009
                   // this.$refs.singleTable.setCurrentRow(this.tableDatatwo[i])
3010
                 }
3010
                 }
3061
                       //   this.$forceUpdate()
3061
                       //   this.$forceUpdate()
3062
                       }
3062
                       }
3063
                     }
3063
                     }
3064
-  
3064
+
3065
                     this.tableDatatwo[i] = addmacher
3065
                     this.tableDatatwo[i] = addmacher
3066
                   // this.$refs.singleTable.setCurrentRow(this.tableDatatwo[i])
3066
                   // this.$refs.singleTable.setCurrentRow(this.tableDatatwo[i])
3067
                   }
3067
                   }
3105
                       //   this.$forceUpdate()
3105
                       //   this.$forceUpdate()
3106
                     }
3106
                     }
3107
                   }
3107
                   }
3108
-  
3108
+
3109
                   this.tableDatatwo[i] = addmacher
3109
                   this.tableDatatwo[i] = addmacher
3110
                   // this.$refs.singleTable.setCurrentRow(this.tableDatatwo[i])
3110
                   // this.$refs.singleTable.setCurrentRow(this.tableDatatwo[i])
3111
                 }
3111
                 }
3459
         var devicetype = this.machineform.device_type
3459
         var devicetype = this.machineform.device_type
3460
         var devicetypes = parseInt(devicetype)
3460
         var devicetypes = parseInt(devicetype)
3461
         this.machineform.device_type = devicetypes
3461
         this.machineform.device_type = devicetypes
3462
-  
3462
+
3463
         if (this.machineform.disinfec_time === '') {
3463
         if (this.machineform.disinfec_time === '') {
3464
           this.machineform.disinfec_time = ''
3464
           this.machineform.disinfec_time = ''
3465
         }
3465
         }
3468
           var disinfectime = parseInt(disinfectimes)
3468
           var disinfectime = parseInt(disinfectimes)
3469
           this.machineform.disinfec_time = disinfectime
3469
           this.machineform.disinfec_time = disinfectime
3470
         }
3470
         }
3471
-  
3471
+
3472
         var times = this.machineform.time
3472
         var times = this.machineform.time
3473
         var time = parseInt(times)
3473
         var time = parseInt(times)
3474
         this.machineform.time = time
3474
         this.machineform.time = time
4388
             }
4388
             }
4389
 
4389
 
4390
             var timeDataThree = response.data.data.timeDataThree
4390
             var timeDataThree = response.data.data.timeDataThree
4391
-            console.log('timeDataThree', timeDataThree)
4391
+            //console.log('timeDataThree', timeDataThree)
4392
             if (timeDataThree.length === 0) {
4392
             if (timeDataThree.length === 0) {
4393
               this.warnShowThree = true
4393
               this.warnShowThree = true
4394
             }
4394
             }
4412
       getAllMode() {
4412
       getAllMode() {
4413
         getAllMode().then(response => {
4413
         getAllMode().then(response => {
4414
           var mode = response.data.data.mode
4414
           var mode = response.data.data.mode
4415
-  
4415
+
4416
           this.deviceMode = mode
4416
           this.deviceMode = mode
4417
         })
4417
         })
4418
       },
4418
       },