浏览代码

hah阿凡达

28169 5 个月前
父节点
当前提交
8dcacc62a9

+ 3 - 2
src/api/patient.js 查看文件

211
   })
211
   })
212
 }
212
 }
213
 
213
 
214
-export function createRescueRecord(patient_id, content) {
214
+export function createRescueRecord(patient_id, content,record_date) {
215
   var params = {
215
   var params = {
216
     patient_id: patient_id,
216
     patient_id: patient_id,
217
-    content: content
217
+    content: content,
218
+    record_date:record_date,
218
   }
219
   }
219
   return request({
220
   return request({
220
     url: '/api/patient/rescue/create',
221
     url: '/api/patient/rescue/create',

+ 45 - 2
src/xt_pages/Pharmacy/PatientDispensing.vue 查看文件

301
 
301
 
302
       <el-dialog
302
       <el-dialog
303
         title="药品追溯码"
303
         title="药品追溯码"
304
+        @open="openDialog"
304
         :visible.sync="dialogVisibleOne"
305
         :visible.sync="dialogVisibleOne"
305
          width="40%">
306
          width="40%">
306
        <span>
307
        <span>
307
         <el-input
308
         <el-input
309
+          ref="inputRef"
308
           @keyup.native="changeText"
310
           @keyup.native="changeText"
309
           type="textarea"
311
           type="textarea"
310
           placeholder="请输入内容"
312
           placeholder="请输入内容"
311
           v-model="textarea"
313
           v-model="textarea"
314
+          autofocus
312
           :rows="10"
315
           :rows="10"
313
         >
316
         >
314
         </el-input>
317
         </el-input>
427
     // this.selectedbydefault();
430
     // this.selectedbydefault();
428
   },
431
   },
429
   methods: {
432
   methods: {
433
+    openDialog(){
434
+      this.$nextTick(() => {
435
+        this.$refs.inputRef.$refs.input.focus()
436
+      });
437
+    },
430
     changevalue(row){
438
     changevalue(row){
431
       var params = {
439
       var params = {
432
         id:row.ID,
440
         id:row.ID,
1242
        this.is_source = is_source
1250
        this.is_source = is_source
1243
        this.textarea = DrugCode
1251
        this.textarea = DrugCode
1244
        this.currentIndex = index
1252
        this.currentIndex = index
1253
+      
1245
        this.dialogVisibleOne = true
1254
        this.dialogVisibleOne = true
1246
 
1255
 
1247
     },
1256
     },
1265
       })
1274
       })
1266
     },
1275
     },
1267
     changeText(event){
1276
     changeText(event){
1277
+     
1268
       // 检查是否为特定的按键,例如回车键,来确认扫码枪输入完成
1278
       // 检查是否为特定的按键,例如回车键,来确认扫码枪输入完成
1269
       if (event.key === 'Enter') {
1279
       if (event.key === 'Enter') {
1280
+       
1270
         var textarea = ""
1281
         var textarea = ""
1271
-        textarea += this.textarea + ","
1282
+        textarea += this.textarea.replace(/^\s*[\r\n]|\r?\n\s*$/gm, '') + ","
1283
+         
1284
+      
1285
+
1286
+        if(this.$store.getters.xt_user.org.id == 10138 || this.$store.getters.xt_user.org.id==0){
1287
+          var arr= []
1288
+          arr = textarea.split(",")
1289
+          var is_err_check = false
1290
+          var i_index = ""
1291
+          if(arr!=null && arr.length>0){
1292
+            for(let i=0;i<arr.length;i++){
1293
+               if(arr[i]!=""){
1294
+                 if(arr[i].length!=20){
1295
+                   this.$message.error("药品追溯码长度没有满足20位!")
1296
+                   is_err_check = true
1297
+                   i_index = i
1298
+                 }
1299
+               }
1300
+
1301
+            }
1302
+          }
1303
+          console.log("is_err_check+++++++++++++",is_err_check)
1304
+          if(is_err_check == true){
1305
+              arr.splice(i_index,1)
1306
+          }
1307
+          console.log("arr-------------------------",arr)
1308
+          this.textarea = arr.join(",")
1309
+        }else{
1310
+
1311
+          this.textarea = textarea
1312
+        }
1313
+        
1272
 
1314
 
1273
-        this.textarea = textarea
1315
+       
1274
       }
1316
       }
1275
 
1317
 
1276
 
1318
 
1278
 
1320
 
1279
 
1321
 
1280
   },
1322
   },
1323
+  
1281
 };
1324
 };
1282
 </script>
1325
 </script>
1283
 
1326
 

+ 11 - 2
src/xt_pages/data/components/addDrugs.vue 查看文件

541
                     <el-form-item label="" style="visibility: hidden;">
541
                     <el-form-item label="" style="visibility: hidden;">
542
                         <el-input style="width:160px;" placeholder="" maxlength="30"></el-input>
542
                         <el-input style="width:160px;" placeholder="" maxlength="30"></el-input>
543
                     </el-form-item>
543
                     </el-form-item>
544
+
545
+                    <el-form-item label="扫码次数:" prop="scan_code">
546
+                        <el-input v-model="form.scan_code" style="width:160px;" placeholder="" maxlength="30"></el-input>
547
+                    </el-form-item>
548
+                    <el-form-item label="药品标识码:" prop="drug_identification_code">
549
+                        <el-input v-model="form.drug_identification_code" style="width:160px;" placeholder="" maxlength="30"></el-input>
550
+                    </el-form-item>
544
                 </el-form>
551
                 </el-form>
545
             </el-tab-pane>
552
             </el-tab-pane>
546
         </el-tabs>
553
         </el-tabs>
689
           is_show:"",
696
           is_show:"",
690
           is_self_drug:"2",
697
           is_self_drug:"2",
691
           is_zero_flag:"",
698
           is_zero_flag:"",
692
-
699
+          scan_code:"",
700
+          drug_identification_code:""
693
         },
701
         },
694
 
702
 
