Procházet zdrojové kódy

库存显示展示

XMLWAN před 2 roky
rodič
revize
a113fe65a6

+ 20 - 0
src/xt_pages/dialysis/details/DialysisPrescription.vue Zobrazit soubor

@@ -124,6 +124,12 @@
124 124
           <span class="unit"></span>
125 125
         </li>
126 126
 
127
+         <li v-if="isShow('滤过器')">
128
+          <label>滤过器 : </label>
129
+          <span class="content">{{ dialysis_strainer }}</span>
130
+          <span class="unit"></span>
131
+        </li>
132
+
127 133
         <li v-if="isShow('透析前使用特殊药物')">
128 134
           <label>透析前使用特殊药物: </label>
129 135
           <span class="content">{{ special_medicine }}</span>
@@ -157,6 +163,14 @@
157 163
           <span class="unit">{{ glucose != "0" ? "mmol/l" : "" }}</span>
158 164
         </li> -->
159 165
 
166
+
167
+        <li v-if="isShow('处方脱水量')">
168
+          <label>处方脱水量 : </label>
169
+          <span class="content">{{ prescription_water != "0" ? prescription_water : "" }}</span>
170
+          <span class="unit">{{ prescription_water != "0" ? "ml" : "" }}</span>
171
+        </li>
172
+
173
+       
160 174
         <li v-if="isShow('钾')">
161 175
           <label>钾 : </label>
162 176
           <span class="content">{{ kalium != "0" ? kalium : "" }}</span>
@@ -916,6 +930,12 @@ export default {
916 930
     },
917 931
     reduce_amount:function(){
918 932
        return this.getValueStr('reduce_amount','reduce_amount')
933
+    },
934
+    prescription_water:function(){
935
+      return this.getValueStr('prescription_water','prescription_water')
936
+    },
937
+    dialysis_strainer:function(){
938
+       return this.getValueStr('dialysis_strainer','dialysis_strainer')
919 939
     }
920 940
   
921 941
   },

+ 1 - 0
src/xt_pages/dialysis/details/NavIgation.vue Zobrazit soubor

@@ -121,6 +121,7 @@
121 121
       :admin_users="admin_users"
122 122
       :dry_weight="last_dryWeight_dislysis"
123 123
       :lastAssessment="lastAssessment"
124
+       :prescription="prescription"
124 125
     ></assessment-before-dislysis-dialog>
125 126
 
126 127
     <treatment-summary-dialog

+ 13 - 3
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue Zobrazit soubor

@@ -883,7 +883,15 @@
883 883
          default: () => {
884 884
           return []
885 885
         }
886
-      }
886
+      },
887
+
888
+       prescription: {
889
+        // 透析处方
890
+        type: Object,
891
+        default: () => {
892
+          return { id: 0 }
893
+        }
894
+      },
887 895
 
888 896
     },
889 897
     methods: {
@@ -1361,19 +1369,21 @@
1361 1369
             })
1362 1370
 
1363 1371
             const assessment_before_dislysis_resp = response.data.data.assessmentBeforeDislysis
1364
-            // console.log("返回数据",assessment_before_dislysis_resp)
1365
-            // prop
1372
+           
1366 1373
             var predialysis_evaluation = this.predialysis_evaluation
1367 1374
             for (var index in assessment_before_dislysis_resp) {
1368 1375
               // predialysis_evaluation[index] = assessment_before_dislysis_resp[index];
1369 1376
               this.$set(predialysis_evaluation, index, assessment_before_dislysis_resp[index])
1370 1377
             }
1378
+           
1379
+           
1371 1380
             let orgId = parseInt(sessionStorage.getItem("org_id"));
1372 1381
             axios.get('/api/index/patientsign/'+ orgId + '/'+ this.patient.id).then((res) => {
1373 1382
               console.log('res',res.data)
1374 1383
 
1375 1384
             }) 
1376 1385
             this.hide()
1386
+            console.log("hhh23h3h223h23h23h23h2h3")
1377 1387
           }
1378 1388
         })
