Browse Source

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

yq1 1 year ago
parent
commit
46206115cb

+ 3 - 2
src/api/dialysis_record.js View File

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

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

170
         </li> -->
170
         </li> -->
171
 
171
 
172
 
172
 
173
-        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597">
173
+        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597 && this.$store.getters.xt_user.template_info.org_id != 10571  && this.$store.getters.xt_user.template_info.org_id != 10612">
174
           <label>处方脱水量 : </label>
174
           <label>处方脱水量 : </label>
175
           <span class="content">{{ prescription_water != "0" ? prescription_water : "" }}</span>
175
           <span class="content">{{ prescription_water != "0" ? prescription_water : "" }}</span>
176
           <span class="unit">{{ prescription_water != "0" ? "ml" : "" }}</span>
176
           <span class="unit">{{ prescription_water != "0" ? "ml" : "" }}</span>
177
         </li>
177
         </li>
178
 
178
 
179
-        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597">
179
+        <li v-if="isShow('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597 ||  this.$store.getters.xt_user.template_info.org_id == 10571 || this.$store.getters.xt_user.template_info.org_id == 10612  ">
180
           <label>处方脱水量 : </label>
180
           <label>处方脱水量 : </label>
181
           <span class="content">{{ prescription_water != "0" ? prescription_water : "" }}</span>
181
           <span class="content">{{ prescription_water != "0" ? prescription_water : "" }}</span>
182
           <span class="unit">{{ prescription_water != "0" ? "L" : "" }}</span>
182
           <span class="unit">{{ prescription_water != "0" ? "L" : "" }}</span>
310
           <span class="unit">{{ dialysate_flow != "0" ? "ml/min" : "" }}</span>
310
           <span class="unit">{{ dialysate_flow != "0" ? "ml/min" : "" }}</span>
311
         </li>
311
         </li>
312
 
312
 
313
+        <li v-if="isShow('透析液')">
314
+          <label>透析液 : </label>
315
+          <span class="content">{{
316
+            dialyzate != "0" ? dialyzate : ""
317
+          }}</span>
318
+          <span class="unit">{{ dialyzate != "0" ? "ml/min" : "" }}</span>
319
+        </li>
320
+
313
         <li v-if="isShow('维持') && getValueStr('anticoagulant', 'anticoagulant') != 5">
321
         <li v-if="isShow('维持') && getValueStr('anticoagulant', 'anticoagulant') != 5">
314
           <label>维持 : </label>
322
           <label>维持 : </label>
315
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{ anticoagulant_weichi != "0" ? anticoagulant_weichi : "" }}</span>
323
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{ anticoagulant_weichi != "0" ? anticoagulant_weichi : "" }}</span>
762
       var v = this.getValueStr('blood_flow_volume', 'blood_flow_volume')
770
       var v = this.getValueStr('blood_flow_volume', 'blood_flow_volume')
763
       return v.length == 0 ? '0' : v
771
       return v.length == 0 ? '0' : v
764
     },
772
     },
773
+    dialyzate:function(){
774
+      var v = this.getValueStr('dialyzate', 'dialyzate')
775
+      return v.length == 0 ? '0' : v
776
+    },
765
     replacement_way: function() {
777
     replacement_way: function() {
766
       return this.getValueStr('replacement_way', 'replacement_way')
778
       return this.getValueStr('replacement_way', 'replacement_way')
767
     },
779
     },

+ 5 - 0
src/xt_pages/dialysis/details/assessmentAfter.vue View File

333
           <label>输液量(ml): </label>
333
           <label>输液量(ml): </label>
334
           <span class="content" >{{ this.record.transfusion_volume}}</span>
334
           <span class="content" >{{ this.record.transfusion_volume}}</span>
335
         </li>
335
         </li>
336
+
337
+        <li v-if="isShow('灌流器凝血')">
338
+          <label>灌流器凝血: </label>
339
+          <span class="content" >{{ this.record.condenser}}</span>
340
+        </li>
336
       </ul>
341
       </ul>
337
     </div>
342
     </div>
338
     <!-- <div class="note">
343
     <!-- <div class="note">

+ 24 - 2
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue View File

203
             </el-form-item>
203
             </el-form-item>