695
         rules: {
703
         rules: {
1034
         form['is_show'] = this.form.is_show
1042
         form['is_show'] = this.form.is_show
1035
         form['is_self_drug'] = parseInt(this.form.is_self_drug)
1043
         form['is_self_drug'] = parseInt(this.form.is_self_drug)
1036
         form['is_zero_flag'] = parseInt(this.form.is_zero_flag)
1044
         form['is_zero_flag'] = parseInt(this.form.is_zero_flag)
1037
-
1045
+        form["scan_code"] = this.form.scan_code
1046
+        form["drug_identification_code"] = this.form.drug_identification_code
1038
 
1047
 
1039
 
1048
 
1040
         return form
1049
         return form

+ 4 - 0
src/xt_pages/data/components/drugs.vue 查看文件

343
           bbx01:"",
343
           bbx01:"",
344
           bby01:"",
344
           bby01:"",
345
           is_show:"",
345
           is_show:"",
346
+          scan_code:"",
347
+          drug_identification_code:"",
346
         },
348
         },
347
         tempFormValue: {
349
         tempFormValue: {
348
           drug_name: '',//药品名称
350
           drug_name: '',//药品名称
779
                 this.formValue.is_self_drug = this.formValue.is_self_drug.toString()
781
                 this.formValue.is_self_drug = this.formValue.is_self_drug.toString()
780
               }
782
               }
781
 
783
 
784
+              
785
+
782
 
786
 
783
               this.$refs.addDrugs.show(id, this.formValue)
787
               this.$refs.addDrugs.show(id, this.formValue)
784
 
788
 

+ 10 - 3
src/xt_pages/dialysis/batch_print/batch_print_order_eightyone.vue 查看文件

1212
                         <div class="under_line"
1212
                         <div class="under_line"
1213
                           style="width: 70px; text-align: center"
1213
                           style="width: 70px; text-align: center"
1214
                         >
1214
                         >
1215
-                          <span>
1216
-                           {{ record.assessment_after_dislysis &&
1215
+                          <span v-if="record.assessment_before_dislysis.weight_before>0&&record.assessment_after_dislysis.weight_after>0">
1216
+                           <!-- {{ record.assessment_after_dislysis &&
1217
                             record.assessment_after_dislysis.weight_loss
1217
                             record.assessment_after_dislysis.weight_loss
1218
                               ? record.assessment_after_dislysis.weight_loss
1218
                               ? record.assessment_after_dislysis.weight_loss
1219
-                              : "/"}}
1219
+                              : "/"}} -->
1220
+                              {{
1221
+                              record.assessment_after_dislysis && 
1222
+                              record.assessment_before_dislysis&&
1223
+                              (record.assessment_before_dislysis.weight_before  - record.assessment_after_dislysis.weight_after).toFixed(1)
1224
+                                ?(record.assessment_before_dislysis.weight_before - record.assessment_after_dislysis.weight_after).toFixed(1)
1225
+                                : "/"
1226
+                            }}
1220
                           </span>
1227
                           </span>
1221
 
1228
 
1222
                         </div>
1229
                         </div>

+ 8 - 5
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue 查看文件

1701
                           <td width="50">脉搏<br />(次/分)</td>
1701
                           <td width="50">脉搏<br />(次/分)</td>
1702
                           <td width="50" v-if="org_id!=10489">呼吸<br />(次/分)</td>
1702
                           <td width="50" v-if="org_id!=10489">呼吸<br />(次/分)</td>
1703
                           <td width="50">血流量<br />(ml/min)</td>
1703
                           <td width="50">血流量<br />(ml/min)</td>
1704
-                          <td width="50" v-if="org_id == 10478 || org_id ==10510">动脉压<br />(mmHg)</td>
1704
+                          <td width="50" v-if="org_id == 10478 || org_id ==10510 || org_id ==10735">动脉压<br />(mmHg)</td>
1705
                           <td width="50">静脉压<br />(mmHg)</td>
1705
                           <td width="50">静脉压<br />(mmHg)</td>
1706
                           <td width="50">跨膜压<br />(mmHg)</td>
1706
                           <td width="50">跨膜压<br />(mmHg)</td>
1707
                           <td width="60" v-if="org_id != 9836 && org_id!=10644">透析液温度(°C)
1707
                           <td width="60" v-if="org_id != 9836 && org_id!=10644">透析液温度(°C)
1718
                               org_id!=10644 &&
1718
                               org_id!=10644 &&
1719
                               org_id!=0&&
1719
                               org_id!=0&&
1720
                               org_id!=10567 &&
1720
                               org_id!=10567 &&
1721
-                              org_id!=10724
1721
+                              org_id!=10724 &&
1722
+                              org_id!=10735
1722
                             "
1723
                             "
1723
                           >
1724
                           >
1724
                             电导度<br />(ms/cm)
1725
                             电导度<br />(ms/cm)
1872
                             }}
1873
                             }}
1873
                           </td>
1874
                           </td>
1874
 
1875
 
