瀏覽代碼

Merge branch '20200710_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20200710_pc_vue_new_branch

XMLWAN 4 年之前
父節點
當前提交
042906df2f

+ 2 - 1
src/xt_pages/dialysis/details/assessmentAfter.vue 查看文件

@@ -40,7 +40,8 @@
40 40
         <li v-if="isShow('实际置换量')">
41 41
           <label>实际置换量 : </label>
42 42
           <span class="content">{{ actual_displacement }}</span>
43
-          <span class="unit">ml</span>
43
+          <span class="unit" v-if="this.$store.getters.xt_user.template_info.template_id != 13">ml</span>
44
+          <span class="unit" v-else>L</span>
44 45
         </li>
45 46
         <li v-if="isShow('压迫后内瘘震颤')">
46 47
           <label>压迫后内瘘震颤: </label>

+ 234 - 57
src/xt_pages/dialysis/template/DialysisPrintOrderThirteen.vue 查看文件

@@ -4,68 +4,119 @@
4 4
       id="dialysis-print-box-1-1"
5 5
       class="dialysis-print-order print-template-two print_page_main_content"
6 6
     >
7
-    <div style="width:100%;text-align:center;">
7
+    <!-- <div style="width:100%;text-align:center;">
8 8
         <div
9 9
           class="order-yy-name"
10 10
           style="letter-spacing: 0;font-weight:600;font-size:22px;display:inline-block;"
11 11
         >
12 12
           {{ orgname }}
13 13
         </div>
14
-    </div>
14
+    </div> -->
15 15
       <div style="display:inline-block;width:100%;text-align:center;">
16 16
         <div
17 17
           class="order-title"
18 18
           style="letter-spacing: 0;font-weight:600;font-size:22px;display:inline-block;"
19 19
         >
20
-          血液净化治疗记录单
20
+         {{ orgname }} 血液净化治疗记录单
21 21
         </div>
22 22
       </div>
23
-      <div class="row" style="display:flex;justify-content: space-between;">
24
-        <div class="inline_block" style="margin-right:30px;">
23
+      <div class="row">
24
+        <div class="inline_block" style="margin-right:10px;">
25 25
             日期 <div class="inline_block under_line" style="width:50px">{{ queryParams.xtdate.slice(0,4) }}</div>年
26 26
             <div class="inline_block under_line" style="width:50px">{{ queryParams.xtdate.slice(5,7) }}</div>月
27 27
             <div class="inline_block under_line" style="width:50px">{{ queryParams.xtdate.slice(8,11) }}</div>日
28 28
         </div>
29
-        <div class="inline_block" style="margin-right:30px;">
29
+        <div class="inline_block" style="margin-right:10px;">
30
+          姓名 
31
+          <div class="inline_block under_line" style="width:80px;text-align: center;">
32
+              {{ patientInfo.name ? patientInfo.name : "" }}
33
+          </div>
34
+        </div>
35
+        <div class="inline_block" style="margin-right:10px;">
36
+          性别&nbsp;&nbsp;&nbsp;&nbsp;
37
+          <label-box :isChecked="patientInfo.gender == '男'" showValue="男" ></label-box>&nbsp;
38
+          <label-box :isChecked="patientInfo.gender == '女'" showValue="女" ></label-box>
39
+        </div>
40
+        <div class="inline_block" style="margin-right:10px;">
41
+          年龄:
42
+          <div class="under_line" style="width: 50px;text-align: center">
43
+              {{ getNewAge(patientInfo.id_card_no) }}
44
+          </div>
45
+          岁
46
+        </div>
47
+        <div class="inline_block" style="margin-right:10px;">
30 48
             机器编号 
31 49
             <div class="inline_block under_line" style="width:80px;">
32 50
             {{ getNumber() }}
33 51
             </div>
34 52
         </div>
35
-        <div class="inline_block" style="margin-right:30px;">
36
-            病案号 <div class="inline_block under_line" style="width:80px">{{ patientInfo.dialysis_no }}</div>
53
+        <div class="inline_block">
54
+            病案号 <div class="inline_block under_line" style="width:60px">{{ patientInfo.dialysis_no }}</div>
37 55
         </div>
