Browse Source

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

28169 1 year ago
parent
commit
144acd809c

+ 3 - 1
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

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

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

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

+ 1 - 1
src/xt_pages/outpatientDoctorStation/treatPrint.vue View File

15
       <div class='dialysisPage' style="padding-top:40px;">
15
       <div class='dialysisPage' style="padding-top:40px;">
16
         <!-- 此下条为本地开发下页面 -->
16
         <!-- 此下条为本地开发下页面 -->
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> -->
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
         <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>
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
       </div>
20
       </div>
21
   </div>
21
   </div>

+ 13 - 0
src/xt_pages/outpatientDoctorStation/treatTemplate/printOne.vue View File

331
             console.log('所有项目列表', projectlist)
331
             console.log('所有项目列表', projectlist)
332
             this.projectList = projectlist
332
             this.projectList = projectlist
333
             this.hisPatient = response.data.data.hisPatient
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 View File

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