1875
-                          <td v-if="org_id == 10478 || org_id ==10510">
1876
+                          <td v-if="org_id == 10478 || org_id ==10510 || org_id == 10735">
1876
                             {{
1877
                             {{
1877
                               monitor_record.arterial_pressure
1878
                               monitor_record.arterial_pressure
1878
                                 ? monitor_record.arterial_pressure
1879
                                 ? monitor_record.arterial_pressure
1931
                               org_id!=10644 &&
1932
                               org_id!=10644 &&
1932
                               org_id!=0 &&
1933
                               org_id!=0 &&
1933
                               org_id!=10567 &&
1934
                               org_id!=10567 &&
1934
-                              org_id!=10724
1935
+                              org_id!=10724 &&
1936
+                              org_id!=10735
1935
 
1937
 
1936
 
1938
 
1937
                             "
1939
                             "
3103
                          </span>
3105
                          </span>
3104
 
3106
 
3105
                          <span v-if="org_id == 10551">{{
3107
                          <span v-if="org_id == 10551">{{
3106
-                            record.assessment_after_dislysis &&
3108
+                            record.assessment_after_dislysis && 
3109
+                            record.assessment_before_dislysis&&
3107
                             record.assessment_before_dislysis.weight_before - record.assessment_after_dislysis.weight_after
3110
                             record.assessment_before_dislysis.weight_before - record.assessment_after_dislysis.weight_after
3108
                               ?record.assessment_before_dislysis.weight_before - record.assessment_after_dislysis.weight_after
3111
                               ?record.assessment_before_dislysis.weight_before - record.assessment_after_dislysis.weight_after
3109
                               : "/"
3112
                               : "/"

+ 5 - 5
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue 查看文件

161
                     </el-col>
161
                     </el-col>
162
 
162
 
163
                     <el-col :span="8"
163
                     <el-col :span="8"
164
-                            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 && this.$store.getters.xt_user.template_info.org_id != 10598 && this.$store.getters.xt_user.template_info.org_id != 10677 && this.$store.getters.xt_user.template_info.org_id != 10679 && this.$store.getters.xt_user.template_info.org_id != 10702 && this.$store.getters.xt_user.template_info.org_id != 10635 && this.$store.getters.xt_user.template_info.org_id != 10721">
164
+                            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 && this.$store.getters.xt_user.template_info.org_id != 10598 && this.$store.getters.xt_user.template_info.org_id != 10677 && this.$store.getters.xt_user.template_info.org_id != 10679 && this.$store.getters.xt_user.template_info.org_id != 10702 && this.$store.getters.xt_user.template_info.org_id != 10635 && this.$store.getters.xt_user.template_info.org_id != 10721 && this.$store.getters.xt_user.template_info.org_id != 10742 && this.$store.getters.xt_user.template_info.org_id != 10740">
165
                         <el-form-item label="处方脱水量(ml):" prop="prescription_water" :rules="isCheckmust('处方脱水量')">
165
                         <el-form-item label="处方脱水量(ml):" prop="prescription_water" :rules="isCheckmust('处方脱水量')">
166
                             <el-input
166
                             <el-input
167
                                     type="number"
167
                                     type="number"
171
                     </el-col>
171
                     </el-col>
172
 
172
 
173
                     <el-col :span="8"
173
                     <el-col :span="8"
174
-                            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 || this.$store.getters.xt_user.template_info.org_id ==10598 || this.$store.getters.xt_user.template_info.org_id ==10612 || this.$store.getters.xt_user.template_info.org_id ==10677 || this.$store.getters.xt_user.template_info.org_id==10679 || this.$store.getters.xt_user.template_info.org_id==10702 || this.$store.getters.xt_user.template_info.org_id==10635 || this.$store.getters.xt_user.template_info.org_id==10721">
174
+                            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 || this.$store.getters.xt_user.template_info.org_id ==10598 || this.$store.getters.xt_user.template_info.org_id ==10612 || this.$store.getters.xt_user.template_info.org_id ==10677 || this.$store.getters.xt_user.template_info.org_id==10679 || this.$store.getters.xt_user.template_info.org_id==10702 || this.$store.getters.xt_user.template_info.org_id==10635 || this.$store.getters.xt_user.template_info.org_id==10721 || this.$store.getters.xt_user.template_info.org_id==10740 || this.$store.getters.xt_user.template_info.org_id==10742">
175
                         <el-form-item label="处方脱水量(L):" prop="prescription_water" :rules="isCheckmust('处方脱水量')">
175
                         <el-form-item label="处方脱水量(L):" prop="prescription_water" :rules="isCheckmust('处方脱水量')">
176
                             <el-input
176
                             <el-input
177
                                     type="number"
177
                                     type="number"
3316
         this.pre = pre
3316
         this.pre = pre
3317
         // console.log("pre1", pre);
3317
         // console.log("pre1", pre);
3318
         this.getPermission()
3318
         this.getPermission()
3319
-        if(this.$store.getters.xt_user.template_info.org_id==10164 || this.$store.getters.xt_user.template_info.org_id==10721 || this.$store.getters.xt_user.template_info.org_id==10635 || this.$store.getters.xt_user.template_info.org_id==0 || this.$store.getters.xt_user.template_info.org_id == 10726 || this.$store.getters.xt_user.template_info.org_id == 10727  || this.$store.getters.xt_user.template_info.org_id == 10731 || this.$store.getters.xt_user.template_info.org_id == 10735){
3319
+        if(this.$store.getters.xt_user.template_info.org_id==10164 || this.$store.getters.xt_user.template_info.org_id==10721 || this.$store.getters.xt_user.template_info.org_id==10635 || this.$store.getters.xt_user.template_info.org_id==0 || this.$store.getters.xt_user.template_info.org_id == 10726 || this.$store.getters.xt_user.template_info.org_id == 10727  || this.$store.getters.xt_user.template_info.org_id == 10731 || this.$store.getters.xt_user.template_info.org_id == 10735 || this.$store.getters.xt_user.template_info.org_id == 10740 || this.$store.getters.xt_user.template_info.org_id == 10742){
3320
           this.getPatientBefor()
3320
           this.getPatientBefor()
3321
         }
3321
         }
3322
 
3322
 
5167
           var prescription = response.data.data.prescription
5167
           var prescription = response.data.data.prescription
5168
           if(patientBefor!=undefined){
5168
           if(patientBefor!=undefined){
5169
 
5169
 
5170
-            if(this.$store.getters.xt_user.template_info.org_id == 10727  || this.$store.getters.xt_user.template_info.org_id == 10731){
5170
+            if(this.$store.getters.xt_user.template_info.org_id == 10727  || this.$store.getters.xt_user.template_info.org_id == 10731 ||this.$store.getters.xt_user.template_info.org_id == 10740 ||this.$store.getters.xt_user.template_info.org_id == 10742 ){
5171
               if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
5171
               if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
5172
               
5172
               
5173
                  this.dialysisPrescription.target_ultrafiltration = ((patientBefor.weight_before - patientBefor.dry_weight - patientBefor.additional_weight).toFixed(0))*1000
5173
                  this.dialysisPrescription.target_ultrafiltration = ((patientBefor.weight_before - patientBefor.dry_weight - patientBefor.additional_weight).toFixed(0))*1000
5174
-                 console.log("hhhhhhhhhhhhhhhhhh",this.dialysisPrescription.target_ultrafiltration)
5174
+                
5175
               }
5175
               }
5176
             }else{
5176
             }else{
5177
               if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
5177
               if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){

+ 10 - 8
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue 查看文件

387
                 org_id == 10599 || 
387
                 org_id == 10599 || 
388
                 org_id == 10612 ||
388
                 org_id == 10612 ||
389
                 org_id == 10617 ||
389
                 org_id == 10617 ||
390
-                org_id ==10580 || org_id ==10629 || org_id==10677 || org_id ==10667 || org_id ==10697 || org_id ==10635 || org_id ==10702 || org_id ==10090 || org_id ==10723 || org_id == 10721 || org_id ==10727 || org_id == 10206) &&
390
+                org_id ==10580 || org_id ==10629 || org_id==10677 || org_id ==10667 || org_id ==10697 || org_id ==10635 || org_id ==10702 || org_id ==10090 || org_id ==10723 || org_id == 10721 || org_id ==10727 || org_id == 10206 || org_id == 10740 || org_id == 10742) &&
391
                 org_id!=10387
391
                 org_id!=10387
392
             "
392
             "
393
           >
393
           >
458
               && org_id!=10432 && org_id!=10445
458
               && org_id!=10432 && org_id!=10445
459
               && org_id!=10410 && org_id!=10495 &&
459
               && org_id!=10410 && org_id!=10495 &&
460
                org_id!=10485 && org_id!=10395 && org_id!=10375
460
                org_id!=10485 && org_id!=10395 && org_id!=10375
461
-               && org_id!=10480  && org_id!=10551 && org_id!=10597 && org_id!=10599 && org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629 && org_id!=10677 && org_id!=10667 && org_id!=10697 && org_id!=10635  && org_id!=10702  && org_id!=10090 && org_id!=10723 && org_id!=10721 && org_id!=10727  && org_id!=10206)
461
+               && org_id!=10480  && org_id!=10551 && org_id!=10597 && org_id!=10599 && org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629 && org_id!=10677 && org_id!=10667 && org_id!=10697 && org_id!=10635  && org_id!=10702  && org_id!=10090 && org_id!=10723 && org_id!=10721 && org_id!=10727  && org_id!=10206 && org_id!=10740&&org_id!=10742)
462
               || org_id == 10387
462
               || org_id == 10387
463
             "
463
             "
464
           >
464
           >
529
                 org_id == 10410 ||
529
                 org_id == 10410 ||
530
                 org_id == 10495  ||
530
                 org_id == 10495  ||
531
                 org_id == 10395
531
                 org_id == 10395
532
-                || org_id == 10485 || org_id == 10375 || org_id ==10480 || org_id ==10551 || org_id ==10597 || org_id ==10599 || org_id ==10612 || org_id==10617 || org_id ==10580 || org_id ==10629 || org_id ==10677 || org_id == 10667 || org_id == 10693 || org_id == 10697 || org_id ==10635 || org_id ==10702 || org_id == 10090 || org_id == 10723 || org_id == 10721 || org_id ==10727 || org_id == 10206)
532
+                || org_id == 10485 || org_id == 10375 || org_id ==10480 || org_id ==10551 || org_id ==10597 || org_id ==10599 || org_id ==10612 || org_id==10617 || org_id ==10580 || org_id ==10629 || org_id ==10677 || org_id == 10667 || org_id == 10693 || org_id == 10697 || org_id ==10635 || org_id ==10702 || org_id == 10090 || org_id == 10723 || org_id == 10721 || org_id ==10727 || org_id == 10206 || org_id ==10702 || org_id ==10740 || org_id == 10742)
533
                 && org_id!=10387
533
                 && org_id!=10387
534
             "
534
             "
535
           >
535
           >
584
               org_id!=10432 &&
584
               org_id!=10432 &&
585
               org_id!=10445 &&
585
               org_id!=10445 &&
586
               org_id!=10410 && org_id!=10495
586
               org_id!=10410 && org_id!=10495
587
-              && org_id!=10485 && org_id!=10395 && org_id!=10375 && org_id!=10480 && org_id!=10551 && org_id!=10597 && org_id!=10599&& org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629 && org_id!=10677 && org_id!=10667 && org_id!=10693  && org_id!=10697  && org_id!=10635  && org_id!=10702 && org_id!=10090 && org_id!=10723 && org_id!=10721 && org_id!=10727 && org_id!=10206) ||
587
+              && org_id!=10485 && org_id!=10395 && org_id!=10375 && org_id!=10480 && org_id!=10551 && org_id!=10597 && org_id!=10599&& org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629 && org_id!=10677 && org_id!=10667 && org_id!=10693  && org_id!=10697  && org_id!=10635  && org_id!=10702 && org_id!=10090 && org_id!=10723 && org_id!=10721 && org_id!=10727 && org_id!=10206 && org_id!=10740&& org_id!=10742 ) ||
588
               org_id == 10387
588
               org_id == 10387
589
             "
589
             "
590
           >
590
           >
1685
                 org_id== 10432 ||
1685
                 org_id== 10432 ||
1686
                 org_id== 10445 ||
1686
                 org_id== 10445 ||
1687
                 org_id== 10410 ||
1687
                 org_id== 10410 ||
1688
-                org_id == 10485 || org_id == 10375 || org_id == 10480 || org_id == 10551 || org_id ==10612 || org_id ==10580 || org_id ==10617 || org_id ==10667 || org_id == 10693 || org_id ==10697 || org_id ==10635 || org_id ==10702 || org_id == 10090 || org_id == 10723 || org_id == 10721 || org_id == 10727 || org_id == 10206) &&
1688
+                org_id == 10485 || org_id == 10375 || org_id == 10480 || org_id == 10551 || org_id ==10612 || org_id ==10580 || org_id ==10617 || org_id ==10667 || org_id == 10693 || org_id ==10697 || org_id ==10635 || org_id ==10702 || org_id == 10090 || org_id == 10723 || org_id == 10721 || org_id == 10727 || org_id == 10206 || org_id ==10740 || org_id ==10742) &&
1689
                 org_id!=10387