38 56
       </div>
39 57
       <div style="border-bottom: 2px solid #000;width:100%;"></div>
40 58
       <div class="row">
41 59
           <div class="inline_block" style="margin-right:30px;">
42
-            姓名 
43
-            <div class="inline_block under_line" style="width:100px;text-align: center;">
44
-                {{ patientInfo.name ? patientInfo.name : "" }}
60
+            血液净化方式 
61
+            <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="!prescription.mode_id">
62
+              /
45 63
             </div>
46
-          </div>
47
-          <div class="inline_block" style="margin-right:30px;">
48
-            性别&nbsp;&nbsp;&nbsp;&nbsp;
49
-            <label-box :isChecked="patientInfo.gender == '男'" showValue="男" ></label-box>&nbsp;
50
-            <label-box :isChecked="patientInfo.gender == '女'" showValue="女" ></label-box>
51
-          </div>
52
-          <div class="inline_block" style="margin-right:30px;">
53
-            年龄:
54
-            <div class="under_line" style="width: 50px;text-align: center">
55
-                {{ getNewAge(patientInfo.id_card_no) }}
64
+            <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 1">
65
+              HD
56 66
             </div>
57
-            岁
58
-          </div>
59
-      </div>
60
-      <div class="row">
61
-          <div class="inline_block" style="margin-right:30px;">
62
-            血液净化方式 
63
-            <div class="inline_block under_line" style="width:300px;text-align: center;">
64
-                <label-box :isChecked="prescription.mode_id == 1 ? true : false" showValue="HD"></label-box>&nbsp;&nbsp;&nbsp;&nbsp;
65
-                <label-box :isChecked="prescription.mode_id == 2 ? true : false" showValue="HDF"></label-box>&nbsp;&nbsp;&nbsp;&nbsp;
66
-                <!-- <label-box :isChecked="prescription.mode_id == 5 ? true : false" showValue="HF"></label-box>
67
-                <label-box :isChecked="prescription.mode_id == 4 ? true : false" showValue="HP"></label-box> -->
68
-                <label-box :isChecked="prescription.mode_id == 3 ? true : false" showValue="HD+HP"></label-box>
67
+            <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 2">
68
+              HDF
69
+            </div>
70
+            <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 3">
71
+              HD+HP
72
+            </div>
73
+            <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 4">
74
+              HP
75
+            </div>
76
+            <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 5">
77
+              HF
78
+            </div>
79
+            <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 6">
80
+              SCUF
81
+            </div>
82
+            <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 7">
83
+              IUF
84
+            </div>
85
+            <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 8">
86
+              HFHD
87
+            </div>
88
+            <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 9">
89
+              HFHD+HP
90
+            </div>
91
+            <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 10">
92
+              PHF
93
+            </div>
94
+            <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 11">
95
+              HFR
96
+            </div>
97
+            <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 12">
98
+              HDF+HP
99
+            </div>
100
+            <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 13">
101
+              CRRT
102
+            </div>
103
+            <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 14">
104
+              腹水回输
105
+            </div>
106
+            <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 15">
107
+              HD前置换
108
+            </div>
109
+            <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 16">
110
+              HD后置换
111
+            </div>
112
+            <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 17">
113
+              HDF前置换
114
+            </div>
115
+            <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 18">
116
+              HDF后置换
117
+            </div>
118
+            <div class="under_line" style="width: 100px;text-align: center;font-weight:600;" v-if="prescription.mode_id == 19">
119
+              IUF+HD
69 120
             </div>
70 121
           </div>
71 122
           <div class="inline_block" style="margin-right:30px;">
@@ -74,6 +125,12 @@
74 125
                 {{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus : ''}}
75 126
             </div>
76 127
           </div>
128
+          <div class="inline_block" style="margin-right:30px;">
129
+            透析液配方 
130
+            <div class="inline_block under_line" style="width:150px;text-align: center;">
131
+                {{ prescription.dialysate_formulation_name ? prescription.dialysate_formulation_name : ''}}
132
+            </div>
133
+          </div>
77 134
       </div>
