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 week ago
parent
commit
00c52edecd

+ 7 - 7
src/router/modules/hospitalStation.js View File

12
     isChild: true
12
     isChild: true
13
   },
13
   },
14
   children: [
14
   children: [
15
-
16
-    {
17
-      path: '/hospitalStation/doctorDesk',
18
-      component: () => import('@/xt_pages/hospitalStation/doctorDesk'),
19
-      name: 'outpatientDoctorStationDoctorDesk',
20
-      meta: { title: 'outpatientDoctorStationDoctorDesk', noCache: true }
21
-    },
15
+    //
16
+    // {
17
+    //   path: '/hospitalStation/doctorDesk',
18
+    //   component: () => import('@/xt_pages/hospitalStation/doctorDesk'),
19
+    //   name: 'outpatientDoctorStationDoctorDesk',
20
+    //   meta: { title: 'outpatientDoctorStationDoctorDesk', noCache: true }
21
+    // },
22
     {
22
     {
23
       path: '/hospitalStation/pastInquiries',
23
       path: '/hospitalStation/pastInquiries',
24
       component: () => import('@/xt_pages/hospitalStation/pastInquiries'),
24
       component: () => import('@/xt_pages/hospitalStation/pastInquiries'),

+ 2 - 10
src/xt_pages/dialysis/batch_print/batch_print_order_twentySeven.vue View File

1288
                               <td width="50">
1288
                               <td width="50">
1289
                                 <div class="under-line">
1289
                                 <div class="under-line">
1290
                                   &nbsp;{{
1290
                                   &nbsp;{{
1291
-                                    record.assessment_before_dislysis
1292
-                                      .weight_before
1293
-                                      ? record.assessment_before_dislysis
1294
-                                          .weight_before
1295
-                                      : ""
1291
+                                    record.lastafterweight.weight_after ? record.lastafterweight.weight_after : ""
1296
                                   }}
1292
                                   }}
1297
                                 </div>
1293
                                 </div>
1298
                               </td>
1294
                               </td>
1316
                               <td width="50">
1312
                               <td width="50">
1317
                                 <div class="under-line">
1313
                                 <div class="under-line">
1318
                                   &nbsp;{{
1314
                                   &nbsp;{{
1319
-                                    record.assessment_before_dislysis
1320
-                                      .weight_before
1321
-                                      ? record.assessment_before_dislysis
1322
-                                          .weight_before
1323
-                                      : ""
1315
+                                   record.assessment_after_dislysis.weight_after ? record.assessment_after_dislysis.weight_after : ""
1324
                                   }}
1316
                                   }}
1325
                                 </div>
1317
                                 </div>
1326
                               </td>
1318
                               </td>

+ 4 - 6
src/xt_pages/dialysis/signPrint.vue View File

20
                             <div>药名:{{ it.advice_name }} 
20
                             <div>药名:{{ it.advice_name }} 
21
                             <span v-if="it.prescribing_number>0 && org_id !=0 && org_id!=10440">
21
                             <span v-if="it.prescribing_number>0 && org_id !=0 && org_id!=10440">
22
                                 {{it.prescribing_number}}{{ it.prescribing_number_unit }}
22
                                 {{it.prescribing_number}}{{ it.prescribing_number_unit }}
23
-                            
24
-                            
25
                             </span> 
23
                             </span> 
26
                             </div>  
24
                             </div>  
27
                             <div v-if="org_id == 10138 || org_id == 10278">
25
                             <div v-if="org_id == 10138 || org_id == 10278">
32
                                 规格:{{it.advice_desc }} {{ it.drug_spec_unit }}
30
                                 规格:{{it.advice_desc }} {{ it.drug_spec_unit }}
33
                             </div> 
31
                             </div> 
34
                             <div v-if="(org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10571 || org_id ==10223 || org_id ==10617 || org_id ==10598) && org_id!=10278">单次用量:{{it.single_dose}}{{it.single_dose_unit }}</div>  
32
                             <div v-if="(org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10571 || org_id ==10223 || org_id ==10617 || org_id ==10598) && org_id!=10278">单次用量:{{it.single_dose}}{{it.single_dose_unit }}</div>  
35
-                            <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138 && org_id!=10223">执行频率:{{it.execution_frequency}}</div>  
36
-                            <div v-if="org_id!=10278">给药途径:{{it.delivery_way}}</div>  
33
+                            <div v-if="org_id!=10278 && org_id!=10138 && org_id!=10223">执行频率:{{it.execution_frequency}} &nbsp;&nbsp;<span v-if="org_id ==10740">{{it.delivery_way}}</span></div>  
34
+                            <div v-if="org_id!=10278 && org_id !=10740">给药途径:{{it.delivery_way}}</div>  
37
                             <div v-if="org_id == 0 || org_id==10223">
35
                             <div v-if="org_id == 0 || org_id==10223">
38
                                 <span>执行者:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
36
                                 <span>执行者:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
39
                                 <span>核对者:</span>
37
                                 <span>核对者:</span>
53
                             
51
                             
54
                             </div>  
52
                             </div>  
55
                             <div v-if=" org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10571 || org_id ==10223 || org_id ==10617 || org_id ==10598">单次用量:{{its.single_dose}}{{its.single_dose_unit }}</div>  
53
                             <div v-if=" org_id ==0 || org_id==10440 || org_id == 10478 || org_id ==10571 || org_id ==10223 || org_id ==10617 || org_id ==10598">单次用量:{{its.single_dose}}{{its.single_dose_unit }}</div>  
56
-                            <div v-if="org_id!=0 && org_id!=10278 && org_id!=10138 && org_id!=10223">执行频率:{{its.execution_frequency}}</div>  
57
-                            <div>给药途径:{{its.delivery_way}}</div>  
54
+                            <div v-if="org_id!=10278 && org_id!=10138 && org_id!=10223">执行频率:{{its.execution_frequency}} &nbsp;&nbsp;<span v-if="org_id ==10740">{{its.delivery_way}}</span></div>  
55
+                            <div v-if="org_id !=10740">给药途径:{{its.delivery_way}}</div>  
58
                             <div v-if="org_id == 0 || org_id==10223">
56
                             <div v-if="org_id == 0 || org_id==10223">
59
                                 <span>执行者:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
57
                                 <span>执行者:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
60
                                 <span>核对者:</span>
58
                                 <span>核对者:</span>

+ 73 - 1
src/xt_pages/hospitalStation/costComparison.vue View File

57
             <div style="float: right;margin-bottom: 10px">
57
             <div style="float: right;margin-bottom: 10px">
58
                 <el-button size="small" type="primary" @click="dialogFormVisible = true">医保对账</el-button>
58
                 <el-button size="small" type="primary" @click="dialogFormVisible = true">医保对账</el-button>
59
                 <el-button size="small" type="primary" @click="getFormData">下载对账报表</el-button>
59
                 <el-button size="small" type="primary" @click="getFormData">下载对账报表</el-button>
60
+
61
+
62
+              <el-button v-if="$store.getters.xt_user.org_id == 10644" size="small" type="primary" @click="getSHFormData(1)">下载本地职工对账报表</el-button>
63
+              <el-button v-if="$store.getters.xt_user.org_id == 10644" size="small" type="primary" @click="getSHFormData(2)">下载本地城乡对账报表</el-button>
64
+              <el-button v-if="$store.getters.xt_user.org_id == 10644" size="small" type="primary" @click="getSHFormData(3)">下载异地职工对账报表</el-button>
65
+              <el-button v-if="$store.getters.xt_user.org_id == 10644" size="small" type="primary" @click="getSHFormData(4)">下载异地城乡对账报表</el-button>
66
+
67
+
60
             </div>
68
             </div>
61
 
69
 
62
 
70
 
556
         this.page = page;
564
         this.page = page;
557
         this.getList()
565
         this.getList()
558
 
566
 
559
-      }, getFormData() {
567
+      }, getSHFormData(type){
568
+        switch (type){
569
+          case 1:
570
+            let params = {
571
+              'start_time': this.getTimes(this.selection[0].start_time),
572
+              'end_time': this.getTimes(this.selection[0].end_time),
573
+              'insutype': this.selection[0].insutype
574
+            };
575
+            getCheckAccountFormData(params).then(response => {
576
+              if (response.data.state == 0) {
577
+                this.$message.error(response.data.msg);
578
+                return false
579
+              } else {
580
+                this.fromData = response.data.data.list;
581
+                var list = [];
582
+
583
+                for (let i = 0; i < this.fromData.length; i++) {
584
+                  let obj = {
585
+                    '结算金额': this.fromData[i].medfee_sumamt,
586
+                    '姓名': this.fromData[i].psn_name,
587
+                    '身份证': this.fromData[i].id_card_no,
588
+                    '个人编号': this.fromData[i].psn_no,
589
+                    '门诊流水号': this.fromData[i].mdtrt_id,
590
+                    '挂号日期': this.getTimes(this.fromData[i].settle_accounts_date),
591
+                    '起付线': this.fromData[i].act_pay_dedc,
592
+                    '统筹基金': this.fromData[i].fund_pay_sumamt,
593
+                    '个人支付': this.fromData[i].psn_cash_pay,
594
+                    '个账支付': this.fromData[i].acct_pay,
595
+                    '现金支付': this.fromData[i].cash_pay,
596
+                    '总费用': this.fromData[i].sumamt,
597
+                    '冲销标志': '已结算'
598
+                  };
599
+                  list.push(obj)
600
+                }
601
+                var insutype_name = '';
602
+                if (this.query_insutype == '310') {
603
+                  insutype_name = '职工基本医疗保险'
604
+                } else if (this.query_insutype == '390') {
605
+                  insutype_name = '城乡居民基本医疗保险'
606
+                }
607
+
608
+                import('@/vendor/Export2Excel').then(excel => {
609
+                  const tHeader = ['结算金额', '姓名', '身份证', '个人编号', '门诊流水号', '挂号日期', '起付线', '统筹基金', '个人支付', '个账支付', '现金支付', '总费用', '冲销标志'];
610
+                  const filterVal = ['结算金额', '姓名', '身份证', '个人编号', '门诊流水号', '挂号日期', '起付线', '统筹基金', '个人支付', '个账支付', '现金支付', '总费用', '冲销标志'];
611
+                  const data = this.formatJson(filterVal, list);
612
+                  excel.export_json_to_excel({
613
+                    header: tHeader,
614
+                    data,
615
+                    filename:this.getTimes(this.selection[0].start_time)+ '~' + this.getTimes(this.selection[0].end_time)+ insutype_name + '对账报表'
616
+                  })
617
+                })
618
+              }
619
+            })
620
+            break
621
+          case 2:
622
+
623
+            break
624
+          case 3:
625
+
626
+            break
627
+          case 4:
628
+
629
+            break
630
+        }
631
+      },getFormData() {
560
         if (this.selection.length == 0) {
632
         if (this.selection.length == 0) {
561
           this.$message.error('请选择要下载的对账记录');
633
           this.$message.error('请选择要下载的对账记录');
562
           return
634
           return

+ 24 - 7
src/xt_pages/medicalScheduling/index.vue View File

1021
                         }
1021
                         }
1022
                     })
1022
                     })
