Browse Source

字段添加

XMLWAN 4 years ago
parent
commit
d191e63813

+ 1 - 0
src/api/dialysis.js View File

194
 }
194
 }
195
 
195
 
196
 export function postAssessmentBeforeDislysis(params) {
196
 export function postAssessmentBeforeDislysis(params) {
197
+  console.log('params', params)
197
   return request({
198
   return request({
198
     url: '/api/dialysis/assessmentbeforedislysis',
199
     url: '/api/dialysis/assessmentbeforedislysis',
199
     method: 'Post',
200
     method: 'Post',

+ 1 - 0
src/api/dialysis_record.js View File

36
     schedule_date: schedule_date,
36
     schedule_date: schedule_date,
37
     mode: mode
37
     mode: mode
38
   }
38
   }
39
+  console.log('data=====', data)
39
   return request({
40
   return request({
40
     url: '/api/dislysis/monitor/edit',
41
     url: '/api/dislysis/monitor/edit',
41
     method: 'post',
42
     method: 'post',

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

28
           <el-col :span="8" v-if="isShow('实际超滤量')">
28
           <el-col :span="8" v-if="isShow('实际超滤量')">
29
             <el-form-item
29
             <el-form-item
30
               label="实际超滤量(ml): "
30
               label="实际超滤量(ml): "
31
-              v-if=" this.template_id == 6 || this.template_id == 9 || this.template_id == 10 || this.template_id == 11  || this.template_id == 17 || this.template_id == 20 || this.template_id == 21 || this.template_id == 22"  >
31
+              v-if=" this.template_id == 6 || this.template_id == 9 || this.template_id == 10 || this.template_id == 11  || this.template_id == 17 || this.template_id == 20 || this.template_id == 21 || this.template_id == 22 || this.template_id == 23"  >
32
               <el-input v-model="form.actual_ultrafiltration"></el-input>
32
               <el-input v-model="form.actual_ultrafiltration"></el-input>
33
             </el-form-item>
33
             </el-form-item>
34
             <el-form-item label="实际超滤量(L): " v-else>
34
             <el-form-item label="实际超滤量(L): " v-else>
298
           </el-form-item>
298
           </el-form-item>
299
         </el-col>
299
         </el-col>
300
 
300
 
301
+
302
+         <el-col :span="8" v-if="isShow('卧位收缩压')">
303
+          <el-form-item label="卧位收缩压(mmHg):">
304
+              <el-input v-model="form.supine_systolic_blood_pressure"></el-input>
305
+          </el-form-item>
306
+        </el-col>
307
+
308
+       <el-col :span="8" v-if="isShow('卧位舒张压')">
309
+          <el-form-item label="卧位舒张压(mmHg):">
310
+              <el-input v-model="form.supine_diastolic_blood_pressure"></el-input>
311
+          </el-form-item>
312
+        </el-col>
313
+
314
+        <el-col :span="8" v-if="isShow('坐位收缩压')">
315
+          <el-form-item label="坐位收缩压(mmHg):">
316
+              <el-input v-model="form.setting_pressure"></el-input>
317
+          </el-form-item>
318
+        </el-col>
319
+
320
+         <el-col :span="8" v-if="isShow('坐位舒张压')">
321
+          <el-form-item label="坐位舒张压(mmHg):">
322
+              <el-input v-model="form.diastolic_pressure"></el-input>
323
+          </el-form-item>
324
+        </el-col>
325
+
301
         <el-col :span="8" v-if="isShow('呼吸频率')">
326
         <el-col :span="8" v-if="isShow('呼吸频率')">
302
           <el-form-item label="呼吸频率(次/min): ">
327
           <el-form-item label="呼吸频率(次/min): ">
303
             <el-input v-model="form.breathing_rate"></el-input>
328
             <el-input v-model="form.breathing_rate"></el-input>
546
             </el-select>
571
             </el-select>
547
           </el-form-item>
572
           </el-form-item>
548
         </el-col>
573
         </el-col>
574
+
575
+        <el-col :span="8" v-if="isShow('实际抗凝剂用量')">
576
+          <el-form-item label="实际抗凝剂用量: ">
577
+              <el-input v-model="form.dosage_of_anticoagulants"></el-input>
578
+          </el-form-item>
579
+        </el-col>
580
+
581
+
549
       </el-form>
582
       </el-form>
550
 
583
 
551
       <span slot="footer" class="dialog-footer">
584
       <span slot="footer" class="dialog-footer">
691
         stroke_volume: '',
724
         stroke_volume: '',
692
         blood_flow: '',
725
         blood_flow: '',
693
         sealing_fluid_dispose: '',
726
         sealing_fluid_dispose: '',
694
-        sealing_fluid_special: ''
727
+        sealing_fluid_special: '',
728
+        dosage_of_anticoagulants:'',
729
+        supine_systolic_blood_pressure:'',
730
+        setting_pressure:'',
731
+        supine_diastolic_blood_pressure:'',
732
+        diastolic_pressure:''
695
       }
733
       }
696
     }
734
     }
697
   },
735
   },
878
       data['blood_flow'] = this.form.blood_flow ? parseFloat(this.form.blood_flow) : 0
916
       data['blood_flow'] = this.form.blood_flow ? parseFloat(this.form.blood_flow) : 0
879
       data['sealing_fluid_dispose'] = this.form.sealing_fluid_dispose ? parseFloat(this.form.sealing_fluid_dispose) : 0
917
       data['sealing_fluid_dispose'] = this.form.sealing_fluid_dispose ? parseFloat(this.form.sealing_fluid_dispose) : 0
880
       data['sealing_fluid_special'] = this.form.sealing_fluid_special
918
       data['sealing_fluid_special'] = this.form.sealing_fluid_special
919
+      data['dosage_of_anticoagulants'] = this.form.dosage_of_anticoagulants ? parseFloat(this.form.dosage_of_anticoagulants) : 0
920
+      data['supine_systolic_blood_pressure'] = this.form.supine_systolic_blood_pressure
921
+      data['setting_pressure'] = this.form.setting_pressure
922
+      data["supine_diastolic_blood_pressure"] = this.form.supine_diastolic_blood_pressure
923
+      data["diastolic_pressure"] = this.form.diastolic_pressure
881
       console.log('data', data)
924
       console.log('data', data)
882
       postAssessmentAfterDislysis(ParamsQuery, data)
925
       postAssessmentAfterDislysis(ParamsQuery, data)
883
         .then(response => {
926
         .then(response => {

+ 26 - 6
src/xt_pages/dialysis/details/dialog/DoctorAdviceDialog.vue View File

54
         <!--<el-button round @click="openNewChild" :loading="deleLoading">新增子药</el-button>-->
54
         <!--<el-button round @click="openNewChild" :loading="deleLoading">新增子药</el-button>-->
55
       </div>
55
       </div>
56
       <!-- 医嘱列表 -->
56
       <!-- 医嘱列表 -->
57
+      <!--   @row-click="cellMouseEnter" -->
57
       <!--&lt;!&ndash;:header-cell-style="{ backgroundColor: 'rgb(64, 158, 255)', color: 'white'}"&ndash;&gt;@current-change="selectRow"-->
58
       <!--&lt;!&ndash;:header-cell-style="{ backgroundColor: 'rgb(64, 158, 255)', color: 'white'}"&ndash;&gt;@current-change="selectRow"-->
58
       <el-table
59
       <el-table
59
         :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }"
60
         :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }"
60
-        :data="doctor_advices"
61
+        :data="doctorAdvices"
61
         border
62
         border
62
         style="width: 100%"
63
         style="width: 100%"
63
         v-show="showAdvicePanel"
64
         v-show="showAdvicePanel"
64
         ref="advices_list"
65
         ref="advices_list"
66
+         @row-click="cellMouseEnter"
65
         :row-class-name="tableRowClassName"
67
         :row-class-name="tableRowClassName"
66
         :span-method="objectSpanMethod"
68
         :span-method="objectSpanMethod"
67
-        @row-click="cellMouseEnter"
68
         :cell-class-name="adviceNameShow"
69
         :cell-class-name="adviceNameShow"
69
         :modal-append-to-body="false"
70
         :modal-append-to-body="false"
70
         highlight-current-row
71
         highlight-current-row
447
 import { getDataConfig } from "@/utils/data";
448
 import { getDataConfig } from "@/utils/data";
448
 
449
 
449
 import request from "@/utils/request";
450
 import request from "@/utils/request";
450
-
451
+import {getDialysisScheduleDetail} from '@/api/dialysis_record'
451
 export default {
452
 export default {
452
   name: "DoctorAdviceDialog",
453
   name: "DoctorAdviceDialog",
453
   props: {
454
   props: {
565
       currentRow: null,
566
       currentRow: null,
566
       groupSelectRow: null,
567
       groupSelectRow: null,
567
 
568
 
568
-      templateForm: { id: "" }
569
+      templateForm: { id: "" },
570
+      doctorAdvices:[],
571
+      patientid:"",
569
     };
572
     };
570
   },
573
   },
571
   watch: {
574
   watch: {
1798
         }
1801
         }
1799
       }
1802
       }
1800
     },
1803
     },
