Browse Source

8月15日

XMLWAN 2 years ago
parent
commit
0f27c084d5

+ 6 - 2
src/xt_pages/dialysis/PatientBox.vue View File

568
             lastPredialysisEvaluation,
568
             lastPredialysisEvaluation,
569
             lastDialysisPrescribe,
569
             lastDialysisPrescribe,
570
             lastDryWeightDislysis,
570
             lastDryWeightDislysis,
571
-            system_prescribe
571
+            system_prescribe,
572
+            resp.data.doctors
572
           );
573
           );
573
 
574
 
574
           var headNurses = resp.data.headNurse;
575
           var headNurses = resp.data.headNurse;
625
           // this.$refs.monitoring.setRecords(this.monitor_records)
626
           // this.$refs.monitoring.setRecords(this.monitor_records)
626
 
627
 
627
           this.admin_users = resp.data.doctors;
628
           this.admin_users = resp.data.doctors;
629
+          this.$refs.prescription.showOne(this.prescription,this.admin_users)
628
           this.devices = resp.data.devices;
630
           this.devices = resp.data.devices;
629
           this.device_numbers = resp.data.device_numbers;
631
           this.device_numbers = resp.data.device_numbers;
630
 
632
 
716
       this.$emit("advice");
718
       this.$emit("advice");
717
     },
719
     },
718
     open(schedual) {
720
     open(schedual) {
721
+      console.log("处方23332233232",this.admin_users)
719
       this.date = schedual.schedule_date;
722
       this.date = schedual.schedule_date;
720
       this.patient_id = schedual.patient_id;
723
       this.patient_id = schedual.patient_id;
721
       this.modedata = 1;
724
       this.modedata = 1;
722
       this.getScheduleDetail();
725
       this.getScheduleDetail();
723
       // this.getLongAdvice()
726
       // this.getLongAdvice()
724
-      this.$refs.prescription.show(this.prescription, schedual);
727
+      this.$refs.prescription.show(this.prescription, schedual,"","","",this.admin_users);
728
+
725
     },
729
     },
726
     open1(schedual) {
730
     open1(schedual) {
727
       this.date = schedual.schedule_date;
731
       this.date = schedual.schedule_date;

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

111
           <label>目标超滤量 : </label>
111
           <label>目标超滤量 : </label>
112
           <span class="content">{{ target_ultrafiltration != "0" ? target_ultrafiltration : ""}}</span>
112
           <span class="content">{{ target_ultrafiltration != "0" ? target_ultrafiltration : ""}}</span>
113
           
113
           
114
-          <span v-if="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.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 != 10395  && this.$store.getters.xt_user.template_info.template_id!=60"  class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
115
-          <span v-if="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.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 == 10395 || this.$store.getters.xt_user.template_info.template_id == 60" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
114
+          <span v-if="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.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 != 10395  && this.$store.getters.xt_user.template_info.template_id!=60  && this.$store.getters.xt_user.template_info.org_id != 10340"  class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
115
+          <span v-if="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.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 == 10395 || this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
116
         </li>
116
         </li>
117
 
117
 
118
          <li v-if="isShow('目标超滤量') && this.$store.getters.xt_user.template_info.org_id == 10290">
118
          <li v-if="isShow('目标超滤量') && this.$store.getters.xt_user.template_info.org_id == 10290">

+ 1 - 1
src/xt_pages/dialysis/details/NavIgation.vue View File

650
       this.$refs.finish_dialog.show(this.dialysis_order);
650
       this.$refs.finish_dialog.show(this.dialysis_order);
651
     },
651
     },
652
     showPrescription: function() {
652
     showPrescription: function() {
653
-      this.$refs.prescription.show(this.prescription,this.schedual,this.last_dialysis_prescribe,this.his_is_open,this.is_advice_open);
653
+      this.$refs.prescription.show(this.prescription,this.schedual,this.last_dialysis_prescribe,this.his_is_open,this.is_advice_open,this.admin_users);
654
     },
654
     },
