XMLWAN 4 anos atrás
pai
commit
f03075a759

+ 2 - 2
config/index.js Ver arquivo

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

+ 1 - 1
src/xt_pages/device/airDisinfect.vue Ver arquivo

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

+ 1 - 1
src/xt_pages/device/objectTableDisinfect.vue Ver arquivo

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

+ 1 - 0
src/xt_pages/user/inspection.vue Ver arquivo

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

+ 9 - 5
src/xt_pages/user/inspectionInfectious.vue Ver arquivo

@@ -397,8 +397,7 @@ export default {
397 397
                 type: 'success',
398 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 401
               this.itemDate = this.form.inspect_date
403 402
               this.items = []
404 403
               var inspections = response.data.data.inspections
@@ -416,6 +415,7 @@ export default {
416 415
                     inspections[index]
417 416
               }
418 417
               var items = this.project
418
+              console.log("items",items)
419 419
               for (var index in items) {
420 420
                 if (items[index].id in inspectionsMap) {
421 421
                   var item = {}
@@ -434,12 +434,16 @@ export default {
434 434
                       item.value_direction = '↑'
435 435
                     }
436 436
                   }
437
+                  
437 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 447
               this.dialogFormVisible = false
444 448
             } else {
445 449
               this.$message.error(response.data.msg)