204
           </el-col>
204
           </el-col>
205
 
205
 
206
+          <el-col :span="8" v-if="isShow('灌流器凝血')">
207
+            <el-form-item label="灌流器凝血: " :prop="isName('灌流器凝血')" :rules="isCheckmust('灌流器凝血')">
208
+              <el-input
209
+                v-model="form.condenser "
210
+                readonly
211
+                @focus="showDialog('11')"
212
+              ></el-input>
213
+            </el-form-item>
214
+          </el-col>
215
+
206
           <el-col :span="8" v-if="isShow('管路凝血')">
216
           <el-col :span="8" v-if="isShow('管路凝血')">
207
             <el-form-item label="管路凝血: " :prop="isName('管路凝血')" :rules="isCheckmust('管路凝血')">
217
             <el-form-item label="管路凝血: " :prop="isName('管路凝血')" :rules="isCheckmust('管路凝血')">
208
               <el-input
218
               <el-input
869
         after_urea:"",
879
         after_urea:"",
870
         accumulated_blood_volume:"",
880
         accumulated_blood_volume:"",
871
         transfusion_volume:"",
881
         transfusion_volume:"",
882
+        condenser:""
872
       },
883
       },
873
       lapseList:[],
884
       lapseList:[],
874
       leaveOfficeMethod:[],
885
       leaveOfficeMethod:[],
1209
           data["pip_coagulation"] = this.form.pip_coagulation
1220
           data["pip_coagulation"] = this.form.pip_coagulation
1210
           data["accumulated_blood_volume"] = this.form.accumulated_blood_volume
1221
           data["accumulated_blood_volume"] = this.form.accumulated_blood_volume
1211
           data["transfusion_volume"] = this.form.transfusion_volume
1222
           data["transfusion_volume"] = this.form.transfusion_volume
1212
-
1223
+          data["condenser"] = this.form.condenser
1213
           console.log("Paramsquery",data)
1224
           console.log("Paramsquery",data)
1214
 
1225
 
1215
           postAssessmentAfterDislysis(ParamsQuery, data)
1226
           postAssessmentAfterDislysis(ParamsQuery, data)
1253
       switch (val) {
1264
       switch (val) {
1254
         case '1':
1265
         case '1':
1255
           this.InnerDialogProps.values = this.cruorOptions
1266
           this.InnerDialogProps.values = this.cruorOptions
1256
-          this.InnerDialogProps.titles = '凝血'
1267
+          this.InnerDialogProps.titles = '透析器凝血'
1257
           this.InnerDialogProps.type = 'cruor'
1268
           this.InnerDialogProps.type = 'cruor'
1258
           this.InnerDialogProps.selected = this.form.cruor
1269
           this.InnerDialogProps.selected = this.form.cruor
1259
           this.InnerDialogProps.isShowTextArea = false
1270
           this.InnerDialogProps.isShowTextArea = false
1323
           this.InnerDialogProps.selected = this.form.pip_coagulation
1334
           this.InnerDialogProps.selected = this.form.pip_coagulation
1324
           this.InnerDialogProps.isShowTextArea = false
1335
           this.InnerDialogProps.isShowTextArea = false
1325
           break
1336
           break
1337
+          case '11':
1338
+          this.InnerDialogProps.values = this.cruorOptions
1339
+          this.InnerDialogProps.titles = '灌流器凝血'
1340
+          this.InnerDialogProps.type = 'condenser'
1341
+          this.InnerDialogProps.selected = this.form.condenser
1342
+          this.InnerDialogProps.isShowTextArea = false
1343
+          break
1326
       }
1344
       }
1327
     },
1345
     },
1328
     selectActualTreatmentHour(val) {
1346
     selectActualTreatmentHour(val) {
1363
         case 'sealing_fluid_dispose':
1381
         case 'sealing_fluid_dispose':
1364
           this.form.sealing_fluid_dispose = val.value.join(',')
1382
           this.form.sealing_fluid_dispose = val.value.join(',')
1365
           break
1383
           break
1384
+        case 'condenser':
1385
+          this.form.condenser = val.value.join(',')
1386
+          break
1366
         default:
1387
         default:
1367
           break
1388
           break
1389
+        
1368
       }
1390
       }
