Browse Source

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

csx 3 years ago
parent
commit
14a9619c92

+ 1 - 1
src/xt_pages/hospitalStation/components/registerDialog.vue View File

@@ -422,7 +422,7 @@
422 422
         }
423 423
         let searchArray = [];
424 424
         PostSearch(key).then(response => {
425
-          if (response.data.state == 1) {
425
+          if (response.data.state == 1) {balance_accounts_type
426 426
             searchArray = response.data.data.patient;
427 427
             cb(searchArray)
428 428
           } else {

+ 1 - 0
src/xt_pages/outpatientDoctorStation/components/callPrescription.vue View File

@@ -264,6 +264,7 @@
264 264
                 id:prescription.doctor_advice[b].drug_id,
265 265
                 drug:prescription.doctor_advice[b].drug,
266 266
                 groupno: index,
267
+                hosp_appr_flag:"1",
267 268
               };
268 269
               if (obj.prescribing_number_unit == prescription.doctor_advice[b].drug.min_unit){
269 270
                 obj['retail_price'] =  prescription.doctor_advice[b].drug.min_price

+ 2 - 2
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

@@ -2261,7 +2261,6 @@
2261 2261
                 this.prescriptions[i].advices[b].day = parseInt(this.prescriptions[i].advices[b].day)
2262 2262
                 this.prescriptions[i].advices[b].groupno = parseInt(this.prescriptions[i].advices[b].groupno)
2263 2263
 
2264
-
2265 2264
               }
2266 2265
 
2267 2266
               for (let b = 0; b < this.prescriptions[i].project.length; b++) {
@@ -2832,7 +2831,8 @@
2832 2831
                   prescribing_number_unit: temp[b].prescribing_number_unit,
2833 2832
                   medical_insurance_number: temp[b].medical_insurance_number,
2834 2833
                   drug: temp[b],
2835
-                  groupno: index + temp_index
2834
+                  groupno: index + temp_index,
2835
+                  hosp_appr_flag:"1",
2836 2836
                 }
2837 2837
 
2838 2838
                 if (obj.prescribing_number == 0 || obj.prescribing_number.length == 0) {

+ 1 - 0
src/xt_pages/outpatientDoctorStation/components/nextOrLastPrescription.vue View File

@@ -321,6 +321,7 @@
321 321
                 id:prescription.doctor_advice[b].drug_id,
322 322
                 drug:prescription.doctor_advice[b].drug,
323 323
                 groupno:index,
324
+                hosp_appr_flag:"1"
324 325
               };
325 326
 
326 327
               if (obj.prescribing_number_unit == prescription.doctor_advice[b].drug.min_unit){

File diff suppressed because it is too large
+ 439 - 411
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue


+ 36 - 12
src/xt_pages/outpatientDoctorStation/doctorDesk.vue View File

@@ -1353,7 +1353,8 @@
1353 1353
                     medical_insurance_number: prescription.advices[b].med_list_codg,
1354 1354
                     id: prescription.advices[b].drug_id,
1355 1355
                     drug: prescription.advices[b].drug,
1356
-                    groupno: prescription.advices[b].groupno
1356
+                    groupno: prescription.advices[b].groupno,
1357
+                    hosp_appr_flag: prescription.advices[b].hosp_appr_flag.toString(),
1357 1358
 
1358 1359
                   }
1359 1360
                   tempAdvice.push(obj)
@@ -1460,7 +1461,9 @@
1460 1461
                       medical_insurance_number: prescription.advices[b].med_list_codg,
1461 1462
                       id: prescription.advices[b].drug_id,
1462 1463
                       drug: prescription.advices[b].drug,
1463
-                      groupno: index
1464
+                      groupno: index,
1465
+                      hosp_appr_flag:"1",
1466
+
1464 1467
 
1465 1468
                     }
1466 1469
 
@@ -1710,7 +1713,9 @@
1710 1713
                           medical_insurance_number: prescription.advices[b].med_list_codg,
1711 1714
                           id: prescription.advices[b].drug_id,
1712 1715
                           drug: prescription.advices[b].drug,
1713
-                          groupno: prescription.advices[b].groupno
1716
+                          groupno: prescription.advices[b].groupno,
1717
+                          hosp_appr_flag: prescription.advices[b].hosp_appr_flag.toString(),
1718
+
1714 1719
 
1715 1720
                         }
1716 1721
                         tempAdvice.push(obj)
@@ -1816,7 +1821,9 @@
1816 1821
                             medical_insurance_number: prescription.advices[b].med_list_codg,
1817 1822
                             id: prescription.advices[b].drug_id,
1818 1823
                             drug: prescription.advices[b].drug,
1819
-                            groupno: index
1824
+                            groupno: index,
1825
+                            hosp_appr_flag: "1",
1826
+
1820 1827
 
1821 1828
                           }
