28169 9 meses atrás
pai
commit
bfffaefd53

+ 2 - 1
src/api/dialysis_record.js Ver arquivo

@@ -47,7 +47,7 @@ export function editMonitor(patient_id, schedule_date, data, mode) {
47 47
   })
48 48
 }
49 49
 
50
-export function startDialysis(patient_id, schedule_date, nurse_id, bed_id, lood_drawing, puncture_nurse_id, start_time, schedual_type, mode, washpipe_nurse, change_nurse, difficult_puncture_nurse, new_fistula_nurse, blood_drawing, quality_nurse, puncture_needle, puncture_way, dialysis_dialyszers, dialysis_irrigation, blood_access_id, nuclein_date, schedule_remark, order_remark,catheter_operation,blood_flow_volume) {
50
+export function startDialysis(patient_id, schedule_date, nurse_id, bed_id, lood_drawing, puncture_nurse_id, start_time, schedual_type, mode, washpipe_nurse, change_nurse, difficult_puncture_nurse, new_fistula_nurse, blood_drawing, quality_nurse, puncture_needle, puncture_way, dialysis_dialyszers, dialysis_irrigation, blood_access_id, nuclein_date, schedule_remark, order_remark,catheter_operation,blood_flow_volume,dialysis_strainer) {
51 51
   var params = {
52 52
     patient_id: patient_id,
53 53
     date: schedule_date,
@@ -74,6 +74,7 @@ export function startDialysis(patient_id, schedule_date, nurse_id, bed_id, lood_
74 74
     order_remark: order_remark,
75 75
     catheter_operation:catheter_operation,
76 76
     blood_flow_volume:blood_flow_volume,
77
+    dialysis_strainer:dialysis_strainer,
77 78
   }
78 79
   console.log('params', params)
79 80
   return request({

+ 39 - 2
src/api/drug/drug.js Ver arquivo

@@ -701,11 +701,48 @@ export function postSearchSelfDrugList(keyword,params){
701 701
   })
702 702
 }
703 703
 
704
-export function postSelfDrugWarehouse(data){
704
+export function postSelfDrugWarehouse(data,patient_id,warehousing_time,warehousing_id){
705 705
   
706 706
   return request({
707
-    url:"/api/drug/postselfdrugwarehouse",
707
+    url:"/api/drug/postselfdrugwarehouse?patient_id="+patient_id+"&warehousing_time="+warehousing_time+"&warehousing_id="+warehousing_id,
708 708
     method:"post",
709 709
     data:data
710 710
   })
711
+}
712
+
713
+export function getAllSelfDrugWarehouseInfoList(params){
714
+
715
+  return request({
716
+    url:"/api/drug/getallselfdrugwarehosueinfolist",
717
+    method:"get",
718
+    params:params
719
+  })
720
+}
721
+
722
+export function getSelfDrugWarehouseInfoById(id,params){
723
+
724
+  return request({
725
+    url:"/api/drug/getselfdrugwarehouseinfobyid?id="+id,
726
+    method:"Get",
727
+    params:params
728
+  })
729
+}
730
+
731
+export function ModifySelfDrugWarehouse(data,patient_id,warehousing_time,warehousing_id){
732
+ 
733
+  return request({
734
+    url:"/api/drug/modifyselfdrugwarehouse?patient_id="+patient_id+"warehousing_time="+warehousing_time+"&warehousing_id="+warehousing_id,
735
+    method:"post",
736
+    data:data,
737
+  })
738
+
739
+}
740
+
741
+export function deleteSelfWarehouseInfo(id,params){
742
+  
743
+  return request({
744
+    url:"/api/drug/deleteselfwarehouseinfo?id="+id,
745
+    method:"get",
746
+    params:params,
747
+  })
711 748
 }

+ 8 - 0
src/router/modules/selfPreparedMedicine.js Ver arquivo

@@ -27,6 +27,14 @@ export default {
27 27
       hidden: true,
28 28
       is_menu: false,
29 29
     },
30
+    {
31
+      path: '/stock/selfwarehouse/info/edit',
32
+      component: () => import('@/xt_pages/stock/selfPreparedMedicine/editWarehouseInfo'),
33
+      name: 'selfPrepareWaresingEdit',
34
+      meta: { title: '自备药编辑入库', noCache: true },
35
+      hidden: true,
36
+      is_menu: false,
37
+    },
30 38
     {
31 39
       path: '/stock/selfwarehouse/out',
32 40
       component: () => import('@/xt_pages/stock/selfPreparedMedicine/warehouseOut'),

+ 45 - 1
src/xt_pages/dialysis/details/dialog/computer_dialog.vue Ver arquivo

@@ -244,6 +244,18 @@
244 244
           ></el-input>
245 245
         </el-form-item>
246 246
 
247
+      <el-form-item  label="血滤器:"
248
+          v-if="isShowFiled('血滤器')"
249
+          :prop="isName('血滤器')"
250
+          :rules="isCheckmust('血滤器')">
251
+          <el-input
252
+            v-model="form.dialysis_strainer"
253
+            style="width: 200px"
254
+            @focus="showInnerDialog('12')"
255
+          ></el-input>
256
+      </el-form-item>
257
+
258
+      
247 259
         <el-form-item
248 260
           label="血管通路:"
249 261
           v-if="isShowFiled('血管通路')"
@@ -449,6 +461,7 @@ export default {
449 461
         catheter_operation:"",
450 462
         blood_flow_volume:"" ,
451 463
         schedual_type:0,
464
+        dialysis_strainer:"",
452 465
       },
453 466
       blood_access_option: [],
454 467
       schedules_type: [
@@ -471,6 +484,7 @@ export default {
471 484
       },
472 485
       dialyzers: [],
473 486
       irrigations: [],
487
+      dialysisStrainerList:[],
474 488
       summary:[],
475 489
       blood_access_option_name:"",
476 490
       value2:"",
@@ -508,6 +522,7 @@ export default {
508 522
     lastOrder: {
509 523
       type: Object,
510 524
     },
525
+    
511 526
   },
512 527
   mounted() {},
513 528
   created() {
@@ -541,6 +556,7 @@ export default {
541 556
     this.form.puncture_way = this.dialysis_order.puncture_way;
542 557
     this.form.dialysis_dialyszers = this.dialysis_order.dialysis_dialyszers;
543 558
     this.form.dialysis_irrigation = this.dialysis_order.dialysis_irrigation;
559
+    this.form.dialysis_strainer = this.dialysis_order.dialysis_strainer;
544 560
     this.form.blood_access_id = this.dialysis_order.blood_access_id;
545 561
     this.form.blood_drawing = this.dialysis_order.blood_drawing
546 562
     this.blood_access_option_name = this.changeBloodAccessOpion(this.dialysis_order.blood_access_id)
@@ -647,6 +663,7 @@ export default {
647 663
       console.log("stockType", this.stockType);
648 664
       var arr = [];
649 665
       var arrTwo = [];
666
+      var arrThree = []
650 667
       for (let i = 0; i < this.stockType.length; i++) {
651 668
         if (this.stockType[i].stock_attribute == 2) {
652 669
           arr.push(this.stockType[i]);
@@ -654,9 +671,13 @@ export default {
654 671
         if (this.stockType[i].stock_attribute == 3) {
655 672
           arrTwo.push(this.stockType[i]);
656 673
         }
674
+        if(this.stockType[i].stock_attribute == 4){
675
+            arrThree.push(this.stockType[i])
676
+        }
657 677
       }
658 678
       var dialyzator = [];
659 679
       var irrigation = [];
680
+      var dialysis_strainer = []
660 681
       for (let i = 0; i < arr.length; i++) {
661 682
         for (let j = 0; j < arr[i].GoodInfo.length; j++) {
662 683
           dialyzator.push(arr[i].GoodInfo[j]);
@@ -670,6 +691,14 @@ export default {
670 691
         }
671 692
       }
672 693
       this.irrigations = irrigation;
694
+
695
+      for(let i=0;i<arrThree.length;i++){
696
+          for (let j = 0; j < arrThree[i].GoodInfo.length; j++) {
697
+            dialysis_strainer.push(arrThree[i].GoodInfo[j])
698
+          }
699
+        }
700
+
701
+        this.dialysisStrainerList = dialysis_strainer
673 702
     },
674 703
   },
675 704
   computed: {},
@@ -929,7 +958,8 @@ export default {
929 958
             this.form.blood_access_id,
930 959
             this.form.nuclein_date,
931 960
             this.form.catheter_operation,
932
-            this.form.blood_flow_volume
961
+            this.form.blood_flow_volume,
962
+            this.form.dialysis_strainer,
933 963
           ).then((rs) => {
934 964
             this.loading = false;
935 965
             var resp = rs.data;
@@ -983,6 +1013,7 @@ export default {
983 1013
       ParamsQuery["mode"] = "2";
984 1014
       ParamsQuery['catheter_operation'] = this.form.catheter_operation
985 1015
       ParamsQuery["blood_flow_volume"] = this.form.blood_flow_volume
1016
+      ParamsQuery["dialysis_strainer"] = this.form.dialysis_strainer
986 1017
       if (this.dialysis_order.creator != this.$store.getters.xt_user.user.id) {
987 1018
         ParamsQuery["mode"] = "3";
988 1019
       }
@@ -1084,6 +1115,16 @@ export default {
1084 1115
           this.InnerDialogProps.selected = this.form.puncture_needle;
1085 1116
           this.InnerDialogProps.isShowTextArea = false;
1086 1117
           break;
1118
+        case '12':
1119
+            for (let i = 0; i < this.dialysisStrainerList.length; i++) {
1120
+              this.dialysisStrainerList[i].name = this.dialysisStrainerList[i].specification_name
1121
+            }
1122
+            this.InnerDialogProps.values = this.dialysisStrainerList
1123
+            this.InnerDialogProps.titles = '滤过器'
1124
+            this.InnerDialogProps.type = 'dialysis_strainer'
1125
+            this.InnerDialogProps.selected = this.dialysisPrescription.dialysis_strainer
1126
+            this.InnerDialogProps.isShowTextArea = false
1127
+        break
1087 1128
         case "13": // 穿刺方式
1088 1129
           this.InnerDialogProps.values = this.puncture_ways;
1089 1130
           this.InnerDialogProps.titles = "穿刺方式";
@@ -1109,6 +1150,9 @@ export default {
1109 1150
         case "irrigations":
1110 1151
           this.form.dialysis_irrigation = val.value.join(",");
1111 1152
           break;
1153
+        case 'dialysis_strainer':
1154
+            this.form.dialysis_strainer = val.value.join(',')
1155
+        break
1112 1156
       }
1113 1157
     },
1114 1158
     innerDialogCancle: function () {

+ 4 - 0
src/xt_pages/dialysis/details/dialysisComputer.vue Ver arquivo

@@ -58,6 +58,10 @@
58 58
         <li v-if="isShow('灌流器')">
59 59
           <label>灌流器 : </label>
60 60
           <span class="content">{{ record.dialysis_irrigation }}</span>
61
+        </li>
62
+        <li v-if="isShow('血滤器')">
63
+          <label>血滤器 : </label>
64
+          <span class="content">{{ record.dialysis_strainer }}</span>
61 65
         </li>
62 66
          <li v-if="isShow('血管通路')">
63 67
           <label>血管通路 : </label>