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
580b60d82f

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

260
                 single_dose_unit:prescription.doctor_advice[b].single_dose_unit,
260
                 single_dose_unit:prescription.doctor_advice[b].single_dose_unit,
261
                 prescribing_number_unit:prescription.doctor_advice[b].prescribing_number_unit,
261
                 prescribing_number_unit:prescription.doctor_advice[b].prescribing_number_unit,
262
                 medical_insurance_number:prescription.doctor_advice[b].med_list_codg,
262
                 medical_insurance_number:prescription.doctor_advice[b].med_list_codg,
263
-                id:prescription.doctor_advice[b].drug_id
263
+                id:prescription.doctor_advice[b].drug_id,
264
+                drug:prescription.doctor_advice[b].drug,
264
               };
265
               };
265
               tempAdvice.push(obj)
266
               tempAdvice.push(obj)
266
 
267
 

+ 13 - 4
src/xt_pages/hospitalStation/components/deskPrescription.vue View File

685
               obj['id'] = drug_month_prescriptions.advices[a].drug_id;
685
               obj['id'] = drug_month_prescriptions.advices[a].drug_id;
686
               // obj['retail_price'] = obj['retail_price'] +  drug_month_prescriptions.advices[a].drug.retail_price
686
               // obj['retail_price'] = obj['retail_price'] +  drug_month_prescriptions.advices[a].drug.retail_price
687
               obj['retail_price'] = parseFloat(drug_month_prescriptions.advices[a].price);
687
               obj['retail_price'] = parseFloat(drug_month_prescriptions.advices[a].price);
688
-              count = count + drug_month_prescriptions.advices[a].prescribing_number
688
+              obj['drug'] = drug_month_prescriptions.advices[a].drug;
689
+
690
+
691
+                      count = count + drug_month_prescriptions.advices[a].prescribing_number
689
 
692
 
690
             }
693
             }
691
           }
694
           }
1017
                       single_dose_unit: prescription.advices[b].single_dose_unit,
1020
                       single_dose_unit: prescription.advices[b].single_dose_unit,
1018
                       prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
1021
                       prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
1019
                       medical_insurance_number: prescription.advices[b].med_list_codg,
1022
                       medical_insurance_number: prescription.advices[b].med_list_codg,
1020
-                      id: prescription.advices[b].drug_id
1023
+                      id: prescription.advices[b].drug_id,
1024
+                      drug:prescription.advices[b].drug,
1025
+
1026
+
1021
                     };
1027
                     };
1022
                     tempAdvice.push(obj)
1028
                     tempAdvice.push(obj)
1023
                   }
1029
                   }
1132
                       single_dose_unit: prescription.advices[b].single_dose_unit,
1138
                       single_dose_unit: prescription.advices[b].single_dose_unit,
1133
                       prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
1139
                       prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
1134
                       medical_insurance_number: prescription.advices[b].med_list_codg,
1140
                       medical_insurance_number: prescription.advices[b].med_list_codg,
1135
-                      id: prescription.advices[b].drug_id
1141
+                      id: prescription.advices[b].drug_id,
1142
+                      drug:prescription.advices[b].drug,
1143
+
1136
                     };
1144
                     };
1137
                     tempAdvice.push(obj)
1145
                     tempAdvice.push(obj)
1138
                   }
1146
                   }
2415
                   prescribing_number: temp[b].prescribing_number,
2423
                   prescribing_number: temp[b].prescribing_number,
2416
                   single_dose_unit: temp[b].min_unit,
2424
                   single_dose_unit: temp[b].min_unit,
2417
                   prescribing_number_unit: temp[b].max_unit,
2425
                   prescribing_number_unit: temp[b].max_unit,
2418
-                  medical_insurance_number: temp[b].medical_insurance_number
2426
+                  medical_insurance_number: temp[b].medical_insurance_number,
2427
+                  drug: temp[b],
2419
 
2428
 
2420
                 };
2429
                 };
2421
 
2430
 

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

317
                 single_dose_unit:prescription.doctor_advice[b].single_dose_unit,
317
                 single_dose_unit:prescription.doctor_advice[b].single_dose_unit,
318
                 prescribing_number_unit:prescription.doctor_advice[b].prescribing_number_unit,
318
                 prescribing_number_unit:prescription.doctor_advice[b].prescribing_number_unit,
319
                 medical_insurance_number:prescription.doctor_advice[b].med_list_codg,
319
                 medical_insurance_number:prescription.doctor_advice[b].med_list_codg,
320
-                id:prescription.doctor_advice[b].drug_id
320
+                id:prescription.doctor_advice[b].drug_id,
321
+                drug:prescription.doctor_advice[b].drug,
321
               };
322
               };
322
               tempAdvice.push(obj)
323
               tempAdvice.push(obj)
323
 
324
 

+ 18 - 6
src/xt_pages/hospitalStation/doctorDesk.vue View File

463
               obj['id'] = drug_month_prescriptions.advices[a].drug_id;