1689
                 org_id!=10387
1690
             "
1690
             "
1691
           >
1691
           >
1733
               org_id!=10445 &&
1733
               org_id!=10445 &&
1734
               org_id!=10410 &&
1734
               org_id!=10410 &&
1735
               org_id!=10485 &&
1735
               org_id!=10485 &&
1736
-              org_id!=10375 &&  org_id!=10480 &&  org_id!=10551 && org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10667 && org_id!=10693 && org_id!=10697 && org_id!=10635 && org_id!=10702 && org_id!=10090 && org_id!=10723 && org_id!=10721 && org_id!=10727 && org_id!=10206)
1736
+              org_id!=10375 &&  org_id!=10480 &&  org_id!=10551 && org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10667 && org_id!=10693 && org_id!=10697 && org_id!=10635 && org_id!=10702 && org_id!=10090 && org_id!=10723 && org_id!=10721 && org_id!=10727 && org_id!=10206 && org_id!=10740 && org_id!=10742)
1737
               || org_id == 10387
1737
               || org_id == 10387
1738
             "
1738
             "
1739
           >
1739
           >
1806
                 org_id == 10599 ||
1806
                 org_id == 10599 ||
1807
                 org_id ==10612 || 
1807
                 org_id ==10612 || 
1808
                 org_id ==10617 || 