1801
-    handleCurrentChange(val) {
1802
-      console.log("val是什么", val);
1804
+    handleCurrentChange(row) {
1805
+      // this.currentRow = row;
1806
+      // this.groupSelectRow = row;
1807
+      // this.sameRowArr.forEach((arr, i) => {
1808
+      //   if (arr.indexOf(row.index) != -1) {
1809
+      //     this.hoverOrderArr = arr;
1810
+      //   }
1811
+      // });
1803
     },
1812
     },
1804
     objectSpanMethod({ row, column, rowIndex, columnIndex }) {
1813
     objectSpanMethod({ row, column, rowIndex, columnIndex }) {
1805
       console.log("columnIndex", columnIndex);
1814
       console.log("columnIndex", columnIndex);
1830
           };
1839
           };
1831
         }
1840
         }
1832
       }
1841
       }
1842
+    },
1843
+    getDialysisScheduleDetail(){
1844
+       getDialysisScheduleDetail(this.patientid,this.record_date).then(response=>{
1845
+          if(response.data.state == 1){
1846
+            var doctor_advices =  response.data.data.doctor_advices
1847
+            this.doctorAdvices = doctor_advices
1848
+          }
1849
+       })
1833
     }
1850
     }
1834
   },
1851
   },
1835
   created() {
1852
   created() {
1839
     this.getAdviceConfig();
1856
     this.getAdviceConfig();
1840
     this.unitsOption = getDataConfig("hemodialysis", "units");
1857
     this.unitsOption = getDataConfig("hemodialysis", "units");
1841
     this.template_id = this.$store.getters.xt_user.template_info.template_id;
1858
     this.template_id = this.$store.getters.xt_user.template_info.template_id;
1859
+    this.patientid= this.$route.query.patient_id
1860
+      
1861
+    this.getDialysisScheduleDetail()
1842
   },
1862
   },