1369
       // console.log(val);
1391
       // console.log(val);
1370
     },
1392
     },

+ 20 - 2
src/xt_pages/dialysis/details/dialog/computer_dialog.vue View File

292
           </el-form-item>
292
           </el-form-item>
293
 
293
 
294
 
294
 
295
+          <el-form-item
296
+            :prop="isName('血流量(ml/min)')"
297
+            :rules="isCheckmust('血流量')"
298
+            v-if="isShowFiled('血流量')"
299
+          >
300
+            <el-input
301
+              type="textarea"
302
+              v-model="form.blood_flow_volume"
303
+              :rows="4"
304
+            ></el-input>
305
+          </el-form-item>
306
+
307
+
295
         <el-form-item
308
         <el-form-item
296
           label="核酸检测日期:"
309
           label="核酸检测日期:"
297
           style="width: 300px"
310
           style="width: 300px"
309
           ></el-date-picker>
322
           ></el-date-picker>
310
         </el-form-item>
323
         </el-form-item>
311
 
324
 
325
+
326
+
312
         <el-form-item
327
         <el-form-item
313
           label="上机时间 :"
328
           label="上机时间 :"
314
           style="width: 300px"
329
           style="width: 300px"
460
       value2:"",
475
       value2:"",
461
       infoDialogVisible:false,
476
       infoDialogVisible:false,
462
       selected_date:"",
477
       selected_date:"",
463
-      remark:""
478
+      remark:"",
479
+      blood_flow_volume:"" ,
464
     };
480
     };
465
   },
481
   },
