28169 2 gadus atpakaļ
vecāks
revīzija
b407d3ef2a

+ 2 - 2
config/index.js Parādīt failu

@@ -29,8 +29,8 @@ module.exports = {
29 29
 
30 30
     // host: 'xt.test.sgjyun.com',
31 31
     //  host: 'xt.kuyicloud.com',
32
-    host: 'xt.test.sgjyun.com',
33
-    //host: 'localhost',
32
+    // host: 'xt.test.sgjyun.com',
33
+    host: 'localhost',
34 34
     port: 9528, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
35 35
     autoOpenBrowser: true,
36 36
     errorOverlay: true,

+ 14 - 1
src/router/modules/dialysis.js Parādīt failu

@@ -789,6 +789,19 @@ export default {
789 789
         title: '批量打印',
790 790
         noCache: true
791 791
       }
792
-    }
792
+    },
793
+
794
+    {
795
+      path: '/dialysis/print/batch/fiftyOne',
796
+      component: () =>
797
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_fiftyOne'),
798
+      hidden: true,
799
+      is_menu: false,
800
+      name: 'batch_print_order_fiftyOne',
801
+      meta: {
802
+        title: '批量打印',
803
+        noCache: true
804
+      }
805
+    },
793 806
   ]
794 807
 }

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 3116 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_fiftyOne.vue


+ 12 - 1
src/xt_pages/dialysis/bloodPresssWatch.vue Parādīt failu

@@ -329,6 +329,15 @@
329 329
           >批量打印</el-button
330 330
         >
331 331
       </template>
332
+      <template v-if="this.template_id == 51">
333
+        <el-button
334
+          size="small"
335
+          icon="el-icon-printer"
336
+          :disabled="selecting_schs.length == 0"
337
+          @click="batchPrintAction"
338
+          type="primary"
339
+          >批量打印</el-button>
340
+      </template>
332 341
       <template v-if="this.template_id == 59">
333 342
         <el-button
334 343
           size="small"
@@ -336,7 +345,7 @@
336 345
           :disabled="selecting_schs.length == 0"
337 346
           @click="batchPrintAction"
338 347
           type="primary"
339
-          >打印</el-button>
348
+          >批量打印</el-button>
340 349
       </template>
341 350
       <template v-if="this.template_id == 60">
342 351
         <el-button
@@ -2060,6 +2069,8 @@ export default {
2060 2069
         this.$router.push({ path: "/dialysis/print/batch/fortyThree" });
2061 2070
       } else if (this.template_id == 48) {
2062 2071
         this.$router.push({ path: "/dialysis/print/batch/six" });
2072
+      }else if (this.template_id == 51) {
2073
+        this.$router.push({ path: "/dialysis/print/batch/fiftyOne" });
2063 2074
       }else if (this.template_id == 59) {
2064 2075
         this.$router.push({ path: "/dialysis/print/batch/fiftynine" });
2065 2076
       }else if (this.template_id == 60) {

+ 116 - 22
src/xt_pages/outpatientCharges/summary.vue Parādīt failu

@@ -110,7 +110,7 @@
110 110
           >
111 111
           <el-button v-if="$store.getters.xt_user.org_id == 10106 || $store.getters.xt_user.org_id == 0" size="small" type="primary" @click="export_detail_ten">报表下载2</el-button>
112 112
           <el-button v-if="$store.getters.xt_user.org_id == 10318 || $store.getters.xt_user.org_id == 0" size="small" type="primary" @click="export_detail_ten_two">报表下载3</el-button>
113
-          <el-button  size="small" type="primary" @click="export_detail_ten_three">报表下载4</el-button>
113
+<!--          <el-button  size="small" type="primary" @click="export_detail_ten_three">报表下载4</el-button>-->
114 114
 
115 115
 
116 116
           <!--          <el-button size="small" type="primary" @click="export_detail_two"-->
@@ -118,7 +118,7 @@
118 118
           <!--          </el-button-->
119 119
           <!--          >-->
120 120
 
121
-                              <el-button size="small" type="primary" @click="export_detail_three">报表下载2</el-button>
121
+<!--                              <el-button size="small" type="primary" @click="export_detail_three">报表下载2</el-button>-->
122 122
           <!--          <el-button size="small" type="primary" @click="export_detail_four">报表下载3</el-button>-->
123 123
           <!--          <el-button size="small" type="primary" @click="export_detail_five">报表下载3</el-button>-->
124 124
 <!--                    <el-button size="small" type="primary" @click="export_detail_six">报表下载9</el-button>-->
@@ -529,7 +529,8 @@ export default {
529 529
           return "普通住院";
530 530
           break;
531 531
       }
532
-    },cancelUploadTwo(row){
532
+    },
533
+    cancelUploadTwo(row){
533 534
       if(this.$store.getters.xt_user.org_id == 10265){
534 535
         var that = this;
535 536
         axios
@@ -634,7 +635,8 @@ export default {
634 635
           })
635 636
           .catch(function (error) {
636 637
           });
637
-    },queryData(row){
638
+    },
639
+    queryData(row){
638 640
       var that = this;
639 641
       axios
640 642
         .get("http://127.0.0.1:9532/api/4103", {
@@ -1010,7 +1012,87 @@ export default {
1010 1012
           });
1011 1013
         }
1012 1014
       });
