Sfoglia il codice sorgente

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

陈少旭 1 anno fa
parent
commit
7ec58a6046

+ 9 - 0
src/api/dialysis.js Vedi File

@@ -547,4 +547,13 @@ export function getPatientRecordList(patient_id,params){
547 547
     method:"Get",
548 548
     params:params,
549 549
   })
550
+}
551
+
552
+export function getDialysisTotalCount(params){
553
+  
554
+  return request({
555
+    url:"/api/patient/getdialysistotalcount",
556
+    method:"Get",
557
+    params:params
558
+  })
550 559
 }

+ 66 - 0
src/router/modules/Dialysisanalysis.js Vedi File

@@ -22,6 +22,72 @@ export default {
22 22
         noCache: true
23 23
       }
24 24
     },
25
+    {//新专业质控
26
+      path: '/Dialysisanalysis/qualitycontrol/new_otherIndicators',
27
+      component: () => import('@/xt_pages/Dialysisanalysis/new_otherIndicators/index'),
28
+      name: 'otherIndicators',
29
+      meta: {
30
+        title: '新专业质控',
31
+        noCache: true
32
+      }
33
+    },
34
+    {//透析总量分析
35
+      path: '/Dialysisanalysis/qualitycontrol/new_otherIndicators/Total_analysis',
36
+      component: () => import('@/xt_pages/Dialysisanalysis/new_otherIndicators/components/Total_analysis'),
37
+      name: 'otherIndicators',
38
+      meta: {
39
+        title: '透析总量分析',
40
+        noCache: true
41
+      },
42
+      hidden: true,
43
+      is_menu: false
44
+    },
45
+    {//透析总量详情
46
+      path: '/Dialysisanalysis/qualitycontrol/new_otherIndicators/Total_table',
47
+      component: () => import('@/xt_pages/Dialysisanalysis/new_otherIndicators/components/Total_table'),
48
+      name: 'otherIndicators',
49
+      meta: {
50
+        title: '透析总量详情',
51
+        noCache: true
52
+      },
53
+      hidden: true,
54
+      is_menu: false
55
+    },
56
+    {//抗凝剂
57
+      path: '/Dialysisanalysis/qualitycontrol/new_otherIndicators/anticoagulant',
58
+      component: () => import('@/xt_pages/Dialysisanalysis/new_otherIndicators/components/anticoagulant'),
59
+      name: 'otherIndicators',
60
+      meta: {
61
+        title: '抗凝剂类型统计',
62
+        noCache: true
63
+      },
64
+      hidden: true,
65
+      is_menu: false
66
+    },
67
+    {//透析器
68
+      path: '/Dialysisanalysis/qualitycontrol/new_otherIndicators/dialyzer',
69
+      component: () => import('@/xt_pages/Dialysisanalysis/new_otherIndicators/components/dialyzer'),
70
+      name: 'otherIndicators',
71
+      meta: {
72
+        title: '透析器统计',
73
+        noCache: true
74
+      },
75
+      hidden: true,
76
+      is_menu: false
77
+    },
78
+    {//透析完成率
79
+      path: '/Dialysisanalysis/qualitycontrol/new_otherIndicators/complete',
80
+      component: () => import('@/xt_pages/Dialysisanalysis/new_otherIndicators/components/complete'),
81
+      name: 'otherIndicators',
82
+      meta: {
83
+        title: '透析完成率',
84
+        noCache: true
85
+      },
86
+      hidden: true,
87
+      is_menu: false
88
+    },
89
+
90
+
25 91
     {
26 92
       path: '/Dialysisanalysis/qualitycontrol/Indicatorsdetail',
27 93
       component: () => import('@/xt_pages/Dialysisanalysis/otherIndicators/otherIndicators'),

+ 5 - 3
src/xt_pages/Pharmacy/print/patientPrintTwo.vue Vedi File

@@ -56,7 +56,7 @@
56 56
       <div style="display: flex;margin: 10px 0;">
57 57
         <div style="flex: 1;">发药药房:药房</div>
58 58
         <div style="flex: 1;">开单医生:{{Doctor}}</div>
59
-        <div style="flex: 1;">金额合计:{{ Price_zong }}</div>
59
+        <div style="flex: 1;">金额合计:{{ Price_zong.toFixed(2) }}</div>
60 60
       </div>
61 61
       <div style="display: flex;">
62 62
         <div style="flex: 1;">调配人:{{getdoctors(tableData[0].ExecutionStaff) }}</div>
@@ -161,9 +161,11 @@ export default {
161 161
       }
162 162
       var Price_zong2 =0
163 163
       for(let i in this.tableData){
164
-        
164
+        console.log();
165
+        const str = this.tableData[i].Total
166
+        const num = str.replace(/[^\d]/g,"")
165 167
         if(this.tableData[i].Price !=''){
166
-          Price_zong2 = Price_zong2 + this.tableData[i].Price
168
+          Price_zong2 = Price_zong2 + (this.tableData[i].Price * num)
167 169
         }
168 170
       }
169 171
       this.Price_zong = Price_zong2

+ 3 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue Vedi File

@@ -1102,7 +1102,7 @@
1102 1102
                          <span v-if="org_id!=10395&&org_id!=9829 && org_id!=10440 && org_id!=10469  && org_id!=10471 && org_id!=10460 && org_id!=10624">L</span>
1103 1103
                       </div>
1104 1104
 
1105
-                      <div class="inline_block" style="flex: 1" v-if="org_id == 10469">
1105
+                      <div class="inline_block" style="flex: 1" v-if="org_id == 10469 || org_id ==10598">
1106 1106
                         处方脱水量:
1107 1107
                         <div
1108 1108
                           class="under_line"
@@ -1115,7 +1115,8 @@
1115 1115
                               : "/"
1116 1116
                           }}