1843
   components: {
1863
   components: {
1844
     AddGroupAdvice,
1864
     AddGroupAdvice,

+ 25 - 5
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue View File

252
             </el-form-item>
252
             </el-form-item>
253
           </el-col>
253
           </el-col>
254
 
254
 
255
-
255
+                
256
+          <el-col :span="8">
257
+            <el-form-item label="针眼: " v-if="isShow('针眼')">
258
+              <el-input v-model="assessmentBeforeDislysis.pinholing" readonly
259
+                        @focus="showInnerDialog('14')"></el-input>
260
+            </el-form-item>
261
+          </el-col>
256
 
262
 
257
           <el-col :span="8">
263
           <el-col :span="8">
258
             <el-form-item label="穿刺方式: " v-if="isShow('穿刺方式')">
264
             <el-form-item label="穿刺方式: " v-if="isShow('穿刺方式')">
468
               <el-input v-model="assessmentBeforeDislysis.skin_other"></el-input>
474
               <el-input v-model="assessmentBeforeDislysis.skin_other"></el-input>
469
             </el-form-item>
475
             </el-form-item>
470
           </el-col>
476
           </el-col>
471
-
477
+   
472
 
478
 
473
           <!-- </el-row>
479
           <!-- </el-row>
474
 
480
 
627
           skin: '',
633
           skin: '',
628
           skin_other: '',
634
           skin_other: '',
629
           infect_other: '',
635
           infect_other: '',
630
-          machine_type: ''
636
+          machine_type: '',
637
+          pinholing:''
631
         },
638
         },