655
     showAccepts: function() {
655
     showAccepts: function() {
656
       this.$refs.accepts.show(this.receiver_treatment_access);
656
       this.$refs.accepts.show(this.receiver_treatment_access);

+ 252 - 24
src/xt_pages/dialysis/details/consumable/dialysisGood.vue View File

50
       </div>
50
       </div>
51
     </div>
51
     </div>
52
    
52
    
53
-    <div>
53
+    <div v-if="his_config.is_open == 0">
54
       <el-table
54
       <el-table
55
         :data="list"
55
         :data="list"
56
         border
56
         border
107
         </el-table-column>
107
         </el-table-column>
108
 
108
 
109
       </el-table>
109
       </el-table>
110
+
111
+      <el-pagination
112
+        @size-change="handleSizeChange"
113
+        @current-change="handleCurrentChange"
114
+        :page-sizes="[10, 50, 100]"
115
+        :page-size="10"
116
+        background
117
+        align="right"
118
+        style="margin-top:20px;"
119
+        layout="total, sizes, prev, pager, next, jumper"
120
+        :total="total"
121
+      >
122
+      </el-pagination>
110
     </div>
123
     </div>
111
 
124
 
112
-    <el-pagination
113
-      @size-change="handleSizeChange"
114
-      @current-change="handleCurrentChange"
115
-      :page-sizes="[10, 50, 100]"
116
-      :page-size="10"
117
-      background
118
-      align="right"
119
-      style="margin-top:20px;"
120
-      layout="total, sizes, prev, pager, next, jumper"
121
-      :total="total"
122
-    >
123
-    </el-pagination>
125
+   <div v-if="his_config.is_open == 1">
126
+      <el-table
127
+        :data="list"
128
+        border
129
+        :row-style="{ color: '#303133' }"
130
+        :header-cell-style="{
131
+          backgroundColor: 'rgb(245, 247, 250)',
132
+          color: '#606266'
133
+        }"
134
+      >
135
+        <el-table-column
136
+          align="center"
137
+          type="selection"
138
+          width="55">
139
+        </el-table-column>
140
+         <el-table-column  align="center" width="55" label="序号">
141
+           <template slot-scope="scope">
142
+             {{scope.$index + 1}}
143
+           </template>
144
+        </el-table-column>
145
+        <el-table-column  align="center"  width="55" label="透析机号">
146
+         <template slot-scope="scope">
147
+             {{scope.row.device_number.number}}
148
+           </template>
149
+        </el-table-column>
150
+        <el-table-column  align="center"  width="55" label="姓名">
151
+           <template slot-scope="scope">
152
+            {{scope.row.patient.name}}
153
+           </template>
154
+        </el-table-column>
155
+       
156
+        <el-table-column  align="center"  width="55" label="透析号">
157
+           <template slot-scope="scope">
158
+            {{scope.row.patient.dialysis_no}}
159
+           </template>
160
+        </el-table-column>
161
+        
162
+        <el-table-column
163
+          align="center"
164
+          prop="name"
165
+          v-for="(item,index) in typeList"
166
+          :key="item.id"
167
+          :label="item.type_name"
168
+        >
169
+          <template slot-scope="scope">
170
+             {{getStr(scope.row.typeList[index].id,getTypeName(scope.row.his_prescription_template,scope.row.patient_id))}}
171
+          </template>
172
+
173
+        </el-table-column>
174
+
175
+      
176
+
177
+      </el-table>
178
+
179
+      <el-pagination
180
+        @size-change="handleSizeChange"
181
+        @current-change="handleCurrentChange"
182
+        :page-sizes="[10, 50, 100]"
183
+        :page-size="10"
184
+        background
185
+        align="right"
186
+        style="margin-top:20px;"
187
+        layout="total, sizes, prev, pager, next, jumper"
188
+        :total="total"
189
+      >
190
+      </el-pagination>
191
+    </div>
124
 
192
 
125
     
193
     
126
     <el-dialog
194
     <el-dialog
324
         checkedTwentySeven:false,
392
         checkedTwentySeven:false,
325
         checkedTwentyEight:false,
393
         checkedTwentyEight:false,
326
         checkedTwentyNight:false,
394
         checkedTwentyNight:false,
327
-        
395
+        typeList:[],
328
       }
396
       }
329
     },
397
     },
330
     created() {
398
     created() {
360
       this.getlist()
428
       this.getlist()
361
     },
429
     },
362
     methods: {
430
     methods: {
431
+    
363
       exportList(){
432
       exportList(){
364
 
433
 
365
       },
434
       },
370
         getPatientDialysisSolutionGroupList(this.query).then(response=>{
439
         getPatientDialysisSolutionGroupList(this.query).then(response=>{
371
            if(response.data.state == 1){
440
            if(response.data.state == 1){
372
              var list = response.data.data.list
441
              var list = response.data.data.list
442
+           
443
+             var total = response.data.data.total
444
+             this.total = total
445
+             var goodType = response.data.data.goodType
373
              var config = response.data.data.config
446
              var config = response.data.data.config
374
              this.his_config = config
447
              this.his_config = config
375
-           
376
-             if(list!=null){
377
-               for(let i=0;i<list.length;i++){
378
-                 list[i].rowList = []
379
-                 list[i].rowList = this.rowList
448
+
449
+             if(config.is_open !=1){
450
+              if(list!=null){
451
+                for(let i=0;i<list.length;i++){
452
+                  list[i].rowList = []
453
+                  list[i].rowList = this.rowList
454
+                }
455
+              }
456
+              this.list= []
457
+              this.list = list
458
+             }
459
+             if(config.is_open == 1){
460
+               if(list!=null){
461
+                  this.typeList= []
462
+                  for(let i=0;i<goodType.length;i++){
463
+                    if(goodType[i].is_open == 1){
464
+                      this.typeList.push(goodType[i])
465
+                    }
466
+                  }
467
+                for(let i=0;i<list.length;i++){
468
+                  list[i].typeList = []
469
+                  list[i].typeList = this.typeList
470
+                }
471
+              
472
+                 console.log("list列表",list)
473
+                 this.list = list 
380
                }
474
                }
381
              }
475
              }
382
-             this.list= []
383
-             this.list = list
384
-             var total = response.data.data.total
385
-             this.total = total
386
            }
476
            }
387
         })
477
         })
388
       },
478
       },