78 135
       <div class="row">
79 136
         血管通路 
@@ -104,6 +161,16 @@
104 161
           &nbsp;
105 162
         </div>
106 163
       </div>
164
+      <div class="row">
165
+        导管
166
+        <div class="inline_block under_line" style="width:200px;text-align: left;">
167
+          {{ predialysis.catheter ? predialysis.catheter : "" }}
168
+        </div>
169
+        内瘘
170
+        <div class="inline_block under_line" style="width:200px;text-align: left;">
171
+          {{ predialysis.internal_fistula ? predialysis.internal_fistula : "" }}
172
+        </div>
173
+      </div>
107 174
       <div class="row">
108 175
         抗凝药物 
109 176
         <div class="inline_block under_line" style="width:92%;text-align: left;">
@@ -197,7 +264,7 @@
197 264
       </div>
198 265
       <div class="row">
199 266
         透前评估 
200
-        <div class="inline_block under_line" style="width:92%;text-align: left;">
267
+        <div class="inline_block under_line" style="width:50%;text-align: left;margin-right:30px;">
201 268
           <div class="inline_block" style="margin-right:30px;">
202 269
             体温
203 270
             <div class="inline_block" style="width:50px;text-align:center">
@@ -217,7 +284,54 @@
217 284
               {{ predialysis.pulse_frequency ? predialysis.pulse_frequency : "" }}
218 285
             </div>次/分
219 286
           </div>
220
- 
287
+          入室方式
288
+          <div class="inline_block under_line" style="width:80px;text-align: center;margin-right:30px;">
289
+            {{ receiverTreatmentAccess.way ? receiverTreatmentAccess.way : "" }}
290
+          </div>
291
+          透析频次(次/周)
292
+          <div class="inline_block under_line" style="width:80px;text-align: center;">
293
+            {{ predialysis.dialysis_count ? predialysis.dialysis_count : "" }}
294
+          </div>
295
+        </div>
296
+      </div>
297
+      <div class="row">
298
+        透析前症状
299
+        <div class="inline_block under_line" style="width:150px;text-align: center;margin-right:30px;">
300
+          {{ predialysis.symptom_before_dialysis ? predialysis.symptom_before_dialysis : "" }}
301
+        </div>
302
+        水肿
303
+        <div class="inline_block under_line" style="width:150px;text-align: center;margin-right:30px;">
304
+          {{ predialysis.edema ? predialysis.edema : "" }}
305
+        </div>
306
+        出血
307
+        <div class="inline_block under_line" style="width:150px;text-align: center;margin-right:30px;">
308
+          {{ predialysis.is_hemorrhage == 1 && predialysis.hemorrhage ? predialysis.hemorrhage : "" }}
309
+        </div>
310
+        跌倒风险预防措施
311
+        <div class="inline_block under_line" style="width:100px;text-align: center;">
312
+          {{ receiverTreatmentAccess.precaution ? receiverTreatmentAccess.precaution : '' }}
313
+        </div>
314
+      </div>
315
+      <div class="row">
316
+        上机医生
317
+        <div class="inline_block under_line" style="width:150px;text-align: center;margin-right:30px;">
318
+          <span v-if="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) == ''"> {{ getAdminUser(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:'')) }} </span>
319
+          <img style="height:30px;" :src="setAdminUserES(prescription==null?0:(prescription.prescription_doctor?prescription.prescription_doctor:''))" alt="" srcset="" v-else />
320
+        </div>
321
+        冲管护士
322
+        <div class="inline_block under_line" style="width:150px;text-align: center;margin-right:30px;">
323
+          <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.washpipe_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.washpipe_nurse)}}</span>
324
+          <img class="es-img" style="height:30px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.washpipe_nurse)" alt="" srcset="" v-else>
325
+        </div>
326
+        穿刺者
327
+        <div class="inline_block under_line" style="width:150px;text-align: center;margin-right:30px;">
328
+          <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.puncture_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.puncture_nurse)}}</span>
329
+          <img class="es-img" style="height:30px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.puncture_nurse)" alt="" srcset="" v-else>
330
+        </div>
331
+        上机护士
332
+        <div class="inline_block under_line" style="width:100px;text-align: center;">
333
+          <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.start_nurse)}}</span>
334
+          <img class="es-img" style="height:30px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.start_nurse)" alt="" srcset="" v-else>
221 335
         </div>
