Browse Source

4月28日杨青

杨青 1 year ago
parent
commit
cf50e5c468

+ 247 - 217
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue View File

@@ -11,7 +11,7 @@
11 11
       <el-form ref="form" :model="form" label-width="160px">
12 12
         <el-row :gutter="20">
13 13
           <el-col :span="8" v-if="isShow('实际治疗时长')">
14
-            <el-form-item label="实际治疗时长(时):">
14
+            <el-form-item label="实际治疗时长(时):" :prop="isName('实际治疗时长')" :rules="isCheckmust('实际治疗时长')">
15 15
               <!-- <el-input v-model="form.actual_treatment_hour"></el-input> -->
16 16
               <el-time-picker
17 17
                 v-model="actualTreatmentHourShow"
@@ -27,23 +27,23 @@
27 27
 
28 28
           <el-col :span="8" v-if="isShow('实际超滤量')">
29 29
             <el-form-item
30
-              label="实际超滤量(ml): "
30
+              label="实际超滤量(ml): " :prop="isName('实际超滤量')" :rules="isCheckmust('实际超滤量')"
31 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 || this.template_id == 24 || this.template_id == 26 || this.template_id == 28 || this.template_id == 27 || this.template_id == 29 || this.template_id == 30 || this.template_id == 31 || this.template_id == 32 || this.template_id == 34 || this.template_id == 36 || this.template_id == 38 || this.template_id == 43 || this.template_id == 44 || this.template_id == 47 || this.template_id == 56 || this.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10307 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10387 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10441 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410"  >
32 32
               <el-input v-model="form.actual_ultrafiltration"></el-input>
33 33
             </el-form-item>
34
-            <el-form-item label="实际超滤量(L): " v-else>
34
+            <el-form-item label="实际超滤量(L): " v-else :prop="isName('实际超滤量')" :rules="isCheckmust('实际超滤量')">
35 35
               <el-input v-model="form.actual_ultrafiltration"></el-input>
36 36
             </el-form-item>
37 37
           </el-col>
38 38
 
39 39
           <el-col :span="8" v-if="isShow('透后称重')">
40
-            <el-form-item label="透后称重(kg): ">
40
+            <el-form-item label="透后称重(kg): " :prop="isName('透后称重')" :rules="isCheckmust('透后称重')">
41 41
               <el-input v-model="form.weight_after"></el-input>
42 42
             </el-form-item>
43 43
           </el-col>
44 44
 
45 45
           <el-col :span="8" v-if="isShow('衣物重')">
46
-            <el-form-item label="衣物重(kg): ">
46
+            <el-form-item label="衣物重(kg): " :prop="isName('衣物重')" :rules="isCheckmust('衣物重')">
47 47
               <el-input v-model="form.additional_weight"></el-input>
48 48
             </el-form-item>
49 49
           </el-col>
@@ -51,13 +51,13 @@
51 51
 
52 52
         <el-row :gutter="20">
53 53
           <el-col :span="8" v-if="isShow('体重减少')">
54
-            <el-form-item label="体重减少(kg): ">
54
+            <el-form-item label="体重减少(kg): " :prop="isName('体重减少')" :rules="isCheckmust('体重减少')">
55 55
               <el-input v-model="form.weight_loss"></el-input>
56 56
             </el-form-item>
57 57
           </el-col>
58 58
 
59 59
           <el-col :span="8" v-if="isShow('穿刺处血肿')">
60
-            <el-form-item label="穿刺处血肿: ">
60
+            <el-form-item label="穿刺处血肿: " :prop="isName('穿刺处血肿')" :rules="isCheckmust('穿刺处血肿')">
61 61
               <el-radio-group v-model="form.puncture_point_haematoma">
62 62
                 <el-radio :label="1">有</el-radio>
63 63
                 <el-radio :label="2">无</el-radio>
@@ -66,7 +66,7 @@
66 66
           </el-col>
67 67
 
68 68
           <el-col :span="8" v-if="isShow('并发症')">
69
-            <el-form-item label="并发症: ">
69
+            <el-form-item label="并发症: " :prop="isName('并发症')" :rules="isCheckmust('并发症')">
70 70
               <el-input
71 71
                 v-model="form.complication"
72 72
                 readonly
@@ -78,7 +78,7 @@
78 78
 
79 79
         <el-row :gutter="20">
80 80
           <el-col :span="8" v-if="isShow('内瘘')">
81
-            <el-form-item label="内瘘: ">
81
+            <el-form-item label="内瘘: " :prop="isName('内瘘')" :rules="isCheckmust('内瘘')">
82 82
               <el-input
83 83
                 v-model="form.internal_fistula"
84 84
                 readonly
@@ -88,7 +88,7 @@
88 88
           </el-col>
89 89
 
90 90
           <el-col :span="8" v-if="isShow('导管')">
91
-            <el-form-item label="导管: ">
91
+            <el-form-item label="导管: " :prop="isName('导管')" :rules="isCheckmust('导管')">
92 92
               <el-input
93 93
                 v-model="form.catheter"
94 94
                 readonly
@@ -98,7 +98,7 @@
98 98
           </el-col>
99 99
 
100 100
           <el-col :span="8" v-if="isShow('透析过程')">
101
-            <el-form-item label="透析过程: ">
101
+            <el-form-item label="透析过程: " :prop="isName('透析过程')" :rules="isCheckmust('透析过程')">
102 102
               <el-select v-model="form.dialysis_process">
103 103
                 <el-option :key="0" label="请选择" :value="0"></el-option>
104 104
 
@@ -113,13 +113,13 @@
113 113
           </el-col>
114 114
 
115 115
           <el-col :span="8" v-if="isShow('透析过程提前时间')">
116
-            <el-form-item label="透析过程提前时间(min): ">
116
+            <el-form-item label="透析过程提前时间(min): " :prop="isName('透析过程提前时间')" :rules="isCheckmust('透析过程提前时间')">
117 117
               <el-input v-model="form.in_advance_minute"></el-input>
118 118
             </el-form-item>
119 119
           </el-col>
120 120
 
121 121
           <el-col :span="8" v-if="isShow('透析过程提前原因')">
122
-            <el-form-item label="透析过程提前原因: ">
122
+            <el-form-item label="透析过程提前原因: " :prop="isName('透析过程提前原因')" :rules="isCheckmust('透析过程提前原因')">
123 123
               <el-input
124 124
                 v-model="form.in_advance_reason"
125 125
                 readonly
@@ -129,7 +129,7 @@
129 129
           </el-col>
130 130
 
131 131
           <el-col :span="8" v-if="isShow('透析过程提前其他原因')">
132
-            <el-form-item label="透析过程提前其他原因: ">
132
+            <el-form-item label="透析过程提前其他原因: " :prop="isName('透析过程提前其他原因')" :rules="isCheckmust('透析过程提前其他原因')">
133 133
               <el-input
134 134
                 v-model="form.in_advance_reason_other"
135 135
                 :rows="2"
@@ -140,13 +140,13 @@
140 140
 
141 141
         <el-row :gutter="20">
142 142
           <el-col :span="8" v-if="isShow('内瘘管拔针后压迫止血时间')">
143
-            <el-form-item label="内瘘管拔针后压迫止血时间(min): ">
143
+            <el-form-item label="内瘘管拔针后压迫止血时间(min): " :prop="isName('内瘘管拔针后压迫止血时间')" :rules="isCheckmust('内瘘管拔针后压迫止血时间')">
144 144
               <el-input v-model="form.hemostasis_minute" :rows="5"></el-input>
145 145
             </el-form-item>
146 146
           </el-col>
147 147
 
148 148
           <el-col :span="8" v-if="isShow('内瘘管拔针后压迫止血操作')">
149
-            <el-form-item label="内瘘管拔针后压迫止血操作: ">
149
+            <el-form-item label="内瘘管拔针后压迫止血操作: " :prop="isName('内瘘管拔针后压迫止血操作')" :rules="isCheckmust('内瘘管拔针后压迫止血操作')">
150 150
               <el-select v-model="form.hemostasis_opera">
151 151
                 <el-option :key="0" label="请选择" :value="0"></el-option>
152 152
 
@@ -161,7 +161,7 @@
161 161
           </el-col>
162 162
 
163 163
           <el-col :span="8" v-if="isShow('动脉管道')">
164
-            <el-form-item label="动脉管道: ">
164
+            <el-form-item label="动脉管道: " :prop="isName('动脉管道')" :rules="isCheckmust('动脉管道')">
165 165
               <el-select v-model="form.arterial_tube">
166 166
                 <el-option :key="0" label="请选择" :value="0"></el-option>
167 167
 
@@ -177,7 +177,7 @@
177 177
         </el-row>
178 178
         <el-row :gutter="20">
179 179
           <el-col :span="8" v-if="isShow('静脉管道')">
180
-            <el-form-item label="静脉管道: ">
180
+            <el-form-item label="静脉管道: " :prop="isName('静脉管道')" :rules="isCheckmust('静脉管道')">
181 181
               <el-select v-model="form.intravenous_tube">
182 182
                 <el-option :key="0" label="请选择" :value="0"></el-option>
183 183
 
@@ -192,7 +192,7 @@
192 192
           </el-col>
193 193
 
194 194
           <el-col :span="8" v-if="isShow('透析器凝血')">
195
-            <el-form-item label="透析器凝血: ">
195
+            <el-form-item label="透析器凝血: " :prop="isName('透析器凝血')" :rules="isCheckmust('透析器凝血')">
196 196
               <el-input
197 197
                 v-model="form.cruor"
198 198
                 readonly
@@ -202,7 +202,7 @@
202 202
           </el-col>
203 203
 
204 204
           <el-col :span="8" v-if="isShow('管路凝血')">
205
-            <el-form-item label="管路凝血: ">
205
+            <el-form-item label="管路凝血: " :prop="isName('管路凝血')" :rules="isCheckmust('管路凝血')">
206 206
               <el-input
207 207
                 v-model="form.pip_coagulation"
208 208
                 readonly