961
     toSett(){
1051
     toSett(){
962
       GetAllGoodType().then(response=>{
1052
       GetAllGoodType().then(response=>{
963
         if(response.data.state == 1){
1053
         if(response.data.state == 1){
1054
+          this.goodTypeList = []
964
           this.goodTypeList = response.data.data.goodType
1055
           this.goodTypeList = response.data.data.goodType
1056
+
1057
+          console.log("typelist2332233223wo",this.goodTypeList)
1058
+          for(let i=0;i<this.goodTypeList.length;i++){
1059
+            if(i == 0 && this.goodTypeList[i].is_open == 1){
1060
+              this.checkedOne = true
1061
+            }
1062
+            if(i == 1 && this.goodTypeList[i].is_open == 1){
1063
+               this.checkedTwo = true
1064
+            }
1065
+            if(i == 2 && this.goodTypeList[i].is_open == 1){
1066
+               this.checkedThree = true
1067
+            }
1068
+           if(i == 3 && this.goodTypeList[i].is_open == 1){
1069
+               this.checkedFour = true
1070
+            }
1071
+            if(i == 4 && this.goodTypeList[i].is_open == 1){
1072
+              console.log("进来22323")
1073
+               this.checkedFive = true
1074
+            }
1075
+            if(i == 5 && this.goodTypeList[i].is_open == 1){
1076
+               this.checkedSix = true
1077
+            }
1078
+           if(i == 6 && this.goodTypeList[i].is_open == 1){
1079
+               this.checkedSeven= true
1080
+            }
1081
+           if(i == 7 && this.goodTypeList[i].is_open == 1){
1082
+               this.checkedEnight= true
1083
+            }
1084
+            if(i == 8 && this.goodTypeList[i].is_open == 1){
1085
+               this.checkedNight= true
1086
+            }
1087
+            if(i == 9 && this.goodTypeList[i].is_open == 1){
1088
+               this.checkedTen= true
1089
+            }
1090
+            if(i == 10 && this.goodTypeList[i].is_open == 1){
1091
+               this.checkedEleven= true
1092
+            }
1093
+            if(i == 11 && this.goodTypeList[i].is_open == 1){
1094
+               this.checkedTwenty= true
1095
+            }
1096
+            if(i == 12 && this.goodTypeList[i].is_open == 1){
1097
+               this.checkedTwentyOne= true
1098
+            }
1099
+            if(i == 13 && this.goodTypeList[i].is_open == 1){
1100
+               this.checkedTwentyTwo= true
1101
+            }
1102
+           if(i == 14 && this.goodTypeList[i].is_open == 1){
1103
+               this.checkedTwentyThree= true
1104
+            }
1105
+           if(i == 15 && this.goodTypeList[i].is_open == 1){
1106
+               this.checkedTwentyFour= true
1107
+            }
1108
+            if(i == 16 && this.goodTypeList[i].is_open == 1){
1109
+               this.checkedTwentyFive= true
1110
+            }
1111
+            if(i == 17 && this.goodTypeList[i].is_open == 1){
1112
+               this.checkedTwentySix= true
1113
+            }
1114
+            if(i == 18 && this.goodTypeList[i].is_open == 1){
1115
+               this.checkedTwentySeven= true
1116
+            }
1117
+            if(i == 19 && this.goodTypeList[i].is_open == 1){
1118
+               this.checkedTwentyEight= true
1119
+            }
1120
+            if(i == 20 && this.goodTypeList[i].is_open == 1){
1121
+               this.checkedTwentyNight= true
1122
+            }
1123
+           
1124
+          }
965
           this.startDialogVisibleOne = true
1125
           this.startDialogVisibleOne = true
966
         }
1126
         }
967
       }) 
1127
       }) 
1220
          arr.push(this.goodTypeList[i].id)
1380
          arr.push(this.goodTypeList[i].id)
1221
         }
1381
         }
1222
       }
1382
       }
1383
+
1223
       var params = {
1384
       var params = {
1224
-        ids:arr,
1385
+        ids:arr.join(","),
1225
       }
1386
       }
1387
+      console.log("params23322322332",params)
1226
       saveHisDialysis(params).then(response=>{
1388
       saveHisDialysis(params).then(response=>{
1227
         if(response.data.state == 1){
1389
         if(response.data.state == 1){
1228
            var msg = response.data.data.msg
1390
            var msg = response.data.data.msg
1391
+           this.$message.success("保存成功!")
1229
            this.startDialogVisibleOne = false
1392
            this.startDialogVisibleOne = false
1393
+           this.getlist()
1230
         }
1394
         }
1231
       })
1395
       })
1232
     
1396
     
1397
+    },
1398
+    getTypeName(val,patient_id){
1399
+   
1400
+    var str = ""
1401
+    var arrNew = []
1402
+     if(val.project!=null){
1403
+      if(val.patient_id == patient_id){
1404
+        var arr = []
1405
+        if(val.project!=null){
1406
+        for(let i=0;i<val.project.length;i++){
1407
+            arr.push(val.project[i])
1408
+         }  
1409
+         for(let i=0;i<arr.length;i++){
1410
+           arr[i].good_type_id = 0
1411
+           arr[i].good_type_id = arr[i].good_info.good_type_id
1412
+         }
1413
+
1414
+        let dataInfo = {}
1415
+         arr.forEach((item, index) => {
1416
+          let { good_type_id } = item
1417
+          if (!dataInfo[good_type_id]) {
1418
+            dataInfo[good_type_id] = {
1419
+              good_type_id:item.good_type_id,
1420
+              child: [],
1421
+              count:0,
1422
+              specification_name:item.good_info.specification_name,
1423
+            }
1424
+          }
1425
+        })
1426
+        let newArr = Object.values(dataInfo)
1427
+
1428
+         for(let i=0;i<newArr.length;i++){
1429
+           for(let j=0;j<arr.length;j++){
1430
+            if(newArr[i].good_type_id == arr[j].good_type_id){
1431
+               newArr[i].child.push(arr[j])
1432
+            }
1433
+           }
1434
+         }
1435
+       
1436
+         if(newArr!=null && newArr.length > 0){
1437
+          for(let i=0;i<newArr.length;i++){
1438
+           for(let j=0;j<newArr[i].child.length;j++){
1439
+              newArr[i].count += parseInt(newArr[i].child[j].count)
1440
+           }
1441
+          }
1442
+         }
1443
+         
1444
+          if(newArr!=null && newArr.length >0){
1445
+            for(let i=0;i<newArr.length;i++){
1446
+              arrNew.push(newArr[i])
1447
+            }
1448
+          }
1449
+      
1450
+        }
1451
+      }
1452
+     
1453
+      return arrNew
1454
+     
1455
+     }
1456
+   
1457
+    },
1458
+    getStr(good_type_id,arrNew){
1459
+     console.log("good_type_id",good_type_id)
1460
+     console.log("arrNew",arrNew)
1233
     }