222 336
       </div>
223 337
 
@@ -275,16 +389,16 @@
275 389
         <tbody>
276 390
             <tr style="height:40px;line-height:40px">
277 391
               <td width="60">时间</td>
278
-              <td width="80">BP</td>
392
+              <td width="60">BP</td>
279 393
               <td width="40">心率</td>
280
-              <td width="60">血流速</td>
281
-              <td width="60">静脉压</td>
282
-              <td width="60">TMP</td>
283
-              <td width="60">电导率</td>
394
+              <td width="40">血流速</td>
395
+              <td width="40">静脉压</td>
396
+              <td width="40">TMP</td>
397
+              <td width="40">电导率</td>
284 398
               <td width="40">温度</td>
285
-              <td width="60">透析液流量</td>
286
-              <td width="60">UF/hr</td>
287
-              <td width="100">症状处理</td>
399
+              <td width="40">透析液流量</td>
400
+              <td width="40">UF/hr</td>
401
+              <td width="200">病情变化处理方式及结果</td>
288 402
             </tr>
289 403
 
290 404
 
@@ -311,15 +425,15 @@
311 425
 
312 426
       <table class="print-table" border="1">
313 427
         <tbody>
314
-          <tr style="height:40px;line-height:40px">
315
-            <td width="40" rowspan="2" style="padding-left:5px;border:none;border-right:1px solid #000;">
428
+          <tr style="height:30px;line-height:30px">
429
+            <td width="70" rowspan="3" style="padding-left:5px;border:none;border-right:1px solid #000;">
316 430
               透后评估
317 431
             </td>
318 432
 
319 433
             <td width="25" style="border:none;padding-left:5px;">
320 434
               体温:
321 435
             </td>
322
-            <td width="30" style="text-align:left;border:none;">
436
+            <td width="70" style="text-align:left;border:none;">
323 437
               <div>
324 438
                 <span class="under_line" style="width:50px;display:inline-block;">
325 439
                   {{ afterdialysis.temperature ? afterdialysis.temperature : "" }}
@@ -328,8 +442,8 @@
328 442
             </td>
329 443
             <!-- <td width="10" style="border:none;"></td> -->
330 444
 
331
-            <td width="25" style="border:none;padding-left:5px;">血压:</td>
332
-            <td width="70" style="text-align:left;border:none;line-height: 30px;">
445
+            <td width="20" style="border:none;padding-left:5px;">血压:</td>
446
+            <td width="60" style="text-align:left;border:none;line-height: 30px;">
333 447
               <div>
334 448
                 <span class="under_line" style="width:100px;display:inline-block">
335 449
                   {{ afterdialysis.systolic_blood_pressure ? afterdialysis.systolic_blood_pressure : "" }}/
@@ -337,18 +451,26 @@
337 451
                 </span>mmHg
338 452
               </div>
339 453
             </td>
340
-            <td width="25" style="border:none;padding-left:5px">脉搏:</td>
341
-            <td width="55" style="text-align:left;border:none;">
454
+            <td width="10" style="border:none;padding-left:5px">脉搏:</td>
455
+            <td width="70" style="text-align:left;border:none;">
342 456
               <div>
343 457
                 <span class="under_line" style="width:50px;display:inline-block">
344 458
                   {{ afterdialysis.pulse_frequency ? afterdialysis.pulse_frequency : "" }}
345 459
                 </span>次/分
346 460
               </div>
347 461
             </td>
462
+            <td width="50" style="border:none;padding-left:5px">透后症状:</td>
463
+            <td width="100" style="text-align:left;border:none;">
464
+              <div>
465
+                <span class="under_line" style="width:100px;display:inline-block">
466
+                  {{ afterdialysis.symptom_after_dialysis ? afterdialysis.symptom_after_dialysis : "" }}
467
+                </span>
468
+              </div>
469
+            </td>
348 470
           </tr>