@@ -212,7 +212,7 @@
212 212
           </el-col>
213 213
 
214 214
           <el-col :span="8" v-if="isShow('患者去向')">
215
-            <el-form-item label="患者去向: ">
215
+            <el-form-item label="患者去向: " :prop="isName('患者去向')" :rules="isCheckmust('患者去向')">
216 216
               <el-select v-model="form.patient_gose">
217 217
                 <el-option :key="0" label="请选择" :value="0"></el-option>
218 218
                 <el-option
@@ -228,7 +228,7 @@
228 228
 
229 229
         <el-row>
230 230
           <el-col :span="8" v-if="isShow('拔针后穿刺点渗血')">
231
-            <el-form-item label="拔针后穿刺点渗血: ">
231
+            <el-form-item label="拔针后穿刺点渗血: " :prop="isName('拔针后穿刺点渗血')" :rules="isCheckmust('拔针后穿刺点渗血')">
232 232
               <el-radio-group v-model="form.puncture_point_oozing_blood">
233 233
                 <el-radio :label="1">有</el-radio>
234 234
                 <el-radio :label="2">无</el-radio>
@@ -236,24 +236,10 @@
236 236
             </el-form-item>
237 237
           </el-col>
238 238
         </el-row>
239
-        <!--          <el-col :span="8" v-if="isShow('压迫后内瘘震颤')">-->
240
-        <!--            <el-form-item label="压迫后内瘘震颤: ">-->
241
-        <!--              <el-select v-model="form.internal_fistula_tremor_ac">-->
242
-        <!--                <el-option :key="0" label="请选择" :value="0"></el-option>-->
243
-
244
-        <!--                <el-option-->
245
-        <!--                  v-for="item in internalFistulaTremorAcOptions"-->
246
-        <!--                  :label="item.name"-->
247
-        <!--                  :value="item.id"-->
248
-        <!--                  :key="item.id"-->
249
-        <!--                ></el-option>-->
250
-        <!--              </el-select>-->
251
-        <!--            </el-form-item>-->
252
-        <!--          </el-col>-->
253 239
 
254 240
         <el-row :gutter="20" v-if="form.patient_gose == 3 && isShow('科室')">
255 241
           <el-col :span="24">
256
-            <el-form-item label="科室: ">
242
+            <el-form-item label="科室: " :prop="isName('科室')" :rules="isCheckmust('科室')">
257 243
               <el-input
258 244
                 v-model="form.inpatient_department"
259 245
                 :rows="5"
@@ -269,7 +255,7 @@
269 255
           "
270 256
         >
271 257
           <el-col :span="24">
272
-            <el-form-item label="交待病房护士/患者/陪人观察内容: ">
258
+            <el-form-item label="交待病房护士/患者/陪人观察内容: " :prop="isName('交待病房护士/患者/陪人观察内容')" :rules="isCheckmust('交待病房护士/患者/陪人观察内容')">
273 259
               <el-input
274 260
                 placeholder="交待病房护士/患者/陪人观察内容"
275 261
                 v-model="form.observation_content"
@@ -286,7 +272,7 @@
286 272
           v-show="form.patient_gose == 3 && isShow('其他观察内容')"
287 273
         >
288 274
           <el-col :span="24">
289
-            <el-form-item label="其他观察内容: ">
275
+            <el-form-item label="其他观察内容: " :prop="isName('其他观察内容')" :rules="isCheckmust('其他观察内容')">
290 276
               <el-input
291 277
                 v-model="form.observation_content_other"
292 278
                 :rows="5"
@@ -296,7 +282,7 @@
296 282
         </el-row>
297 283
 
298 284
         <el-col :span="8" v-if="isShow('体温')">
299
-          <el-form-item label="体温(℃): ">
285
+          <el-form-item label="体温(℃): " :prop="isName('体温')" :rules="isCheckmust('体温')">
300 286
             <el-input v-model="form.temperature"></el-input>
301 287
           </el-form-item>
302 288
         </el-col>
@@ -304,55 +290,54 @@
304 290
 
305 291
         <el-row :gutter="20"> -->
306 292
         <el-col :span="8" v-if="isShow('收缩压')">
307
-          <el-form-item label="收缩压(mmHg): ">
293
+          <el-form-item label="收缩压(mmHg): " :prop="isName('收缩压')" :rules="isCheckmust('收缩压')">
308 294
             <el-input v-model="form.systolic_blood_pressure"></el-input>
309 295
           </el-form-item>
310 296
         </el-col>
311 297
         <el-col :span="8" v-if="isShow('舒张压')">
312
-          <el-form-item label="舒张压(mmHg): ">
298
+          <el-form-item label="舒张压(mmHg): " :prop="isName('舒张压')" :rules="isCheckmust('舒张压')">
313 299
             <el-input v-model="form.diastolic_blood_pressure"></el-input>
314 300
           </el-form-item>
315 301
         </el-col>
316 302
 
317
-
318 303
          <el-col :span="8" v-if="isShow('卧位收缩压')">
319
-          <el-form-item label="卧位收缩压(mmHg):">
304
+          <el-form-item label="卧位收缩压(mmHg):" :prop="isName('卧位收缩压')" :rules="isCheckmust('卧位收缩压')">
320 305
               <el-input v-model="form.supine_systolic_blood_pressure"></el-input>
321 306
           </el-form-item>
322 307
         </el-col>
323 308
 
324 309
        <el-col :span="8" v-if="isShow('卧位舒张压')">
325
-          <el-form-item label="卧位舒张压(mmHg):">
310
+          <el-form-item label="卧位舒张压(mmHg):" :prop="isName('卧位舒张压')" :rules="isCheckmust('卧位舒张压')">
326 311
               <el-input v-model="form.supine_diastolic_blood_pressure"></el-input>
327 312
           </el-form-item>
328 313
         </el-col>
329 314
 
330 315
         <el-col :span="8" v-if="isShow('坐位收缩压')">
331
-          <el-form-item label="坐位收缩压(mmHg):">
316
+          <el-form-item label="坐位收缩压(mmHg):" :prop="isName('坐位收缩压')" :rules="isCheckmust('坐位收缩压')">
332 317
               <el-input v-model="form.setting_pressure"></el-input>
333 318
           </el-form-item>
334 319
         </el-col>
335 320
 
336 321
          <el-col :span="8" v-if="isShow('坐位舒张压')">
337
-          <el-form-item label="坐位舒张压(mmHg):">
322
+          <el-form-item label="坐位舒张压(mmHg):" :prop="isName('坐位舒张压')" :rules="isCheckmust('坐位舒张压')">
338 323
               <el-input v-model="form.diastolic_pressure"></el-input>
339 324
           </el-form-item>
340 325
         </el-col>
341 326
 
342 327
         <el-col :span="8" v-if="isShow('呼吸频率')">
343
-          <el-form-item label="呼吸频率(次/min): ">
328
+          <el-form-item label="呼吸频率(次/min): " :prop="isName('呼吸频率')" :rules="isCheckmust('呼吸频率')">
344 329
             <el-input v-model="form.breathing_rate"></el-input>
345 330
           </el-form-item>
346 331
         </el-col>
347 332
 
348 333
         <el-col :span="8" v-if="isShow('脉搏')">
349
-          <el-form-item label="脉搏(次/分): ">
334
+          <el-form-item label="脉搏(次/分): " :prop="isName('脉搏')" :rules="isCheckmust('脉搏')">
350 335
             <el-input v-model="form.pulse_frequency"></el-input>
351 336
           </el-form-item>
352 337
         </el-col>
353 338
 
354 339
         <el-col :span="8" v-if="isShow('透后症状')">
355
-          <el-form-item label="透后症状: ">
340
+          <el-form-item label="透后症状: " :prop="isName('透后症状')" :rules="isCheckmust('透后症状')">
356 341
             <el-input
357 342
               v-model="form.symptom_after_dialysis"
358 343
               readonly
@@ -362,13 +347,13 @@
362 347
         </el-col>
363 348
 
364 349
         <el-col :span="8" v-if="isShow('透析中入量')">
365
-          <el-form-item label="透析中入量(L): ">
350
+          <el-form-item label="透析中入量(L): " :prop="isName('透析中入量')" :rules="isCheckmust('透析中入量')">
366 351
             <el-input v-model="form.dialysis_intakes"></el-input>
367 352
           </el-form-item>
368 353
         </el-col>
369 354
 
370 355
         <el-col :span="8" v-if="isShow('透析中入量单位')">
371
-          <el-form-item label="透析中入量单位: ">
356
+          <el-form-item label="透析中入量单位: " :prop="isName('透析中入量单位')" :rules="isCheckmust('透析中入量单位')">
372 357
             <el-select v-model="form.dialysis_intakes_unit">
373 358
               <el-option :key="0" label="请选择" :value="0"></el-option>
374 359
               <el-option
@@ -382,34 +367,34 @@
382 367
         </el-col>
383 368
 
384 369
         <el-col :span="8" v-if="isShow('回血')">
385
-          <el-form-item label="回血(ml): ">
370
+          <el-form-item label="回血(ml): " :prop="isName('回血')" :rules="isCheckmust('回血')">
386 371
             <el-input v-model="form.return_blood"></el-input>
387 372
           </el-form-item>
388 373
         </el-col>
389 374
 
390 375
         <el-col :span="8" v-if="isShow('补液量')">
391
-          <el-form-item label="补液量(ml): ">
376
+          <el-form-item label="补液量(ml): " :prop="isName('补液量')" :rules="isCheckmust('补液量')">
392 377
             <el-input v-model="form.rehydration_volume"></el-input>
393 378
           </el-form-item>
394 379
         </el-col>
395 380
 
396 381
         <el-col :span="8" v-if="isShow('透析中进食')">
397
-          <el-form-item label="透析中进食(ml): " v-if="template_id != 36">
382
+          <el-form-item label="透析中进食(ml): " v-if="template_id != 36" :prop="isName('透析中进食')" :rules="isCheckmust('透析中进食')">
398 383
             <el-input v-model="form.dialysis_during"></el-input>