1117 1117
                         </div>
1118
-                        ml
1118
+                        <span v-if="org_id!=10598"> ml</span>
1119
+                        <span v-if="org_id==10598"> L</span>
1119 1120
                       </div>
1120 1121
                       <div class="inline_block" style="flex: 1">
1121 1122
                         干体重:

+ 111 - 3
src/xt_pages/dialysis/bloodPresssWatch.vue Vedi File

@@ -1691,9 +1691,11 @@ export default {
1691 1691
 
1692 1692
               SchedualPatientsTable["number"] =  response.data.data.schedule[i].device_number.number;
1693 1693
 
1694
-              if(response.data.data.schedule[i].treatment_mode!=null){
1695
-                SchedualPatientsTable["mode_name"] = response.data.data.schedule[i].treatment_mode.name;
1696
-              }
1694
+              SchedualPatientsTable["mode_name"] = this.getModeId(response.data.data.schedule[i].mode_id)
1695
+
1696
+              // if(response.data.data.schedule[i].treatment_mode!=null){
1697
+              //   SchedualPatientsTable["mode_name"] = response.data.data.schedule[i].treatment_mode.name;
1698
+              // }
1697 1699
               if(response.data.data.schedule[i].prescription!=null){
1698 1700
                 SchedualPatientsTable["target_ultrafiltration"] = response.data.data.schedule[i].prescription.target_ultrafiltration;
1699 1701
               }
@@ -2496,6 +2498,112 @@ export default {
2496 2498
     formatJson(filterVal, jsonData) {
2497 2499
        return jsonData.map(v => filterVal.map(j => v[j]));
2498 2500
      },
2501
+     getModeId(val){
2502
+      var name =""
2503
+      if(val == 1){
2504
+        name ="HD"
2505
+      }
2506
+      if(val == 2){
2507
+        name ="HDF"
2508
+      }
2509
+      if(val == 3){
2510
+        name ="HD+HP"
2511
+      }
2512
+      if(val == 4){
2513
+        name ="HP"
2514
+      }
2515
+      if(val == 5){
2516
+        name ="HF"
2517
+      }
2518
+      if(val == 6){
2519
+        name ="SCUF"
2520
+      }
2521
+      if(val == 7){
2522
+        name ="IUF"
2523
+      }
2524
+      if(val == 8){
2525
+        name ="HFHD"
2526
+      }
2527
+      if(val == 9){
2528
+        name ="HFHD+HP"
2529
+      }
2530
+      if(val == 10){
2531
+        name ="PHF"
2532
+      }
2533
+      if(val == 11){
2534
+        name ="HFR"
2535
+      }
2536
+      if(val == 12){
2537
+        name ="HDF+HP"
2538
+      }
2539
+      if(val == 13){
2540
+        name ="CRRT"
2541
+      }
2542
+      if(val == 14){
2543
+        name ="腹水回输"
2544
+      }
2545
+      if(val == 19){
2546
+        name ="IUF+HD"
2547
+      }
2548
+      if(val == 20){
2549
+        name ="UF"
2550
+      }
2551
+      if(val == 21){
2552
+        name ="HD+"
2553
+      }
2554
+      if(val == 22){
2555
+        name ="血浆胆红素吸附+HDF"
2556
+      }
2557
+      if(val == 23){
2558
+        name ="血浆胆红素吸附"
2559
+      }
2560
+      if(val == 24){
2561
+        name ="I-HDF"
2562
+      }
2563
+      if(val == 25){
2564
+        name ="HD高通"
2565
+      }
2566
+      if(val == 26){
2567
+        name ="CVVH"
2568
+      }
2569
+      if(val == 27){
2570
+        name ="CVVHD"
2571
+      }
2572
+      if(val == 28){
2573
+        name ="CVVHDF"
2574
+      }
2575
+      if(val == 29){
2576
+        name ="PE"
2577
+      }
2578
+      if(val == 30){
2579
+        name ="血浆胆红素吸附+HP"
2580
+      }
2581
+      if(val == 31){
2582
+        name ="HPD"
2583
+      }
2584
+      if(val == 32){
2585
+        name ="HDP"
2586
+      }
2587
+      if(val == 33){
2588
+        name ="HDP"
2589
+      }
2590
+      if(val == 33){
2591
+        name ="HFD"
2592
+      }
2593
+      if(val == 34){
2594
+        name ="HDF100"
2595
+      }
2596
+      if(val == 35){
2597
+        name ="HDF600"
2598
+      }
2599
+      if(val == 36){
2600
+        name ="HDF800"
2601
+      }
2602
+      if(val == 37){
2603
+        name ="HDF1000"
2604
+      }
2605
+      return name
2606
+    },
2499 2607
   },
2500 2608
   components: {
2501 2609
     BreadCrumb

+ 2 - 2
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Vedi File

@@ -813,7 +813,7 @@
813 813
             align="center"
814 814
             label="累计血容量(ml)"
815 815
             width="100"
816
-            v-if="isShow('累计血容量') && template_id != 41 && org_id != 9538 && org_id != 9671 && org_id != 10340 "
816
+            v-if="isShow('累计血容量') && template_id != 41 && org_id != 9538 && org_id != 9671 && org_id != 10340  && org_id != 10217"
817 817
           >
818 818
              <template slot-scope="scope">
819 819
               {{ scope.row.accumulated_blood_volume }}
@@ -824,7 +824,7 @@
824 824
             align="center"
825 825
             label="累计血容量(L)"
826 826
             width="100"
827
-            v-if="isShow('累计血容量') && (template_id == 41  || org_id == 9538) && org_id!=10340 && org_id!=9671"
827
+            v-if="isShow('累计血容量') && (template_id == 41  || org_id == 9538 || org_id ==10217) && org_id!=10340 && org_id!=9671"
828 828
           >
829 829
             <template slot-scope="scope">
830 830
               {{ scope.row.accumulated_blood_volume }}

+ 30 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThree.vue Vedi File

@@ -418,11 +418,40 @@
418 418
                             padding: 0 10px;
419 419
                           "
420 420
                         >
421
-                          透析(滤)器:{{
421
+                          透析(滤)器:
422
+                          {{
422 423
                             prescription.dialyzer_perfusion_apparatus
423 424
                               ? prescription.dialyzer_perfusion_apparatus
424 425
                               : ""
425 426
                           }}
427
+
428
+                          {{
429
+                            prescription.dialysis_dialyszers
430
+                              ? prescription.dialysis_dialyszers
431
+                              : ""
432
+                          }}
433
+                          <span v-if="prescription.dialysis_irrigation!=''">
434
+                           /
435
+                          </span>
436
+                          <span v-if="prescription.dialysis_irrigation!=''">
437
+                            {{
438
+                             prescription.dialysis_irrigation
439
+                              ? prescription.dialysis_irrigation
440
+                              : ""
441
+                            }}
442
+                          </span>
443
+                          <span v-if="prescription.dialysis_strainer!=''">
444
+                            /
445
+                          </span>
446
+                          <span v-if="prescription.dialysis_strainer!=''">
447
+                            {{
448
+                             prescription.dialysis_strainer
449
+                              ? prescription.dialysis_strainer
450
+                              : ""
451
+                            }}
452
+                          </span>
453
+
454
+                          
426 455
                         </div>
427 456
                         <div style="padding-left: 10px">
428 457
                           透析液:钾:

+ 22 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFortySeven.vue Vedi File

@@ -207,7 +207,7 @@
207 207
                               patientInfo.user_sys_before_count
208 208
                             : "/"
209 209
                         }} -->
210
-                        1
210
+                         {{ count }}
211 211
                       </div>
212 212
                     </div>
213 213
                     <div class="inline_block" style="flex: 1">
@@ -2538,7 +2538,7 @@
2538 2538
 
2539 2539
 <script>
2540 2540
 import CheckBox from "../batch_print/option_check_box";
2541
-import { getDialysisRecord } from "@/api/dialysis";
2541
+import { getDialysisRecord,getDialysisTotalCount } from "@/api/dialysis";
2542 2542
 import { getDataConfig } from "@/utils/data";
2543 2543
 import { jsGetAge, uParseTime } from "@/utils/tools";
2544 2544
 import LabelBox from "../printItem/LabelBox";
@@ -2546,6 +2546,7 @@ import BreadCrumb from "@/xt_pages/components/bread-crumb";
2546 2546
 // import DialysisPrintOrderOne from './template/dialysisPrintOrderOne'
2547 2547
 // import DialysisPrintOrderTwo from './template/dialysisPrintOrderTwo'
2548 2548
 import print from "print-js";
2549
+import moment from "moment";
2549 2550
 
2550 2551
 export default {
2551 2552
   name: "dialysisPrintOrderSix",
@@ -2670,6 +2671,7 @@ export default {
2670 2671
         gaijiliang_unit: "",
2671 2672
       },
2672 2673
       org_id: 0,
2674
+      count:0,
2673 2675
     };
2674 2676
   },
2675 2677
   methods: {
@@ -3412,6 +3414,23 @@ export default {
3412 3414
       }
3413 3415
       // })
3414 3416
     },
3417
+    getDialysisTotalCount(){
3418
+      var start_time = moment().startOf('month').format("YYYY-MM-DD")
3419
+      var end_time =   moment().endOf('month').format("YYYY-MM-DD")
3420
+       var params = {
3421
+        start_time:start_time,
3422
+        end_time:end_time,
3423
+        patient_id:this.$route.query && this.$route.query.patient_id,
3424
+       }
3425
+      getDialysisTotalCount(params).then(response=>{
3426
+        if(response.data.state == 1){
3427
+          var order =  response.data.data.order
3428
+          if(order!=null && order.length>=0){
3429
+             this.count = order.length
3430
+          }
3431
+        }
3432
+      })
3433
+    },
3415 3434
 
3416 3435
     bloodAccessParOperaName(id) {
3417 3436
       if (id in this.bloodAccessParOpera) {
@@ -3559,6 +3578,7 @@ export default {
3559 3578
       this.queryParams.xtdate = xtdate;
3560 3579
       this.queryParams.xtno = xtno;
3561 3580
       this.getDialysisRecord();
3581
+      this.getDialysisTotalCount()
3562 3582
     } else {
3563 3583
       this.$message.error("参数不齐");
3564 3584
       return false;

+ 5 - 4
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Vedi File

@@ -82,7 +82,7 @@
82 82
           <div class="inline_block" v-if="org_id!=10624">
83 83
             病区:
84 84
             <div class="under_line" style="width: 50px; text-align: center">
85
-              <span v-if="org_id == 10121||org_id == 10138||org_id == 10414 ||org_id == 10447  || org_id ==10567 || org_id ==10206">{{
85
+              <span v-if="org_id == 10121||org_id == 10138||org_id == 10414 ||org_id == 10447  || org_id ==10567 || org_id ==10206 || org_id ==10644 || org_id ==0" >{{
86 86
                 patientInfo.DialysisSchedule.device_zone.name
87 87
                   ? patientInfo.DialysisSchedule.device_zone.name
88 88
                   : ""
@@ -93,7 +93,7 @@
93 93
           <div class="inline_block" v-if="org_id!=10460&&org_id!=10624">
94 94
             床号:
95 95
             <div class="under_line" style="width: 50px; text-align: center">
96
-              <span v-if="org_id == 10121||org_id == 10414 || org_id == 10447 || org_id == 9675 || org_id ==10515 || org_id == 10567 || org_id ==10206">{{
96
+              <span v-if="org_id == 10121||org_id == 10414 || org_id == 10447 || org_id == 9675 || org_id ==10515 || org_id == 10567 || org_id ==10206 || org_id ==10644 || org_id ==0">{{
97 97
                 dialysisOrder &&
98 98
                 dialysisOrder.DeviceNumber &&
99 99
                 dialysisOrder.DeviceNumber.number.length > 0
@@ -1207,7 +1207,7 @@
1207 1207
                     </div>
1208 1208
 
1209 1209
 
1210
-                    <div class="inline_block" style="flex: 1" v-if="org_id == 10469 || org_id == 0">
1210
+                    <div class="inline_block" style="flex: 1" v-if="org_id == 10469 || org_id == 0 || org_id ==10598">
1211 1211
                       处方脱水量:
1212 1212
                       <div
1213 1213
                         class="under_line"
@@ -1219,7 +1219,8 @@
1219 1219
                             : "/"
1220 1220
                         }}
1221 1221
                       </div>
1222
-                       ml
1222
+                      <span v-if="org_id!=10598"> ml</span>
1223
+                      <span v-if="org_id0=10598"> L</span>
1223 1224
                     </div>
1224 1225
                     <div class="inline_block" style="flex: 1">
1225 1226
                       干体重:

+ 1 - 1
src/xt_pages/outpatientDoctorStation/template/prineight.vue Vedi File

@@ -287,7 +287,7 @@
287 287
                     <div style="flex: 1;">收费员:</div>
288 288
                   </div>
289 289
                   <div style="display: flex;">
290
-                    <div style="flex: 1;">审核师:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</div>
290
+                    <div style="flex: 1;">审核师:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</div>
291 291
                     <div style="flex: 1;">调配药师:</div>
292 292
                     <div style="flex: 1;">核/发药师:</div>
293 293
                   </div>

+ 4 - 3
src/xt_pages/stock/drugs/components/purchaseNewDrugQuery.vue Vedi File

@@ -1212,10 +1212,11 @@ export default {
1212 1212
         totalthree +=arr3[i].count
1213 1213
       }
1214 1214
     }
1215
-    console.log("totalone2332323",totalone)
1216
-    console.log("totaltwo",totaltwo)
1217
-    console.log("totalthr3eee",totalthree)
1215
+    console.log("出库ssssssssssssssss",totalone)
1216
+    console.log("盘亏",totaltwo)
1217
+    console.log("退库22222222222",totalthree)
1218 1218
     total = totalone + totaltwo - totalthree
1219
+    console.log("剩余阿道夫阿道夫阿道夫",total)
1219 1220
     if (total < min_number) {
1220 1221
       min_str = total + min_unit;
1221 1222
     }