349 471
             
350
-          <tr style="height:40px;line-height:40px">
351
-            <td width="50" style="border:none;padding-left:5px">实际置换量:</td>
472
+          <tr style="height:30px;line-height:30px;">
473
+            <td width="90" style="border:none;padding-left:5px">实际置换量:</td>
352 474
             <td width="30" style="text-align:left;border:none;">
353 475
               <div>
354 476
                 <span class="under_line" style="width:50px;display:inline-block">
@@ -357,15 +479,56 @@
357 479
               </div>
358 480
             </td>
359 481
             
360
-            <td width="50" style="border:none;padding-left:5px">透析器凝血:</td>
361
-            <td width="110" style="text-align:left;border:none;">
482
+            <td width="90" style="border:none;padding-left:5px">透析器凝血:</td>
483
+            <td width="200" style="text-align:left;border:none;">
362 484
               <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('透析器-0度') > -1 ? true : false) :false" showValue="0"></label-box>
363 485
               <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('透析器-Ⅰ度') > -1 ? true : false) :false" showValue="+"></label-box>
364 486
               <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('透析器-Ⅱ度') > -1 ? true : false) :false" showValue="+ +"></label-box>
365 487
               <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('透析器-Ⅲ度') > -1 ? true : false) :false" showValue="+ + +"></label-box>
366 488
             </td>
367
-            <td width="50" style="text-align:left;border:none;"></td>
489
+            <!-- <td width="50" style="text-align:left;border:none;"></td> -->
490
+            <!-- <td width="110" style="text-align:left;border:none;"></td> -->
491
+            <td width="100" style="border:none;padding-left:5px">透析期间进食:</td>
492
+            <td width="50" style="text-align:left;border:none;">
493
+              <div>
494
+                <span class="under_line" style="width:50px;display:inline-block">
495
+                  <span v-if='afterdialysis.is_eat == 1'>是</span>
496
+                  <span v-if='afterdialysis.is_eat == 2'>否</span>
497
+                </span>
498
+              </div>
499
+            </td>
500
+            <td width="70" style="border:none;padding-left:5px">透析进食:</td>
501
+            <td width="50" style="text-align:left;border:none;">
502
+              <div>
503
+                <span class="under_line" style="width:50px;display:inline-block">
504
+                  {{ afterdialysis.is_eat == 1 && afterdialysis.dialysis_during ? afterdialysis.dialysis_during : '' }}
505
+                </span>ml
506
+              </div>
507
+            </td>
508
+          </tr>
509
+          <tr style="height:30px;line-height:30px;">
510
+            <td width="20" style="border:none;padding-left:5px;">内瘘:</td>
511
+            <td width="150" colspan="3" style="text-align:left;border:none;">
512
+              <div>
513
+                <span class="under_line" style="width:150px;display:inline-block;">
514
+                  {{ afterdialysis.internal_fistula ? afterdialysis.internal_fistula : "" }}
515
+                </span>
516
+              </div>
517
+            </td>
518
+            <td width="50" style="border:none;padding-left:5px">下机护士:</td>
519
+            <td width="100" style="text-align:left;border:none;">
520
+              <div>
521
+                <span class="under_line" style="width:100px;display:inline-block">
522
+                  <span v-if="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse) == ''">
523
+                    {{ getAdminUser(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse) }}</span>
524
+                  <img class="es-img" style="height:30px" :src="setAdminUserES(dialysisOrder == null ? 0 : dialysisOrder.finish_nurse)" alt="" srcset="" v-else />
525
+                </span>
526
+              </div>
527
+            </td>
528
+            <td width="10" style="text-align:left;border:none;"></td>
368 529
             <td width="110" style="text-align:left;border:none;"></td>
530
+            <!-- <td width="110" style="text-align:left;border:none;"></td> -->
531
+            <!-- <td width="110" style="text-align:left;border:none;"></td> -->
369 532
           </tr>
370 533
         </tbody>
371 534
       </table>
@@ -373,7 +536,7 @@
373 536
       <table class="print-table" border="1">