632
 
639
 
633
         InnerDialogProps: {
640
         InnerDialogProps: {
640
         },
647
         },
641
         machineType: [],
648
         machineType: [],
642
         puncture_ways: '',
649
         puncture_ways: '',
643
-        skins:[]
650
+        skins:[],
651
+        pinholings:[]
644
 
652
 
645
       }
653
       }
646
     },
654
     },
876
             this.InnerDialogProps.selected = this.assessmentBeforeDislysis.puncture_way
884
             this.InnerDialogProps.selected = this.assessmentBeforeDislysis.puncture_way
877
             this.InnerDialogProps.isShowTextArea = false
885
             this.InnerDialogProps.isShowTextArea = false
878
 
886
 
887
+            break
888
+            case '14': // 针眼
889
+            this.InnerDialogProps.values = this.pinholings
890
+            this.InnerDialogProps.titles = '针眼'
891
+            this.InnerDialogProps.type = 'pinholing'
892
+            this.InnerDialogProps.selected = this.assessmentBeforeDislysis.pinholing
893
+            this.InnerDialogProps.isShowTextArea = false
894
+
879
             break
895
             break
880
         }
896
         }
881
       },
897
       },
925
           case 'puncture_way':
941
           case 'puncture_way':
926
             this.assessmentBeforeDislysis.puncture_way = val.value.join(',')
942
             this.assessmentBeforeDislysis.puncture_way = val.value.join(',')
927
             break
943
             break
944
+          case 'pinholing':
945
+            this.assessmentBeforeDislysis.pinholing = val.value.join(',')
946
+            break
928
         }
947
         }
929
       },
948
       },