1808
                 org_id ==10617 || 
1809
-                org_id==10580 || org_id ==10629 || org_id == 10677 || org_id == 10667 || org_id == 10693 || org_id == 10697 || org_id == 10635 || org_id == 10702 || org_id == 10090 || org_id ==10723 || org_id == 10721 || org_id == 10727 || org_id ==10206)
1809
+                org_id==10580 || org_id ==10629 || org_id == 10677 || org_id == 10667 || org_id == 10693 || org_id == 10697 || org_id == 10635 || org_id == 10702 || org_id == 10090 || org_id ==10723 || org_id == 10721 || org_id == 10727 || org_id ==10206 || org_id == 10740 || org_id == 10742)
1810
                 && org_id!=10387 && org_id!=10694
1810
                 && org_id!=10387 && org_id!=10694
1811
             "
1811
             "
1812
           >
1812
           >
1884
               org_id!=10723 &&
1884
               org_id!=10723 &&
1885
               org_id!=10721 &&
1885
               org_id!=10721 &&
1886
               org_id!=10727 &&
1886
               org_id!=10727 &&
1887
-              org_id!=10206
1887
+              org_id!=10206 &&
1888
+              org_id!=10740 &&
1889
+              org_id!=10742
1888
               )
1890
               )
1889
               || org_id == 10387 || org_id == 10694
1891
               || org_id == 10387 || org_id == 10694
1890
             "
1892
             "

+ 4 - 4
src/xt_pages/dialysis/details/dialysisMonitoring.vue 查看文件

20
           <th v-if="isShow('血流量1')" width="92px">血流量(ml/min)</th>
20
           <th v-if="isShow('血流量1')" width="92px">血流量(ml/min)</th>
21
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
21
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
22
           <th v-if="isShow('跨膜压1')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
22
           <th v-if="isShow('跨膜压1')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
23
-          <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 || template_id == 65 || this.$store.getters.xt_user.template_info.org_id == 10340  || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10599 || this.$store.getters.xt_user.template_info.org_id == 10597  || this.$store.getters.xt_user.template_info.org_id == 10612  || this.$store.getters.xt_user.template_info.org_id == 10617  || this.$store.getters.xt_user.template_info.org_id == 10580  || this.$store.getters.xt_user.template_info.org_id == 10629 || this.$store.getters.xt_user.template_info.org_id == 10677  || this.$store.getters.xt_user.template_info.org_id == 10667 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10635  || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10721 || this.$store.getters.xt_user.template_info.org_id == 10727 || this.$store.getters.xt_user.template_info.org_id == 10206) &&this.$store.getters.xt_user.template_info.org_id!=10387 &&this.$store.getters.xt_user.template_info.org_id!=10471 " width="76px" > 超滤量(ml)</th>
24
-          <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 && template_id != 65 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 && this.$store.getters.xt_user.template_info.org_id!=10485  && this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10599  && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 && this.$store.getters.xt_user.template_info.org_id!=10679 && this.$store.getters.xt_user.template_info.org_id!=10667 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10697 && this.$store.getters.xt_user.template_info.org_id!=10635 && this.$store.getters.xt_user.template_info.org_id!=10702 &&  this.$store.getters.xt_user.template_info.org_id!=10721 && this.$store.getters.xt_user.template_info.org_id!=10727 && this.$store.getters.xt_user.template_info.org_id!=10206) || this.$store.getters.xt_user.template_info.org_id == 10387 ||  this.$store.getters.xt_user.template_info.org_id == 10471"  width="76px"> 超滤量(L) </th>
23
+          <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 || template_id == 65 || this.$store.getters.xt_user.template_info.org_id == 10340  || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10599 || this.$store.getters.xt_user.template_info.org_id == 10597  || this.$store.getters.xt_user.template_info.org_id == 10612  || this.$store.getters.xt_user.template_info.org_id == 10617  || this.$store.getters.xt_user.template_info.org_id == 10580  || this.$store.getters.xt_user.template_info.org_id == 10629 || this.$store.getters.xt_user.template_info.org_id == 10677  || this.$store.getters.xt_user.template_info.org_id == 10667 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10635  || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10721 || this.$store.getters.xt_user.template_info.org_id == 10727 || this.$store.getters.xt_user.template_info.org_id == 10206) &&this.$store.getters.xt_user.template_info.org_id!=10387 &&this.$store.getters.xt_user.template_info.org_id!=10471 &&this.$store.getters.xt_user.template_info.org_id!=10742 &&this.$store.getters.xt_user.template_info.org_id!=10740 " width="76px" > 超滤量(ml)</th>
24
+          <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 && template_id != 65 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 && this.$store.getters.xt_user.template_info.org_id!=10485  && this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10599  && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 && this.$store.getters.xt_user.template_info.org_id!=10679 && this.$store.getters.xt_user.template_info.org_id!=10667 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10697 && this.$store.getters.xt_user.template_info.org_id!=10635 && this.$store.getters.xt_user.template_info.org_id!=10702 &&  this.$store.getters.xt_user.template_info.org_id!=10721 && this.$store.getters.xt_user.template_info.org_id!=10727 && this.$store.getters.xt_user.template_info.org_id!=10206) || this.$store.getters.xt_user.template_info.org_id == 10387 ||  this.$store.getters.xt_user.template_info.org_id == 10471 ||   this.$store.getters.xt_user.template_info.org_id == 10740 ||   this.$store.getters.xt_user.template_info.org_id == 10742"  width="76px"> 超滤量(L) </th>
25
           <th v-if=" isShow('超滤量1')"  width="76px"> 超滤量(ml) </th>
