Browse Source

库存显示展示

XMLWAN 2 years ago
parent
commit
a113fe65a6

+ 20 - 0
src/xt_pages/dialysis/details/DialysisPrescription.vue View File

124
           <span class="unit"></span>
124
           <span class="unit"></span>
125
         </li>
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
         <li v-if="isShow('透析前使用特殊药物')">
133
         <li v-if="isShow('透析前使用特殊药物')">
128
           <label>透析前使用特殊药物: </label>
134
           <label>透析前使用特殊药物: </label>
129
           <span class="content">{{ special_medicine }}</span>
135
           <span class="content">{{ special_medicine }}</span>
157
           <span class="unit">{{ glucose != "0" ? "mmol/l" : "" }}</span>
163
           <span class="unit">{{ glucose != "0" ? "mmol/l" : "" }}</span>
158
         </li> -->
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
         <li v-if="isShow('钾')">
174
         <li v-if="isShow('钾')">
161
           <label>钾 : </label>
175
           <label>钾 : </label>
162
           <span class="content">{{ kalium != "0" ? kalium : "" }}</span>
176
           <span class="content">{{ kalium != "0" ? kalium : "" }}</span>
916
     },
930
     },
917
     reduce_amount:function(){
931
     reduce_amount:function(){
918
        return this.getValueStr('reduce_amount','reduce_amount')
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 View File

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

+ 13 - 3
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue View File

883
          default: () => {
883
          default: () => {
884
           return []
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
     methods: {
897
     methods: {
1361
             })
1369
             })
1362
 
1370
 
1363
             const assessment_before_dislysis_resp = response.data.data.assessmentBeforeDislysis
1371
             const assessment_before_dislysis_resp = response.data.data.assessmentBeforeDislysis
1364
-            // console.log("返回数据",assessment_before_dislysis_resp)
1365
-            // prop
1372
+           
1366
             var predialysis_evaluation = this.predialysis_evaluation
1373
             var predialysis_evaluation = this.predialysis_evaluation
1367
             for (var index in assessment_before_dislysis_resp) {
1374
             for (var index in assessment_before_dislysis_resp) {
1368
               // predialysis_evaluation[index] = assessment_before_dislysis_resp[index];
1375
               // predialysis_evaluation[index] = assessment_before_dislysis_resp[index];
1369
               this.$set(predialysis_evaluation, index, assessment_before_dislysis_resp[index])
1376
               this.$set(predialysis_evaluation, index, assessment_before_dislysis_resp[index])
1370
             }
1377
             }
1378
+           
1379
+           
1371
             let orgId = parseInt(sessionStorage.getItem("org_id"));
1380
             let orgId = parseInt(sessionStorage.getItem("org_id"));
1372
             axios.get('/api/index/patientsign/'+ orgId + '/'+ this.patient.id).then((res) => {
1381
             axios.get('/api/index/patientsign/'+ orgId + '/'+ this.patient.id).then((res) => {
1373
               console.log('res',res.data)
1382
               console.log('res',res.data)
1374
 
1383
 
1375
             }) 
1384
             }) 
1376
             this.hide()
1385
             this.hide()
1386
+            console.log("hhh23h3h223h23h23h23h2h3")
1377
           }
1387
           }
1378
         })
1388
         })
1379
           } else {
1389
           } else {

+ 50 - 0
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

104
                         </el-form-item>
104
                         </el-form-item>
105
                     </el-col>
105
                     </el-col>
106
 
106
 
107
+                    
108
+
107
 
109
 
108
                     <el-col :span="8"
110
                     <el-col :span="8"
109
                             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">
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
                         </el-form-item>
117
                         </el-form-item>
116
                     </el-col>
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
                    <el-col :span="8" v-if="isShows('带水上机')">
130
                    <el-col :span="8" v-if="isShows('带水上机')">
119
                         <el-form-item label="带水上机:">
131
                         <el-form-item label="带水上机:">
120
                            <el-select v-model="dialysisPrescription.water_machine">
132
                            <el-select v-model="dialysisPrescription.water_machine">
649
                         </el-form-item>
661
                         </el-form-item>
650
                     </el-col>
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
                     <el-col :span="8" v-if="isShows('血浆分离器')">
672
                     <el-col :span="8" v-if="isShows('血浆分离器')">
653
                         <el-form-item label="血浆分离器:">
673
                         <el-form-item label="血浆分离器:">
654
                             <el-input v-model="dialysisPrescription.plasma_separator"
674
                             <el-input v-model="dialysisPrescription.plasma_separator"
1582
           sodium_curve:"",
1602
           sodium_curve:"",
1583
           dialysis_fluid_flow:"",
1603
           dialysis_fluid_flow:"",
1584
           sodium_bicarbonate_flow:"",
1604
           sodium_bicarbonate_flow:"",
1605
+          prescription_water:"",
1606
+          dialysis_strainer:"",
1585
         },