930
       innerDialogCancle: function() {
949
       innerDialogCancle: function() {
932
       }, handleComfirm: function() {
951
       }, handleComfirm: function() {
933
 
952
 
934
         var arr = this.assessmentBeforeDislysis
953
         var arr = this.assessmentBeforeDislysis
935
-        console.log("arr是多少----------",arr)
936
         for (let i = 0; i < this.machineType.length; i++) {
954
         for (let i = 0; i < this.machineType.length; i++) {
937
           if (arr.machine_type == this.machineType[i].id) {
955
           if (arr.machine_type == this.machineType[i].id) {
938
             arr.machine_type = this.machineType[i].name
956
             arr.machine_type = this.machineType[i].name
1074
       //获取皮肤
1092
       //获取皮肤
1075
       this.skins = getDataConfig('hemodialysis','skin')
1093
       this.skins = getDataConfig('hemodialysis','skin')
1076
       console.log("皮肤",this.skins)
1094
       console.log("皮肤",this.skins)
1095
+      this.pinholings = getDataConfig('hemodialysis','pinholing')
1096
+      console.log("针眼",this.pinholings)
1077
       // this.weight_adjust.weight = this.dry_weight.dry_weight
1097
       // this.weight_adjust.weight = this.dry_weight.dry_weight
1078
 
1098
 
1079
       // if(this.predialysis_evaluation.id == 0){
1099
       // if(this.predialysis_evaluation.id == 0){

+ 25 - 5
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

65
             </el-form-item>
65
             </el-form-item>
66
           </el-col>
66
           </el-col>
67
 
67
 
68
+
69
+           <el-col :span="8"
70
+                  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)">
71
+            <el-form-item label="预冲量(ml):">
72
+              <el-input
73
+                type="number"
74
+                v-model="dialysisPrescription.pre_impulse"
75
+              ></el-input>
76
+            </el-form-item>
77
+          </el-col>
78
+
79
+          <el-col :span="8"
80
+                  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">
81
+            <el-form-item label="预冲量(L):">
82
+              <el-input
83
+                type="number"
84
+                v-model="dialysisPrescription.pre_impulse"
85
+              ></el-input>
86
+            </el-form-item>
87
+          </el-col>
88
+
68
           <el-col :span="8"
89
           <el-col :span="8"
69
-                  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)">
90
+                  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 )">
70
             <el-form-item label="目标超滤量(ml):">
91
             <el-form-item label="目标超滤量(ml):">
71
               <el-input
92
               <el-input
72
                 type="number"
93
                 type="number"
76
           </el-col>
97
           </el-col>
77
 
98
 
78
           <el-col :span="8"
99
           <el-col :span="8"
79
-                  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">
100
+                  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">
80
             <el-form-item label="目标超滤量(L):">
101
             <el-form-item label="目标超滤量(L):">
81
               <el-input
102
               <el-input
82
                 type="number"
103
                 type="number"
1147
           tubing_hemodialysis: '',
1168
           tubing_hemodialysis: '',
1148
           package: '',
1169
           package: '',
1149
           a_liquid: '',
1170
           a_liquid: '',
1150
-
1151
           no_anticoagulant_shouji: '0',
1171
           no_anticoagulant_shouji: '0',
1152
           no_anticoagulant_weichi: '0',
1172
           no_anticoagulant_weichi: '0',
1153
           no_anticoagulant_zongliang: '0',
1173
           no_anticoagulant_zongliang: '0',
1154
-
1155
-          creater: 0
1174
+          creater: 0,
1175
+          pre_impulse:0, //预冲量
1156
         },
1176
         },
1157
 
1177
 
1158
         anticoagulant: {
1178
         anticoagulant: {

+ 19 - 7
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

152
                   template_id == 19 ||
152
                   template_id == 19 ||
153
                   template_id == 20 ||
153
                   template_id == 20 ||
154
                   template_id == 21 ||
154
                   template_id == 21 ||
155
-                  template_id == 22)
155
+                  template_id == 22 ||
156
+                  template_id == 23)
156
             "
157
             "
157
           >
158
           >
158
             <template slot-scope="scope">
159
             <template slot-scope="scope">
180
                 template_id != 19 &&
181
                 template_id != 19 &&
181
                 template_id != 20 &&
182
                 template_id != 20 &&
182
                 template_id != 21 &&
183
                 template_id != 21 &&
183
-                template_id != 22
184
+                template_id != 22 &&
185
+                template_id != 23
184
             "
186
             "
185
           >
187
           >
186
             <template slot-scope="scope">
188
             <template slot-scope="scope">
482
 
484
 
483
           <el-col
485
           <el-col
484
             :span="8"
486
             :span="8"
485
-            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) " >
487
+            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) " >
486
             <el-form-item label="超滤量(ml):">
488
             <el-form-item label="超滤量(ml):">
487
               <el-input v-model="form.ultrafiltration_volume"></el-input>
489
               <el-input v-model="form.ultrafiltration_volume"></el-input>
488
             </el-form-item>
490
             </el-form-item>
490
 
492
 
491
           <el-col
493
           <el-col
492
             :span="8"
494
             :span="8"
493
-            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" >
495
+            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" >
494
             <el-form-item label="超滤量(L):">
496
             <el-form-item label="超滤量(L):">
495
               <el-input v-model="form.ultrafiltration_volume"></el-input>
497
               <el-input v-model="form.ultrafiltration_volume"></el-input>
496
             </el-form-item>
498
             </el-form-item>
568
               <el-input type="textarea" :rows="4" v-model="form.ktv"></el-input>
570
               <el-input type="textarea" :rows="4" v-model="form.ktv"></el-input>
569
             </el-form-item>
571
             </el-form-item>
570
           </el-col>
572
           </el-col>
573
+
574
+
575
+           <el-col :span="24" v-if="isShow('URR')">
576
+            <el-form-item label="URR:">
577
+              <el-input type="textarea" :rows="4" v-model="form.urr"></el-input>
578
+            </el-form-item>
579
+          </el-col>
571
           <!-- </el-row>
