瀏覽代碼

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 1 年之前
父節點
當前提交
2dfe43c1f0

+ 9 - 0
src/api/dialysis.js 查看文件

@@ -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
 }

+ 3 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue 查看文件

@@ -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 查看文件

@@ -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 ="IUF"
2526
+      }
2527
+      if(val == 9){
2528
+        name ="HFHD+HP"
2529
+      }
2530
+      if(val == 10){
2531
+        name ="HFHD+HP"
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 查看文件

@@ -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 查看文件

@@ -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 查看文件

@@ -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;

+ 3 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue 查看文件

@@ -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
                       干体重:

+ 4 - 3
src/xt_pages/stock/drugs/components/purchaseNewDrugQuery.vue 查看文件

@@ -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
     }