XMLWAN 4 years ago
parent
commit
f03075a759

+ 2 - 2
config/index.js View File

29
 
29
 
30
      // host: 'xt.test.sgjyun.com',
30
      // host: 'xt.test.sgjyun.com',
31
     //  host: 'xt.kuyicloud.com',
31
     //  host: 'xt.kuyicloud.com',
32
-    // host: 'xt.test.sgjyun.com',
33
-    host: 'localhost',
32
+    host: 'xt.test.sgjyun.com',
33
+    // host: 'localhost',
34
     port: 9528, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
34
     port: 9528, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
35
     autoOpenBrowser: true,
35
     autoOpenBrowser: true,
36
     errorOverlay: true,
36
     errorOverlay: true,

+ 1 - 1
src/xt_pages/device/airDisinfect.vue View File

269
                 </el-form-item> 
269
                 </el-form-item> 
270
             </el-form>
270
             </el-form>
271
             <div slot="footer" class="dialog-footer">
271
             <div slot="footer" class="dialog-footer">
272
-                <el-button @click="dialogFormVisible = false">取 消</el-button>
272
+                <el-button @click="editDialogFormVisible = false">取 消</el-button>
273
                 <el-button type="primary" @click="updateAirDisinfect('form')">保 存</el-button>
273
                 <el-button type="primary" @click="updateAirDisinfect('form')">保 存</el-button>
274
             </div>
274
             </div>
275
         </el-dialog>
275
         </el-dialog>

+ 1 - 1
src/xt_pages/device/objectTableDisinfect.vue View File

269
                 </el-form-item> 
269
                 </el-form-item> 
270
             </el-form>
270
             </el-form>
271
             <div slot="footer" class="dialog-footer">
271
             <div slot="footer" class="dialog-footer">
272
-                <el-button @click="dialogFormVisible = false">取 消</el-button>
272
+                <el-button @click="editDialogFormVisible = false">取 消</el-button>
273
                 <el-button type="primary" @click="updateBodyDisinfect('form')">保 存</el-button>
273
                 <el-button type="primary" @click="updateBodyDisinfect('form')">保 存</el-button>
274
             </div>
274
             </div>
275
         </el-dialog>
275
         </el-dialog>

+ 1 - 0
src/xt_pages/user/inspection.vue View File

453
                     inspections[index]
453
                     inspections[index]
454
               }
454
               }
455
               var items = this.project.inspection_reference
455
               var items = this.project.inspection_reference
456
+              console.log("itmes",items)
456
               for (var index in items) {
457
               for (var index in items) {
457
                 if (items[index].id in inspectionsMap) {
458
                 if (items[index].id in inspectionsMap) {
458
                   var item = {}
459
                   var item = {}

+ 9 - 5
src/xt_pages/user/inspectionInfectious.vue View File

397
                 type: 'success',
397
                 type: 'success',
398
                 duration: 2000
398
                 duration: 2000
399
               })
399
               })
400
-              this.patient_info.remind_cycle =
401
-                  response.data.data.remind_cycle
400
+              this.patient_info.remind_cycle = response.data.data.remind_cycle
402
               this.itemDate = this.form.inspect_date
401
               this.itemDate = this.form.inspect_date
403
               this.items = []
402
               this.items = []
404
               var inspections = response.data.data.inspections
403
               var inspections = response.data.data.inspections
416
                     inspections[index]
415
                     inspections[index]
417
               }
416
               }
418
               var items = this.project
417
               var items = this.project
418
+              console.log("items",items)
419
               for (var index in items) {
419
               for (var index in items) {
420
                 if (items[index].id in inspectionsMap) {
420
                 if (items[index].id in inspectionsMap) {
421
                   var item = {}
421
                   var item = {}
434
                       item.value_direction = '↑'
434
                       item.value_direction = '↑'
435
                     }
435
                     }
436
                   }
436
                   }
437
+                  
437
                   this.items.push(item)
438
                   this.items.push(item)
438
-                  this.total = this.items.length
439
+                  
440
+                 
439
                 }
441
                 }
440
               }
442
               }
441
-
442
-              this.resetForm(formName)
443
+               this.resetForm(formName)
444
+              //  this.total = 4
445
+              //  console.log("222",this.total)
446
+             
443
               this.dialogFormVisible = false
447
               this.dialogFormVisible = false
444
             } else {
448
             } else {
445
               this.$message.error(response.data.msg)
449
               this.$message.error(response.data.msg)