|
@@ -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)
|