25
           <th v-if=" isShow('超滤量1')"  width="76px"> 超滤量(ml) </th>
26
-          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 65 || 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 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id == 10599  || this.$store.getters.xt_user.template_info.org_id == 10612 || this.$store.getters.xt_user.template_info.org_id == 10617 || this.$store.getters.xt_user.template_info.org_id == 10580 || this.$store.getters.xt_user.template_info.org_id == 10629 || this.$store.getters.xt_user.template_info.org_id == 10677 || this.$store.getters.xt_user.template_info.org_id == 10667 || this.$store.getters.xt_user.template_info.org_id == 10693 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10635 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10721 || this.$store.getters.xt_user.template_info.org_id == 10727 || this.$store.getters.xt_user.template_info.org_id == 10206) && this.$store.getters.xt_user.template_info.org_id!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
27
-          <th v-if="isShow('超滤率') && (template_id !=6 && template_id !=65 && 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 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 &&this.$store.getters.xt_user.template_info.org_id!=10485 &&this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10599 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 && this.$store.getters.xt_user.template_info.org_id!=10679 && this.$store.getters.xt_user.template_info.org_id!=10667 && this.$store.getters.xt_user.template_info.org_id!=10693 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10697 && this.$store.getters.xt_user.template_info.org_id!=10635 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10721  && this.$store.getters.xt_user.template_info.org_id!=10727  && this.$store.getters.xt_user.template_info.org_id!=10206 ) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>
26
+          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 65 || 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 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id == 10599  || this.$store.getters.xt_user.template_info.org_id == 10612 || this.$store.getters.xt_user.template_info.org_id == 10617 || this.$store.getters.xt_user.template_info.org_id == 10580 || this.$store.getters.xt_user.template_info.org_id == 10629 || this.$store.getters.xt_user.template_info.org_id == 10677 || this.$store.getters.xt_user.template_info.org_id == 10667 || this.$store.getters.xt_user.template_info.org_id == 10693 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10635 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10721 || this.$store.getters.xt_user.template_info.org_id == 10727 || this.$store.getters.xt_user.template_info.org_id == 10206 || this.$store.getters.xt_user.template_info.org_id == 10740 || this.$store.getters.xt_user.template_info.org_id == 10742) && this.$store.getters.xt_user.template_info.org_id!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
27
+          <th v-if="isShow('超滤率') && (template_id !=6 && template_id !=65 && 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 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 &&this.$store.getters.xt_user.template_info.org_id!=10485 &&this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10599 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 && this.$store.getters.xt_user.template_info.org_id!=10679 && this.$store.getters.xt_user.template_info.org_id!=10667 && this.$store.getters.xt_user.template_info.org_id!=10693 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10697 && this.$store.getters.xt_user.template_info.org_id!=10635 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10721  && this.$store.getters.xt_user.template_info.org_id!=10727  && this.$store.getters.xt_user.template_info.org_id!=10206 && this.$store.getters.xt_user.template_info.org_id!=10740 && this.$store.getters.xt_user.template_info.org_id!=10742 ) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>
28
           <th v-if="isShow('超滤率2')" width="92px">超滤率(ml/h)</th>
28
           <th v-if="isShow('超滤率2')" width="92px">超滤率(ml/h)</th>
29
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
29
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
30
           <th v-if="isShow('钠浓度1')" width="92px">钠浓度(mmol/L)</th>
30
           <th v-if="isShow('钠浓度1')" width="92px">钠浓度(mmol/L)</th>

+ 31 - 15
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue 查看文件

1805
                         <td width="50">脉搏<br />(次/分)</td>
1805
                         <td width="50">脉搏<br />(次/分)</td>
1806
                         <td width="50" v-if="org_id!=10489">呼吸<br />(次/分)</td>
1806
                         <td width="50" v-if="org_id!=10489">呼吸<br />(次/分)</td>
1807
                         <td width="50">血流量<br />(ml/min)</td>
1807
                         <td width="50">血流量<br />(ml/min)</td>