466
   props: {
482
   props: {
912
             this.form.dialysis_irrigation,
928
             this.form.dialysis_irrigation,
913
             this.form.blood_access_id,
929
             this.form.blood_access_id,
914
             this.form.nuclein_date,
930
             this.form.nuclein_date,
915
-            this.form.catheter_operation
931
+            this.form.catheter_operation,
932
+            this.form.blood_flow_volume
916
           ).then((rs) => {
933
           ).then((rs) => {
917
             this.loading = false;
934
             this.loading = false;
918
             var resp = rs.data;
935
             var resp = rs.data;
965
       ParamsQuery["nuclein_date"] = this.form.nuclein_date;
982
       ParamsQuery["nuclein_date"] = this.form.nuclein_date;
966
       ParamsQuery["mode"] = "2";
983
       ParamsQuery["mode"] = "2";
967
       ParamsQuery['catheter_operation'] = this.form.catheter_operation
984
       ParamsQuery['catheter_operation'] = this.form.catheter_operation
985
+      ParamsQuery["blood_flow_volume"] = this.form.blood_flow_volume
968
       if (this.dialysis_order.creator != this.$store.getters.xt_user.user.id) {
986
       if (this.dialysis_order.creator != this.$store.getters.xt_user.user.id) {
969
         ParamsQuery["mode"] = "3";
987
         ParamsQuery["mode"] = "3";
970
       }
988
       }

+ 23 - 3
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

138
                     </el-col>
138
                     </el-col>
139
 
139
 
140
                     <el-col :span="8"
140
                     <el-col :span="8"
141
-                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597">
141
+                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id != 10597&& this.$store.getters.xt_user.template_info.org_id != 10571 && this.$store.getters.xt_user.template_info.org_id != 10612">
142
                         <el-form-item label="处方脱水量(ml):" prop="prescription_water" :rules="isCheckmust('处方脱水量')">
142
                         <el-form-item label="处方脱水量(ml):" prop="prescription_water" :rules="isCheckmust('处方脱水量')">
143
                             <el-input
143
                             <el-input
144
                                     type="number"
144
                                     type="number"
148
                     </el-col>
148
                     </el-col>
149
 
149
 
150
                     <el-col :span="8"
150
                     <el-col :span="8"
151
-                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597">
151
+                            v-if="isShows('处方脱水量') && this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id ==10571 || this.$store.getters.xt_user.template_info.org_id ==10612 ">
152
                         <el-form-item label="处方脱水量(L):" prop="prescription_water" :rules="isCheckmust('处方脱水量')">
152
                         <el-form-item label="处方脱水量(L):" prop="prescription_water" :rules="isCheckmust('处方脱水量')">
153
                             <el-input
153
                             <el-input
154
                                     type="number"
154
                                     type="number"
191
                         </el-form-item>
191
                         </el-form-item>
192
                     </el-col>
192
                     </el-col>
193
 
193
 
194
+
195
+                    <el-col :span="8" v-if="isShows('透析液')">
196
+                        <el-form-item label="透析液:" prop="dialyzate" :rules="isCheckmust('透析液')">
197
+                           <el-select v-model="dialysisPrescription.dialyzate">
198
+                                <el-option
199
+                                        v-for="(item, index) in dialyzateList"
200
+                                        :label="item.name"
201
+                                        :value="item.name"
202
+                                        :key="index + 'q'"
203
+                                ></el-option>
204
+                            </el-select>
205
+                        </el-form-item>
206
+                    </el-col>
207
+
194
                     <el-col :span="8" v-if="isShows('单超时长') && dialysisPrescription.is_water == 1">
208
                     <el-col :span="8" v-if="isShows('单超时长') && dialysisPrescription.is_water == 1">
195
                         <el-form-item label="单超时长(h):" prop="single_time" :rules="isCheckmust('单超时长')">
209
                         <el-form-item label="单超时长(h):" prop="single_time" :rules="isCheckmust('单超时长')">
196
                             <el-input v-model="dialysisPrescription.single_time"></el-input>
210
                             <el-input v-model="dialysisPrescription.single_time"></el-input>
1773
           warsh_count:"",
1787
           warsh_count:"",
1774
           washing_time:"",
1788
           washing_time:"",
1775
           blood_access_part_id:"",
1789
           blood_access_part_id:"",
1776
-          anticoagulant_weichi_hour:""
1790
+          anticoagulant_weichi_hour:"",
1791
+          dialyzate:""
1777
         },
1792
         },
1778
 
1793
 
1779
         anticoagulant: {
1794
         anticoagulant: {
1815
           {id:1,name:"是"},
1830
           {id:1,name:"是"},
1816
           {id:2,name:"否"}
1831
           {id:2,name:"否"}
1817
         ],
1832
         ],
1833
+        dialyzateList:[
1834
+          {id:0,name:"请选择"},
1835
+          {id:1,name:"碳酸"},
1836
+          {id:2,name:"醋酸"}
1837
+        ],
1818
         machineList:[
1838
         machineList:[
1819
           {id:1,name:"是"},
1839
           {id:1,name:"是"},
1820
           {id:2,name:"否"}
1840
           {id:2,name:"否"}

+ 13 - 0
src/xt_pages/dialysis/details/dialysisComputer.vue View File

98
           <span class="content">{{catheter_operation}}</span>
98
           <span class="content">{{catheter_operation}}</span>
99
         </li>
99
         </li>
100
       </ul>
100
       </ul>
101
+      <ul>
102
+        <li v-if="isShow('血流量')">
103
+          <label>血流量 : </label>
104
+          <span class="content">{{blood_flow_volume}}</span>
105
+        </li>
106
+      </ul>
101
     </div>
107
     </div>
102
     <div class="middleLine"></div>
108
     <div class="middleLine"></div>
103
   </div>
109
   </div>
238
           return this.record.catheter_operation
244
           return this.record.catheter_operation
239
         }
245
         }
240
        
246
        
247
+      },
248
+      blood_flow_volume:function(){
249
+        if(this.record.id == 0){
250
+          return '-'
251
+        }else{
252
+          return this.record.blood_flow_volume
253
+        }
241
       }
254
       }
242
     },
255
     },
243
     methods: {
256
     methods: {

+ 1 - 1
src/xt_pages/stock/stockFlow.vue View File

52
         <span>
52
         <span>
53
           <el-button type="primary" size="small" @click="toExprot">导出</el-button>
53
           <el-button type="primary" size="small" @click="toExprot">导出</el-button>
54
 
54
 
55
-          <el-button type="primary" size="small" @click="toTongBu">同步</el-button>
55
+          <!-- <el-button type="primary" size="small" @click="toTongBu">同步</el-button> -->
56
         </span>
56
         </span>
57
        
57
        
58
       </div>
58
       </div>