580
           <!-- </el-row>
572
 
581
 
573
           <el-row :gutter="20"> -->
582
           <el-row :gutter="20"> -->
738
         symptom: '', // 病情变化
747
         symptom: '', // 病情变化
739
         dispose: '', // 处理
748
         dispose: '', // 处理
740
         result: '', // 结果,
749
         result: '', // 结果,
741
-        blood_oxygen_saturation: '' // 血氧饱和度
750
+        blood_oxygen_saturation: '',
751
+        urr:'' // 血氧饱和度
742
       },
752
       },
743
 
753
 
744
       table_current_row: null,
754
       table_current_row: null,
986
         this.symptom_selecteds = []
996
         this.symptom_selecteds = []
987
         this.dispose_selecteds = []
997
         this.dispose_selecteds = []
988
         this.result_selecteds = []
998
         this.result_selecteds = []
999
+        this.form.urr = ''
989
       } else {
1000
       } else {
990
         (this.form.id = monitor.id),
1001
         (this.form.id = monitor.id),
991
         // this.form.operate_date = monitor.operate_date
1002
         // this.form.operate_date = monitor.operate_date
1019
         this.form.dispose = monitor.dispose
1030
         this.form.dispose = monitor.dispose
1020
         this.form.result = monitor.result
1031
         this.form.result = monitor.result
1021
         this.form.blood_oxygen_saturation = monitor.blood_oxygen_saturation
1032
         this.form.blood_oxygen_saturation = monitor.blood_oxygen_saturation
1033
+        this.form.urr = monitor.urr?monitor.urr:''
1022
         // 设置三个下拉框的值,直接调用事件偷懒
1034
         // 设置三个下拉框的值,直接调用事件偷懒
1023
         this.symptomTextareaBlur()
1035
         this.symptomTextareaBlur()
1024
         this.disposeTextareaBlur()
1036
         this.disposeTextareaBlur()
1054
       this.form.dialysate_flow = parseFloat(this.form.dialysate_flow) == NaN ? 0 : parseFloat(this.form.dialysate_flow)
1066
       this.form.dialysate_flow = parseFloat(this.form.dialysate_flow) == NaN ? 0 : parseFloat(this.form.dialysate_flow)
1055
       this.form.ktv = parseFloat(this.form.ktv) == NaN ? 0 : parseFloat(this.form.ktv)
1067
       this.form.ktv = parseFloat(this.form.ktv) == NaN ? 0 : parseFloat(this.form.ktv)
1056
       this.form.monitoring_date = parseInt(this.form.monitoring_date)
1068
       this.form.monitoring_date = parseInt(this.form.monitoring_date)
1057
-
1069
+      this.form.urr = this.form.urr
1058
       let mode = '1'
1070
       let mode = '1'
1059
       if (this.form.id > 0) {
1071
       if (this.form.id > 0) {
1060
         mode = '2'
1072
         mode = '2'
1108
             this.form.dialysate_flow = parseFloat(this.form.dialysate_flow) == NaN ? 0 : parseFloat(this.form.dialysate_flow)
1120
             this.form.dialysate_flow = parseFloat(this.form.dialysate_flow) == NaN ? 0 : parseFloat(this.form.dialysate_flow)
1109
 
1121
 
1110
             this.form.ktv = parseFloat(this.form.ktv) == NaN ? 0 : parseFloat(this.form.ktv)
1122
             this.form.ktv = parseFloat(this.form.ktv) == NaN ? 0 : parseFloat(this.form.ktv)
1111
-
1123
+            this.form.urr = this.form.urr
1112
             this.$message.error(resp.msg)
1124
             this.$message.error(resp.msg)
1113
           }
1125
           }
1114
         }
1126
         }

+ 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 == 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)" width="76px" > 超滤量(ml)</th>
18
-          <th v-if=" isShow('超滤量') && template_id != 6 && 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"  width="76px"> 超滤量(L) </th>
17
+          <th v-if=" isShow('超滤量') &&(template_id == 6 || 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)" width="76px" > 超滤量(ml)</th>
18
+          <th v-if=" isShow('超滤量') && template_id != 6 && 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"  width="76px"> 超滤量(L) </th>
19
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
19
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
20
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
20
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
21
           <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20) " width="92px" > 置换率(ml/min) </th>