1607
         },
1586
 
1608
 
1587
         anticoagulant: {
1609
         anticoagulant: {
1605
         bloods: [],
1627
         bloods: [],
1606
         irrigations: [],
1628
         irrigations: [],
1607
         dialyzers: [],
1629
         dialyzers: [],
1630
+        dialysisStrainerList:[],
1608
         illnessList: [],
1631
         illnessList: [],
1609
         plasmaSeparatorList: [],
1632
         plasmaSeparatorList: [],
1610
         bilirubinAdsorptionColumn: [],
1633
         bilirubinAdsorptionColumn: [],
1714
             this.InnerDialogProps.selected = this.dialysisPrescription.puncture_needle
1737
             this.InnerDialogProps.selected = this.dialysisPrescription.puncture_needle
1715
             this.InnerDialogProps.isShowTextArea = false
1738
             this.InnerDialogProps.isShowTextArea = false
1716
             break
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
       innerDialogComfirm: function(val) {
1753
       innerDialogComfirm: function(val) {
1791
           case 'puncture_needle':
1825
           case 'puncture_needle':
1792
             this.dialysisPrescription.puncture_needle = val.value.join(',')
1826
             this.dialysisPrescription.puncture_needle = val.value.join(',')
1793
             break
1827
             break
1828
+          case 'dialysis_strainer':
1829
+            this.dialysisPrescription.dialysis_strainer = val.value.join(',')
1830
+            break
1794
         }
1831
         }
1795
       },
1832
       },
1796
       innerDialogCancle: function() {
1833
       innerDialogCancle: function() {
2282
       },
2319
       },
2283
       show(pre, schedual, last, his_is_open,is_advice_open,admins) {
2320
       show(pre, schedual, last, his_is_open,is_advice_open,admins) {
2284
         console.log("pres",pre)
2321
         console.log("pres",pre)
2322
+        console.log("schedual",schedual)
2285
         if (pre != undefined) {
2323
         if (pre != undefined) {
2286
           this.dialysisPrescription.admin_user_id = pre.id == 0 ? this.$store.getters.xt_user.user.id : pre.admin_user_id
2324
           this.dialysisPrescription.admin_user_id = pre.id == 0 ? this.$store.getters.xt_user.user.id : pre.admin_user_id
2287
           if (pre.oxygen_uptake == 1) {
2325
           if (pre.oxygen_uptake == 1) {
4503
         console.log('stockType', this.stockType)
4541
         console.log('stockType', this.stockType)
4504
         var arr = []
4542
         var arr = []
4505
         var arrTwo = []
4543
         var arrTwo = []
4544
+        var arrThree = []
4506
         for (let i = 0; i < this.stockType.length; i++) {
4545
         for (let i = 0; i < this.stockType.length; i++) {
4507
           if (this.stockType[i].stock_attribute == 2) {
4546
           if (this.stockType[i].stock_attribute == 2) {
4508
             arr.push(this.stockType[i])
4547
             arr.push(this.stockType[i])
4510
           if (this.stockType[i].stock_attribute == 3) {
4549
           if (this.stockType[i].stock_attribute == 3) {
4511
             arrTwo.push(this.stockType[i])
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
         var dialyzator = []
4556
         var dialyzator = []
4515
         var irrigation = []
4557
         var irrigation = []
4558
+        var dialysis_strainer = []
4516
         for (let i = 0; i < arr.length; i++) {
4559
         for (let i = 0; i < arr.length; i++) {
4517
           for (let j = 0; j < arr[i].GoodInfo.length; j++) {
4560
           for (let j = 0; j < arr[i].GoodInfo.length; j++) {
4518
             dialyzator.push(arr[i].GoodInfo[j])
4561
             dialyzator.push(arr[i].GoodInfo[j])
4526
           }
4569
           }
4527
         }
4570
         }
4528
         this.irrigations = irrigation
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
       admin_user_id:function(){
4582
       admin_user_id:function(){

+ 1 - 0
src/xt_pages/stock/Dialog/goodTypeDialog.vue View File

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

+ 2 - 2
src/xt_pages/workforce/printOne.vue View File

60
                     <div style="min-height: 80px">
60
                     <div style="min-height: 80px">
61
                       <div class="proj">
61
                       <div class="proj">
62
                         <div class="proj_item">
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
                           </p>
65
                           </p>
66
                         </div>
66
                         </div>
665
           if (this.hiddenFlag) {
665
           if (this.hiddenFlag) {
666
             str += arr[i].name + '&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp '
666
             str += arr[i].name + '&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp '
667
           } else {
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
       }