1808
-                        <td width="50" v-if="org_id==10478 || org_id == 10598 || org_id ==10510">
1808
+                        <td width="50" v-if="org_id==10478 || org_id == 10598 || org_id ==10510 || org_id == 10735">
1809
                           动脉压<br />({{
1809
                           动脉压<br />({{
1810
                             monitors[0] &&
1810
                             monitors[0] &&
1811
                             monitors[0]["venous_pressure_type"] == 2
1811
                             monitors[0]["venous_pressure_type"] == 2
1834
                         <td width="60" v-if="org_id == 9919">血温(°C)</td>
1834
                         <td width="60" v-if="org_id == 9919">血温(°C)</td>
1835
                         <td width="60" v-if="org_id == 9671">血温(°C)</td>
1835
                         <td width="60" v-if="org_id == 9671">血温(°C)</td>
1836
                         <td width="60" v-if="org_id!=9836&&org_id!=9919&&org_id!=9671 && org_id!=10644">透析液温度(°C)</td>
1836
                         <td width="60" v-if="org_id!=9836&&org_id!=9919&&org_id!=9671 && org_id!=10644">透析液温度(°C)</td>
1837
-                        <td width="50" v-if="org_id != 10121 &&  org_id!=10600 && org_id!=10644">
1838
-                          <span v-if="org_id !=10469 && org_id!=10490 && org_id!=10567 && org_id!=0 && org_id!=10724 "> 电导度<br />(ms/cm)</span>
1837
+                        <td width="50" v-if="org_id != 10121 &&  org_id!=10600 && org_id!=10644 && org_id!=10735">
1838
+                          <span v-if="org_id !=10469 && org_id!=10490 && org_id!=10567 && org_id!=0 && org_id!=10724"> 电导度<br />(ms/cm)</span>
1839
                           <span v-if="org_id ==10469 || org_id == 0 || org_id == 10567 || org_id==10724"> 钠浓度<br />(mmol/L)</span>
1839
                           <span v-if="org_id ==10469 || org_id == 0 || org_id == 10567 || org_id==10724"> 钠浓度<br />(mmol/L)</span>
1840
                           <span v-if="org_id == 10490"> 置换液的速度<br />(ml/h)</span>
1840
                           <span v-if="org_id == 10490"> 置换液的速度<br />(ml/h)</span>
1841
                         </td>
1841
                         </td>
1880
                         <td>{{ monitor.pulse_frequency? monitor.pulse_frequency: ""}}</td>
1880
                         <td>{{ monitor.pulse_frequency? monitor.pulse_frequency: ""}}</td>
1881
                         <td v-if="org_id!=10489">{{monitor.breathing_rate ? monitor.breathing_rate : ""}}</td>
1881
                         <td v-if="org_id!=10489">{{monitor.breathing_rate ? monitor.breathing_rate : ""}}</td>
1882
                         <td>{{monitor.blood_flow_volume? monitor.blood_flow_volume: ""}}</td>
1882
                         <td>{{monitor.blood_flow_volume? monitor.blood_flow_volume: ""}}</td>
1883
-                        <td v-if="org_id ==10478 || org_id == 10598 || org_id ==10510">
1883
+                        <td v-if="org_id ==10478 || org_id == 10598 || org_id ==10510 || org_id ==10735">
1884
                           {{
1884
                           {{
1885
                             monitor.arterial_pressure
1885
                             monitor.arterial_pressure
1886
                               ? monitor.arterial_pressure
1886
                               ? monitor.arterial_pressure
1960
                         </td>
1960
                         </td>
1961
 
1961
 
1962
 
1962
 
1963
-                        <td v-if="org_id != 9538 &&org_id != 10121 &&org_id!=10600 && org_id!=10644">
1963
+                        <td v-if="org_id != 9538 &&org_id != 10121 &&org_id!=10600 && org_id!=10644 && org_id!=10735">
1964
                           <span v-if="org_id!=0&&org_id!=10469 && org_id!=10490 && org_id!=10567 && org_id!=10724"> {{ monitor.conductivity ? monitor.conductivity : "" }}</span>
1964
                           <span v-if="org_id!=0&&org_id!=10469 && org_id!=10490 && org_id!=10567 && org_id!=10724"> {{ monitor.conductivity ? monitor.conductivity : "" }}</span>
1965
                           <span v-if="org_id==10469 || org_id == 10567 || org_id == 0 || org_id == 10724"> {{ monitor.sodium_concentration ? monitor.sodium_concentration : "" }}</span>
1965
                           <span v-if="org_id==10469 || org_id == 10567 || org_id == 0 || org_id == 10724"> {{ monitor.sodium_concentration ? monitor.sodium_concentration : "" }}</span>
1966
                           <span v-if="org_id==10490"> {{ monitor.replacement_speed ? monitor.replacement_speed : "" }}</span>
1966
                           <span v-if="org_id==10490"> {{ monitor.replacement_speed ? monitor.replacement_speed : "" }}</span>
2873
                             : "/"
2873
                             : "/"
2874
                            }}
2874
                            }}
2875
                          </span> -->
2875
                          </span> -->
2876
-                         <span>
2876
+                         <span v-if="predialysis&&predialysis.weight_before>0&&afterdialysis&&afterdialysis.weight_after>0">
2877
                           {{(predialysis.weight_before - afterdialysis.weight_after).toFixed(2)}}
2877
                           {{(predialysis.weight_before - afterdialysis.weight_after).toFixed(2)}}
2878
                          </span>
2878
                          </span>
2879
 
2879
 
4819
          window.open(fileURL);//打开ppf文件
4819
          window.open(fileURL);//打开ppf文件
4820
        }
4820
        }
4821
      },
4821
      },
4822
-     compare (property) {
4823
-       return function (a, b) {
4824
-           var value1 = a[property]
4825
-           var value2 = b[property]
4826
-           return value1 - value2
4827
-       }
4828
-     },
4822
+   
4829
 
4823
 
4830
      openPdf(blob) {
4824
      openPdf(blob) {
4831
        const objectUrl = URL.createObjectURL(blob);
4825
        const objectUrl = URL.createObjectURL(blob);
5624
               newHisArr[i].advice_name_str = ""
5618
               newHisArr[i].advice_name_str = ""
5625
               newHisArr[i].advice_name_str = newHisArr[i].project_team + (newHisArr[i].prescription_id).toString()
5619
               newHisArr[i].advice_name_str = newHisArr[i].project_team + (newHisArr[i].prescription_id).toString()
5626
             }
5620
             }
5627
-            console.log("newHisArr===================================",newHisArr)
5621
+            // console.log("newHisArr===================================",newHisArr)
5622
+
5623
+
5624
+            // newHisArr.sort(this.compareOne('id'))
5625
+            // newHisArr.map((item, index) => {
5626
+            //   console.log("item=----------------",item)
5627
+            //   // item.sort(this.compare('execution_time'))
5628
+            // })
5628
 
5629
 
5629
             var ordHisArr = this.getQuChong(newHisArr)
5630
             var ordHisArr = this.getQuChong(newHisArr)
5630
 
5631
 
5738
         console.log("this.totollength",this.totollength)
5739
         console.log("this.totollength",this.totollength)
5739
 
5740
 
5740
 
5741
 
5741
-        if (this.totollength > 18) {
5742
+        if (this.totollength > 20) {
5742
           var temp_advice_length = this.doctor_advices.length
5743
           var temp_advice_length = this.doctor_advices.length
5743
           var doctor_advices_1 = [];
5744
           var doctor_advices_1 = [];
5744
           var doctor_advices_2 = [];
5745
           var doctor_advices_2 = [];
5763
       }
5764
       }
5764
       // })
5765
       // })
5765
     },
5766
     },
5767
+    compare (property) {
5768
+      return function (a, b) {
5769
+          var value1 = a[property]
5770
+          var value2 = b[property]
5771
+          return value1 - value2
5772
+      }
5773
+     },
5774
+
5775
+     compareOne (property) {
5776
+      return function (a, b) {
5777
+          var value1 = a[property]
5778
+          var value2 = b[property]
5779
+          return value1 - value2
5780
+      }
5781
+     },
5766
      getQuChong(tempArr) {
5782
      getQuChong(tempArr) {
5767
       let result = [];
5783
       let result = [];
5768
         let obj = {};
5784
         let obj = {};

+ 4 - 4
src/xt_pages/user/components/PatientSidebar.vue 查看文件

187
               name: '1-11',
187
               name: '1-11',
188
               label: '首次病程记录'
188
               label: '首次病程记录'
189
             },
189
             },