463
               obj['id'] = drug_month_prescriptions.advices[a].drug_id;
464
               // obj['retail_price'] = obj['retail_price'] +  drug_month_prescriptions.advices[a].drug.retail_price
464
               // obj['retail_price'] = obj['retail_price'] +  drug_month_prescriptions.advices[a].drug.retail_price
465
               obj['retail_price'] = parseFloat(drug_month_prescriptions.advices[a].price);
465
               obj['retail_price'] = parseFloat(drug_month_prescriptions.advices[a].price);
466
+              obj['drug'] = drug_month_prescriptions.advices[a].drug
467
+
466
               count = count + drug_month_prescriptions.advices[a].prescribing_number
468
               count = count + drug_month_prescriptions.advices[a].prescribing_number
467
 
469
 
468
             }
470
             }
873
                     single_dose_unit: prescription.advices[b].single_dose_unit,
875
                     single_dose_unit: prescription.advices[b].single_dose_unit,
874
                     prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
876
                     prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
875
                     medical_insurance_number: prescription.advices[b].med_list_codg,
877
                     medical_insurance_number: prescription.advices[b].med_list_codg,
876
-                    id: prescription.advices[b].drug_id
878
+                    id: prescription.advices[b].drug_id,
879
+                    drug:prescription.advices[b].drug,
877
                   };
880
                   };
878
                   tempAdvice.push(obj)
881
                   tempAdvice.push(obj)
879
                 }
882
                 }
1078
                           single_dose_unit: prescription.advices[b].single_dose_unit,
1081
                           single_dose_unit: prescription.advices[b].single_dose_unit,
1079
                           prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
1082
                           prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
1080
                           medical_insurance_number: prescription.advices[b].med_list_codg,
1083
                           medical_insurance_number: prescription.advices[b].med_list_codg,
1081
-                          id: prescription.advices[b].drug_id
1084
+                          id: prescription.advices[b].drug_id,
1085
+                          drug:prescription.advices[b].drug,
1082
                         };
1086
                         };
1083
                         tempAdvice.push(obj)
1087
                         tempAdvice.push(obj)
1084
                       }
1088
                       }
1258
                           single_dose_unit: prescription.advices[b].single_dose_unit,
1262
                           single_dose_unit: prescription.advices[b].single_dose_unit,
1259
                           prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
1263
                           prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
1260
                           medical_insurance_number: prescription.advices[b].med_list_codg,
1264
                           medical_insurance_number: prescription.advices[b].med_list_codg,
1261
-                          id: prescription.advices[b].drug_id
1265
+                          id: prescription.advices[b].drug_id,
1266
+                          drug:prescription.advices[b].drug,
1267
+
1262
                         };
1268
                         };
1263
                         tempAdvice.push(obj)
1269
                         tempAdvice.push(obj)
1264
                       }
1270
                       }
1442
                           single_dose_unit: prescription.advices[b].single_dose_unit,
1448
                           single_dose_unit: prescription.advices[b].single_dose_unit,
1443
                           prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
1449
                           prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
1444
                           medical_insurance_number: prescription.advices[b].med_list_codg,
1450
                           medical_insurance_number: prescription.advices[b].med_list_codg,
1445
-                          id: prescription.advices[b].drug_id
1451
+                          id: prescription.advices[b].drug_id,
1452
+                          drug:prescription.advices[b].drug,
1453
+
1446
                         };
1454
                         };
1447
                         tempAdvice.push(obj)
1455
                         tempAdvice.push(obj)
1448
                       }
1456
                       }
1677
                         single_dose_unit: prescription.advices[b].single_dose_unit,
1685
                         single_dose_unit: prescription.advices[b].single_dose_unit,
1678
                         prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
1686
                         prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
1679
                         medical_insurance_number: prescription.advices[b].med_list_codg,
1687
                         medical_insurance_number: prescription.advices[b].med_list_codg,
1680
-                        id: prescription.advices[b].drug_id
1688
+                        id: prescription.advices[b].drug_id,
1689
+                        drug:prescription.advices[b].drug,
1690
+
1681
                       };
1691
                       };
1682
                       tempAdvice.push(obj)
1692
                       tempAdvice.push(obj)
1683
                     }
1693
                     }
1865
                       single_dose_unit: prescription.advices[b].single_dose_unit,
1875
                       single_dose_unit: prescription.advices[b].single_dose_unit,
1866
                       prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
1876
                       prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
1867
                       medical_insurance_number: prescription.advices[b].med_list_codg,
1877
                       medical_insurance_number: prescription.advices[b].med_list_codg,
1868
-                      id: prescription.advices[b].drug_id
1878
+                      id: prescription.advices[b].drug_id,
1879
+                      drug:prescription.advices[b].drug,
1880
+
1869
                     };
1881
                     };
1870
                     tempAdvice.push(obj)
1882
                     tempAdvice.push(obj)
1871
                   }
1883
                   }