|
@@ -488,14 +488,17 @@ export default {
|
488
|
488
|
exceParams = {
|
489
|
489
|
groupno: 0,
|
490
|
490
|
advice_id: this.currentAdviceIdsStr,
|
491
|
|
- execution_time: exceTime
|
|
491
|
+ execution_time: exceTime,
|
|
492
|
+ patient_id:this.$route.query.patient_id,
|
492
|
493
|
}
|
493
|
494
|
} else {
|
494
|
495
|
var group = this.advice_groups[this.current_group_index]
|
495
|
496
|
exceParams = {
|
496
|
497
|
groupno: group.group_no <= 0 ? 0 : group.group_no,
|
497
|
498
|
advice_id: group.group_no <= 0 ? group.advices[0].id : 0,
|
498
|
|
- execution_time: exceTime
|
|
499
|
+ execution_time: exceTime,
|
|
500
|
+ patient_id:this.$route.query.patient_id,
|
|
501
|
+ record_date:this.$route.query.date,
|
499
|
502
|
}
|
500
|
503
|
}
|
501
|
504
|
exceParams['mode'] = 8
|
|
@@ -634,7 +637,8 @@ export default {
|
634
|
637
|
groupno: 0,
|
635
|
638
|
advice_id: this.currentAdviceIdsStr,
|
636
|
639
|
execution_time: exceTime,
|
637
|
|
- record_date:this.$route.query.date
|
|
640
|
+ record_date:this.$route.query.date,
|
|
641
|
+ patient_id:this.$route.query.patient_id,
|
638
|
642
|
}
|
639
|
643
|
exceParams['mode'] = '6'
|
640
|
644
|
} else {
|
|
@@ -648,7 +652,8 @@ export default {
|
648
|
652
|
groupno: group.group_no <= 0 ? 0 : group.group_no,
|
649
|
653
|
advice_id: str,
|
650
|
654
|
execution_time: exceTime,
|
651
|
|
- record_date:this.$route.query.date
|
|
655
|
+ record_date:this.$route.query.date,
|
|
656
|
+ patient_id:this.$route.query.patient_id,
|
652
|
657
|
}
|
653
|
658
|
exceParams['mode'] = '6'
|
654
|
659
|
}
|
|
@@ -659,7 +664,8 @@ export default {
|
659
|
664
|
groupno: 0,
|
660
|
665
|
advice_id: this.currentAdviceIdsStr,
|
661
|
666
|
execution_time: exceTime,
|
662
|
|
- record_date:this.$route.query.date
|
|
667
|
+ record_date:this.$route.query.date,
|
|
668
|
+ patient_id:this.$route.query.patient_id,
|
663
|
669
|
}
|
664
|
670
|
} else {
|
665
|
671
|
var group = this.advice_groups[this.current_group_index]
|
|
@@ -669,7 +675,8 @@ export default {
|
669
|
675
|
groupno: group.group_no <= 0 ? 0 : group.group_no,
|
670
|
676
|
advice_id: group.group_no <= 0 ? group.advices[0].id : 0,
|
671
|
677
|
execution_time: exceTime,
|
672
|
|
- record_date:this.$route.query.date
|
|
678
|
+ record_date:this.$route.query.date,
|
|
679
|
+ patient_id:this.$route.query.patient_id,
|
673
|
680
|
}
|
674
|
681
|
}
|
675
|
682
|
Toast.loading({forbidClick: true, duration: 0})
|
|
@@ -680,7 +687,8 @@ export default {
|
680
|
687
|
let data = {
|
681
|
688
|
execution_time: exceTime,
|
682
|
689
|
project_id: this.advice_groups[this.current_group_index].advices[0].id,
|
683
|
|
- record_date:this.$route.query.date
|
|
690
|
+ record_date:this.$route.query.date,
|
|
691
|
+ patient_id:this.$route.query.patient_id,
|
684
|
692
|
}
|
685
|
693
|
execProject(data).then(response => {
|
686
|
694
|
if (response.data.state == 0) {
|
|
@@ -713,6 +721,7 @@ export default {
|
713
|
721
|
return false
|
714
|
722
|
})
|
715
|
723
|
} else {
|
|
724
|
+ console.log("执行---------------",exceParams)
|
716
|
725
|
ExecDoctorAdvice(exceParams).then(response => {
|
717
|
726
|
if (response.data.state == 0) {
|
718
|
727
|
Toast.fail(response.data.msg)
|
|
@@ -1120,7 +1129,8 @@ export default {
|
1120
|
1129
|
groupno: 0,
|
1121
|
1130
|
advice_id: this.currentAdviceIdsStr,
|
1122
|
1131
|
execution_time: exceTime,
|
1123
|
|
- record_date:this.$route.query.date
|
|
1132
|
+ record_date:this.$route.query.date,
|
|
1133
|
+ patient_id:this.$route.query.patient_id,
|
1124
|
1134
|
}
|
1125
|
1135
|
exceParams['mode'] = '6'
|
1126
|
1136
|
} else {
|
|
@@ -1134,7 +1144,8 @@ export default {
|
1134
|
1144
|
groupno: group.group_no <= 0 ? 0 : group.group_no,
|
1135
|
1145
|
advice_id: str,
|
1136
|
1146
|
execution_time: exceTime,
|
1137
|
|
- record_date:this.$route.query.date
|
|
1147
|
+ record_date:this.$route.query.date,
|
|
1148
|
+ patient_id:this.$route.query.patient_id,
|
1138
|
1149
|
}
|
1139
|
1150
|
exceParams['mode'] = '6'
|
1140
|
1151
|
}
|
|
@@ -1145,7 +1156,8 @@ export default {
|
1145
|
1156
|
groupno: 0,
|
1146
|
1157
|
advice_id: this.currentAdviceIdsStr,
|
1147
|
1158
|
execution_time: exceTime,
|
1148
|
|
- record_date:this.$route.query.date
|
|
1159
|
+ record_date:this.$route.query.date,
|
|
1160
|
+ patient_id:this.$route.query.patient_id,
|
1149
|
1161
|
}
|
1150
|
1162
|
} else {
|
1151
|
1163
|
var group = this.advice_groups[this.current_group_index]
|
|
@@ -1155,7 +1167,8 @@ export default {
|
1155
|
1167
|
groupno: group.group_no <= 0 ? 0 : group.group_no,
|
1156
|
1168
|
advice_id: group.group_no <= 0 ? group.advices[0].id : 0,
|
1157
|
1169
|
execution_time: exceTime,
|
1158
|
|
- record_date:this.$route.query.date
|
|
1170
|
+ record_date:this.$route.query.date,
|
|
1171
|
+ patient_id:this.$route.query.patient_id,
|
1159
|
1172
|
}
|
1160
|
1173
|
}
|
1161
|
1174
|
Toast.loading({forbidClick: true, duration: 0})
|
|
@@ -1197,7 +1210,7 @@ export default {
|
1197
|
1210
|
})
|
1198
|
1211
|
} else {
|
1199
|
1212
|
|
1200
|
|
-
|
|
1213
|
+ console.log("执行--------------",exceParams)
|
1201
|
1214
|
ExecDoctorAdvice(exceParams).then(response => {
|
1202
|
1215
|
if (response.data.state == 0) {
|
1203
|
1216
|
Toast.fail(response.data.msg)
|
|
@@ -1329,14 +1342,18 @@ export default {
|
1329
|
1342
|
exceParams = {
|
1330
|
1343
|
groupno: 0,
|
1331
|
1344
|
advice_id: this.currentAdviceIdsStr,
|
1332
|
|
- execution_time: exceTime
|
|
1345
|
+ execution_time: exceTime,
|
|
1346
|
+ patient_id:this.$route.query.patient_id,
|
|
1347
|
+ record_date:this.$route.query.date,
|
1333
|
1348
|
}
|
1334
|
1349
|
} else {
|
1335
|
1350
|
var group = this.advice_groups[this.current_group_index]
|
1336
|
1351
|
exceParams = {
|
1337
|
1352
|
groupno: group.group_no <= 0 ? 0 : group.group_no,
|
1338
|
1353
|
advice_id: group.group_no <= 0 ? group.advices[0].id : 0,
|
1339
|
|
- execution_time: exceTime
|
|
1354
|
+ execution_time: exceTime,
|
|
1355
|
+ patient_id:this.$route.query.patient_id,
|
|
1356
|
+ record_date:this.$route.query.date,
|
1340
|
1357
|
}
|
1341
|
1358
|
}
|
1342
|
1359
|
exceParams['mode'] = 8
|