1023
                     newDoctor.sort(this.compare('sort'))
1023
                     newDoctor.sort(this.compare('sort'))
1024
-
1025
-
1026
                     let arr2 = []
1024
                     let arr2 = []
1027
 
1025
 
1028
                     arr2.push({class_name:oneStr,schedule_week:1})
1026
                     arr2.push({class_name:oneStr,schedule_week:1})
1040
                     arr2.push(obj)
1038
                     arr2.push(obj)
1041
 
1039
 
1042
                     let data = []
1040
                     let data = []
1043
-
1041
+                    let data2 = []
1044
                     data.push(...newNurse)
1042
                     data.push(...newNurse)
1045
                     data.push(...newDoctor)
1043
                     data.push(...newDoctor)
1046
                     data.push(obj)
1044
                     data.push(obj)
1047
                     console.log("data2o2oo2o2o2o22o",data)
1045
                     console.log("data2o2oo2o2o2o22o",data)
1048
-
1046
+                    // if(this.typeValue!=0){
1047
+                    //   console.log("医生",this.typeValue)
1048
+                    //   for(let i in data){
1049
+                    //     if(data[i].user_type == this.typeValue){
1050
+                    //       data2.push(data[i])
1051
+                    //     }
1052
+                    //   }
1053
+                    //   data2.push(obj)
1054
+                    //   this.tableData = data2
1055
+                    // }else{
1056
+                    //   console.log("护士",this.typeValue)
1057
+                    //   data.push(obj)
1058
+                    //   this.tableData = data
1059
+                    // }
1060
+                    
1061
+                    
1049
                     // this.tableData = this.distinct(data)