374 537
         <tr style="height:36px;text-align:left;border:none;">
375 538
           <td style="padding-left:5px;border:none">
376
-              <p style="margin-bottom:130px">
539
+              <p style="margin-bottom:30px">
377 540
                 透析小结:{{ summary.dialysis_summary ? summary.dialysis_summary : "" }}
378 541
               </p>
379 542
           </td>
@@ -387,7 +550,7 @@
387 550
                     <img :src="orderForm.url" style="height:30px;" />
388 551
                 </span>
389 552
             </span>
390
-            校对护士
553
+            二核护士
391 554
             <span style="display: inline-block;width:100px;text-align: left;">
392 555
               &nbsp;
393 556
               <span v-if="dialysisOrder ? dialysisOrder.start_nurse != check.modifier : false">
@@ -988,6 +1151,20 @@ export default {
988 1151
             receiverTreatmentAccess.way = '平车'
989 1152
           }
990 1153
           console.log('接诊评估:', receiverTreatmentAccess)
1154
+          var obj = receiverTreatmentAccess.precaution
1155
+          var arr = obj.split(',')
1156
+          console.log('arr', arr)
1157
+          var arr2 = []
1158
+          for (let i = 0; i < this.precaution_arr.length; i++) {
1159
+            for (let j = 0; j < arr.length; j++) {
1160
+              if (this.precaution_arr[i].id == parseInt(arr[j])) {
1161
+                arr2.push(this.precaution_arr[i].name)
1162
+              }
1163
+            }
1164
+          }
1165
+          var obj2 = arr2.join(',')
1166
+          console.log('obj2', obj2)
1167
+          receiverTreatmentAccess.precaution = obj2
991 1168
           this.receiverTreatmentAccess = receiverTreatmentAccess
992 1169
           this.prescription.mode = this.modeName(this.prescription.mode_id)
993 1170
           var rwLen = this.replacementWays.length

+ 32 - 17
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyFour.vue 查看文件

@@ -192,23 +192,23 @@
192 192
                     <td width='10'>A</td>
193 193
                     <td width='120'>
194 194
                         <div class="under-line">&nbsp;
195
-                            <span v-if="predialysis.pinholing.indexOf('A1')>-1">A1,</span>
196
-                            <span v-if="predialysis.pinholing.indexOf('A2')>-1">A2,</span>
197
-                            <span v-if="predialysis.pinholing.indexOf('A3')>-1">A3,</span>
198
-                            <span v-if="predialysis.pinholing.indexOf('A4')>-1">A4,</span>
199
-                            <span v-if="predialysis.pinholing.indexOf('A5')>-1">A5,</span>
200
-                            <span v-if="predialysis.pinholing.indexOf('A6')>-1">A6</span>
195
+                            <span v-if="predialysis.pinholing && predialysis.pinholing.indexOf('A1')>-1">A1,</span>
196
+                            <span v-if="predialysis.pinholing && predialysis.pinholing.indexOf('A2')>-1">A2,</span>
197
+                            <span v-if="predialysis.pinholing && predialysis.pinholing.indexOf('A3')>-1">A3,</span>
198
+                            <span v-if="predialysis.pinholing && predialysis.pinholing.indexOf('A4')>-1">A4,</span>
199
+                            <span v-if="predialysis.pinholing && predialysis.pinholing.indexOf('A5')>-1">A5,</span>
200
+                            <span v-if="predialysis.pinholing && predialysis.pinholing.indexOf('A6')>-1">A6</span>
201 201
                         </div>
202 202
                     </td>
203 203
                     <td width='10'>V</td>
204 204
                     <td width='120'>
205 205
                         <div class="under-line">&nbsp;