399 384
           </el-form-item>
400
-          <el-form-item label="透析中进食(g): " v-if="template_id == 36">
385
+          <el-form-item label="透析中进食(g): " v-if="template_id == 36" :prop="isName('透析中进食')" :rules="isCheckmust('透析中进食')" >
401 386
             <el-input v-model="form.dialysis_during"></el-input>
402 387
           </el-form-item>
403 388
         </el-col>
404 389
 
405 390
         <el-col :span="8" v-if="isShow('出量')">
406
-          <el-form-item label="出量(ml): ">
391
+          <el-form-item label="出量(ml): " :prop="isName('出量')" :rules="isCheckmust('出量')">
407 392
             <el-input v-model="form.stroke_volume"></el-input>
408 393
           </el-form-item>
409 394
         </el-col>
410 395
 
411 396
         <el-col :span="8" v-if="isShow('血流量')">
412
-          <el-form-item label="血流量: ">
397
+          <el-form-item label="血流量: " :prop="isName('血流量')" :rules="isCheckmust('血流量')">
413 398
             <el-select v-model="form.blood_flow">
414 399
               <el-option :key="0" label="请选择" :value="0"></el-option>
415 400
               <el-option v-for="item in this.bloodFlowOptions" :label="item.name" :value="item.id" :key="item.id"></el-option>
@@ -418,7 +403,7 @@
418 403
         </el-col>
419 404
 
420 405
         <el-col :span="8" v-if="isShow('封管液配置')">
421
-          <el-form-item label="封管液配置:">
406
+          <el-form-item label="封管液配置:" :prop="isName('封管液配置')" :rules="isCheckmust('封管液配置')">
422 407
             <!-- <el-select v-model="form.sealing_fluid_dispose">
423 408
               <el-option :key="0" label="请选择" :value="0"></el-option>
424 409
               <el-option v-for="item in this.sealingFluidDisposeOptions" :label="item.name" :value="item.id" :key="item.id"></el-option>
@@ -432,7 +417,7 @@
432 417
         </el-col>
433 418
 
434 419
         <el-col :span="8" v-if="sealing_fluid_special_name == '特殊'&&isShow('封管液特殊')">
435
-          <el-form-item label="封管液配置(特殊): ">
420
+          <el-form-item label="封管液配置(特殊): " :prop="isName('封管液配置(特殊)')" :rules="isCheckmust('封管液配置(特殊)')">
436 421
             <el-input v-model="form.sealing_fluid_special"></el-input>
437 422
           </el-form-item>
438 423
         </el-col>
@@ -442,17 +427,17 @@
442 427
         <el-row :gutter="20"> -->
443 428
 
444 429
         <el-col :span="8" v-if="isShow('实际置换量')">
445
-          <el-form-item v-if="this.template_id == 20 || this.template_id == 21" label="实际置换量(ml): ">
430
+          <el-form-item v-if="this.template_id == 20 || this.template_id == 21" label="实际置换量(ml): " :prop="isName('实际置换量')" :rules="isCheckmust('实际置换量')">
446 431
             <el-input v-model="form.actual_displacement"></el-input>
447 432
           </el-form-item>
448
-          <el-form-item v-else label="实际置换量(L): ">
433
+          <el-form-item v-else label="实际置换量(L): " :prop="isName('实际置换量')" :rules="isCheckmust('实际置换量')">
449 434
             <el-input v-model="form.actual_displacement"></el-input>
450 435
           </el-form-item>
451 436
         </el-col>
452 437
 
453 438
 
454 439
         <el-col :span="8" v-if="isShow('失衡综合症')">
455
-          <el-form-item label="失衡综合症: ">
440
+          <el-form-item label="失衡综合症: " :prop="isName('失衡综合症')" :rules="isCheckmust('失衡综合症')">
456 441
             <el-select v-model="form.disequilibrium_syndrome">
457 442
               <el-option :key="0" label="请选择" :value="0"></el-option>
458 443
 
@@ -467,7 +452,7 @@
467 452
         </el-col>
468 453
 
469 454
         <el-col :span="8" v-if="isShow('透析期间进食')">
470
-          <el-form-item label="透析期间进食: ">
455
+          <el-form-item label="透析期间进食: " :prop="isName('透析期间进食')" :rules="isCheckmust('透析期间进食')">
471 456
             <el-radio-group v-model="form.is_eat">
472 457
               <el-radio :label="1">有</el-radio>
473 458
               <el-radio :label="2">无</el-radio>
@@ -476,19 +461,19 @@
476 461
         </el-col>
477 462
 
478 463
         <el-col :span="8" v-if="isShow('中心静脉封管(肝素-A端)')">
479
-          <el-form-item label="中心静脉封管(肝素-A端): ">
464
+          <el-form-item label="中心静脉封管(肝素-A端): " :prop="isName('中心静脉封管(肝素-A端)')" :rules="isCheckmust('中心静脉封管(肝素-A端)')">
480 465
             <el-input v-model="form.cvc_a"></el-input>
481 466
           </el-form-item>
482 467
         </el-col>
483 468
 
484 469
         <el-col :span="8" v-if="isShow('中心静脉封管(肝素-V端)')">
485
-          <el-form-item label="中心静脉封管(肝素-V端): ">
470
+          <el-form-item label="中心静脉封管(肝素-V端): " :prop="isName('中心静脉封管(肝素-V端)')" :rules="isCheckmust('中心静脉封管(肝素-V端)')">
486 471
             <el-input v-model="form.cvc_v"></el-input>
487 472
           </el-form-item>
488 473
         </el-col>
489 474
 
490 475
         <el-col :span="8" v-if="isShow('管路')">
491
-          <el-form-item label="管路: ">
476
+          <el-form-item label="管路: " :prop="isName('管路')" :rules="isCheckmust('管路')">
492 477
             <el-select v-model="form.channel">
493 478
               <el-option :key="0" label="请选择" :value="0"></el-option>
494 479
               <el-option
@@ -502,25 +487,25 @@
502 487
         </el-col>
503 488
 
504 489
         <el-col :span="8" v-if="isShow('实际抗凝剂用量')">
505
-          <el-form-item label="实际抗凝剂用量: ">
490
+          <el-form-item label="实际抗凝剂用量: " :prop="isName('实际抗凝剂用量')" :rules="isCheckmust('实际抗凝剂用量')">
506 491
               <el-input v-model="form.dosage_of_anticoagulants"></el-input>
507 492
           </el-form-item>
508 493
         </el-col>
509 494
 
510 495
 
511 496
         <el-col :span="8" v-if="isShow('并发症其他')">
512
-          <el-form-item label="并发症其他: ">
497
+          <el-form-item label="并发症其他: " :prop="isName('并发症其他')" :rules="isCheckmust('并发症其他')">
513 498
             <el-input v-model="form.other_complication"></el-input>
514 499
           </el-form-item>
515 500
         </el-col>
516 501
 
517 502
         <el-col :span="8" v-if="isShow('URR')">
518
-            <el-form-item label="URR:">
503
+            <el-form-item label="URR:" :prop="isName('URR')" :rules="isCheckmust('URR')">
519 504
                <el-input v-model="form.urr"></el-input>
520 505
             </el-form-item>
521 506
         </el-col>
522 507
         <el-col :span="8" v-if="isShow('透析相关高血压')">
523
-            <el-form-item label="透析相关高血压:">
508
+            <el-form-item label="透析相关高血压:" :prop="isName('透析相关高血压')" :rules="isCheckmust('透析相关高血压')">
524 509
 
525 510
              <el-select v-model="form.hypertenison">
526 511
               <el-option :key="0" label="请选择" :value="0"></el-option>
@@ -533,8 +518,9 @@
533 518
             </el-select>
534 519
             </el-form-item>
535 520
         </el-col>
521
+
536 522
          <el-col :span="8" v-if="isShow('透析相关低血压')">
537
-            <el-form-item label="透析相关低血压">
523
+            <el-form-item label="透析相关低血压" :prop="isName('透析相关低血压')" :rules="isCheckmust('透析相关低血压')">
538 524
              <el-select v-model="form.hypopiesia">
539 525
               <el-option
540 526
                 v-for="item in optionOne"
@@ -546,7 +532,7 @@
546 532
             </el-form-item>
547 533
         </el-col>
548 534
         <el-col :span="8" v-if="isShow('离科方式')">
549
-            <el-form-item label="离科方式">
535
+            <el-form-item label="离科方式" :prop="isName('离科方式')" :rules="isCheckmust('离科方式')">
550 536
                <el-select v-model="form.leave_office_method">
551 537
                 <el-option
552 538
                   v-for="item in leaveOfficeMethod"
@@ -558,7 +544,7 @@
558 544
             </el-form-item>
559 545
         </el-col>
560 546
          <el-col :span="8" v-if="isShow('转归')">
561
-            <el-form-item label="转归">
547
+            <el-form-item label="转归" :prop="isName('转归')" :rules="isCheckmust('转归')">
562 548
              <el-select v-model="form.lapse">
563 549
               <el-option
564 550
                 v-for="item in lapseList"
@@ -570,7 +556,7 @@
570 556
             </el-form-item>
571 557
         </el-col>
572 558
         <el-col :span="8" v-if="isShow('意识')">
573
-            <el-form-item label="意识">
559
+            <el-form-item label="意识" :prop="isName('意识')" :rules="isCheckmust('意识')">
574 560
              <el-select v-model="form.consciousness">
575 561
               <el-option
576 562
                 v-for="item in consciousnessList"
@@ -582,7 +568,7 @@
582 568
             </el-form-item>
583 569
         </el-col>
584 570
         <el-col :span="8" v-if="isShow('跌倒风险')">
585
-            <el-form-item label="跌倒风险">
571
+            <el-form-item label="跌倒风险" :prop="isName('跌倒风险')" :rules="isCheckmust('跌倒风险')">
586 572
              <el-select v-model="form.fallrisk">
587 573
               <el-option
588 574
                 v-for="item in fallriskList"