1062
                     // this.tableData = this.distinct(data)
1050
                     this.tableData = data
1063
                     this.tableData = data
1051
-
1064
+                   
1052
 
1065
 
1053
                 }
1066
                 }
1054
             })
1067
             })
2018
             }
2031
             }
2019
         },
2032
         },
2020
         tableCellStyle (row, rowIndex, column) {
2033
         tableCellStyle (row, rowIndex, column) {
2034
+          // console.log('3333',row);
2035
+          
2021
             var week = (row.column.label).split('');
2036
             var week = (row.column.label).split('');
2022
             var weeks = 0
2037
             var weeks = 0
2023
             if (week.length == 13) {
2038
             if (week.length == 13) {
2026
             if (week.length == 14) {
2041
             if (week.length == 14) {
2027
                 weeks = week[4]+week[5]+week[6]+week[7]+week[8]+week[9]+week[10]+week[11]+week[12]
2042
                 weeks = week[4]+week[5]+week[6]+week[7]+week[8]+week[9]+week[10]+week[11]+week[12]
2028
             }
2043
             }
2044
+            if (week.length == 15) {
2045
+                weeks = week[4]+week[5]+week[6]+week[7]+week[8]+week[9]+week[10]+week[11]+week[12]+week[13]
2046
+            }
2029
             var weekdate =  this.getTimestamp(weeks)
2047
             var weekdate =  this.getTimestamp(weeks)
2030
             if(weekdate  < this.timeNow){
2048
             if(weekdate  < this.timeNow){
2031
             return 'background-color:#e5e5e5;'
2049
             return 'background-color:#e5e5e5;'
2072
 
2090
 
2073
        },
2091
        },
2074
 
2092
 
2075
-     getTimestamp(time) { //把时间日期转成时间戳
2093
+      getTimestamp(time) { //把时间日期转成时间戳
2076
           return (new Date(time)).getTime() / 1000
2094
           return (new Date(time)).getTime() / 1000
2077
        },
2095
        },
2078
        exportList(){
2096
        exportList(){
2130
          })
2148
          })
2131
        },
2149
        },