206
-                            <span v-if="predialysis.pinholing.indexOf('V1')>-1">V1,</span>
207
-                            <span v-if="predialysis.pinholing.indexOf('V2')>-1">V2,</span>
208
-                            <span v-if="predialysis.pinholing.indexOf('V3')>-1">V3,</span>
209
-                            <span v-if="predialysis.pinholing.indexOf('V4')>-1">V4,</span>
210
-                            <span v-if="predialysis.pinholing.indexOf('V5')>-1">V5,</span>
211
-                            <span v-if="predialysis.pinholing.indexOf('V6')>-1">V6</span>
206
+                            <span v-if="predialysis.pinholing && predialysis.pinholing.indexOf('V1')>-1">V1,</span>
207
+                            <span v-if="predialysis.pinholing && predialysis.pinholing.indexOf('V2')>-1">V2,</span>
208
+                            <span v-if="predialysis.pinholing && predialysis.pinholing.indexOf('V3')>-1">V3,</span>
209
+                            <span v-if="predialysis.pinholing && predialysis.pinholing.indexOf('V4')>-1">V4,</span>
210
+                            <span v-if="predialysis.pinholing && predialysis.pinholing.indexOf('V5')>-1">V5,</span>
211
+                            <span v-if="predialysis.pinholing && predialysis.pinholing.indexOf('V6')>-1">V6</span>
212 212
                         </div>
213 213
                     </td>
214 214
                     <td width='80'>内瘘位置:</td>
@@ -329,9 +329,9 @@
329 329
                     <td width='70'>导管缝线</td>
330 330
                     <td width='120'>
331 331
                         <div>
332
-                            <label-box :isChecked="predialysis.catheter_suture.indexOf('固定') > -1 ? true : false" showValue="固定"></label-box>
332
+                            <label-box :isChecked="predialysis.catheter_suture && predialysis.catheter_suture.indexOf('固定') > -1 ? true : false" showValue="固定"></label-box>
333 333
                             &nbsp;
334
-                            <label-box :isChecked="predialysis.catheter_suture.indexOf('松脱') > -1 ? true : false" showValue="松脱"></label-box>
334
+                            <label-box :isChecked="predialysis.catheter_suture && predialysis.catheter_suture.indexOf('松脱') > -1 ? true : false" showValue="松脱"></label-box>
335 335
                             &nbsp;
336 336
                         </div>
337 337
                     </td>
@@ -427,7 +427,7 @@
427 427
                     <td width='10'>ml</td>
428 428
                     <td width='40'>水肿</td>
429 429
                     <td width='40'>
430
-                        <label-box :isChecked="predialysis.edema.indexOf('无') > -1 ? true : false" showValue="无"></label-box>
430
+                        <label-box :isChecked="predialysis.edema && predialysis.edema.indexOf('无') > -1 ? true : false" showValue="无"></label-box>
431 431
                     </td>
432 432
                     <td width='30'>
433 433
                         <label-box :isChecked="predialysis.edema && getEdema(predialysis.edema) != '' ? true : false" showValue=""></label-box>
@@ -579,14 +579,14 @@
579 579
                             <td width='60'>透析器</td>
580 580
                             <td width='120'>
581 581
                                 <div class="under-line">
582
-                                    &nbsp;{{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus.split(',')[0].indexOf('透析器') > -1 ? prescription.dialyzer_perfusion_apparatus.split(',')[0].slice(3) : prescription.dialyzer_perfusion_apparatus.split(',')[1].slice(3) : '' }}
582
+                                    &nbsp;{{ prescription.dialyzer_perfusion_apparatus ? getDialyzerPerfusionApparatus(prescription.dialyzer_perfusion_apparatus,'透析器') : '' }}
583 583
                                 </div>
584 584
                             </td>
585 585
                             <td width='20'></td>
586 586
                             <td width='80'>灌流器</td>
587 587
                             <td width='120'>
588 588
                                 <div class="under-line">
589
-                                    &nbsp;{{ prescription.dialyzer_perfusion_apparatus ? prescription.dialyzer_perfusion_apparatus.split(',')[0].indexOf('灌流器') > -1 ? prescription.dialyzer_perfusion_apparatus.split(',')[0].slice(3) : prescription.dialyzer_perfusion_apparatus.split(',')[1].slice(3) : '' }}
589
+                                    &nbsp;{{ prescription.dialyzer_perfusion_apparatus ? getDialyzerPerfusionApparatus(prescription.dialyzer_perfusion_apparatus,'灌流器') : '' }}
590 590
                                 </div>
591 591
                             </td>