190
-            // {
191
-            //   name: '1-2',
192
-            //   label: '病程记录'
193
-            // }, 
190
+            {
191
+              name: '1-2',
192
+              label: '病程记录'
193
+            }, 
194
             {
194
             {
195
               name: '1-5',
195
               name: '1-5',
196
               label: '抢救记录'
196
               label: '抢救记录'

+ 34 - 3
src/xt_pages/user/rescueRecord.vue 查看文件

124
       >
124
       >
125
         <div>
125
         <div>
126
           <div class="new_record_form">
126
           <div class="new_record_form">
127
-            <diV>
127
+            <div style="margin-bottom: 10px;">
128
+              <span class="filter_title">抢救时间:</span>
129
+              <el-date-picker
130
+                size="small"
131
+                type="date"
132
+                format="yyyy-MM-dd"
133
+                value-format="yyyy-MM-dd"
134
+                placeholder="选择开始时间"
135
+                style="width:150px"
136
+                v-model="record_date"
137
+              ></el-date-picker>
138
+            </div>
139
+            <div>
128
               <span class="filter_title">日常抢救:</span>
140
               <span class="filter_title">日常抢救:</span>
129
               <el-select
141
               <el-select
130
                 v-model="select_template"
142
                 v-model="select_template"
176
         <div>
188
         <div>
177
           <div class="new_record_form">
189
           <div class="new_record_form">
178
             <diV>
190
             <diV>
191
+              <div style="margin-bottom: 10px;">
192
+              <span class="filter_title">抢救时间:</span>
193
+              <el-date-picker
194
+                size="small"
195
+                type="date"
196
+                format="yyyy-MM-dd"
197
+                value-format="yyyy-MM-dd"
198
+                placeholder="选择开始时间"
199
+                style="width:150px"
200
+                v-model="record_date"
201
+              ></el-date-picker>
202
+            </div>
179
               <span class="filter_title">日常抢救:</span>
203
               <span class="filter_title">日常抢救:</span>
180
               <el-select
204
               <el-select
181
                 v-model="select_template"
205
                 v-model="select_template"
230
   modifyCoursePrint
254
   modifyCoursePrint
231
 } from "@/api/patient";
255
 } from "@/api/patient";
232
 import { parseTime } from "@/utils";
256
 import { parseTime } from "@/utils";
257
+import { uParseTime } from '@/utils/tools'
233
 const moment = require('moment')
258
 const moment = require('moment')
234
 export default {
259
 export default {
235
   name: "RescueRecord",
260
   name: "RescueRecord",
256
 
281
 
257
       selectingRows: [],
282
       selectingRows: [],
258
       id:0,
283
       id:0,
284
+      record_date:""
259
     };
285
     };
260
   },
286
   },
261
   created() {
287
   created() {
343
         return;
369
         return;
344
       }
370
       }
345
       this.uploading_new_record = true;
371
       this.uploading_new_record = true;
346
-      createRescueRecord(this.patient_id, this.new_content)
372
+      createRescueRecord(this.patient_id, this.new_content,this.record_date)
347
         .then(rs => {
373
         .then(rs => {
348
           this.uploading_new_record = false;
374
           this.uploading_new_record = false;
349
           var resp = rs.data;
375
           var resp = rs.data;
368
          if(response.data.state == 1){
394
          if(response.data.state == 1){
369
             var rescueRecord =  response.data.data.rescueRecord
395
             var rescueRecord =  response.data.data.rescueRecord
370
             console.log("rescueRecord",rescueRecord)
396
             console.log("rescueRecord",rescueRecord)
397
+            this.record_date = this.getTime(rescueRecord.record_time)
371
             this.new_content = rescueRecord.content
398
             this.new_content = rescueRecord.content
372
             this.edit_show_dialog = true
399
             this.edit_show_dialog = true
373
          }
400
          }
433
       var params = {
460
       var params = {
434
         id:this.id,
461
         id:this.id,
435
         content:this.new_content,
462
         content:this.new_content,
463
+        record_date:this.record_date,
436
       }
464
       }
437
       modifyCoursePrint(params).then(response=>{
465
       modifyCoursePrint(params).then(response=>{
438
          if(response.data.state == 1){
466
          if(response.data.state == 1){
451
           return
479
           return
452
        }
480
        }
453
        this.$router.push({ path: "/rescue/record/print?id="+this.id+"&patient_id="+this.patient_id});
481
        this.$router.push({ path: "/rescue/record/print?id="+this.id+"&patient_id="+this.patient_id});
454
-    }
482
+    },
483
+    getTime (time) {
484
+      return uParseTime(time, '{y}-{m}-{d}')
485
+    },
455
 
486
 
456
   }
487
   }
457
 };
488
 };

+ 13 - 13
src/xt_permission.js 查看文件

12
 
12
 
13
 router.beforeEach((to, from, next) => {
13
 router.beforeEach((to, from, next) => {
14
   // 线上注释
14
   // 线上注释
15
-  // if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
-  //   store.dispatch('VerifyConfigList', []).then(() => {
17
-  //     next()
18
-  //   })
19
-  // }
20
-  // if (store.getters.permission_routers === undefined) {
21
-  //   store.dispatch('xt_GenerateRoutes', []).then(() => {
22
-  //     next()
23
-  //   })
24
-  // } else {
25
-  //   next()
26
-  // }
27
-  // return
15
+  if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
+    store.dispatch('VerifyConfigList', []).then(() => {
17
+      next()
18
+    })
19
+  }
20
+  if (store.getters.permission_routers === undefined) {
21
+    store.dispatch('xt_GenerateRoutes', []).then(() => {
22
+      next()
23
+    })
24
+  } else {
25
+    next()
26
+  }
27
+  return
28
  // 线上注释
28
  // 线上注释
29
   NProgress.start()
29
   NProgress.start()
30
   // console.log(store.getters.current_role_urls.indexOf(to.path))
30
   // console.log(store.getters.current_role_urls.indexOf(to.path))