2132
 
2150
 
2133
-
2134
        hoverMouse(row,column, cell, event){
2151
        hoverMouse(row,column, cell, event){
2135
         this.name=row.user_name
2152
         this.name=row.user_name
2136
         this.column_lie= column.label.split('\n')[0]
2153
         this.column_lie= column.label.split('\n')[0]

+ 2 - 2
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

143
                         type="primary">自费门诊就医上传(4205)
143
                         type="primary">自费门诊就医上传(4205)
144
             </el-button>
144
             </el-button>
145
 
145
 
146
-            <el-button  size="small" v-if="(org_id == 10138  && this.order.is_upload_success == 0 && this.order.order_status == 2) || (org_id == 10278  && this.order.is_upload_success == 0 && this.order.order_status == 2) || (org_id == 10028 && this.order.is_upload_diagnose == 0 && this.order.order_status == 2) || (org_id == 10610 && this.order.is_upload_diagnose == 0 && this.order.order_status == 2)  || (org_id == 9504 && this.order.is_upload_diagnose == 0 && this.order.order_status == 2)"
146
+            <el-button  size="small" v-if="(org_id == 10138   && this.order.order_status == 2) || (org_id == 10278  && this.order.order_status == 2) || (org_id == 10028 && this.order.order_status == 2) || (org_id == 10610 && this.order.order_status == 2)  || (org_id == 9504 && this.order.order_status == 2)"
147
                         @click="openZF(2)"
147
                         @click="openZF(2)"
148
                         type="primary">自费上传确认(4203)
148
                         type="primary">自费上传确认(4203)
149
             </el-button>
149
             </el-button>
3550
         }
3550
         }