1461
     }
1234
    }
1462
    }
1235
   }
1463
   }

+ 31 - 3
src/xt_pages/dialysis/details/dialog/computer_dialog.vue View File

65
           <el-input type="number" v-model="form.blood_drawing" style="width:200px;"></el-input>
65
           <el-input type="number" v-model="form.blood_drawing" style="width:200px;"></el-input>
66
         </el-form-item>
66
         </el-form-item>
67
 
67
 
68
+       
69
+        <!-- <el-col :span="8" v-if="isShows('穿刺针')">
70
+            <el-form-item label="穿刺针">
71
+                <el-input v-model="form.puncture_needle"
72
+                          @focus="showInnerDialog('11')"></el-input>
73
+            </el-form-item>
74
+        </el-col> -->
75
+
68
         <el-form-item label="上机时间 :" style="width:300px"  v-if="isShowFiled('上机时间')">
76
         <el-form-item label="上机时间 :" style="width:300px"  v-if="isShowFiled('上机时间')">
69
           <el-date-picker
77
           <el-date-picker
70
             type="datetime"
78
             type="datetime"
75
             style="width:100%;"
83
             style="width:100%;"
76
           ></el-date-picker>
84
           ></el-date-picker>
77
         </el-form-item>
85
         </el-form-item>
86
+
78
         <el-form-item>
87
         <el-form-item>
79
           <el-button v-if="dialysis_order.id == 0" @click="submit" type="primary" :loading="loading">执行上机</el-button>
88
           <el-button v-if="dialysis_order.id == 0" @click="submit" type="primary" :loading="loading">执行上机</el-button>
80
           <el-button v-else type="info" :disabled="true">已上机</el-button>
89
           <el-button v-else type="info" :disabled="true">已上机</el-button>
93
 <script>
102
 <script>
94
   import axios from 'axios'
103
   import axios from 'axios'
95
   import { GetSchedualNumber, PostModifyStartDialysis, startDialysis } from '@/api/dialysis_record'
104
   import { GetSchedualNumber, PostModifyStartDialysis, startDialysis } from '@/api/dialysis_record'
105
+  import { getDataConfig } from '@/utils/data'
96
   import { parseTime } from '@/utils'
106
   import { parseTime } from '@/utils'
97
   import store from '@/store'
107
   import store from '@/store'
98
 
108
 
123
           difficult_puncture_nurse:"",
133
           difficult_puncture_nurse:"",
124
           new_fistula_nurse:"",
134
           new_fistula_nurse:"",
125
           quality_nurse_id:"",
135
           quality_nurse_id:"",
136
+          puncture_needle:"",
126
         },
137
         },
127
         schedual_type: 0,
138
         schedual_type: 0,
128
         schedules_type: [
139
         schedules_type: [
132
         ], // 该排班的区里的床位
143
         ], // 该排班的区里的床位
133
         isPremission: false,
144
         isPremission: false,
134
         adminRoles:[{id:0,name:"请选择"}],
145
         adminRoles:[{id:0,name:"请选择"}],
135
-        org_id:0
146
+        org_id:0,
147
+        punctureNeedleOptions:[]
136
       }
148
       }
137
     },
149
     },
138
     props: {
150
     props: {
186
       if(this.form.new_fistula_nurse == 0){
198
       if(this.form.new_fistula_nurse == 0){
187
         this.form.new_fistula_nurse = this.$store.getters.xt_user.user.id
199
         this.form.new_fistula_nurse = this.$store.getters.xt_user.user.id
188
       }
200
       }
201
+      this.punctureNeedleOptions = getDataConfig('hemodialysis', 'puncture_needle')
189
     },
202
     },
190
     watch: {
203
     watch: {
191
       patient:{
204
       patient:{
474
             }
487
             }
475
           }
488
           }
476
         })
489
         })
477
-      }
478
-
490
+      },
491
+      showInnerDialog: function(val) {
492
+        this.InnerDialogProps.visibility = true
493
+        switch (val) {
494
+          case '11': //穿刺针
495
+
496
+            this.InnerDialogProps.values = this.punctureNeedleOptions
497
+            this.InnerDialogProps.titles = '穿刺针'
498
+            this.InnerDialogProps.type = 'puncture_needle'
499
+            this.InnerDialogProps.selected = this.form.puncture_needle
500
+            this.InnerDialogProps.isShowTextArea = false
501
+            break
502
+        }
503
+      },
504
+      innerDialogCancle: function() {
505
+        this.InnerDialogProps.visibility = false
506
+      },
479
     }
507
     }
480
   }
508
   }
481
 </script>
509
 </script>

+ 58 - 9
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

82
                     </el-col>
82
                     </el-col>
83
 
83
 
84
                     <el-col :span="8"
84
                     <el-col :span="8"
85
-                            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)">
85
+                            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)">
86
                         <el-form-item label="目标超滤量(ml):">
86
                         <el-form-item label="目标超滤量(ml):">
87
                             <el-input
87
                             <el-input
88
                                     type="number"
88
                                     type="number"
93
 
93
 
94
 
94
 
95
                     <el-col :span="8"
95
                     <el-col :span="8"
96
-                            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">
96
+                            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">
97
                         <el-form-item label="目标超滤量(L):">
97
                         <el-form-item label="目标超滤量(L):">
98
                             <el-input
98
                             <el-input
99
                                     type="number"
99
                                     type="number"
856
                     </el-col>
856
                     </el-col>