592 592
                             <td></td>
@@ -1236,6 +1236,21 @@ export default {
1236 1236
     }
1237 1237
   },
1238 1238
   methods: {
1239
+    getDialyzerPerfusionApparatus(dialyzer_perfusion_apparatus,name){
1240
+      let str = ''
1241
+      if(dialyzer_perfusion_apparatus.indexOf(',') > -1){
1242
+        dialyzer_perfusion_apparatus.split(',').map(item => {
1243
+          if(item.indexOf(name) > -1){
1244
+            str = item.slice(3)
1245
+          }
1246
+        })
1247
+      }else {
1248
+        if(dialyzer_perfusion_apparatus.indexOf(name) > -1){
1249
+          str = dialyzer_perfusion_apparatus.slice(3)
1250
+        }
1251
+      }
1252
+      return str
1253
+    },
1239 1254
     getComplication(complication){
1240 1255
       if(complication.indexOf(',') == -1){
1241 1256
         let str = complication

+ 4 - 8
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyOne.vue 查看文件

@@ -827,19 +827,15 @@
827 827
                 <tbody>
828 828
                   <tr>
829 829
                     <td width='95' style="text-align:right;">封管液:</td>
830
-                    <td width='300'>
831
-                      <!-- <label-box :isChecked="afterdialysis.sealing_fluid_dispose ? getSealingFluidDispose(afterdialysis.sealing_fluid_dispose).indexOf('纯肝素') > -1 : false" showValue="纯肝素"></label-box>&nbsp;
830
+                    <td width='370'>
831
+                      <label-box :isChecked="afterdialysis.sealing_fluid_dispose ? getSealingFluidDispose(afterdialysis.sealing_fluid_dispose).indexOf('纯肝素') > -1 : false" showValue="纯肝素"></label-box>&nbsp;
832 832
                       <label-box :isChecked="afterdialysis.sealing_fluid_dispose ? getSealingFluidDispose(afterdialysis.sealing_fluid_dispose).indexOf('尿激酶加生理盐水') > -1 : false" showValue="尿激酶加生理盐水"></label-box>&nbsp;
833
-                      <label-box :isChecked="afterdialysis.sealing_fluid_dispose ? getSealingFluidDispose(afterdialysis.sealing_fluid_dispose).indexOf('生理盐水') > -1 : false" showValue="生理盐水"></label-box>&nbsp; -->
834
-
835
-                      <label-box :isChecked="afterdialysis.sealing_fluid_dispose.indexOf('纯肝素')>-1?true:false" showValue="纯肝素"></label-box>&nbsp;
836
-                      <label-box :isChecked="afterdialysis.sealing_fluid_dispose.indexOf('尿激酶加生理盐水')>-1?true:false" showValue="尿激酶加生理盐水"></label-box>&nbsp;
837
-                      <label-box :isChecked="afterdialysis.sealing_fluid_dispose.indexOf('生理盐水')>-1?true:false" showValue="生理盐水"></label-box>&nbsp;
833
+                      <label-box :isChecked="afterdialysis.sealing_fluid_dispose ? getSealingFluidDispose(afterdialysis.sealing_fluid_dispose).indexOf('生理盐水+肝素钠2ml') > -1 : false" showValue="生理盐水+肝素钠2ml"></label-box>&nbsp;
838 834
                     </td>
839 835
                     <td width='40'>其他</td>
840 836
                     <td width='160'>
841 837
                       <div class="under-line">
842
-                        &nbsp;<span v-if="afterdialysis.sealing_fluid_dispose.indexOf('特殊')>-1?true:false">{{ afterdialysis.sealing_fluid_special ? afterdialysis.sealing_fluid_special : '' }}</span>
838
+                        &nbsp;<span v-if="afterdialysis.sealing_fluid_dispose ? getSealingFluidDispose(afterdialysis.sealing_fluid_dispose).indexOf('特殊') > -1 : false">{{ afterdialysis.sealing_fluid_special ? afterdialysis.sealing_fluid_special : '' }}</span>
843 839
                       </div>
844 840
                     </td>
845 841
                     <td></td>