1379 1389
           } else {

+ 50 - 0
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Zobrazit soubor

@@ -104,6 +104,8 @@
104 104
                         </el-form-item>
105 105
                     </el-col>
106 106
 
107
+                    
108
+
107 109
 
108 110
                     <el-col :span="8"
109 111
                             v-if="isShows('目标超滤量')  && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 38 &&  this.$store.getters.xt_user.template_info.template_id != 40 &&  this.$store.getters.xt_user.template_info.template_id != 43 &&  this.$store.getters.xt_user.template_info.template_id != 45 &&  this.$store.getters.xt_user.template_info.template_id != 46  &&  this.$store.getters.xt_user.template_info.template_id != 48 &&  this.$store.getters.xt_user.template_info.template_id != 56 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10345 &&  this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10249 &&  this.$store.getters.xt_user.template_info.org_id != 10395 &&  this.$store.getters.xt_user.template_info.template_id != 60 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10430 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id!=10441 && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=9829 && this.$store.getters.xt_user.template_info.org_id != 10440 && this.$store.getters.xt_user.template_info.org_id != 10469">
@@ -115,6 +117,16 @@
115 117
                         </el-form-item>
116 118
                     </el-col>
117 119
 
120
+                    <el-col :span="8"
121
+                            v-if="isShows('处方脱水量')">
122
+                        <el-form-item label="处方脱水量(ml):">
123
+                            <el-input
124
+                                    type="number"
125
+                                    v-model="dialysisPrescription.prescription_water"
126
+                            ></el-input>
127
+                        </el-form-item>
128
+                    </el-col>
129
+
118 130
                    <el-col :span="8" v-if="isShows('带水上机')">
119 131
                         <el-form-item label="带水上机:">
120 132
                            <el-select v-model="dialysisPrescription.water_machine">
@@ -649,6 +661,14 @@
649 661
                         </el-form-item>
650 662
                     </el-col>
651 663
 
664
+
665
+                     <el-col :span="8" v-if="isShows('滤过器')">
666
+                        <el-form-item label="滤过器:">
667
+                            <el-input v-model="dialysisPrescription.dialysis_strainer"
668
+                                      @focus="showInnerDialog('12')"></el-input>
669
+                        </el-form-item>
670
+                    </el-col>
671
+
652 672
                     <el-col :span="8" v-if="isShows('血浆分离器')">
653 673
                         <el-form-item label="血浆分离器:">
654 674
                             <el-input v-model="dialysisPrescription.plasma_separator"
@@ -1582,6 +1602,8 @@
1582 1602
           sodium_curve:"",
1583 1603
           dialysis_fluid_flow:"",
1584 1604
           sodium_bicarbonate_flow:"",
1605
+          prescription_water:"",
1606
+          dialysis_strainer:"",
1585 1607
         },
1586 1608
 
1587 1609
         anticoagulant: {
@@ -1605,6 +1627,7 @@
1605 1627
         bloods: [],
1606 1628
         irrigations: [],
1607 1629
         dialyzers: [],
1630
+        dialysisStrainerList:[],
1608 1631
         illnessList: [],
1609 1632
         plasmaSeparatorList: [],
1610 1633
         bilirubinAdsorptionColumn: [],
@@ -1714,6 +1737,17 @@ mu
1714 1737
             this.InnerDialogProps.selected = this.dialysisPrescription.puncture_needle
1715 1738
             this.InnerDialogProps.isShowTextArea = false
1716 1739
             break
1740
+
1741
+          case '12':
1742
+            for (let i = 0; i < this.dialysisStrainerList.length; i++) {
1743
+              this.dialysisStrainerList[i].name = this.dialysisStrainerList[i].specification_name
1744
+            }
1745
+            this.InnerDialogProps.values = this.dialysisStrainerList
1746
+            this.InnerDialogProps.titles = '滤过器'
1747
+            this.InnerDialogProps.type = 'dialysis_strainer'
1748
+            this.InnerDialogProps.selected = this.dialysisPrescription.dialysis_strainer
1749
+            this.InnerDialogProps.isShowTextArea = false
1750
+            break
1717 1751
         }
1718 1752
       },
1719 1753
       innerDialogComfirm: function(val) {
@@ -1791,6 +1825,9 @@ mu
1791 1825
           case 'puncture_needle':
1792 1826
             this.dialysisPrescription.puncture_needle = val.value.join(',')
1793 1827
             break
1828
+          case 'dialysis_strainer':
1829
+            this.dialysisPrescription.dialysis_strainer = val.value.join(',')
1830
+            break
1794 1831
         }
1795 1832
       },