857
 
857
 
858
 
858
 
859
+                    <el-col :span="8" v-if="isShows('处方医生')">
860
+                        <el-form-item label="处方医生">
861
+                            <el-select  v-model="dialysisPrescription.admin_user_id"  placeholder="请选择" style="width:100%;">
862
+                               <el-option v-for="(admin, index) in adminRoles" :key="index" :value="admin.id" :label="admin.name"></el-option>
863
+                            </el-select>
864
+                        </el-form-item>
865
+                    </el-col>
866
+
867
+
859
                 </el-row>
868
                 </el-row>
860
 
869
 
861
 
870
 
1228
         default: () => {
1237
         default: () => {
1229
           return { id: 0 }
1238
           return { id: 0 }
1230
         }
1239
         }
1231
-      }
1240
+      },
1241
+      admins: {
1242
+        type: Array
1243
+      },
1232
     },
1244
     },
1233
     computed: {
1245
     computed: {
1234
       dialysis_date: function() {
1246
       dialysis_date: function() {
1375
           punctureNeedleOptions: [],
1387
           punctureNeedleOptions: [],
1376
           epoOptions: [],
1388
           epoOptions: [],
1377
           impulse:0,
1389
           impulse:0,
1390
+          admin_user_id:"",
1378
         },
1391
         },
1379
 
1392
 
1380
         anticoagulant: {
1393
         anticoagulant: {
1408
         oxygenShow: false,
1421
         oxygenShow: false,
1409
         hemodialysisPipelinesOptions: [],
1422
         hemodialysisPipelinesOptions: [],
1410
         epoOptions: [],
1423
         epoOptions: [],
1411
-        isLoading: false
1424
+        isLoading: false,
1425
+        adminRoles:[{id:0,name:"请选择"}],
1412
       }
1426
       }
1413
     },
1427
     },
1414
     methods: {
1428
     methods: {
1989
       getTime(val) {
2003
       getTime(val) {
1990
         return uParseTime(val, '{y}-{m}-{d} {h}:{i}')
2004
         return uParseTime(val, '{y}-{m}-{d} {h}:{i}')
1991
       },
2005
       },
1992
-      show(pre, schedual, last, his_is_open,is_advice_open) {
2006
+      showOne(prescription,admins){
2007
+       console.log("prescription",prescription)
2008
+       if(prescription!=null && prescription.id == 0){
2009
+         console.log("开始啊",admins)
2010
+         this.dialysisPrescription.admin_user_id = this.$store.getters.xt_user.user.id
2011
+       }else{
2012
+          this.dialysisPrescription.admin_user_id = prescription.admin_user_id
2013
+       }
2014
+      
2015
+       this.adminRoles = []
2016
+        if(admins.length > 0 ){
2017
+          for(let i=0;i<admins.length;i++){
2018
+            this.adminRoles.push(admins[i])
2019
+          }
2020
+        }
2021
+        console.log("admin_user_+id2332323223332", this.$store.getters.xt_user.user.id)
2022
+      },
2023
+      show(pre, schedual, last, his_is_open,is_advice_open,admins) {
1993
 
2024
 
1994
         if (pre != undefined) {
2025
         if (pre != undefined) {
2026
+          this.dialysisPrescription.admin_user_id = pre.id == 0 ? this.$store.getters.xt_user.user.id : pre.admin_user_id
1995
           if (pre.oxygen_uptake == 1) {
2027
           if (pre.oxygen_uptake == 1) {
1996
             this.oxygenShow = true
2028
             this.oxygenShow = true
1997
           }
2029
           }
2185
             this.checkedCities.push(this.targetAdvices[i].id)
2217
             this.checkedCities.push(this.targetAdvices[i].id)
2186
           }
2218
           }
2187
         }
2219
         }
2220
+        if(admins.length > 0 ){
2221
+          for(let i=0;i<admins.length;i++){
2222
+            this.adminRoles.push(admins[i])
2223
+          }
2224
+        }
2225
+        console.log("admin_user_+id2332323223332", this.adminRoles)
2188
       },
2226
       },
2189
       hide() {
2227
       hide() {
2190
         this.isVisibility = false
2228
         this.isVisibility = false
4018
           }
4056
           }
4019
         }
4057
         }
4020
         this.irrigations = irrigation
4058
         this.irrigations = irrigation
4021
-        console.log('透析器', this.dialyzers)
4022
-        console.log('灌流器', this.irrigations)
4059
+       
4023
       },
4060
       },
4024
-   
4061
+      
4062
+      admin_user_id:function(){
4063
+        console.log("处方医生",this.admins)
4064
+        if(this.admins.length > 0 ){
4065
+          for(let i=0;i<this.admins.length;i++){
4066
+            this.adminRoles.push(this.admins[i])
4067
+          }
4068
+        }
4069
+        console.log(" 人员",this.adminRoles)
4070
+      }
4025
     },
4071
     },
4026
     created() {
4072
     created() {
4027
-      console.log("schedual232323323232323232",this.schedual)
4073
+      console.log("schedual232323323232323232",this.adminRoles)
4028
       this.illnessList = getDataConfig('hemodialysis', 'illness')
4074
       this.illnessList = getDataConfig('hemodialysis', 'illness')
4029
 
4075
 
4030
       this.plasmaSeparatorList = getDataConfig('hemodialysis', 'plasma_separator')
4076
       this.plasmaSeparatorList = getDataConfig('hemodialysis', 'plasma_separator')
4031
 
4077
 
4032
       this.bilirubinAdsorptionColumn = getDataConfig('hemodialysis', 'bilirubin_adsorption_column')
4078
       this.bilirubinAdsorptionColumn = getDataConfig('hemodialysis', 'bilirubin_adsorption_column')
4033
 
4079
 
4080
+      
4081
+
4082
+
4034
     }
4083
     }