1015
+    },getItemTypeName(order_infos,id,type){
1016
+      console.log(type )
1017
+
1018
+      var  name = ""
1019
+      for(let i = 0; i < order_infos.length;i++){
1020
+        if(type == 1){
1021
+          if(order_infos[i].advice_id == id){
1022
+
1023
+            name =   this.getItemName(order_infos[i].med_chrgitm_type)
1024
+          }
1025
+        }else{
1026
+          if(order_infos[i].project_id == id){
1027
+
1028
+            name =   this.getItemName(order_infos[i].med_chrgitm_type)
1029
+          }
1030
+        }
1031
+
1032
+      }
1033
+      return name
1034
+    },       getItemName(med_chrgitm_type) {
1035
+      switch (med_chrgitm_type) {
1036
+        case '01':
1037
+          return '床位费'
1038
+          break
1039
+        case '02':
1040
+          return '诊察费'
1041
+
1042
+          break
1043
+        case '03':
1044
+          return '检查费'
1045
+
1046
+          break
1047
+        case '04':
1048
+          return '化验费'
1049
+          break
1050
+        case '05':
1051
+          return '治疗费'
1052
+
1053
+          break
1054
+        case '06':
1055
+          return '手术费'
1056
+
1057
+          break
1058
+        case '07':
1059
+          return '护理费'
1060
+
1061
+          break
1062
+        case '08':
1063
+          return '材料费'
1064
+
1065
+          break
1066
+        case '09':
1067
+          return '西药费'
1068
+
1069
+          break
1070
+        case '10':
1071
+          return '中药饮片费'
1072
+
1073
+          break
1074
+        case '11':
1075
+          return '中成药费'
1076
+
1077
+          break
1078
+        case '12':
1079
+          return '一般诊疗费'
1080
+
1081
+          break
1082
+        case '13':
1083
+          return '挂号费'
1084
+          break
1085
+        case '14':
1086
+          return '其他费'
1087
+          break
1088
+        case '0':
1089
+          return '其他费'
1090
+          break
1091
+
1092
+      }
1093
+
1013 1094
     },