1796 1833
       innerDialogCancle: function() {
@@ -2282,6 +2319,7 @@ mu
2282 2319
       },
2283 2320
       show(pre, schedual, last, his_is_open,is_advice_open,admins) {
2284 2321
         console.log("pres",pre)
2322
+        console.log("schedual",schedual)
2285 2323
         if (pre != undefined) {
2286 2324
           this.dialysisPrescription.admin_user_id = pre.id == 0 ? this.$store.getters.xt_user.user.id : pre.admin_user_id
2287 2325
           if (pre.oxygen_uptake == 1) {
@@ -4503,6 +4541,7 @@ mu
4503 4541
         console.log('stockType', this.stockType)
4504 4542
         var arr = []
4505 4543
         var arrTwo = []
4544
+        var arrThree = []
4506 4545
         for (let i = 0; i < this.stockType.length; i++) {
4507 4546
           if (this.stockType[i].stock_attribute == 2) {
4508 4547
             arr.push(this.stockType[i])
@@ -4510,9 +4549,13 @@ mu
4510 4549
           if (this.stockType[i].stock_attribute == 3) {
4511 4550
             arrTwo.push(this.stockType[i])
4512 4551
           }
4552
+          if(this.stockType[i].stock_attribute == 4){
4553
+            arrThree.push(this.stockType[i])
4554
+          }
4513 4555
         }
4514 4556
         var dialyzator = []
4515 4557
         var irrigation = []
4558
+        var dialysis_strainer = []
4516 4559
         for (let i = 0; i < arr.length; i++) {
4517 4560
           for (let j = 0; j < arr[i].GoodInfo.length; j++) {
4518 4561
             dialyzator.push(arr[i].GoodInfo[j])
@@ -4526,7 +4569,14 @@ mu
4526 4569
           }
4527 4570
         }
4528 4571
         this.irrigations = irrigation
4572
+        
4573
+        for(let i=0;i<arrThree.length;i++){
4574
+          for (let j = 0; j < arrThree[i].GoodInfo.length; j++) {
4575
+            dialysis_strainer.push(arrThree[i].GoodInfo[j])
4576
+          }
4577
+        }
4529 4578
        
4579
+        this.dialysisStrainerList = dialysis_strainer
4530 4580
       },
4531 4581
       
4532 4582
       admin_user_id:function(){

+ 1 - 0
src/xt_pages/stock/Dialog/goodTypeDialog.vue Zobrazit soubor

@@ -17,6 +17,7 @@
17 17
                   <el-radio label="1">无</el-radio>
18 18
                   <el-radio label="2">透析器</el-radio>
19 19
                   <el-radio label="3">灌流器</el-radio>
20
+                  <el-radio label="4">滤过器</el-radio>
20 21
               </el-radio-group>
21 22
           </el-form-item>
22 23
         </el-col>

+ 2 - 2
src/xt_pages/workforce/printOne.vue Zobrazit soubor

@@ -60,7 +60,7 @@
60 60
                     <div style="min-height: 80px">
61 61
                       <div class="proj">
62 62
                         <div class="proj_item">
63
-                          <p v-html="getPatientName(item.schedule_type,it.partition_id)" class="zone_name">
63
+                          <p v-html="getPatientName(item.schedule_type,it.partition_id)" class="zone_name" style="font-size:20px">
64 64
                             
65 65
                           </p>
66 66
                         </div>
@@ -665,7 +665,7 @@ export default {
665 665
           if (this.hiddenFlag) {
666 666
             str += arr[i].name + '&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp '
667 667
           } else {
668
-            str += arr[i].name + '(' + '上次床位:' + arr[i].order.DeviceNumber.zone.name + '-' + arr[i].order.DeviceNumber.number + '  ' + '血管通路:' + this.getBloodAccess(arr[i].order.blood_access_id) + '  ' + '上机备注:' + arr[i].order.order_remark + ')<br/>'
668
+            str += arr[i].name + '(' + '上次床位:' + arr[i].order.DeviceNumber.zone.name + '-' + arr[i].order.DeviceNumber.number + '  ' + '血管通路:' + this.getBloodAccess(arr[i].order.blood_access_id) + '  ' + '排班备注:' + arr[i].order.schedule_remark + ')<br/>'
669 669
           }
670 670
         }
671 671
       }