21
           <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20) " width="92px" > 置换率(ml/min) </th>
26
           <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
26
           <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
27
           <th v-if="isShow('置换液流量')" width="92px">置换液流量(ml/h)</th>
27
           <th v-if="isShow('置换液流量')" width="92px">置换液流量(ml/h)</th>
28
           <th v-if="isShow('透析液流量')" width="92px">透析液流量(ml/h)</th>
28
           <th v-if="isShow('透析液流量')" width="92px">透析液流量(ml/h)</th>
29
-          <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)" width="50px"> 超滤率 <br />(ml/h) </th>
30
-          <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" width="50px"> 超滤率 <br />(L/h) </th>
29
+          <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)" width="50px"> 超滤率 <br />(ml/h) </th>
30
+          <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" width="50px"> 超滤率 <br />(L/h) </th>
31
           <th v-if="isShow('肝素用量余量')" width="92px">肝素用量余量(ml)</th>
31
           <th v-if="isShow('肝素用量余量')" width="92px">肝素用量余量(ml)</th>
32
           <th v-if="isShow('病情变化')" width="92px">病情变化</th>
32
           <th v-if="isShow('病情变化')" width="92px">病情变化</th>
33
           <th v-if="isShow('处理')" width="92px">处理</th>
33
           <th v-if="isShow('处理')" width="92px">处理</th>

+ 27 - 13
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyThree.vue View File

62
             <td width="70">透析次数:</td>
62
             <td width="70">透析次数:</td>
63
             <td width="50">
63
             <td width="50">
64
               <div class="under-line">
64
               <div class="under-line">
65
-                &nbsp;<span></span>
65
+                &nbsp;<span>{{dialysisCount}}</span>
66
               </div>
66
               </div>
67
             </td>
67
             </td>
68
             <td width='10'>次</td>
68
             <td width='10'>次</td>
276
                     <td width="10">)</td>
276
                     <td width="10">)</td>
277
                     <td width="50">针眼:</td>
277
                     <td width="50">针眼:</td>
278
                     <td width='10'>A</td>
278
                     <td width='10'>A</td>
279
-                    <td width="50">
279
+                    <td width="120">
280
                       <div class="under-line">
280
                       <div class="under-line">
281
                         &nbsp;
281
                         &nbsp;
282
-                        
282
+                         <span v-if="predialysis.pinholing.indexOf('A1')>-1">A1,</span>
283
+                         <span v-if="predialysis.pinholing.indexOf('A2')>-1">A2,</span>
284
+                         <span v-if="predialysis.pinholing.indexOf('A3')>-1">A3,</span>
285
+                         <span v-if="predialysis.pinholing.indexOf('A4')>-1">A4,</span>
286
+                         <span v-if="predialysis.pinholing.indexOf('A5')>-1">A5,</span>
287
+                         <span v-if="predialysis.pinholing.indexOf('A6')>-1">A6</span>
283
                       </div>
288
                       </div>
284
                     </td>
289
                     </td>
285
                     <td width='10'>V</td>
290
                     <td width='10'>V</td>
286
-                    <td width="50">
291
+                    <td width="120">
287
                       <div class="under-line">
292
                       <div class="under-line">
288
                         &nbsp;
293
                         &nbsp;
289
-                        
294
+                         <span v-if="predialysis.pinholing.indexOf('V1')>-1">V1,</span>
295
+                         <span v-if="predialysis.pinholing.indexOf('V2')>-1">V2,</span>
296
+                         <span v-if="predialysis.pinholing.indexOf('V3')>-1">V3,</span>
297
+                         <span v-if="predialysis.pinholing.indexOf('V4')>-1">V4,</span>
298
+                         <span v-if="predialysis.pinholing.indexOf('V5')>-1">V5,</span>
299
+                         <span v-if="predialysis.pinholing.indexOf('V6')>-1">V6</span>
290
                       </div>
300
                       </div>
291
                     </td>
