Bladeren bron

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

28169 1 jaar geleden
bovenliggende
commit
144acd809c

+ 3 - 1
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Bestand weergeven

@@ -1097,7 +1097,7 @@ export default {
1097 1097
         { value: '990602', label: '门诊特殊病(990602)' },
1098 1098
         { value: '1402', label: '门诊特殊病(1402)' },
1099 1099
         { value: '1401', label: '门诊慢性病(1401)' },
1100
-
1100
+        { value: '2302', label: '异地就医(2302)' },
1101 1101
         { value: '1111', label: '精一' },
1102 1102
         { value: '1112', label: '精二' },
1103 1103
         { value: '0', label: '自费' }
@@ -1112,6 +1112,8 @@ export default {
1112 1112
         { value: '990602', label: '门诊特殊病(990602)' },
1113 1113
         { value: '1402', label: '门诊特殊病(1402)' },
1114 1114
         { value: '1401', label: '门诊慢性病(1401)' },
1115
+        { value: '2302', label: '异地就医(2302)' },
1116
+
1115 1117
 
1116 1118
         { value: '0', label: '自费' }
1117 1119
 

+ 8 - 7
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Bestand weergeven

@@ -60,7 +60,7 @@
60 60
                   </el-form-item>
61 61
 
62 62
 
63
-                
63
+
64 64
 
65 65
 
66 66
                   <el-form-item label="过敏病史: " prop="name" label-position="right">
@@ -563,6 +563,7 @@ export default {
563 563
         { value: 990602, label: '门诊特殊病(990602)' },
564 564
         { value: 1402, label: '门诊特殊病(1402)' },
565 565
         { value: 1401, label: '门诊慢特病(1401)' },
566
+        { value: 2302, label: '异地就医(2302)' },
566 567
         { value: 1111, label: '精一' },
567 568
         { value: 1112, label: '精二' },
568 569
         { value: 0, label: '自费' }
@@ -2077,7 +2078,7 @@ export default {
2077 2078
         }
2078 2079
 
2079 2080
       }
2080
-      
2081
+
2081 2082
       // console.log("info233333333333333333333",info.id)
2082 2083
       // console.log("LAST_INFO2323232323WO",last_info.patient_diagnosis)
2083 2084
       this.patient_diagnose = []
@@ -2094,13 +2095,13 @@ export default {
2094 2095
       }
2095 2096
 
2096 2097
       if(info.id > 0){
2097
-       
2098
+
2098 2099
         if (info.patient_diagnosis.length == 0) {
2099 2100
           this.patient_diagnose = []
2100 2101
         } else {
2101 2102
           this.patient_diagnose = []
2102 2103
           for (let i = 0; i < info.patient_diagnosis.split(",").length; i++) {
2103
-           
2104
+
2104 2105
             if(info.patient_diagnosis.split(',')[i].length > 0) {
2105 2106
               this.patient_diagnose.push(parseInt(info.patient_diagnosis.split(',')[i]))
2106 2107
             }
@@ -2387,7 +2388,7 @@ export default {
2387 2388
               reg_type: this.register_type,
2388 2389
               patient_diagnose:str
2389 2390
             }
2390
-            
2391
+
2391 2392
             for (let i = 0; i < this.prescriptions.length; i++) {
2392 2393
               if (this.prescriptions[i].advices.length > 0 && this.prescriptions[i].project.length == 0) {
2393 2394
                 this.prescriptions[i]['type'] = 1
@@ -2427,7 +2428,7 @@ export default {
2427 2428
                   this.$emit('editKeepLoad', false)
2428 2429
                   return
2429 2430
                 }
2430
-          
2431
+
2431 2432
 
2432 2433
                 if(this.prescriptions[i].advices[b].prescribing_number == ""){
2433 2434
                   this.$message.error(`处方${i+1}的${this.prescriptions[i].advices[b].drug_name}总量未填写`)
@@ -2800,7 +2801,7 @@ export default {
2800 2801
             this.$message.error('科室不能为空')
2801 2802
             return
2802 2803
           }
2803
-          
2804
+
2804 2805
           var str = ""
2805 2806
           if(patient_diagnose!=""){
2806 2807
              str = this.patient_diagnose.join(',')

+ 1 - 1
src/xt_pages/outpatientDoctorStation/treatPrint.vue Bestand weergeven

@@ -15,7 +15,7 @@
15 15
       <div class='dialysisPage' style="padding-top:40px;">
16 16
         <!-- 此下条为本地开发下页面 -->
17 17
         <!-- <printTwo v-if="org_id == 4" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printTwo> -->
18
-        <printOne v-if="org_id != 10138 && org_id != 10278 && org_id !=4&& org_id !=0" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printOne>
18
+        <printOne v-if="org_id != 10138 && org_id != 10278 && org_id !=4" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printOne>
19 19
         <printTwo v-else v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id" :newHisPatient="newHisPatient"></printTwo>
20 20
       </div>
21 21
   </div>

+ 13 - 0
src/xt_pages/outpatientDoctorStation/treatTemplate/printOne.vue Bestand weergeven

@@ -331,6 +331,19 @@
331 331
             console.log('所有项目列表', projectlist)
332 332
             this.projectList = projectlist
333 333
             this.hisPatient = response.data.data.hisPatient
334
+            this.advicePrint.map((item) => {
335
+              console.log(item.project.length);
336
+              if (item.project.length > 0) {
337
+                for (var i = item.project.length - 1; i >= 0; i--) {
338
+                  if (item.project[i].type == 2) {
339
+                    if (item.project[i].project.cost_classify == 3) {
340
+                      console.log("!1111111")
341
+                      item.project.splice(i, 1);
342
+                    }
343
+                  }
344
+                }
345
+              }
346
+            });
334 347
 
335 348
           }
336 349
         })

+ 1 - 0
src/xt_pages/outpatientDoctorStation/treatTemplate/printTwo.vue Bestand weergeven

@@ -489,6 +489,7 @@ export default {
489 489
               for (var i = item.project.length - 1; i >= 0; i--) {
490 490
                 if (item.project[i].type == 2) {
491 491
                   if (item.project[i].project.cost_classify == 3) {
492
+                    console.log("!1111111")
492 493
                     item.project.splice(i, 1);
493 494
                   }
494 495
                 }