4035
   }
4084
   }
4036
 </script>
4085
 </script>

+ 36 - 22
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

165
               {{
165
               {{
166
                 scope.row.transmembrane_pressure
166
                 scope.row.transmembrane_pressure
167
                   ? scope.row.transmembrane_pressure
167
                   ? scope.row.transmembrane_pressure
168
-                  : ""
168
+                  : "/"
169
               }}
169
               }}
170
             </template>
170
             </template>
171
           </el-table-column>
171
           </el-table-column>
185
               {{
185
               {{
186
                 scope.row.transmembrane_pressure
186
                 scope.row.transmembrane_pressure
187
                   ? scope.row.transmembrane_pressure
187
                   ? scope.row.transmembrane_pressure
188
-                  : ""
188
+                  : "/"
189
               }}
189
               }}
190
             </template>
190
             </template>
191
           </el-table-column>
191
           </el-table-column>
234
                 template_id == 53 ||
234
                 template_id == 53 ||
235
                 template_id == 54 ||
235
                 template_id == 54 ||
236
                 template_id == 56 ||
236
                 template_id == 56 ||
237
+                template_id == 60 ||
237
                 org_id == 10210 ||
238
                 org_id == 10210 ||
238
                 org_id == 9555)
239
                 org_id == 9555)
239
             "
240
             "
289
               template_id != 53 &&
290
               template_id != 53 &&
290
               template_id != 54 &&
291
               template_id != 54 &&
291
               template_id != 56 &&
292
               template_id != 56 &&
293
+              template_id != 60 &&
292
               org_id!= 10210 &&
294
               org_id!= 10210 &&
293
               org_id != 9555
295
               org_id != 9555
294
             "
296
             "
337
                 template_id == 53 ||
339
                 template_id == 53 ||
338
                 template_id == 54 ||
340
                 template_id == 54 ||
339
                 template_id == 56 ||
341
                 template_id == 56 ||
340
-                template_id == 47)
342
+                template_id == 47 ||
343
+                template_id == 60)
341
             "
344
             "
342
           >
345
           >
343
             <template slot-scope="scope">
346
             <template slot-scope="scope">
383
               template_id != 54 &&
386
               template_id != 54 &&
384
               template_id != 56 &&
387
               template_id != 56 &&
385
               template_id != 48 &&
388
               template_id != 48 &&
386
-              template_id != 47
389
+              template_id != 47 &&
390
+              template_id != 60
387
             "
391
             "
388
           >
392
           >
389
             <template slot-scope="scope">
393
             <template slot-scope="scope">
1025
                 template_id == 53 ||
1029
                 template_id == 53 ||
1026
                 template_id == 54 ||
1030
                 template_id == 54 ||
1027
                 template_id == 56 ||
1031
                 template_id == 56 ||
1028
-                template_id == 47)
1032
+                template_id == 47 ||
1033
+                template_id == 60)
1029
             "
1034
             "
1030
           >
1035
           >
1031
             <el-form-item label="超滤率(ml/h)">
1036
             <el-form-item label="超滤率(ml/h)">
1064
               template_id != 53 &&
1069
               template_id != 53 &&
1065
               template_id != 54 &&
1070
               template_id != 54 &&
1066
               template_id != 56 &&
1071
               template_id != 56 &&
1067
-              template_id != 47
1072
+              template_id != 47 &&
1073
+              template_id != 60
1068
             "
1074
             "
1069
           >
1075
           >
1070
             <el-form-item label="超滤率(L/h)">
1076
             <el-form-item label="超滤率(L/h)">
1110
                 template_id == 53 ||
1116
                 template_id == 53 ||
1111
                 template_id == 54 ||
1117
                 template_id == 54 ||
1112
                 template_id == 56 ||
1118
                 template_id == 56 ||
1119
+                template_id == 60 ||
1113
                 org_id == 10210 ||
1120
                 org_id == 10210 ||
1114
                 org_id == 9555)
1121
                 org_id == 9555)
1115
             "
1122
             "
1157
               template_id == 53 &&
1164
               template_id == 53 &&
1158
               template_id == 54 &&
1165
               template_id == 54 &&
1159
               template_id == 56 &&
1166
               template_id == 56 &&
1167
+              template_id == 60 &&
1160
               org_id !=  10210 &&
1168
               org_id !=  10210 &&
1161
               org_id != 9555
1169
               org_id != 9555
1162
             "
1170
             "
1605
         venous_pressure_type: 1, // 静脉压
1613
         venous_pressure_type: 1, // 静脉压
1606
         transmembrane_pressure: "", // 跨膜压
1614
         transmembrane_pressure: "", // 跨膜压
1607
         transmembrane_pressure_type: 1, // 跨膜压
1615
         transmembrane_pressure_type: 1, // 跨膜压
1608
-        ultrafiltration_volume: "", // 超滤量
1616
+        ultrafiltration_volume: "", // c
1609
         ultrafiltration_rate: "", // 超滤率
1617
         ultrafiltration_rate: "", // 超滤率
1610
         arterial_pressure: "", // 动脉压
1618
         arterial_pressure: "", // 动脉压
1611
         arterial_pressure_type: 1, // 动脉压
1619
         arterial_pressure_type: 1, // 动脉压
1691
       "blood_pressure_monitoring_site"
1699
       "blood_pressure_monitoring_site"
1692
     );
1700
     );
1693
     this.complicationList = getDataConfig("hemodialysis", "complication");
1701
     this.complicationList = getDataConfig("hemodialysis", "complication");