301
                     </td>
292
                     <td></td>
302
                     <td></td>
377
                     <td width="45">预充量</td>
387
                     <td width="45">预充量</td>
378
                     <td width="50">
388
                     <td width="50">
379
                       <div class="under-line">
389
                       <div class="under-line">
380
-                        &nbsp;
390
+                        &nbsp;{{prescription.pre_impulse?prescription.pre_impulse:""}}
381
                       </div>
391
                       </div>
382
                     </td>
392
                     </td>
383
                     <td width="10">ml</td>
393
                     <td width="10">ml</td>
747
                       <td width='50'>
757
                       <td width='50'>
748
                           <div class="under-line">
758
                           <div class="under-line">
749
                               &nbsp;
759
                               &nbsp;
760
+                              {{afterdialysis.dosage_of_anticoagulants?afterdialysis.dosage_of_anticoagulants:''}}
750
                           </div>
761
                           </div>
751
                       </td>
762
                       </td>
752
                       <td width='10'></td>
763
                       <td width='10'></td>
777
                       <td width='50'>卧位BP</td>
788
                       <td width='50'>卧位BP</td>
778
                       <td width='50'>
789
                       <td width='50'>
779
                           <div class="under-line">
790
                           <div class="under-line">
780
-                              &nbsp;
791
+                              &nbsp;{{afterdialysis.supine_systolic_blood_pressure?afterdialysis.supine_systolic_blood_pressure:''}}
781
                           </div>
792
                           </div>
782
                       </td>
793
                       </td>
783
                       <td width='10'>/</td>
794
                       <td width='10'>/</td>
784
                       <td width='50'>
795
                       <td width='50'>
785
                           <div class="under-line">
796
                           <div class="under-line">
786
-                              &nbsp;
797
+                              &nbsp;{{afterdialysis.supine_diastolic_blood_pressure?afterdialysis.supine_diastolic_blood_pressure:''}}
787
                           </div>
798
                           </div>
788
                       </td>
799
                       </td>
789
                       <td width='30'>mmHg</td>
800
                       <td width='30'>mmHg</td>
790
                       <td width='10'></td>
801
                       <td width='10'></td>
791
-                      <td width='50'>位BP</td>
802
+                      <td width='50'>位BP</td>
792
                       <td width='50'>
803
                       <td width='50'>
793
                           <div class="under-line">
804
                           <div class="under-line">
794
-                              &nbsp;
805
+                              &nbsp;{{afterdialysis.setting_pressure?afterdialysis.setting_pressure:''}}
795
                           </div>
806
                           </div>
796
                       </td>
807
                       </td>
797
                       <td width='10'>/</td>
808
                       <td width='10'>/</td>
798
                       <td width='50'>
809
                       <td width='50'>
799
                           <div class="under-line">
810
                           <div class="under-line">
800
-                              &nbsp;
811
+                              &nbsp;{{afterdialysis.diastolic_pressure?afterdialysis.diastolic_pressure:''}}
801
                           </div>
812
                           </div>
802
                       </td>
813
                       </td>
803
                       <td width='30'>mmHg</td>
814
                       <td width='30'>mmHg</td>
1196
         gaijiliang_unit: ''
1207
         gaijiliang_unit: ''
1197
       },
1208
       },
1198
       tableAdvice: [],
1209
       tableAdvice: [],
1199
-
1200
-      assessmentafter:{}
1210
+      assessmentafter:{},
1211
+      dialysisCount:0,
1201
     }
1212
     }
1202
   },
1213
   },
1203
   methods: {
1214
   methods: {
1796
             }
1807
             }
1797
           }
1808
           }
1798
           console.log(this.advice_groups)
1809
           console.log(this.advice_groups)
1810
+          var dialysiscount =  response.data.data.dialysiscount
1811
+          console.log("透析总数",dialysiscount)
1812
+          this.dialysisCount = dialysiscount[0].Count
1799
         } else {
1813
         } else {
1800
           this.loading = false
1814
           this.loading = false
1801
           this.$message.error('请求数据失败')
1815
           this.$message.error('请求数据失败')