1095
+
1014 1096
     export_detail_three() {
1015 1097
       let params = {};
1016 1098
       getHisDataThree(params).then((response) => {
@@ -1028,12 +1110,13 @@ export default {
1028 1110
                 name: order.patient.name,
1029 1111
                 id_card_no: order.patient.id_card_no,
1030 1112
                 year: "2023",
1031
-                month: "1",
1113
+                month: "2",
1032 1114
                 code: data[b].code,
1033 1115
                 pric: data[b].count * data[b].price,
1034 1116
                 item_name: data[b].name,
1035 1117
                 unit: data[b].unit,
1036 1118
                 count: data[b].count,
1119
+                item_type_name:this.getItemTypeName(order.order_info, data[b].id,data[b].type)
1037 1120
 
1038 1121
               }
1039 1122
               if (order.insutype == "310") {
@@ -1055,7 +1138,9 @@ export default {
1055 1138
                 "医保类型": list[i].insutype,
1056 1139
                 "年": list[i].year,
1057 1140
                 "月": list[i].month,
1141
+
1058 1142
                 "药品编码": list[i].code,
1143
+                "费用类型": list[i].item_type_name,
1059 1144
                 "名称": list[i].item_name,
1060 1145
                 "单位": list[i].unit,
1061 1146
                 "数量": list[i].count,
@@ -1073,6 +1158,7 @@ export default {
1073 1158
               "年",
1074 1159
               "月",
1075 1160
               "药品编码",
1161
+              "费用类型",
1076 1162
               "名称",
1077 1163
               "单位",
1078 1164
               "数量",
@@ -1086,6 +1172,7 @@ export default {
1086 1172
               "年",
1087 1173
               "月",
1088 1174
               "药品编码",
1175
+              "费用类型",
1089 1176
               "名称",
1090 1177
               "单位",
1091 1178
               "数量",
@@ -2298,47 +2385,40 @@ export default {
2298 2385
 
2299 2386
             } else if (order.his_patient.insuplc_admdvs == "440704"){
2300 2387
 
2301
-              insuplc_admdvs_name = "江区"
2388
+              insuplc_admdvs_name = "江区"
2302 2389
 
2303 2390
 
2304 2391
             } else if (order.his_patient.insuplc_admdvs == "440705"){
2305 2392
 
2306
-              insuplc_admdvs_name = "蓬江区"
2393
+              insuplc_admdvs_name = "新会区"
2307 2394
 
2308 2395
 
2309 2396
             }else if (order.his_patient.insuplc_admdvs == "440781"){
2310 2397
 
2311
-              insuplc_admdvs_name = "蓬江区"
2312
-
2398
+              insuplc_admdvs_name = "台山市"
2313 2399
 
2314 2400
             }else if (order.his_patient.insuplc_admdvs == "440783"){
2315
-
2316
-              insuplc_admdvs_name = "蓬江区"
2317
-
2401
+              insuplc_admdvs_name = "开平市"
2318 2402
 
2319 2403
             }else if (order.his_patient.insuplc_admdvs == "440784"){
2320
-
2321
-
2404
+              insuplc_admdvs_name = "鹤山市"
2322 2405
 
2323 2406
             }else if (order.his_patient.insuplc_admdvs == "440785"){
2324
-
2325
-
2407
+              insuplc_admdvs_name = "恩平市"
2326 2408
 
2327 2409
             }else if (order.his_patient.insuplc_admdvs == "440799"){
2328
-
2329
-
2330
-
2410
+              insuplc_admdvs_name = "市直"
2331 2411
             }
2332 2412
 
2333 2413
 
2334
-
2335 2414
             let obj = {
2336 2415
               就诊号: order.mdtrt_id,
2337 2416
               患者姓名: name,
2338 2417
               开处时间: time,
2339 2418
               险种类型: insutypeName,
2340 2419
               参保所属医保区划: order.his_patient.insuplc_admdvs,
2341
-              属地名称: order.his_patient.insuplc_admdvs,
2420
+              参保号:order.his_patient.id_card_no,
2421
+              属地名称: insuplc_admdvs_name,
2342 2422
               应收金额: order.medfee_sumamt,
2343 2423
               实收金额: order.medfee_sumamt,
2344 2424
               医保统筹金额: order.hifp_pay,
@@ -2372,6 +2452,9 @@ export default {
2372 2452
               "患者姓名",
2373 2453
               "开处时间",
2374 2454
               "险种类型",
2455
+              "参保所属医保区划",
2456
+              "参保号",
2457
+              "属地名称",
2375 2458
               "应收金额",
2376 2459
               "实收金额",
2377 2460
               "医保统筹金额",
@@ -2401,6 +2484,9 @@ export default {
2401 2484
               "患者姓名",
2402 2485
               "开处时间",
2403 2486
               "险种类型",
2487
+              "参保所属医保区划",
2488
+              "参保号",
2489
+              "属地名称",
2404 2490
               "应收金额",
2405 2491
               "实收金额",
2406 2492
               "医保统筹金额",
@@ -2502,6 +2588,7 @@ export default {
2502 2588
               price: month_prescriptions[i].project[a].price
2503 2589
 
2504 2590
             }
2591
+
2505 2592
             project_ids.push(obj)
2506 2593
             project_month_prescriptions.project.push(month_prescriptions[i].project[a])
2507 2594
           }
@@ -2523,6 +2610,10 @@ export default {
2523 2610
             obj['code'] = drug_month_prescriptions.advices[a].id
2524 2611
             obj['unit'] = drug_month_prescriptions.advices[a].drug.min_unit
2525 2612
             obj['price'] = parseFloat(drug_month_prescriptions.advices[a].price)
2613
+            obj['id'] = drug_month_prescriptions.advices[a].id
2614
+            obj['type'] = 1
2615
+
2616
+
2526 2617
             count = count + drug_month_prescriptions.advices[a].prescribing_number
2527 2618
           }
2528 2619
         }
@@ -2541,17 +2632,20 @@ export default {
2541 2632
               obj['code'] = project_month_prescriptions.project[a].id
2542 2633
               obj['unit'] = project_month_prescriptions.project[a].project.unit
2543 2634
               obj['type'] = 2
2635
+              obj['id'] = project_month_prescriptions.project[a].id
2636
+
2544 2637
 
2545 2638
             } else if (project_month_prescriptions.project[a].type == 3) {
2546 2639
               obj['name'] = project_month_prescriptions.project[a].good_info.good_name
2547 2640
               obj['code'] = project_month_prescriptions.project[a].id
2548 2641
               obj['unit'] = project_month_prescriptions.project[a].good_info.packing_unit
2549 2642
               obj['type'] = 3
2643
+              obj['id'] = project_month_prescriptions.project[a].id
2550 2644
 
2551 2645
             }
2552 2646
             count = count + parseFloat(project_month_prescriptions.project[a].count)
2553 2647
             obj['price'] = parseFloat(project_month_prescriptions.project[a].price)
2554
-            obj['type'] = 1
2648
+            obj['type'] = 2
2555 2649
 
2556 2650
           }
2557 2651
         }

+ 8 - 8
src/xt_pages/sign/lineUp.vue Parādīt failu

@@ -43,9 +43,9 @@
43 43
                 <div class="lineUpMain">
44 44
                     <div class="lineUpMainLeft">
45 45
                         <div class="lineUpMainLeftTitle">
46
-                            <p style="width:12%">排队号</p>
46
+                            <p style="width:12%" v-if="$store.getters.xt_user.org.id !=0 && $store.getters.xt_user.org.id !=10440">排队号</p>
47 47
                             <p style="width:14%">姓名</p>
48
-                            <p style="width:14%">病例号</p>
48
+                            <p style="width:14%" v-if="$store.getters.xt_user.org.id !=0 && $store.getters.xt_user.org.id !=10440">病例号</p>
49 49
                             <p style="width:14%">床位号</p>
50 50
                             <p style="width:14%">治疗状态</p>
51 51
                             <p style="width:14%">上机时间</p>
@@ -53,14 +53,14 @@
53 53
                         </div>
54 54
                         <div class="lineUpList">
55 55
                             <div class="lineUpListOne" v-for="(item,index) in lineUpList" :key="index">
56
-                                <p style="width:12%">
56
+                                <p style="width:12%" v-if="$store.getters.xt_user.org.id !=0 && $store.getters.xt_user.org.id!=10440">
57 57
                                     <span v-if="item.schedule_type == 1">上午</span>
58 58
                                     <span v-if="item.schedule_type == 2">下午</span>
59 59
                                     <span v-if="item.schedule_type == 3">晚上</span>
60 60
                                     {{ item.queue_no }}号
61 61
                                 </p>
62 62
                                 <p style="width:14%">{{ item.patient_name }}</p>
63
-                                <p style="width:14%">{{ item.dialysis_no }}</p>
63
+                                <p style="width:14%" v-if="$store.getters.xt_user.org.id !=0 && $store.getters.xt_user.org.id !=10440">{{ item.dialysis_no }}</p>
64 64
                                 <p style="width:14%">{{ item.partition_name + item.bed_name }}</p>
65 65
                                 <p style="width:14%">
66 66
                                     <span v-if="item.status == 1">待接诊</span>
@@ -220,9 +220,9 @@
220 220
                 <div class="lineUpMain">
221 221
                     <div class="lineUpMainLeft">
222 222
                         <div class="lineUpMainLeftTitle">
223
-                            <p style="width:12%">排队号</p>
223
+                            <p style="width:12%" v-if="$store.getters.xt_user.org.id !=0 && $store.getters.xt_user.org.id !=10440">排队号</p>
224 224
                             <p style="width:14%">姓名</p>
225
-                            <p style="width:14%">病例号</p>
225
+                            <p style="width:14%" v-if="$store.getters.xt_user.org.id !=0 && $store.getters.xt_user.org.id !=10440">病例号</p>
226 226
                             <p style="width:14%">床位号</p>
227 227
                             <p style="width:14%">治疗状态</p>
228 228
                             <p style="width:14%">上机时间</p>
@@ -230,14 +230,14 @@
230 230
                         </div>
231 231
                         <div class="lineUpList">
232 232
                             <div class="lineUpListOne" v-for="(item,index) in lineUpList" :key="index">
233
-                                <p style="width:12%">
233
+                                <p style="width:12%" v-if="$store.getters.xt_user.org.id !=0 && $store.getters.xt_user.org.id !=10440">
234 234
                                     <span v-if="item.schedule_type == 1">上午</span>
235 235
                                     <span v-if="item.schedule_type == 2">下午</span>
236 236
                                     <span v-if="item.schedule_type == 3">晚上</span>
237 237
                                     {{ item.queue_no }}号
238 238
                                 </p>
239 239
                                 <p style="width:14%">{{ item.patient_name }}</p>
240
-                                <p style="width:14%">{{ item.dialysis_no }}</p>
240
+                                <p style="width:14%" v-if="$store.getters.xt_user.org.id !=0 && $store.getters.xt_user.org.id !=10440">{{ item.dialysis_no }}</p>
241 241
                                 <p style="width:14%">{{ item.partition_name + item.bed_name }}</p>
242 242
                                 <p style="width:14%">
243 243
                                     <span v-if="item.status == 1">待接诊</span>

+ 2 - 2
src/xt_pages/user/firstDisease.vue Parādīt failu

@@ -11,8 +11,8 @@
11 11
 
12 12
                         <el-button type="primary" icon="el-icon-edit-outline" size="small"
13 13
                                    @click="toEdit">修改</el-button>
14
-                      <!-- <el-button type="primary" icon="el-icon-printer" size="small"
15
-                                 @click="print">打印</el-button> -->
14
+                      <el-button type="primary" icon="el-icon-printer" size="small"
15
+                                 @click="print">打印</el-button>
16 16
                       <el-button size="small"  type="danger" @click="deleteAction">删除</el-button>
17 17
                     </span>
18 18
         </div>