3551
 
3551
 
3552
         if (this.hisPatientInfo.id_card_type == 1) {
3552
         if (this.hisPatientInfo.id_card_type == 1) {
3553
-          if (this.hisPatientInfo.balance_accounts_type != 2 && this.$store.getters.xt_user.org_id != 10510 && this.$store.getters.xt_user.org_id != 10088 && this.$store.getters.xt_user.org_id != 10106 && this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217 && this.$store.getters.xt_user.org_id != 10191 && this.$store.getters.xt_user.org_id !=  10318 && this.$store.getters.xt_user.org_id !=  10210 && this.$store.getters.xt_user.org_id !=  10375 &&  this.$store.getters.xt_user.org_id !=  10480 &&  this.$store.getters.xt_user.org_id !=  10387  &&  this.$store.getters.xt_user.org_id !=  10598 &&  this.$store.getters.xt_user.org_id !=  10721 &&   this.$store.getters.xt_user.org_id !=  10726) {
3553
+          if (this.hisPatientInfo.balance_accounts_type != 2 && this.$store.getters.xt_user.org_id != 10510 && this.$store.getters.xt_user.org_id != 10088 && this.$store.getters.xt_user.org_id != 10106 && this.$store.getters.xt_user.org_id != 10188 && this.$store.getters.xt_user.org_id != 10217 && this.$store.getters.xt_user.org_id != 10191 && this.$store.getters.xt_user.org_id !=  10318 && this.$store.getters.xt_user.org_id !=  10210 && this.$store.getters.xt_user.org_id !=  10375 &&  this.$store.getters.xt_user.org_id !=  10480 &&  this.$store.getters.xt_user.org_id !=  10387  &&  this.$store.getters.xt_user.org_id !=  10598 &&  this.$store.getters.xt_user.org_id !=  10721 &&   this.$store.getters.xt_user.org_id !=  10726 &&   this.$store.getters.xt_user.org_id !=  10567 &&  this.$store.getters.xt_user.org_id !=  10697 &&   this.$store.getters.xt_user.org_id !=  10724) {
3554
             this.pwdFormVisible = true
3554
             this.pwdFormVisible = true
3555
             this.pwd = ''
3555
             this.pwd = ''
3556
           } else {
3556
           } else {

+ 1 - 1
src/xt_pages/user/Informed/Informedconsent.vue View File

232
                 // {date:'连续肾脏替代治疗(CRRT)治疗知情同意书',value:'19'},{date:'患方要求终止治疗及风险、责任承担承诺书',value:'20'},
232
                 // {date:'连续肾脏替代治疗(CRRT)治疗知情同意书',value:'19'},{date:'患方要求终止治疗及风险、责任承担承诺书',value:'20'},
233
                 // {date:'血液透析知情同意书',value:'21'}
233
                 // {date:'血液透析知情同意书',value:'21'}
234
                 {date:'死亡病例讨论记录',value:'22'},
234
                 {date:'死亡病例讨论记录',value:'22'},
235
-                // {date:'拒绝或放弃医学治疗告知书',value:'23'}
235
+                {date:'拒绝或放弃医学治疗告知书',value:'23'}
236
       ],
236
       ],
237
 
237
 
238
       face_show:true,
238
       face_show:true,