1702
+
1703
+   
1694
   },
1704
   },
1695
   methods: {
1705
   methods: {
1696
     venousPressureChange(type) {
1706
     venousPressureChange(type) {
1826
         this.form.operate_time = resp.monitor.operate_time
1836
         this.form.operate_time = resp.monitor.operate_time
1827
           ? (resp.monitor.operate_time + 3600) * 1000
1837
           ? (resp.monitor.operate_time + 3600) * 1000
1828
           : Date.parse(new Date());
1838
           : Date.parse(new Date());
1829
-        this.form.temperature = ""; // this.last_monitor_record.pulse_frequency;
1839
+
1840
+      
1841
+        this.form.temperature = ""
1830
 
1842
 
1831
         this.form.pulse_frequency = ""; // this.last_monitor_record.pulse_frequency;
1843
         this.form.pulse_frequency = ""; // this.last_monitor_record.pulse_frequency;
1832
         // this.form.breathing_rated =  resp.monitor.breathing_rated ? resp.monitor.breathing_rated : '';
1844
         // this.form.breathing_rated =  resp.monitor.breathing_rated ? resp.monitor.breathing_rated : '';
1836
           ? resp.monitor.blood_flow_volume
1848
           ? resp.monitor.blood_flow_volume
1837
           : "";
1849
           : "";
1838
         // 静脉压
1850
         // 静脉压
1839
-        if (this.org_id == 10060) {
1851
+        if (this.org_id == 10060 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340) {
1840
           this.form.venous_pressure = resp.monitor.venous_pressure;
1852
           this.form.venous_pressure = resp.monitor.venous_pressure;
1841
         } else {
1853
         } else {
1842
           this.form.venous_pressure = ""; // this.last_monitor_record.venous_pressure;
1854
           this.form.venous_pressure = ""; // this.last_monitor_record.venous_pressure;
1843
         }
1855
         }
1844
 
1856
 
1845
-        this.form.venous_pressure_type = resp.monitor.venous_pressure_type
1846
-          ? resp.monitor.venous_pressure_type
1847
-          : 1;
1857
+        this.form.venous_pressure_type = resp.monitor.venous_pressure_type? resp.monitor.venous_pressure_type: 1;
1848
         this.form.arterial_pressure = resp.monitor.arterial_pressure
1858
         this.form.arterial_pressure = resp.monitor.arterial_pressure
1849
           ? resp.monitor.arterial_pressure
1859
           ? resp.monitor.arterial_pressure
1850
           : ""; // this.last_monitor_record.arterial_pressure;
1860
           : ""; // this.last_monitor_record.arterial_pressure;
1851
         this.form.arterial_pressure_type = resp.monitor.arterial_pressure_type
1861
         this.form.arterial_pressure_type = resp.monitor.arterial_pressure_type
1852
           ? resp.monitor.arterial_pressure_type
1862
           ? resp.monitor.arterial_pressure_type
1853
           : 1;
1863
           : 1;
1854
-        if (this.org_id == 10060) {
1855
-          this.form.transmembrane_pressure =
1856
-            resp.monitor.transmembrane_pressure;
1864
+        if (this.org_id == 10060 || this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340) {
1865
+          this.form.transmembrane_pressure = resp.monitor.transmembrane_pressure;
1857
         } else {
1866
         } else {
1858
           this.form.transmembrane_pressure = ""; // this.last_monitor_record.transmembrane_pressure;
1867
           this.form.transmembrane_pressure = ""; // this.last_monitor_record.transmembrane_pressure;
1859
         }
1868
         }
1860
         if (this.org_id == 10318 || this.org_id == 9671) {
1869
         if (this.org_id == 10318 || this.org_id == 9671) {
1861
-          console.log("23323232323223", resp.monitor.breathing_rate);
1870
+         
1862
           this.form.breathing_rated = resp.monitor.breathing_rate;
1871
           this.form.breathing_rated = resp.monitor.breathing_rate;
1863
         } else {
1872
         } else {
1864
           this.form.breathing_rated = "";
1873
           this.form.breathing_rated = "";
1879
         this.form.dialysate_temperature = resp.monitor.dialysate_temperature
1888
         this.form.dialysate_temperature = resp.monitor.dialysate_temperature
1880
           ? resp.monitor.dialysate_temperature
1889
           ? resp.monitor.dialysate_temperature
1881
           : "";
1890
           : "";
1882
-        this.form.temperature = resp.monitor.temperature
1883
-          ? resp.monitor.temperature
1884
-          : "";
1891
+        
1892
+         if(this.org_id == 9675 || this.org_id == 9671 || this.org_id == 10340){
1893
+            this.form.temperature = "36.5"
1894
+         }else{
1895
+           this.form.temperature = resp.monitor.temperature ? resp.monitor.temperature: "";
1896
+         }
1885
         this.form.replacement_rate = resp.monitor.replacement_rate
1897
         this.form.replacement_rate = resp.monitor.replacement_rate
1886
           ? resp.monitor.replacement_rate
1898
           ? resp.monitor.replacement_rate
1887
           : "";
1899
           : "";
1901
         this.form.symptom = resp.monitor.symptom ? resp.monitor.symptom : ""; // this.last_monitor_record.symptom;
1913
         this.form.symptom = resp.monitor.symptom ? resp.monitor.symptom : ""; // this.last_monitor_record.symptom;
1902
        // this.form.dispose = resp.monitor.dispose ? resp.monitor.dispose : ""; // this.last_monitor_record.dispose;
1914
        // this.form.dispose = resp.monitor.dispose ? resp.monitor.dispose : ""; // this.last_monitor_record.dispose;
1903
         this.form.result = resp.monitor.result ? resp.monitor.result : ""; // this.last_monitor_record.result;
1915
         this.form.result = resp.monitor.result ? resp.monitor.result : ""; // this.last_monitor_record.result;
1904
-        this.form.blood_oxygen_saturation = resp.monitor.blood_oxygen_saturation
1905
-          ? resp.monitor.blood_oxygen_saturation
1906
-          : "";
1916
+        this.form.blood_oxygen_saturation = resp.monitor.blood_oxygen_saturation? resp.monitor.blood_oxygen_saturation: "";
1917
+       //针对长沙南雅医院
1918
+       if(this.org_id == 9671 || this.org_id == 10340 || this.org_id == 9675){
1919
+          this.form.blood_oxygen_saturation = "/"
1920
+        }
1907
         this.form.urr = resp.monitor.urr ? resp.monitor.urr : "";
1921
         this.form.urr = resp.monitor.urr ? resp.monitor.urr : "";
1908
         this.form.blood_sugar = resp.monitor.blood_sugar
1922
         this.form.blood_sugar = resp.monitor.blood_sugar
1909
           ? resp.monitor.blood_sugar
1923
           ? resp.monitor.blood_sugar

+ 4 - 4
src/xt_pages/dialysis/details/dialysisMonitoring.vue View File

14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
17
-          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54 || template_id == 56)" width="76px" > 超滤量(ml)</th>
18
-          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && template_id != 53  && template_id != 54  && template_id != 56 && this.$store.getters.xt_user.template_info.org_id != 9555"  width="76px"> 超滤量(L) </th>
19
-          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56)" width="50px"> 超滤率 <br />(ml/h) </th>
20
-          <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53 &&  template_id !=54 &&  template_id !=56" width="50px"> 超滤率 <br />(L/h) </th>
17
+          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60)" width="76px" > 超滤量(ml)</th>
18
+          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && template_id != 53  && template_id != 54  && template_id != 56  && template_id != 60 && this.$store.getters.xt_user.template_info.org_id != 9555"  width="76px"> 超滤量(L) </th>
19
+          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56  || template_id == 60)" width="50px"> 超滤率 <br />(ml/h) </th>
20
+          <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53 &&  template_id !=54 &&  template_id !=56 &&  template_id !=60" width="50px"> 超滤率 <br />(L/h) </th>
21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
22
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
22
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
23
           <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46  || template_id == 48 || template_id == 53  || template_id == 54 || template_id == 56) " width="92px" > 置换率(ml/min) </th>
23
           <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46  || template_id == 48 || template_id == 53  || template_id == 54 || template_id == 56) " width="92px" > 置换率(ml/min) </th>