@@ -595,7 +581,7 @@
595 581
         </el-col>
596 582
 
597 583
       <el-col :span="8" v-if="isShow('机器运行')">
598
-            <el-form-item label="机器运行: ">
584
+            <el-form-item label="机器运行: " :prop="isName('机器运行')" :rules="isCheckmust('机器运行')">
599 585
               <el-select v-model="form.machine_run">
600 586
                 <el-option :key="0" label="请选择" :value="0"></el-option>
601 587
 
@@ -610,22 +596,21 @@
610 596
        </el-col>
611 597
 
612 598
        <el-col :span="8" v-if="isShow('透后尿素')">
613
-            <el-form-item label="透后尿素(mmol/L):" label-width="150px">
599
+            <el-form-item label="透后尿素(mmol/L):" label-width="150px" :prop="isName('透后尿素')" :rules="isCheckmust('透后尿素')">
614 600
               <el-input v-model="form.after_urea"></el-input>
615 601
             </el-form-item>
616 602
        </el-col>
617 603
        <el-col :span="8" v-if="isShow('累计血容量')">
618
-            <el-form-item label="累计血容量(L):"  label-width="150px">
604
+            <el-form-item label="累计血容量(L):"  label-width="150px" :prop="isName('累计血容量')" :rules="isCheckmust('累计血容量')">
619 605
               <el-input v-model="form.accumulated_blood_volume"></el-input>
620 606
             </el-form-item>
621 607
         </el-col>
622 608
         <el-col :span="24" v-if="isShow('KT/V')">
623
-            <el-form-item label="KT/V:">
609
+            <el-form-item label="KT/V:" :prop="isName('KT/V')" :rules="isCheckmust('KT/V')">
624 610
               <el-input type="textarea" :rows="4" v-model="form.ktv"></el-input>
625 611
             </el-form-item>
626 612
         </el-col>
627 613
 
628
-
629 614
       </el-form>
630 615
 
631 616
 
@@ -633,11 +618,11 @@
633 618
         <el-button @click="hide">取 消</el-button>
634 619
         <el-button
635 620
           type="primary"
636
-          @click="submitForm"
621
+          @click="submitForm('form')"
637 622
           :loading="loading"
638 623
           v-if="hasPermission"
639
-          >保 存</el-button
640
-        >
624
+          >保 存</el-button>
625
+          <!--  -->
641 626
       </span>
642 627
     </el-dialog>
643 628
 
@@ -935,137 +920,195 @@ export default {
935 920
     }
936 921
   },
