Browse Source

Merge remote-tracking branch 'origin/20230223_pad_vue_new_branch' into 20230223_pad_vue_new_branch

28169 3 weeks ago
parent
commit
c1703e160f
2 changed files with 32 additions and 15 deletions
  1. 1 1
      build/cdn.json
  2. 31 14
      src/pages/main/newActionBar/doctorAdvice.vue

+ 1 - 1
build/cdn.json View File

1
 {
1
 {
2
-  "version": "2999.999.13756"
2
+  "version": "2999.999.13766"
3
 }
3
 }

+ 31 - 14
src/pages/main/newActionBar/doctorAdvice.vue View File

488
         exceParams = {
488
         exceParams = {
489
           groupno: 0,
489
           groupno: 0,
490
           advice_id: this.currentAdviceIdsStr,
490
           advice_id: this.currentAdviceIdsStr,
491
-          execution_time: exceTime
491
+          execution_time: exceTime,
492
+          patient_id:this.$route.query.patient_id,
492
         }
493
         }
493
       } else {
494
       } else {
494
         var group = this.advice_groups[this.current_group_index]
495
         var group = this.advice_groups[this.current_group_index]
495
         exceParams = {
496
         exceParams = {
496
           groupno: group.group_no <= 0 ? 0 : group.group_no,
497
           groupno: group.group_no <= 0 ? 0 : group.group_no,
497
           advice_id: group.group_no <= 0 ? group.advices[0].id : 0,
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
       exceParams['mode'] = 8
504
       exceParams['mode'] = 8
634
             groupno: 0,
637
             groupno: 0,
635
             advice_id: this.currentAdviceIdsStr,
638
             advice_id: this.currentAdviceIdsStr,
636
             execution_time: exceTime,
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
           exceParams['mode'] = '6'
643
           exceParams['mode'] = '6'
640
         } else {
644
         } else {
648
             groupno: group.group_no <= 0 ? 0 : group.group_no,
652
             groupno: group.group_no <= 0 ? 0 : group.group_no,
649
             advice_id: str,
653
             advice_id: str,
650
             execution_time: exceTime,
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
           exceParams['mode'] = '6'
658
           exceParams['mode'] = '6'
654
         }
659
         }
659
             groupno: 0,
664
             groupno: 0,
660
             advice_id: this.currentAdviceIdsStr,
665
             advice_id: this.currentAdviceIdsStr,
661
             execution_time: exceTime,
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
         } else {
670
         } else {
665
           var group = this.advice_groups[this.current_group_index]
671
           var group = this.advice_groups[this.current_group_index]
669
             groupno: group.group_no <= 0 ? 0 : group.group_no,
675
             groupno: group.group_no <= 0 ? 0 : group.group_no,
670
             advice_id: group.group_no <= 0 ? group.advices[0].id : 0,
676
             advice_id: group.group_no <= 0 ? group.advices[0].id : 0,
671
             execution_time: exceTime,
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
         Toast.loading({forbidClick: true, duration: 0})
682
         Toast.loading({forbidClick: true, duration: 0})
680
         let data = {
687
         let data = {
681
           execution_time: exceTime,
688
           execution_time: exceTime,
682
           project_id: this.advice_groups[this.current_group_index].advices[0].id,
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
         execProject(data).then(response => {
693
         execProject(data).then(response => {
686
           if (response.data.state == 0) {
694
           if (response.data.state == 0) {
713
           return false
721
           return false
714
         })
722
         })
715
       } else {
723
       } else {
724
+        console.log("执行---------------",exceParams)
716
         ExecDoctorAdvice(exceParams).then(response => {
725
         ExecDoctorAdvice(exceParams).then(response => {
717
           if (response.data.state == 0) {
726
           if (response.data.state == 0) {
718
             Toast.fail(response.data.msg)
727
             Toast.fail(response.data.msg)
1120
             groupno: 0,
1129
             groupno: 0,
1121
             advice_id: this.currentAdviceIdsStr,
1130
             advice_id: this.currentAdviceIdsStr,
1122
             execution_time: exceTime,
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
           exceParams['mode'] = '6'
1135
           exceParams['mode'] = '6'
1126
         } else {
1136
         } else {
1134
             groupno: group.group_no <= 0 ? 0 : group.group_no,
1144
             groupno: group.group_no <= 0 ? 0 : group.group_no,
1135
             advice_id: str,
1145
             advice_id: str,
1136
             execution_time: exceTime,
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
           exceParams['mode'] = '6'
1150
           exceParams['mode'] = '6'
1140
         }
1151
         }
1145
             groupno: 0,
1156
             groupno: 0,
1146
             advice_id: this.currentAdviceIdsStr,
1157
             advice_id: this.currentAdviceIdsStr,
1147
             execution_time: exceTime,
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
         } else {
1162
         } else {
1151
           var group = this.advice_groups[this.current_group_index]
1163
           var group = this.advice_groups[this.current_group_index]
1155
             groupno: group.group_no <= 0 ? 0 : group.group_no,
1167
             groupno: group.group_no <= 0 ? 0 : group.group_no,
1156
             advice_id: group.group_no <= 0 ? group.advices[0].id : 0,
1168
             advice_id: group.group_no <= 0 ? group.advices[0].id : 0,
1157
             execution_time: exceTime,
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
         Toast.loading({forbidClick: true, duration: 0})
1174
         Toast.loading({forbidClick: true, duration: 0})
1197
         })
1210
         })
1198
       } else {
1211
       } else {
1199
 
1212
 
1200
-
1213
+        console.log("执行--------------",exceParams)
1201
         ExecDoctorAdvice(exceParams).then(response => {
1214
         ExecDoctorAdvice(exceParams).then(response => {
1202
           if (response.data.state == 0) {
1215
           if (response.data.state == 0) {
1203
             Toast.fail(response.data.msg)
1216
             Toast.fail(response.data.msg)
1329
         exceParams = {
1342
         exceParams = {
1330
           groupno: 0,
1343
           groupno: 0,
1331
           advice_id: this.currentAdviceIdsStr,
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
       } else {
1349
       } else {
1335
         var group = this.advice_groups[this.current_group_index]
1350
         var group = this.advice_groups[this.current_group_index]
1336
         exceParams = {
1351
         exceParams = {
1337
           groupno: group.group_no <= 0 ? 0 : group.group_no,
1352
           groupno: group.group_no <= 0 ? 0 : group.group_no,
1338
           advice_id: group.group_no <= 0 ? group.advices[0].id : 0,
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
       exceParams['mode'] = 8
1359
       exceParams['mode'] = 8