+ 4 - 4
src/xt_pages/stock/detail/stockOutDetail.vue View File

165
       <el-pagination
165
       <el-pagination
166
         @size-change="handleSizeChange"
166
         @size-change="handleSizeChange"
167
         @current-change="handleCurrentChange"
167
         @current-change="handleCurrentChange"
168
-        :page-sizes="[10, 50, 100,1000,1500,3000]"
168
+        :page-sizes="[10, 50, 100,1000,1500,3000,5000]"
169
         :page-size="10"
169
         :page-size="10"
170
         background
170
         background
171
         style="margin-top:20px;float: right"
171
         style="margin-top:20px;float: right"
806
           this.tableOut[i].total_price = (this.getStockCount(this.tableOut[i].good_id) * this.tableOut[i].retail_price).toFixed(2)
806
           this.tableOut[i].total_price = (this.getStockCount(this.tableOut[i].good_id) * this.tableOut[i].retail_price).toFixed(2)
807
         }
807
         }
808
 
808
 
809
-        if(this.orgId  == 10265 || this.orgId ==10215){
809
+        if(this.orgId  == 10265 || this.orgId ==10215 || this.orgId == 9919 || this.orgId == 9671){
810
 
810
 
811
          this.tableOut[i].out_count = this.getMySelfCount(this.tableOut[i].good_id)
811
          this.tableOut[i].out_count = this.getMySelfCount(this.tableOut[i].good_id)
812
         }
812
         }
813
-        if(this.orgId == 10210 || this.orgId == 9675 || this.orgId == 9679 || this.orgId == 10210 || this.orgId == 9956 || this.orgId == 10217 || this.orgId == 10188 || this.orgId == 10191){
813
+        if(this.orgId == 10210 || this.orgId == 9675 || this.orgId == 9679 || this.orgId == 9956 || this.orgId == 10217 || this.orgId == 10188 || this.orgId == 10191){
814
           this.tableOut[i].out_count = this.getWarehouseOut(this.tableOut[i].good_id)
814
           this.tableOut[i].out_count = this.getWarehouseOut(this.tableOut[i].good_id)
815
           console.log("out_count232233232332",this.tableOut[i].out_count)
815
           console.log("out_count232233232332",this.tableOut[i].out_count)
816
         }
816
         }
817
-        if(this.orgId!=10265 && this.orgId !=10215  && this.orgId == 9679 &&this.orgId!=10210&&this.orgId!=9675 && this.orgId!=9956&& this.orgId!=10217 && this.orgId!=10188 && this.orgId!=10191){
817
+        if(this.orgId!=10265 && this.orgId !=10215  && this.orgId != 9671 &&this.orgId!=10210&&this.orgId!=9675 && this.orgId!=9956&& this.orgId!=10217 && this.orgId!=10188 && this.orgId!=10191 && this.orgId!=9919){
818
           this.tableOut[i].out_count = this.getStockCount(this.tableOut[i].good_id)
818
           this.tableOut[i].out_count = this.getStockCount(this.tableOut[i].good_id)
819
         }
819
         }
820
        }
820
        }