937 922
   methods: {
938
-    submitForm() {
939
-      this.loading = true
940
-      const ParamsQuery = {}
941
-
942
-      if (!(this.patient.id > 0)) {
943
-        this.$message.error('没有选择患者')
944
-        this.loading = false
945
-        return false
946
-      }
947
-      if (this.record_date.length != 10) {
948
-        this.$message.error('无效的日期')
949
-        this.loading = false
950
-        return false
923
+    isName(name) {
924
+      let filedList = store.getters.xt_user.fileds;
925
+      for (let i = 0; i < filedList.length; i++) {
926
+        if (filedList[i].module == 5 && filedList[i].filed_name_cn == name) {
927
+          return filedList[i].filed_name;
928
+        }
951 929
       }
930
+    },
931
+    isCheckmust(name) {
932
+      let filedList = store.getters.xt_user.fileds;
952 933
 
953
-      ParamsQuery['patient'] = this.patient.id
954
-      ParamsQuery['record_date'] = this.record_date
955
-      ParamsQuery['mode'] = '1'
956
-      if (this.assessment_after_dislysis.creater > 0) {
957
-        ParamsQuery['mode'] = '2'
934
+      for (let i = 0; i < filedList.length; i++) {
958 935
         if (
959
-          this.assessment_after_dislysis.creater !=
960
-          this.$store.getters.xt_user.user.id
936
+          filedList[i].module == 5 &&
937
+          filedList[i].filed_name_cn == name &&
938
+          filedList[i].is_write == 1&&
939
+          filedList[i].is_show == 1
961 940
         ) {
962
-          ParamsQuery['mode'] = '3'
941
+          console.log(filedList[i],'false')
942
+          // if(name == "实际治疗时长"){
943
+          //   return [
944
+          //     { required: true, message: `请选择${name}`,trigger: ['blur','change'] },
945
+          //     {
946
+          //       required: true,
947
+          //       pattern: /^[1-9]\d*$/,
948
+          //       message: `请选择${name}`,
949
+          //       trigger: ['change']
950
+          //     },
951
+          //   ];
952
+          // }
953
+        
954
+          return [{ required: true ,message:`请输入${name}`, trigger: ['blur','change'] }];
955
+          
963 956
         }
964 957
       }
958
+    },
959
+    isShow(name) {
960
+      var filedList = store.getters.xt_user.fileds
965 961
 
966
-      const data = {}
967
-      data['weight_after'] = this.form.weight_after ? parseFloat(this.form.weight_after) : 0
968
-      data['weight_loss'] = this.form.weight_loss ? parseFloat(this.form.weight_loss) : 0
969
-      data['temperature'] = this.form.temperature ? parseFloat(this.form.temperature) : 0
970
-      data['breathing_rate'] = this.form.breathing_rate
971
-      data['systolic_blood_pressure'] = this.form.systolic_blood_pressure ? parseFloat(this.form.systolic_blood_pressure) : 0
972
-      data['diastolic_blood_pressure'] = this.form.diastolic_blood_pressure ? parseFloat(this.form.diastolic_blood_pressure) : 0
973
-      data['pulse_frequency'] = this.form.pulse_frequency ? parseFloat(this.form.pulse_frequency) : 0
974
-      data['actual_ultrafiltration'] = this.form.actual_ultrafiltration ? parseFloat(this.form.actual_ultrafiltration) : 0
975
-      data['actual_displacement'] = this.form.actual_displacement ? parseFloat(this.form.actual_displacement) : 0
976
-      data['actual_treatment_hour'] = this.form.actual_treatment_hour ? parseFloat(this.form.actual_treatment_hour) : 0
977
-      data['actual_treatment_minute'] = this.form.actual_treatment_minute ? parseFloat(this.form.actual_treatment_minute) : 0
978
-      data['cruor'] = this.form.cruor
979
-      data['pip_coagulation'] = this.form.pip_coagulation
980
-      data['symptom_after_dialysis'] = this.form.symptom_after_dialysis
981
-      data['dialysis_intakes'] = this.form.dialysis_intakes ? parseFloat(this.form.dialysis_intakes) : 0
982
-      data['internal_fistula'] = this.form.internal_fistula
983
-      data['blood_access_part_id'] = this.form.blood_access_part_id ? parseFloat(this.form.blood_access_part_id) : 0
984
-      data['blood_access_part_opera_id'] = this.form.blood_access_part_opera_id ? parseFloat(this.form.blood_access_part_opera_id) : 0
985
-      data['catheter'] = this.form.catheter
986
-      data['complication'] = this.form.complication
987
-      data['puncture_point_oozing_blood'] = this.form.puncture_point_oozing_blood ? parseFloat(this.form.puncture_point_oozing_blood) : 0
988
-      data['puncture_point_haematoma'] = this.form.puncture_point_haematoma ? parseFloat(this.form.puncture_point_haematoma) : 0
989
-      data['internal_fistula_tremor_ac'] = this.form.internal_fistula_tremor_ac ? parseFloat(this.form.internal_fistula_tremor_ac) : 0
990
-      data['patient_gose'] = this.form.patient_gose ? parseFloat(this.form.patient_gose) : 0
991
-      data['inpatient_department'] = this.form.inpatient_department
992
-      data['observation_content'] = this.form.observation_content
993
-      data['observation_content_other'] = this.form.observation_content_other
994
-      data['remark'] = this.form.remark
995
-      data['dialysis_order_id'] = this.form.dialysis_order_id ? parseFloat(this.form.dialysis_order_id) : 0
996
-      data['dialysis_process'] = this.form.dialysis_process ? parseFloat(this.form.dialysis_process) : 0
997
-      data['in_advance_minute'] = this.form.in_advance_minute ? parseFloat(this.form.in_advance_minute) : 0
998
-      data['in_advance_reason_other'] = this.form.in_advance_reason_other
999
-      data['in_advance_reason'] = this.form.in_advance_reason
1000
-      data['hemostasis_minute'] = this.form.hemostasis_minute ? parseFloat(this.form.hemostasis_minute) : 0
1001
-      data['hemostasis_opera'] = this.form.hemostasis_opera ? parseFloat(this.form.hemostasis_opera) : 0
1002
-      data['tremor_noise'] = this.form.tremor_noise ? parseFloat(this.form.tremor_noise) : 0
1003
-      data['disequilibrium_syndrome'] = this.form.disequilibrium_syndrome ? parseFloat(this.form.disequilibrium_syndrome) : 0
1004
-      data['disequilibrium_syndrome_option'] = this.form.disequilibrium_syndrome_option
1005
-      data['arterial_tube'] = this.form.arterial_tube ? parseFloat(this.form.arterial_tube) : 0
1006
-      data['intravenous_tube'] = this.form.intravenous_tube ? parseFloat(this.form.intravenous_tube) : 0
1007
-      data['dialysis_intakes_unit'] = this.form.dialysis_intakes_unit
1008
-      data['dialyzer'] = this.form.dialyzer ? parseFloat(this.form.dialyzer) : 0
1009
-      data['is_eat'] = this.form.is_eat ? parseFloat(this.form.is_eat) : 0
1010
-      data['cvc_a'] = this.form.cvc_a ? parseFloat(this.form.cvc_a) : 0
1011
-      data['cvc_v'] = this.form.cvc_v ? parseFloat(this.form.cvc_v) : 0
1012
-      data['return_blood'] = this.form.return_blood ? parseFloat(this.form.return_blood) : 0
1013
-      data['rehydration_volume'] = this.form.rehydration_volume ? parseFloat(this.form.rehydration_volume) : 0
1014
-      data['dialysis_during'] = this.form.dialysis_during ? parseFloat(this.form.dialysis_during) : 0
1015
-      data['stroke_volume'] = this.form.stroke_volume ? parseFloat(this.form.stroke_volume) : 0
1016
-      data['blood_flow'] = this.form.blood_flow ? parseFloat(this.form.blood_flow) : 0
1017
-      // data['sealing_fluid_dispose'] = this.form.sealing_fluid_dispose ? parseFloat(this.form.sealing_fluid_dispose) : 0
1018
-      data['sealing_fluid_dispose'] = this.form.sealing_fluid_dispose
1019
-      data['sealing_fluid_special'] = this.form.sealing_fluid_special
1020
-      data['dosage_of_anticoagulants'] = this.form.dosage_of_anticoagulants ? parseFloat(this.form.dosage_of_anticoagulants) : 0
1021
-      data['supine_systolic_blood_pressure'] = this.form.supine_systolic_blood_pressure
1022
-      data['setting_pressure'] = this.form.setting_pressure
1023
-      data["supine_diastolic_blood_pressure"] = this.form.supine_diastolic_blood_pressure
1024
-      data["diastolic_pressure"] = this.form.diastolic_pressure
1025
-      data["additional_weight"] = this.form.additional_weight ? parseFloat(this.form.additional_weight) : 0
1026
-      data["other_complication"] = this.form.other_complication
1027
-      data["ktv"] = this.form.ktv
1028
-      data["urr"] = this.form.urr
1029
-      data["hypertenison"] = parseInt(this.form.hypertenison)
1030
-      data["hypopiesia"] = parseInt(this.form.hypopiesia)
1031
-      data["leave_office_method"] = this.form.leave_office_method
1032
-      data["lapse"] = this.form.lapse
1033
-      data["consciousness"] = this.form.consciousness
1034
-      data["fallrisk"] = this.form.fallrisk
1035
-      data["machine_run"] = this.form.machine_run
1036
-      data["after_urea"] = this.form.after_urea
1037
-      data["pip_coagulation"] = this.form.pip_coagulation
1038
-      data["accumulated_blood_volume"] = this.form.accumulated_blood_volume
1039
-      console.log("Paramsquery",data)
1040
-
1041
-      postAssessmentAfterDislysis(ParamsQuery, data)
1042
-        .then(response => {
1043
-          this.loading = false
1044
-          if (response.data.state == 0) {
1045
-            this.$message.error(response.data.msg)
1046
-            return false
1047
-          } else {
1048
-            this.$notify({
1049
-              title: '成功',
1050
-              message: '提交成功',
1051
-              type: 'success',
1052
-              duration: 2000
1053
-            })
962
+      for (let i = 0; i < filedList.length; i++) {
963
+        if (
964
+          filedList[i].module == 5 &&
965
+          filedList[i].filed_name_cn == name &&
966
+          filedList[i].is_show == 1
967
+        ) {
968
+          return true
969
+        }
970
+      }
971
+      return false
972
+    },
973
+    submitForm(formName) {
974
+      this.$refs[formName].validate((valid)=>{
975
+        if(valid){
1054 976
 
1055
-            var assement = response.data.data.AssessmentAfterDislysis
977
+          this.loading = true
978
+          const ParamsQuery = {}
1056 979
 
1057
-            var assessment_after_dislysis = this.assessment_after_dislysis
980
+          if (!(this.patient.id > 0)) {
981
+            this.$message.error('没有选择患者')
982
+            this.loading = false
983
+            return false
984
+          }
985
+          if (this.record_date.length != 10) {
986
+            this.$message.error('无效的日期')
987
+            this.loading = false
988
+            return false
989
+          }
1058 990
 
1059
-            for (var index in assement) {
1060
-              // assessment_after_dislysis[index] = assement[index];
1061
-              this.$set(assessment_after_dislysis, index, assement[index])
991
+          ParamsQuery['patient'] = this.patient.id
992
+          ParamsQuery['record_date'] = this.record_date
993
+          ParamsQuery['mode'] = '1'
994
+          if (this.assessment_after_dislysis.creater > 0) {
995
+            ParamsQuery['mode'] = '2'
996
+            if (
997
+              this.assessment_after_dislysis.creater !=
998
+              this.$store.getters.xt_user.user.id
999
+            ) {
1000
+              ParamsQuery['mode'] = '3'
1062 1001
             }
1063
-            this.hide()
1064 1002
           }
1065
-        })
1066
-        .catch(v => {
1067
-          this.loading = false
1068
-        })
1003
+
1004
+          const data = {}
1005
+          data['weight_after'] = this.form.weight_after ? parseFloat(this.form.weight_after) : 0
1006
+          data['weight_loss'] = this.form.weight_loss ? parseFloat(this.form.weight_loss) : 0
1007
+          data['temperature'] = this.form.temperature ? parseFloat(this.form.temperature) : 0
1008
+          data['breathing_rate'] = this.form.breathing_rate
1009
+          data['systolic_blood_pressure'] = this.form.systolic_blood_pressure ? parseFloat(this.form.systolic_blood_pressure) : 0
1010
+          data['diastolic_blood_pressure'] = this.form.diastolic_blood_pressure ? parseFloat(this.form.diastolic_blood_pressure) : 0
1011
+          data['pulse_frequency'] = this.form.pulse_frequency ? parseFloat(this.form.pulse_frequency) : 0
1012
+          data['actual_ultrafiltration'] = this.form.actual_ultrafiltration ? parseFloat(this.form.actual_ultrafiltration) : 0
1013
+          data['actual_displacement'] = this.form.actual_displacement ? parseFloat(this.form.actual_displacement) : 0
1014
+          data['actual_treatment_hour'] = this.form.actual_treatment_hour ? parseFloat(this.form.actual_treatment_hour) : 0
1015
+          data['actual_treatment_minute'] = this.form.actual_treatment_minute ? parseFloat(this.form.actual_treatment_minute) : 0
1016
+          data['cruor'] = this.form.cruor
1017
+          data['pip_coagulation'] = this.form.pip_coagulation
1018
+          data['symptom_after_dialysis'] = this.form.symptom_after_dialysis
1019
+          data['dialysis_intakes'] = this.form.dialysis_intakes ? parseFloat(this.form.dialysis_intakes) : 0
1020
+          data['internal_fistula'] = this.form.internal_fistula
1021
+          data['blood_access_part_id'] = this.form.blood_access_part_id ? parseFloat(this.form.blood_access_part_id) : 0
1022
+          data['blood_access_part_opera_id'] = this.form.blood_access_part_opera_id ? parseFloat(this.form.blood_access_part_opera_id) : 0
1023
+          data['catheter'] = this.form.catheter
1024
+          data['complication'] = this.form.complication
1025
+          data['puncture_point_oozing_blood'] = this.form.puncture_point_oozing_blood ? parseFloat(this.form.puncture_point_oozing_blood) : 0
1026
+          data['puncture_point_haematoma'] = this.form.puncture_point_haematoma ? parseFloat(this.form.puncture_point_haematoma) : 0
1027
+          data['internal_fistula_tremor_ac'] = this.form.internal_fistula_tremor_ac ? parseFloat(this.form.internal_fistula_tremor_ac) : 0
1028
+          data['patient_gose'] = this.form.patient_gose ? parseFloat(this.form.patient_gose) : 0
1029
+          data['inpatient_department'] = this.form.inpatient_department
1030
+          data['observation_content'] = this.form.observation_content
1031
+          data['observation_content_other'] = this.form.observation_content_other
1032
+          data['remark'] = this.form.remark
1033
+          data['dialysis_order_id'] = this.form.dialysis_order_id ? parseFloat(this.form.dialysis_order_id) : 0
1034
+          data['dialysis_process'] = this.form.dialysis_process ? parseFloat(this.form.dialysis_process) : 0
1035
+          data['in_advance_minute'] = this.form.in_advance_minute ? parseFloat(this.form.in_advance_minute) : 0
1036
+          data['in_advance_reason_other'] = this.form.in_advance_reason_other
1037
+          data['in_advance_reason'] = this.form.in_advance_reason
1038
+          data['hemostasis_minute'] = this.form.hemostasis_minute ? parseFloat(this.form.hemostasis_minute) : 0
1039
+          data['hemostasis_opera'] = this.form.hemostasis_opera ? parseFloat(this.form.hemostasis_opera) : 0
1040
+          data['tremor_noise'] = this.form.tremor_noise ? parseFloat(this.form.tremor_noise) : 0
1041
+          data['disequilibrium_syndrome'] = this.form.disequilibrium_syndrome ? parseFloat(this.form.disequilibrium_syndrome) : 0
1042
+          data['disequilibrium_syndrome_option'] = this.form.disequilibrium_syndrome_option
1043
+          data['arterial_tube'] = this.form.arterial_tube ? parseFloat(this.form.arterial_tube) : 0
1044
+          data['intravenous_tube'] = this.form.intravenous_tube ? parseFloat(this.form.intravenous_tube) : 0
1045
+          data['dialysis_intakes_unit'] = this.form.dialysis_intakes_unit
1046
+          data['dialyzer'] = this.form.dialyzer ? parseFloat(this.form.dialyzer) : 0
1047
+          data['is_eat'] = this.form.is_eat ? parseFloat(this.form.is_eat) : 0
1048
+          data['cvc_a'] = this.form.cvc_a ? parseFloat(this.form.cvc_a) : 0
1049
+          data['cvc_v'] = this.form.cvc_v ? parseFloat(this.form.cvc_v) : 0
1050
+          data['return_blood'] = this.form.return_blood ? parseFloat(this.form.return_blood) : 0
1051
+          data['rehydration_volume'] = this.form.rehydration_volume ? parseFloat(this.form.rehydration_volume) : 0
1052
+          data['dialysis_during'] = this.form.dialysis_during ? parseFloat(this.form.dialysis_during) : 0
1053
+          data['stroke_volume'] = this.form.stroke_volume ? parseFloat(this.form.stroke_volume) : 0
1054
+          data['blood_flow'] = this.form.blood_flow ? parseFloat(this.form.blood_flow) : 0
1055
+          // data['sealing_fluid_dispose'] = this.form.sealing_fluid_dispose ? parseFloat(this.form.sealing_fluid_dispose) : 0
1056
+          data['sealing_fluid_dispose'] = this.form.sealing_fluid_dispose
1057
+          data['sealing_fluid_special'] = this.form.sealing_fluid_special
1058
+          data['dosage_of_anticoagulants'] = this.form.dosage_of_anticoagulants ? parseFloat(this.form.dosage_of_anticoagulants) : 0
1059
+          data['supine_systolic_blood_pressure'] = this.form.supine_systolic_blood_pressure
1060
+          data['setting_pressure'] = this.form.setting_pressure
1061
+          data["supine_diastolic_blood_pressure"] = this.form.supine_diastolic_blood_pressure
1062
+          data["diastolic_pressure"] = this.form.diastolic_pressure
1063
+          data["additional_weight"] = this.form.additional_weight ? parseFloat(this.form.additional_weight) : 0
1064
+          data["other_complication"] = this.form.other_complication
1065
+          data["ktv"] = this.form.ktv
1066
+          data["urr"] = this.form.urr
1067
+          data["hypertenison"] = parseInt(this.form.hypertenison)
1068
+          data["hypopiesia"] = parseInt(this.form.hypopiesia)
1069
+          data["leave_office_method"] = this.form.leave_office_method
1070
+          data["lapse"] = this.form.lapse
1071
+          data["consciousness"] = this.form.consciousness
1072
+          data["fallrisk"] = this.form.fallrisk
1073
+          data["machine_run"] = this.form.machine_run
1074
+          data["after_urea"] = this.form.after_urea
1075
+          data["pip_coagulation"] = this.form.pip_coagulation
1076
+          data["accumulated_blood_volume"] = this.form.accumulated_blood_volume
1077
+          console.log("Paramsquery",data)
1078
+
1079
+          postAssessmentAfterDislysis(ParamsQuery, data)
1080
+            .then(response => {
1081
+              this.loading = false
1082
+              if (response.data.state == 0) {
1083
+                this.$message.error(response.data.msg)
1084
+                return false
1085
+              } else {
1086
+                this.$notify({
1087
+                  title: '成功',
1088
+                  message: '提交成功',
1089
+                  type: 'success',
1090
+                  duration: 2000
1091
+                })
1092
+
1093
+                var assement = response.data.data.AssessmentAfterDislysis
1094
+
1095
+                var assessment_after_dislysis = this.assessment_after_dislysis
1096
+
1097
+                for (var index in assement) {
1098
+                  // assessment_after_dislysis[index] = assement[index];
1099
+                  this.$set(assessment_after_dislysis, index, assement[index])
1100
+                }
1101
+                this.hide()
1102
+              }
1103
+            })
1104
+            .catch(v => {
1105
+              this.loading = false
1106
+            })
1107
+        }else {
1108
+          console.log("error submit!!");
1109
+          return false;
1110
+        }
1111
+      })
1069 1112
     },
1070 1113
     showDialog: function(val) {
1071 1114
       this.InnerDialogProps.visibility = true
@@ -1268,20 +1311,7 @@ export default {
1268 1311
     hide() {
1269 1312
       this.isVisibility = false
1270 1313
     },
1271
-    isShow(name) {
1272
-      var filedList = store.getters.xt_user.fileds
1273
-
1274
-      for (let i = 0; i < filedList.length; i++) {
1275
-        if (
1276
-          filedList[i].module == 5 &&
1277
-          filedList[i].filed_name_cn == name &&
1278
-          filedList[i].is_show == 1
1279
-        ) {
1280
-          return true
1281
-        }
1282
-      }
1283
-      return false
1284
-    },
1314
+    
1285 1315
     setRecords(records) {
1286 1316
       for (var index in records) {
1287 1317
         this.$set(this.assessment_after_dislysis, index, records[index])

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

@@ -340,8 +340,8 @@
340 340
     </el-form>
341 341
     <div slot="footer" class="dialog-footer">
342 342
       <el-button @click="handleCancle">取 消</el-button>
343
-      <!--v-if="hasPermission" -->
344
-      <el-button type="primary"  @click="handleComfirm('receiveTreatmentAsses')"
343
+      <!-- -->
344
+      <el-button type="primary" v-if="hasPermission" @click="handleComfirm('receiveTreatmentAsses')"
345 345
         >保 存</el-button
346 346
       >
347 347
     </div>

+ 38 - 36
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue View File

@@ -684,8 +684,8 @@
684 684
       </el-form>
685 685
       <span slot="footer" class="dialog-footer">
686 686
                 <el-button @click="handleCancle">取 消</el-button>
687
-                 <!-- v-if="hasPermission" -->
688
-                <el-button type="primary" @click="handleComfirm('assessmentBeforeDislysis')">保 存</el-button>
687
+                 <!--  -->
688
+                <el-button type="primary" v-if="hasPermission" @click="handleComfirm('assessmentBeforeDislysis')">保 存</el-button>
689 689
             </span>
690 690
     </el-dialog>
691 691
 
@@ -945,41 +945,41 @@
945 945
 
946 946
     },
947 947
     methods: {
948
-    isName(name) {
949
-      let filedList = store.getters.xt_user.fileds;
950
-      for (let i = 0; i < filedList.length; i++) {
951
-        if (filedList[i].module == 3 && filedList[i].filed_name_cn == name) {
952
-          return filedList[i].filed_name;
948
+      isName(name) {
949
+        let filedList = store.getters.xt_user.fileds;
950
+        for (let i = 0; i < filedList.length; i++) {
951
+          if (filedList[i].module == 3 && filedList[i].filed_name_cn == name) {
952
+            return filedList[i].filed_name;
953
+          }
953 954
         }
954
-      }
955
-    },
955
+      },
956 956
 
957
-    isCheckmust(name) {
958
-      let filedList = store.getters.xt_user.fileds;
959
-
960
-      for (let i = 0; i < filedList.length; i++) {
961
-        if (
962
-          filedList[i].module == 3 &&
963
-          filedList[i].filed_name_cn == name &&
964
-          filedList[i].is_write == 1&&
965
-          filedList[i].is_show == 1
966
-        ) {
967
-          console.log(filedList[i],'false')
968
-          if (name == "血管通路"||name == "导管打折"||name == '出血'||name == '血栓'||name == '围手术期'||name=='血管杂音'||name=='急诊'||name=='中心静脉导置管') {
969
-          return [
970
-            { required: true, message: `请输入${name}` },
971
-            {
972
-              required: true,
973
-              pattern: /^[1-9]\d*$/,
974
-              message: `请输入${name}`,
975
-            },
976
-          ];
977
-        }
978
-          return [{ required: true ,message:`请输入${name}`, trigger: ['blur','change'] }];
979
-          
957
+      isCheckmust(name) {
958
+        let filedList = store.getters.xt_user.fileds;
959
+
960
+        for (let i = 0; i < filedList.length; i++) {
961
+          if (
962
+            filedList[i].module == 3 &&
963
+            filedList[i].filed_name_cn == name &&
964
+            filedList[i].is_write == 1&&
965
+            filedList[i].is_show == 1
966
+          ) {
967
+            console.log(filedList[i],'false')
968
+            if (name == "血管通路"||name == "导管打折"||name == '出血'||name == '血栓'||name == '围手术期'||name=='血管杂音'||name=='急诊'||name=='中心静脉导置管') {
969
+            return [
970
+              { required: true, message: `请输入${name}` },
971
+              {
972
+                required: true,
973
+                pattern: /^[1-9]\d*$/,
974
+                message: `请输入${name}`,
975
+              },
976
+            ];
977
+          }
978
+            return [{ required: true ,message:`请输入${name}`, trigger: ['blur','change'] }];
979
+            
980
+          }
980 981
         }
981
-      }
982
-    },
982
+      },
983 983
       
984 984
       setLastRecord(lastPredialysisEvaluation, lastDryWeightDislysis) {
985 985
         this.lastPredialysisEvaluation = lastPredialysisEvaluation
@@ -1466,9 +1466,11 @@
1466 1466
         
1467 1467
         
1468 1468
         
1469
-      }, handleCancle: function() {
1469
+      },
1470
+       handleCancle: function() {
1470 1471
         this.isVisibility = false
1471
-      }, showDryWeightDialog: function() {
1472
+      }, 
1473
+      showDryWeightDialog: function() {
1472 1474
         if (this.$store.getters.xt_user.user.user_type == 3) {
1473 1475
           this.$message.error('您没有权限调整干体重')
1474 1476
           return

+ 7 - 5
src/xt_pages/dialysis/details/dialog/computer_dialog.vue View File

@@ -20,7 +20,7 @@
20 20
           label="班次"
21 21
           v-if="isShowFiled('班次')"
22 22
           :prop="isName('班次')"
23
-         
23
+          :rules="isCheckmust('班次')"
24 24
         >
25 25
           <el-select
26 26
             v-model="form.schedual_type"
@@ -70,7 +70,7 @@
70 70
           label="穿刺者"
71 71
           v-if="isShowFiled('穿刺者')"
72 72
           prop="puncture_nurse_id"
73
-         
73
+          :rules="isCheckmust('穿刺者')"
74 74
         >
75 75
           <el-select
76 76
             v-model="form.puncture_nurse_id"
@@ -91,6 +91,7 @@
91 91
           prop="quality_nurse_id"
92 92
           :rules="isCheckmust('质控护士')"
93 93
         >
94
+        <!--  -->
94 95
           <el-select
95 96
             v-model="form.quality_nurse_id"
96 97
             placeholder="请选择质控护士"
@@ -642,9 +643,7 @@ export default {
642 643
           filedList[i].is_show == 1&&
643 644
           filedList[i].is_write == 1
644 645
         ) {
645
-          return [{ required: true, message: `请输入${name}` }];
646
-        } 
647
-                if (
646
+          if (
648 647
           name == "穿刺者" ||
649 648
           name == "质控护士" ||
650 649
           name == "换药护士" ||
@@ -656,6 +655,9 @@ export default {
656 655
             { required: true, pattern: /^[1-9]\d*$/, message: `请输入${name}`,trigger: ['blur','change'] },
657 656
           ];
658 657
         }
658
+          return [{ required: true, message: `请输入${name}` }];
659
+        } 
660
+                
659 661
 
660 662
       }
661 663
     },

File diff suppressed because it is too large
+ 949 - 795
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue


+ 1 - 2
src/xt_pages/dialysis/details/dialog/treatmentSummaryDialog.vue View File

@@ -149,8 +149,7 @@
149 149
         type="primary"
150 150
         @click="handleComfirm('treatmentSummary')"
151 151
         v-if="hasPermission"
152
-        >保 存</el-button
153
-      >
152
+        >保 存</el-button> <!--  -->
154 153
     </div>
155 154
   </el-dialog>
156 155
 </template>

+ 179 - 128
src/xt_pages/dialysis/details/index.vue View File

@@ -54,7 +54,11 @@
54 54
         <!-- 候诊区 -->
55 55
         <el-tab-pane label="候诊区" name="first">
56 56
           <div class="cell clearfix" style="margin-bottom:10px;">
57
-            <el-date-picker v-model="selected_date" prefix-icon="el-icon-date" @change="handleScheduleDateChange" :editable="false" :clearable="false" style="width: 45%;margin-right:10px;" type="date" placeholder="选择日期时间" align="right" ></el-date-picker>
57
+            <el-date-picker v-model="selected_date" 
58
+              prefix-icon="el-icon-date" @change="handleScheduleDateChange"
59
+             :editable="false" :clearable="false"
60
+              style="width: 45%;margin-right:10px;" type="date" placeholder="选择日期时间" align="right" >
61
+            </el-date-picker>
58 62
             <el-input size="small" style="width:25%;" @keyup.enter.native='searchAction' v-model.trim="search_input" class="filter-item"/>
59 63
             <el-button size="small" class="filter-item" type="primary" style="margin-right:20px;" @click="searchAction">搜索</el-button>
60 64
           </div>
@@ -239,147 +243,194 @@
239 243
         <div class="print_main_content">
240 244
           <div class="table_panel">
241 245
              <div v-for="(main_collection,index) in printList" :key="index">
242
-              <div class="signPrint" style="width: 360px;font-size:16px;">
243
-                <div style="margin-left:50px;">姓名:
244
-                  <span>{{main_collection.patient.name}} </span>
245
-                  ({{ main_collection.patient.dialysis_no }},{{getNewAge(main_collection.patient.id_card_no)  }}岁)
246
-                </div>
247
-                <div class="printCell" style="display:flex;justify-content: space-around;">
248
-                  <span style="display: block;width: 50%;">
249
-                    床号:{{ main_collection.number.number }}
250
-                    <span style="width:auto;" v-if="main_collection.schedule_type == 1">上午</span>
251
-                    <span style="width:auto;" v-if="main_collection.schedule_type == 2">下午</span>
252
-                    <span style="width:auto;" v-if="main_collection.schedule_type == 3">晚上</span>
253
-                  </span>
254
-                  <span style="display: block;width: 50%;">{{ printDate }}</span>
255
-                </div>
256
-                <div class="printCell" style="display:flex;justify-content: space-around;">
257
-                   <span style="display: block;width: 50%;">干体重:{{main_collection.assessmentbefor.dry_weight}}Kg</span>
258
-                    <span style="display: block;width: 50%;">抗凝剂:{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name : ''}}</span>
246
+                <div class="signPrint" style="width: 360px;font-size:16px;">
247
+                  <div style="margin-left:50px;">姓名:
248
+                    <span>{{main_collection.patient.name}} </span>
249
+                    ({{ main_collection.patient.dialysis_no }},{{getNewAge(main_collection.patient.id_card_no)  }}岁)
250
+                  </div>
251
+                  <div class="printCell" style="display:flex;justify-content: space-around;">
252
+                    <span style="display: block;width: 50%;">
253
+                      床号:{{ main_collection.number.number }}
254
+                      <span style="width:auto;" v-if="main_collection.schedule_type == 1">上午</span>
255
+                      <span style="width:auto;" v-if="main_collection.schedule_type == 2">下午</span>
256
+                      <span style="width:auto;" v-if="main_collection.schedule_type == 3">晚上</span>
257
+                    </span>
258
+                    <span style="display: block;width: 50%;">{{ printDate }}</span>
259
+                  </div>
260
+                  <div class="printCell" style="display:flex;justify-content: space-around;">
261
+                    <span style="display: block;width: 50%;">干体重:{{main_collection.assessmentbefor.dry_weight}}Kg</span>
262
+                      <span style="display: block;width: 50%;">抗凝剂:{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name : ''}}</span>
259 263
 
260
-                </div>
261
-                <div class="printCell" style="display:flex;justify-content: space-around;">
262
-                  <span style="display: block;width: 50%;">净重值:{{ main_collection.assessmentbefor.weight_before - main_collection.assessmentbefor.additional_weight }}Kg</span>
263
-                  
264
-                  <span style="display: block;width: 50%;">
265
-                    首剂: <span v-if="main_collection.dialysissolution.anticoagulant == 1">{{main_collection.dialysissolution.anticoagulant_shouji}} mg</span>
266
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 2">
264
+                  </div>
265
+                  <div class="printCell" style="display:flex;justify-content: space-around;">
266
+                    <span style="display: block;width: 50%;">净重值:{{ main_collection.assessmentbefor.weight_before - main_collection.assessmentbefor.additional_weight }}Kg</span>
267
+                    
268
+                    <span style="display: block;width: 50%;">
269
+                      首剂: <span v-if="main_collection.dialysissolution.anticoagulant == 1">{{main_collection.dialysissolution.anticoagulant_shouji}} mg</span>
270
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 2">
271
+                      {{main_collection.dialysissolution.anticoagulant_shouji}}mg
272
+                    </span>
273
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 3">
274
+                      {{main_collection.dialysissolution.anticoagulant_shouji}}iu
275
+                    </span>
276
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 4">
267 277
                     {{main_collection.dialysissolution.anticoagulant_shouji}}mg
268
-                  </span>
269
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 3">
270
-                    {{main_collection.dialysissolution.anticoagulant_shouji}}iu
271
-                  </span>
272
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 4">
273
-                   {{main_collection.dialysissolution.anticoagulant_shouji}}mg
274
-                  </span>
275
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 5">
276
-                   {{main_collection.dialysissolution.anticoagulant_shouji}} mg
277
-                   </span>
278
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 6">
279
-                   {{main_collection.dialysissolution.anticoagulant_shouji}}iu
280
-                  </span>
281
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 7">
282
-                    {{main_collection.dialysissolution.anticoagulant_shouji}}iu
283
-                   </span>
284
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 8">
285
-                    {{main_collection.dialysissolution.anticoagulant_shouji}}iu
286
-                  </span>
287
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 9">
288
-                    {{main_collection.dialysissolution.anticoagulant_shouji}}iu
289
-                  </span>
290
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 10">
291
-                     {{main_collection.dialysissolution.anticoagulant_shouji}}iu
292 278
                     </span>
293
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 11">
279
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 5">
280
+                    {{main_collection.dialysissolution.anticoagulant_shouji}} mg
281
+                    </span>
282
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 6">
294 283
                     {{main_collection.dialysissolution.anticoagulant_shouji}}iu
295
-                   </span>
296
-                    </span> 
297
-                 
298
-                </div>
299
-                <div class="printCell" style="display:flex;justify-content: space-around;">
300
-                  <span style="display: block;width: 50%;">体重增加:{{ (main_collection.assessmentbefor.weight_before - assessmentAfterDislysis.weight_after).toFixed(2) }}Kg</span>
301
-                 <span style="display: block;width: 50%;">
302
-                     维持:{{main_collection.dialysissolution.anticoagulant_weichi}}
303
-                   <span v-if="main_collection.dialysissolution.anticoagulant == 1">
304
-                    mg/h
305
-                  </span>
306
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 2">
307
-                    mg/h
308
-                  </span>
309
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 3">
310
-                   iu/h
311
-                  </span>
312
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 4">
313
-                    mg/h
314
-                  </span>
315
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 5">
316
-                    mg/h
317
-                   </span>
318
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 6">
319
-                   iu/h
320
-                  </span>
321
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 7">
322
-                   iu/h
323
-                   </span>
324
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 8">
325
-                    iu/h
326
-                  </span>
327
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 9">
284
+                    </span>
285
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 7">
286
+                      {{main_collection.dialysissolution.anticoagulant_shouji}}iu
287
+                    </span>
288
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 8">
289
+                      {{main_collection.dialysissolution.anticoagulant_shouji}}iu
290
+                    </span>
291
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 9">
292
+                      {{main_collection.dialysissolution.anticoagulant_shouji}}iu
293
+                    </span>
294
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 10">
295
+                      {{main_collection.dialysissolution.anticoagulant_shouji}}iu
296
+                      </span>
297
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 11">
298
+                      {{main_collection.dialysissolution.anticoagulant_shouji}}iu
299
+                    </span>
300
+                      </span> 
301
+                  
302
+                  </div>
303
+                  <div class="printCell" style="display:flex;justify-content: space-around;">
304
+                    <span style="display: block;width: 50%;">体重增加:{{ (main_collection.assessmentbefor.weight_before - assessmentAfterDislysis.weight_after).toFixed(2) }}Kg</span>
305
+                  <span style="display: block;width: 50%;">
306
+                      维持:{{main_collection.dialysissolution.anticoagulant_weichi}}
307
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 1">
308
+                      mg/h
309
+                    </span>
310
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 2">
311
+                      mg/h
312
+                    </span>
313
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 3">
328 314
                     iu/h
329
-                  </span>
330
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 10">
315
+                    </span>
316
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 4">
317
+                      mg/h
318
+                    </span>
319
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 5">
320
+                      mg/h
321
+                    </span>
322
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 6">
331 323
                     iu/h
332 324
                     </span>
333
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 11">
325
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 7">
334 326
                     iu/h
335
-                   </span>
336
-                  </span>
337
-                
338
-                </div>
339
-                <div class="printCell" style="display:flex;justify-content: space-around;">
340
-                  <span style="display: block;width: 50%;">处方脱水量:{{ main_collection.prescription.target_ultrafiltration }}
341
-                    <span v-if="$store.getters.xt_user.org.id == 10278 || $store.getters.xt_user.org.id == 10138">ml</span> 
342
-                    <span v-else>L</span>
343
-                  </span>
344
-                  <span style="display: block;width: 50%;">
345
-                    总量:{{main_collection.dialysissolution.anticoagulant_zongliang}}
346
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 1">
347
-                    mg
348
-                  </span>
349
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 2">
327
+                    </span>
328
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 8">
329
+                      iu/h
330
+                    </span>
331
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 9">
332
+                      iu/h
333
+                    </span>
334
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 10">
335
+                      iu/h
336
+                      </span>
337
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 11">
338
+                      iu/h
339
+                    </span>
340
+                    </span>
341
+                  
342
+                  </div>
343
+                  <div class="printCell" style="display:flex;justify-content: space-around;">
344
+                    <span style="display: block;width: 50%;">处方脱水量:{{ main_collection.prescription.target_ultrafiltration }}
345
+                      <span v-if="$store.getters.xt_user.org.id == 10278 || $store.getters.xt_user.org.id == 10138">ml</span> 
346
+                      <span v-else>L</span>
347
+                    </span>
348
+                    <span style="display: block;width: 50%;">
349
+                      总量:{{main_collection.dialysissolution.anticoagulant_zongliang}}
350
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 1">
351
+                      mg
352
+                    </span>
353
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 2">
354
+                      mg
355
+                    </span>
356
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 3">
357
+                      iu
358
+                    </span>
359
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 4">
350 360
                     mg
351
-                  </span>
352
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 3">
361
+                    </span>
362
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 5">
363
+                      mg
364
+                    </span>
365
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 6">
353 366
                     iu
354
-                  </span>
355
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 4">
356
-                   mg
357
-                  </span>
358
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 5">
359
-                    mg
360
-                   </span>
361
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 6">
362
-                   iu
363
-                  </span>
364
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 7">
367
+                    </span>
368
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 7">
369
+                      iu
370
+                    </span>
371
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 8">
372
+                      iu
373
+                    </span>
374
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 9">
365 375
                     iu
366
-                   </span>
367
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 8">
368
-                     iu
369
-                  </span>
370
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 9">
371
-                   iu
372
-                  </span>
373
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 10">
376
+                    </span>
377
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 10">
378
+                      iu
379
+                      </span>
380
+                    <span v-if="main_collection.dialysissolution.anticoagulant == 11">
374 381
                     iu
375 382
                     </span>
376
-                  <span v-if="main_collection.dialysissolution.anticoagulant == 11">
377
-                   iu
378
-                   </span>
379
-                  </span>
383
+                    </span>
384
+                  </div>
380 385
                 </div>
381
-              </div>
382
-            </div>
386
+             </div>
387
+
388
+             <!-- <div v-for="(main_collection,index) in printList" :key="index" style="width: 80%;">
389
+                <table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse; text-align: center; margin: auto;">
390
+                
391
+                  <tr style="height: 20px;">
392
+                    <td>{{ printDate }}</td>
393
+                    <td>机号:{{ main_collection.number.number }}</td>
394
+                  </tr>
395
+                  <tr style="height: 20px;">
396
+                    <td>姓名</td>
397
+                    <td>{{main_collection.patient.name}}</td>
398
+                  </tr>
399
+                  <tr style="height: 20px;">
400
+                    <td>治疗方式</td>
401
+                    <td></td>
402
+                  </tr>
403
+                  <tr style="height: 20px;">
404
+                    <td>透析时间</td>
405
+                    <td>{{ printDate }}</td>
406
+                  </tr>
407
+                  <tr style="height: 20px;">
408
+                    <td>透前体重</td>
409
+                    <td></td>
410
+                  </tr>
411
+                  <tr style="height: 20px;">
412
+                    <td>干体重</td>
413
+                    <td>{{main_collection.assessmentbefor.dry_weight}}Kg</td>
414
+                  </tr>
415
+                  <tr style="height: 20px;">
416
+                    <td>超滤量</td>
417
+                    <td></td>
418
+                  </tr>
419
+                  <tr style="height: 20px;">
420
+                    <td>透前血压</td>
421
+                    <td>-</td>
422
+                  </tr>
423
+                  <tr style="height: 20px;">
424
+                    <td></td>
425
+                    <td></td>
426
+                  </tr>
427
+                  <tr style="height: 20px;">
428
+                    <td></td>
429
+                    <td></td>
430
+                  </tr>
431
+                </table>
432
+             </div> -->
433
+
383 434
           </div>
384 435
         </div>
385 436
       </div>

+ 5 - 0
src/xt_pages/management/home.vue View File

@@ -5465,6 +5465,11 @@ export default {
5465 5465
         left:103px ;
5466 5466
       }
5467 5467
     }
5468
+    .el-tab-pane{
5469
+      .el-form-item__error{
5470
+        left:103px;
5471
+      }
5472
+    }
5468 5473
     
5469 5474
    .a{
5470 5475
      margin-bottom: 10px;

+ 1 - 1
src/xt_pages/outpatientDoctorStation/doctorDesk.vue View File

@@ -667,7 +667,7 @@ export default {
667 667
         })
668 668
       } else {
669 669
         const style =
670
-            '@media print {#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:10px;line-height: 1px; padding:0 10px;}.infoTitle p{width: 200px;font-size:14px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:450px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}@media print {html {zoom: 88%;}}#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;margin-top:10px;}.infoTitle div{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;margin-top:10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:450px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}.NoCell{display: flex;justify-content: space-between;margin-bottom: 10px;}.underLine{display: inline-block;border-bottom: 1px solid #000;text-align: center;line-height: 24px;}.basicCell{display: flex;} .basicCell span{line-height: 24px;margin-bottom: 10px;}}'
670
+            '@media print {#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:10px;line-height: 1px; padding:0 10px;}.infoTitle p{width: 200px;font-size:14px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:450px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}@media print {html {zoom: 88%;}}#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;margin-top:10px;}.infoTitle div{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;margin-top:10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:450px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.doctorBoxtwo{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}.NoCell{display: flex;justify-content: space-between;margin-bottom: 10px;}.underLine{display: inline-block;border-bottom: 1px solid #000;text-align: center;line-height: 24px;}.basicCell{display: flex;} .basicCell span{line-height: 24px;margin-bottom: 10px;}}'
671 671
         printJS({
672 672
           printable: 'printMain',
673 673
           type: 'html',

+ 29 - 9
src/xt_pages/outpatientDoctorStation/template/printOne.vue View File

@@ -126,7 +126,7 @@
126 126
           </div>
127 127
           <div style="text-align: center">(以下空白)</div>
128 128
         </div>
129
-        <div class="doctorBox" v-if="org_id != 10188">
129
+        <div class="doctorBox" v-if="org_id != 10188 && org_id != 0">
130 130
           <p v-if="org_id == 10217 || org_id == 0">
131 131
             医师:
132 132
             <span
@@ -154,11 +154,17 @@
154 154
           </p>
155 155
           <p>日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}</p>
156 156
         </div>
157
-        <div class="doctorBox" v-else>
158
-          <p>药师:</p>
157
+        
158
+        <div class="doctorBoxs" style="border-bottom: 2px solid #000;" v-if="org_id == 10188 || org_id == 0">
159 159
           <p>医师:{{ item.doctor ? item.doctor : "" }}</p>
160 160
         </div>
161
-        <div class="actionBar" v-if="org_id != 10188">
161
+        <!-- <div class="doctorBoxtwo" v-if="org_id == 10188 || org_id == 0">
162
+          <p >审核、调配:</p>
163
+          <p >核对、发药:</p>
164
+          <p style="margin-right: 43px">药师:</p>
165
+        </div> -->
166
+
167
+        <div class="actionBar" v-if="org_id != 10188 && org_id != 0">
162 168
           <!-- <p>审核:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</p>
163 169
                  <p>配对:</p>
164 170
                  <p>核对:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</p>
@@ -179,11 +185,9 @@
179 185
           <!--            <p>药费:466.2元</p>-->
180 186
         </div>
181 187
         <div class="actionBar" v-else>
182
-          <p style="visibility: hidden">审核:</p>
183
-          <p style="visibility: hidden">配对:</p>
184
-          <p style="visibility: hidden">核对:</p>
185
-          <p style="visibility: hidden">发药:</p>
186
-          <p>
188
+          <p >审核、调配:</p>
189
+          <p >核对、发药:</p>
190
+          <p >
187 191
             药费:{{
188 192
               getTotalOne(item.id).toFixed(2)
189 193
                 ? getTotalOne(item.id).toFixed(2)
@@ -524,10 +528,26 @@ export default {
524 528
 .doctorBox {
525 529
   display: flex;
526 530
   justify-content: space-between;
531
+  // justify-self: end;
527 532
   padding: 0 10px;
528 533
   line-height: 24px;
529 534
   border-bottom: 2px solid #000;
530 535
 }
536
+.doctorBoxs{
537
+  width: 100%;
538
+  margin-right: 30px;
539
+  text-align: right;
540
+  padding: 0 10px;
541
+  line-height: 24px;
542
+  
543
+}
544
+.doctorBoxtwo {
545
+  display: flex;
546
+  justify-content: space-between;
547
+  padding: 0 10px;
548
+  line-height: 24px;
549
+
550
+}
531 551
 .actionBar {
532 552
   display: flex;
533 553
   justify-content: space-between;