Преглед изворни кода

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

csx пре 3 година
родитељ
комит
c2fe1be8ac

+ 1 - 1
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Прегледај датотеку

550
         temp_med_type: '',
550
         temp_med_type: '',
551
         dialogVisible: false,
551
         dialogVisible: false,
552
         pwdFormVisible: false,
552
         pwdFormVisible: false,
553
-        pwd: '',
553
+        pwd: '000000',
554
         form: {
554
         form: {
555
           p_type: '',
555
           p_type: '',
556
           sick_type: '',
556
           sick_type: '',

+ 10 - 0
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Прегледај датотеку

2225
             }
2225
             }
2226
           }
2226
           }
2227
           if (index == 1) {
2227
           if (index == 1) {
2228
+            console.log(this.prescriptions)
2228
 
2229
 
2229
             for (let i = 0; i < this.prescriptions.length; i++) {
2230
             for (let i = 0; i < this.prescriptions.length; i++) {
2230
               for(let b = 0; b < this.prescriptions[i].advices.length; b++){
2231
               for(let b = 0; b < this.prescriptions[i].advices.length; b++){
2885
                   unit: temp2[b].unit,
2886
                   unit: temp2[b].unit,
2886
                   type: temp2[b].type
2887
                   type: temp2[b].type
2887
                 }
2888
                 }
2889
+
2890
+                if (temp2[b].type == 2){
2891
+                  obj['project'] = temp2[b].project
2892
+
2893
+                }else if(temp2[b].type == 3){
2894
+
2895
+                  obj['good_info'] = temp2[b].good_info
2896
+
2897
+                }
2888
                 if (temp2[b].team_id == undefined) {
2898
                 if (temp2[b].team_id == undefined) {
2889
                   obj['team_id'] = 0
2899
                   obj['team_id'] = 0
2890
                 } else {
2900
                 } else {

+ 8 - 1
src/xt_pages/outpatientDoctorStation/prescriptionTemplatedetail.vue Прегледај датотеку

1516
                   medical_code: temp2[b].medical_code,
1516
                   medical_code: temp2[b].medical_code,
1517
                   unit: temp2[b].unit,
1517
                   unit: temp2[b].unit,
1518
                   type: temp2[b].type,
1518
                   type: temp2[b].type,
1519
-                  project:temp2[b],
1519
+                }
1520
+                if (temp2[b].type == 2){
1521
+                  obj['project'] = temp2[b].project
1522
+
1523
+                }else if(temp2[b].type == 3){
1524
+
1525
+                  obj['good_info'] = temp2[b].good_info
1526
+
1520
                 }
1527
                 }
1521
                 if (obj.total == 0 || obj.total == undefined) {
1528
                 if (obj.total == 0 || obj.total == undefined) {
1522
                   obj.total = 1
1529
                   obj.total = 1