1822 1829
                           console.log('看看数据1:')
@@ -2163,7 +2170,9 @@
2163 2170
                           medical_insurance_number: prescription.advices[b].med_list_codg,
2164 2171
                           id: prescription.advices[b].drug_id,
2165 2172
                           drug: prescription.advices[b].drug,
2166
-                          groupno: prescription.advices[b].groupno
2173
+                          groupno: prescription.advices[b].groupno,
2174
+                          hosp_appr_flag: prescription.advices[b].hosp_appr_flag.toString(),
2175
+
2167 2176
 
2168 2177
                         }
2169 2178
                         tempAdvice.push(obj)
@@ -2262,7 +2271,10 @@
2262 2271
                             medical_insurance_number: prescription.advices[b].med_list_codg,
2263 2272
                             id: prescription.advices[b].drug_id,
2264 2273
                             drug: prescription.advices[b].drug,
2265
-                            groupno: index
2274
+                            groupno: index,
2275
+                            hosp_appr_flag: "1",
2276
+
2277
+
2266 2278
 
2267 2279
                           }
2268 2280
                           console.log('看看数据2:')
@@ -2596,7 +2608,9 @@
2596 2608
                         medical_insurance_number: prescription.advices[b].med_list_codg,
2597 2609
                         id: prescription.advices[b].drug_id,
2598 2610
                         drug: prescription.advices[b].drug,
2599
-                        groupno: prescription.advices[b].groupno
2611
+                        groupno: prescription.advices[b].groupno,
2612
+                        hosp_appr_flag: prescription.advices[b].hosp_appr_flag.toString(),
2613
+
2600 2614
 
2601 2615
                       }
2602 2616
                       tempAdvice.push(obj)
@@ -2695,7 +2709,9 @@
2695 2709
                           medical_insurance_number: prescription.advices[b].med_list_codg,
2696 2710
                           id: prescription.advices[b].drug_id,
2697 2711
                           drug: prescription.advices[b].drug,
2698
-                          groupno: index
2712
+                          groupno: index,
2713
+                          hosp_appr_flag: "1",
2714
+
2699 2715
                         }
2700 2716
                         console.log('看看数据3:')
2701 2717
                         console.log(obj.prescribing_number_unit)
@@ -3090,7 +3106,9 @@
3090 3106
                           medical_insurance_number: prescription.advices[b].med_list_codg,
3091 3107
                           id: prescription.advices[b].drug_id,
3092 3108
                           drug: prescription.advices[b].drug,
3093
-                          groupno: prescription.advices[b].groupno
3109
+                          groupno: prescription.advices[b].groupno,
3110
+                          hosp_appr_flag: prescription.advices[b].hosp_appr_flag.toString(),
3111
+
3094 3112
 
3095 3113
                         }
3096 3114
                         tempAdvice.push(obj)
@@ -3196,7 +3214,9 @@
3196 3214
                             medical_insurance_number: prescription.advices[b].med_list_codg,
3197 3215
                             id: prescription.advices[b].drug_id,
3198 3216
                             drug: prescription.advices[b].drug,
3199
-                            groupno: index
3217
+                            groupno: index,
3218
+                            hosp_appr_flag: "1",
3219
+
3200 3220
                           }
3201 3221
                           console.log('看看数据4:')
3202 3222
                           console.log(obj.prescribing_number_unit)
@@ -3612,7 +3632,9 @@
3612 3632
                           medical_insurance_number: prescription.advices[b].med_list_codg,
3613 3633
                           id: prescription.advices[b].drug_id,
3614 3634
                           drug: prescription.advices[b].drug,
3615
-                          groupno: prescription.advices[b].groupno
3635
+                          groupno: prescription.advices[b].groupno,
3636
+                          hosp_appr_flag: prescription.advices[b].hosp_appr_flag.toString(),
3637
+
3616 3638
 
3617 3639
                         }
3618 3640
                         tempAdvice.push(obj)
@@ -3718,7 +3740,9 @@
3718 3740
                             medical_insurance_number: prescription.advices[b].med_list_codg,
3719 3741
                             id: prescription.advices[b].drug_id,
3720 3742
                             drug: prescription.advices[b].drug,
3721
-                            groupno: index
3743
+                            groupno: index,
3744
+                            hosp_appr_flag: "1",
3745
+
3722 3746
                           }
3723 3747
                           console.log('看看数据5:')
3724 3748
                           console.log(obj.prescribing_number_unit)