See999 3 years ago
parent
commit
a35955a3af

+ 10 - 8
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

@@ -158,7 +158,8 @@
158 158
                   template_id == 11 ||
159 159
                   template_id == 12 ||
160 160
                   template_id == 13 ||
161
-                  template_id == 17)
161
+                  template_id == 17 ||
162
+                  template_id == 18)
162 163
             "
163 164
           >
164 165
             <template slot-scope="scope">
@@ -181,7 +182,8 @@
181 182
                 template_id != 11 &&
182 183
                 template_id != 12 &&
183 184
                 template_id != 13 &&
184
-                template_id != 17
185
+                template_id != 17 &&
186
+                template_id != 18
185 187
             "
186 188
           >
187 189
             <template slot-scope="scope">
@@ -318,7 +320,7 @@
318 320
             align="center"
319 321
             label="超滤率(ml/h)"
320 322
             width="100"
321
-            v-if="isShow('超滤率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17) "
323
+            v-if="isShow('超滤率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18) "
322 324
           >
323 325
             <template slot-scope="scope">
324 326
               {{ scope.row.ultrafiltration_rate ? scope.row.ultrafiltration_rate : ""  }}
@@ -329,7 +331,7 @@
329 331
             align="center"
330 332
             label="超滤率(L/h)"
331 333
             width="100"
332
-            v-if="isShow('超滤率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 "
334
+            v-if="isShow('超滤率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18"
333 335
           >
334 336
             <template slot-scope="scope">
335 337
               {{ scope.row.ultrafiltration_rate ? scope.row.ultrafiltration_rate : ""  }}
@@ -466,12 +468,12 @@
466 468
             </el-form-item>
467 469
           </el-col>
468 470
 
469
-          <el-col :span="8" v-if="isShow('超滤率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17) ">
471
+          <el-col :span="8" v-if="isShow('超滤率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18) ">
470 472
             <el-form-item label="超滤率(ml/h)">
471 473
               <el-input v-model="form.ultrafiltration_rate"></el-input>
472 474
             </el-form-item>
473 475
           </el-col>
474
-          <el-col :span="8" v-if="isShow('超滤率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 ">
476
+          <el-col :span="8" v-if="isShow('超滤率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18">
475 477
             <el-form-item label="超滤率(L/h)">
476 478
               <el-input v-model="form.ultrafiltration_rate"></el-input>
477 479
             </el-form-item>
@@ -479,7 +481,7 @@
479 481
 
480 482
           <el-col
481 483
             :span="8"
482
-            v-if=" isShow('超滤量') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17) " >
484
+            v-if=" isShow('超滤量') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18) " >
483 485
             <el-form-item label="超滤量(ml):">
484 486
               <el-input v-model="form.ultrafiltration_volume"></el-input>
485 487
             </el-form-item>
@@ -487,7 +489,7 @@
487 489
 
488 490
           <el-col
489 491
             :span="8"
490
-            v-if=" isShow('超滤量') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17" >
492
+            v-if=" isShow('超滤量') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18" >
491 493
             <el-form-item label="超滤量(L):">
492 494
               <el-input v-model="form.ultrafiltration_volume"></el-input>
493 495
             </el-form-item>

+ 4 - 4
src/xt_pages/dialysis/details/dialysisMonitoring.vue View File

@@ -14,8 +14,8 @@
14 14
           <th width="76px">静脉压/动脉压(mmHg)</th>
15 15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
16 16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压(mmhg)</th>
17
-          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17)" width="76px" > 超滤量(ml)</th>
18
-          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17"  width="76px"> 超滤量(L) </th>
17
+          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18)" width="76px" > 超滤量(ml)</th>
18
+          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18"  width="76px"> 超滤量(L) </th>
19 19
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
20 20
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
21 21
           <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11) " width="92px" > 置换率(ml/min) </th>
@@ -26,8 +26,8 @@
26 26
           <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
27 27
           <th v-if="isShow('置换液流量')" width="92px">置换液流量(ml/h)</th>
28 28
           <th v-if="isShow('透析液流量')" width="92px">透析液流量(ml/h)</th>
29
-          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13|| template_id == 17)" width="50px"> 超滤率 <br />(ml/h) </th>
30
-          <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17" width="50px"> 超滤率 <br />(L/h) </th>
29
+          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18)" width="50px"> 超滤率 <br />(ml/h) </th>
30
+          <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18" width="50px"> 超滤率 <br />(L/h) </th>
31 31
           <th v-if="isShow('肝素用量余量')" width="92px">肝素用量余量(ml)</th>
32 32
           <th v-if="isShow('病情变化')" width="92px">病情变化</th>
33 33
           <th v-if="isShow('处理')" width="92px">处理</th>

+ 158 - 385
src/xt_pages/dialysis/template/DialysisPrintOrderEighteen.vue View File

@@ -23,7 +23,7 @@
23 23
             </td>
24 24
             <td width="120" style="border:none;text-align: left;">
25 25
               年 龄:
26
-              <span>{{ getAge(patientInfo) }}</span>
26
+              <span>{{ getNewAge(patientInfo.id_card_no) }}</span>
27 27
             </td>
28 28
             <td width="50" style="border:none">身 高:</td>
29 29
             <td width="80" style="border:none;text-align: left;">
@@ -68,8 +68,8 @@
68 68
               治疗方式:&nbsp;
69 69
               <label-box :isChecked="prescription.mode_id == 1 ? true : false" showValue="HD"></label-box>&nbsp;
70 70
               <label-box :isChecked="prescription.mode_id == 2 ? true : false" showValue="HDF"></label-box>&nbsp; (
71
-              <label-box :isChecked="prescription.displace_liqui_part == 1 ? true : false" showValue="前稀释"></label-box>
72
-              <label-box :isChecked="prescription.displace_liqui_part == 2 ? true : false" showValue="后稀释"></label-box>
71
+              <label-box :isChecked="prescription.mode_id == 2 && prescription.displace_liqui_part == 1 ? true : false" showValue="前稀释"></label-box>
72
+              <label-box :isChecked="prescription.mode_id == 2 && prescription.displace_liqui_part == 2 ? true : false" showValue="后稀释"></label-box>
73 73
               <span>
74 74
                 ,置换量
75 75
                 <span style="width:50px;display: inline-block;">
@@ -193,7 +193,7 @@
193 193
               <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('临时插管') > -1 ? true : false" showValue="临时插管"></label-box>&nbsp;
194 194
               <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('长期插管') > -1 ? true : false" showValue="长期插管"></label-box>&nbsp;
195 195
               <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('移植血管') > -1 ? true : false" showValue="移植血管"></label-box>&nbsp;
196
-              <label-box :isChecked="predialysis.blood_access_part_opera_name.indexOf('其他') > -1 ? true : false" showValue="其他"></label-box>&nbsp;
196
+              <label-box :isChecked="['自体内瘘','临时插管','长期插管','移植血管'].indexOf(predialysis.blood_access_part_opera_name) == -1 ? true : false" showValue="其他"></label-box>&nbsp;
197 197
               <span style="width:50px;display: inline-block;"></span>
198 198
               穿刺者:
199 199
               <span style="width:50px;display: inline-block;">
@@ -305,418 +305,178 @@
305 305
 
306 306
       <table class="print-table" border="1">
307 307
         <tr style="text-align:center">
308
-          <td colspan="14" style="margin-left:15px;font-size:20px">
308
+          <td colspan="14" style="margin-left:15px;font-size:20px;line-height:40px;height:40px;">
309 309
             治 疗 过 程 记 录
310 310
           </td>
311 311
         </tr>
312
-        <tr>
313
-          <td style="width:60px" rowspan="2">时间</td>
314
-          <td colspan="4">透析参数</td>
315
-          <td colspan="5">生命体征</td>
316
-          <td colspan="2">治疗中病情变化</td>
317
-          <td style="width:80px" rowspan="2">护士签名</td>
318
-        </tr>
319
-        <tr>
320
-          <th style="width:70px">
321
-            <p style="height:20px;line-height:20px">TMP</p>
322
-            <p style="height:20px;line-height:20px">mmHg</p>
323
-          </th>
324
-          <th style="width:70px">
325
-            <p style="height:20px;line-height:20px">静脉压</p>
326
-            <p style="height:20px;line-height:20px">mmHg</p>
327
-          </th>
328
-          <th style="width:70px">
329
-            <p style="height:20px;line-height:20px">血流量</p>
330
-            <p style="height:20px;line-height:20px">ml/min</p>
331
-          </th>
332
-          <th style="width:70px">
333
-            <p style="height:20px;line-height:20px">脱水量</p>
334
-            <p style="height:20px;line-height:20px">ml</p>
335
-          </th>
336
-          <th style="width:30px">
337
-            <p style="height:20px;line-height:20px">T</p>
338
-            <p style="height:20px;line-height:20px">℃</p>
339
-          </th>
340
-          <th style="width:50px">
341
-            <p style="height:20px;line-height:20px">HR</p>
342
-            <p style="height:20px;line-height:20px">bpm</p>
343
-          </th>
344
-          <th style="width:50px">
345
-            <p style="height:20px;line-height:20px">R</p>
346
-            <p style="height:20px;line-height:20px">bpm</p>
347
-          </th>
348
-          <th style="width:100px">
349
-            <p style="height:20px;line-height:20px">BP</p>
350
-            <p style="height:20px;line-height:20px">mmHg</p>
351
-          </th>
352
-          <th style="width:50px">
353
-            <p style="height:20px;line-height:20px">
354
-              Spo
355
-              <sub>2</sub>
356
-            </p>
357
-            <p style="height:20px;line-height:20px">%</p>
358
-          </th>
359
-          <th style="width:333px">
360
-            <p style="height:20px;line-height:20px">
361
-              记&nbsp;&nbsp;&nbsp;&nbsp;录
362
-            </p>
363
-          </th>
364
-          <!-- <td style="width:80px">护士签名</td> -->
365
-        </tr>
366
-
367
-        <tr v-for="(monitor, monindex) in monitors" :key="monindex">
368
-          <td style="min-width:60px;height:30px">
369
-            {{ getTime(monitor.operate_time, "{h}:{i}") }}
312
+        <tr style="line-height:40px;">
313
+          <td style="min-width:60px">时间</td>
314
+          <td style="min-width:60px">
315
+            血压
316
+            <br />(mmHg)
370 317
           </td>
371
-          <td>
372
-            <span v-if="getTime(monitor.operate_time) != ''">
373
-              {{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : "0" }}
374
-            </span>
318
+          <td style="min-width:60px">
319
+            心率
320
+            <br />次/min
375 321
           </td>
376
-          <td>
377
-            <span v-if="getTime(monitor.operate_time) != ''">
378
-              {{ monitor.venous_pressure ? monitor.venous_pressure : "0" }}
379
-            </span>
322
+          <td style="min-width:60px">
323
+            血流
324
+            <br />ml/min
380 325
           </td>
381
-          <td>
382
-            <span v-if="getTime(monitor.operate_time) != ''">
383
-              {{ monitor.blood_flow_volume ? monitor.blood_flow_volume : "0" }}
384
-            </span>
326
+          <td style="min-width:60px">
327
+            跨膜压
328
+            <br />(mmHg)
385 329
           </td>
386
-          <td>
387
-            <span v-if="getTime(monitor.operate_time) != ''">
388
-              {{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "0" }}
389
-            </span>
330
+          <td style="min-width:60px">
331
+            静脉压
332
+            <br />(mmHg)
390 333
           </td>
391
-          <td>
392
-            <span v-if="getTime(monitor.operate_time) != ''">
393
-              {{ monitor.temperature ? monitor.temperature : "0" }}
394
-            </span>
334
+          <td style="min-width:60px">
335
+            超滤率
336
+            <br />ml/h
395 337
           </td>
396
-          <td>
397
-            <span v-if="getTime(monitor.operate_time) != ''">
398
-              {{ monitor.pulse_frequency ? monitor.pulse_frequency : "0" }}
399
-            </span>
338
+          <td style="min-width:60px">
339
+            超滤量
340
+            <br />ml
400 341
           </td>
401
-          <td>
402
-            <span v-if="getTime(monitor.operate_time) != ''">
403
-              {{ monitor.breathing_rate ? monitor.breathing_rate : "0" }}
404
-            </span>
342
+          <td style="min-width:60px">
343
+            动脉压
344
+            <br />(mmHg)
405 345
           </td>
406
-          <td>
407
-            <span v-if="getTime(monitor.operate_time) != ''">
408
-              {{ monitor.systolic_blood_pressure ? monitor.systolic_blood_pressure : "" }}/
409
-              {{ monitor.diastolic_blood_pressure ? monitor.diastolic_blood_pressure : "" }}
410
-            </span>
346
+          <td style="min-width:60px">
347
+            KT/V
348
+            <br />
411 349
           </td>
350
+          <td style="min-width:60px">症状及处理</td>
351
+          <td style="min-width:110px">护士签名</td>
352
+        </tr>
353
+        <tr style="line-height:40px;height:40px;" v-for="(monitor, monindex) in monitors" :key="monindex">
354
+          <td>{{ getTime(monitor.operate_time, "{h}:{i}") }}</td>
412 355
           <td>
413
-            <span v-if="getTime(monitor.operate_time) != ''">
414
-              {{ monitor.blood_oxygen_saturation ? monitor.blood_oxygen_saturation : "0" }}
415
-            </span>
356
+            {{
357
+            monitor.systolic_blood_pressure
358
+            ? monitor.systolic_blood_pressure + "/"
359
+            : ""
360
+            }}{{
361
+            monitor.diastolic_blood_pressure
362
+            ? monitor.diastolic_blood_pressure
363
+            : ""
364
+            }}
416 365
           </td>
366
+          <td>{{ monitor.pulse_frequency }}</td>
367
+          <td>{{ monitor.blood_flow_volume }}</td>
368
+          <td>{{ monitor.venous_pressure }}</td>
369
+          <td>{{ monitor.transmembrane_pressure }}</td>
370
+          <td>{{ monitor.ultrafiltration_rate }}</td>
371
+          <td>{{ monitor.ultrafiltration_volume }}</td>
372
+          <td>{{ monitor.arterial_pressure }}</td>
373
+          <td>{{ monitor.ktv }}</td>
417 374
           <td>
418
-            <span v-if="monitor.symptom || monitor.dispose || monitor.result">
419
-              {{ monitor.symptom + "," + monitor.dispose + "," + monitor.result }}
375
+            <span style="line-height:18px;display:block;">
376
+              {{ monitor.symptom }}&nbsp;{{ monitor.dispose }}&nbsp;{{
377
+              monitor.result
378
+              }}
420 379
             </span>
421 380
           </td>
422
-          <td width="0" style="border:none;visibility: hidden;padding:0"></td>
423 381
           <td>
424 382
             <span v-if="setAdminUserES(monitor.monitoring_nurse) == ''">
425
-              {{ getAdminUser(monitor.monitoring_nurse) }}
383
+              {{
384
+              getAdminUser(monitor.monitoring_nurse)
385
+              }}
386
+            </span>
387
+            <span
388
+              v-else
389
+              style="display:flex;align-items:center;justify-content:space-around;height:36px;"
390
+            >
391
+              <img style="height:30px;" :src="setAdminUserES(monitor.monitoring_nurse)" alt srcset />
426 392
             </span>
427
-            <img class="es-img" :src="setAdminUserES(monitor.monitoring_nurse)" alt srcset v-else />
428 393
           </td>
429 394
         </tr>
430 395
       </table>
396
+      <table class="print-table" style="border:1px solid #000;border-top:none;border-bottom:none">
397
+        <tr style="height:30px;line-height:30px;">
398
+          <td width="70">血管通路:</td>
399
+          <td width="260">
400
+            <div>
401
+              <label-box :isChecked="afterdialysis.internal_fistula.indexOf('通路出血') > -1 ? true : false" showValue='通路出血'></label-box>
402
+              &nbsp;
403
+              <label-box :isChecked="afterdialysis.internal_fistula.indexOf('通路良好') > -1 ? true : false" showValue='良好'></label-box>
404
+              &nbsp;
405
+              <label-box :isChecked="afterdialysis.internal_fistula.indexOf('通路欠佳') > -1 ? true : false" showValue='欠佳'></label-box>
406
+              &nbsp;
407
+              <label-box :isChecked="afterdialysis.internal_fistula.indexOf('通路不畅') > -1 ? true : false" showValue='不畅'></label-box>
408
+            </div>
409
+          </td>
431 410
 
432
-      
433
-      <table class="print-table" border="1">
434
-        <tbody>
435
-          <tr>
436
-            <td width="100" style="padding-left:5px;border:none">透前体重:</td>
437
-            <td width="120" style="border:none;text-align:left;border:none;">
438
-              <div>
439
-                &nbsp;
440
-                <span style="width:70px;display:inline-block">
441
-                  {{ predialysis.weight_before ? predialysis.weight_before : "" }}
442
-                </span>Kg
443
-              </div>
444
-            </td>
445
-            <!-- <td width="100" style="border:none;"></td> -->
411
+          <td></td>
412
+          <td width="50">插管:</td>
413
+          <td width="150">
414
+            <div>
415
+              <label-box :isChecked="afterdialysis.catheter.indexOf('正接') > -1 ? true : false" showValue='正向接'></label-box>
416
+              &nbsp;
417
+              <label-box :isChecked="afterdialysis.catheter.indexOf('反接') > -1 ? true : false" showValue='反向接'></label-box>
418
+              &nbsp;
446 419
 
447
-            <td width="100" style="border:none;border-left:1px solid #000;padding-left:5px;">
448
-              干体重:
449
-            </td>
450
-            <td width="180" style="text-align:left;border:none;">
451
-              <div>
452
-                <span style="width:70px;display:inline-block;border:none;">
453
-                  {{ predialysis.dry_weight ? predialysis.dry_weight : "" }}
454
-                </span>Kg
455
-              </div>
456
-            </td>
457
-            <!-- <td width="10" style="border:none;"></td> -->
420
+            </div>
421
+          </td>
422
+          <td></td>
423
+          <td width="70">出口皮肤:</td>
424
+          <td width="240">
425
+            <label-box :isChecked="afterdialysis.catheter.indexOf('良好') > -1 ? true : false" showValue='良好'></label-box>
426
+            &nbsp;
427
+            <label-box :isChecked="afterdialysis.catheter.indexOf('发红') > -1 ? true : false" showValue='发红'></label-box>
428
+            &nbsp;
429
+            <label-box :isChecked="afterdialysis.catheter.indexOf('化脓') > -1 ? true : false" showValue='化脓'></label-box>
430
+            &nbsp;
431
+            <label-box :isChecked="afterdialysis.catheter.indexOf('脱线') > -1 ? true : false" showValue='脱线'></label-box>
432
+            &nbsp;
433
+          </td>
434
+        </tr>
435
+      </table>
436
+      <table class="print-table" style="border:1px solid #000;border-top:none;border-bottom:none">
437
+        <tr style="height:30px;line-height:30px;">
438
+          <td width="70">内瘘情况:</td>
439
+          <td width="540">
440
+            <div>
441
+              <label-box :isChecked="afterdialysis.internal_fistula.indexOf('有震颤') > -1 ? true : false" showValue='有'></label-box>
442
+              &nbsp;
443
+              <label-box :isChecked="afterdialysis.internal_fistula.indexOf('无震颤') > -1 ? true : false" showValue='无'></label-box>
444
+              &nbsp;
445
+              <label-box :isChecked="afterdialysis.internal_fistula.indexOf('震颤减弱') > -1 ? true : false" showValue='震颤减弱'></label-box>
446
+              &nbsp;
447
+              <label-box :isChecked="afterdialysis.internal_fistula.indexOf('出血') > -1 ? true : false" showValue='出血'></label-box>
448
+              &nbsp;
449
+              <label-box :isChecked="afterdialysis.internal_fistula.indexOf('瘀斑') > -1 ? true : false" showValue='瘀斑'></label-box>
450
+              &nbsp;
451
+              <label-box :isChecked="afterdialysis.internal_fistula.indexOf('血痂') > -1 ? true : false" showValue='血痂'></label-box>
452
+              &nbsp;
453
+              <label-box :isChecked="afterdialysis.internal_fistula.indexOf('血管瘤') > -1 ? true : false" showValue='血管瘤'></label-box>
454
+              &nbsp;
455
+              <label-box :isChecked="afterdialysis.internal_fistula.indexOf('发红') > -1 ? true : false" showValue='发红'></label-box>
456
+              &nbsp;
457
+              <label-box :isChecked="afterdialysis.internal_fistula.indexOf('感染') > -1 ? true : false" showValue='感染'></label-box>
458
+            </div>
459
+          </td>
458 460
 
459
-            <td width="100" style="border:none;border-left:1px solid #000;padding-left:5px;">
460
-              实际脱水量:
461
-            </td>
462
-            <td width="130" style="text-align:left;border:none;">
463
-              <div>
464
-                <span style="width:70px;display:inline-block">
465
-                  {{ afterdialysis.actual_ultrafiltration ? afterdialysis.actual_ultrafiltration : "/" }}
466
-                </span>L
467
-              </div>
468
-            </td>
469
-            <td width="100" style="border:none;border-left:1px solid #000;padding-left:5px">
470
-              透后体重:
471
-            </td>
472
-            <td width="180" style="text-align:left;border:none;">
473
-              <div>
474
-                <span style="width:70px;display:inline-block">
475
-                  {{ afterdialysis.weight_after ? parseFloat(afterdialysis.weight_after).toFixed(1) : "" }}
476
-                </span>Kg
477
-              </div>
478
-            </td>
479
-          </tr>
480
-        </tbody>
461
+          <td></td>
462
+          <td width="120">透析器凝血情况:</td>
463
+          <td width="200">
464
+            <div>
465
+              <label-box :isChecked="afterdialysis.cruor?(afterdialysis.cruor.indexOf('透析器-0度') > -1 ? true : false):false" showValue="0级"></label-box>&nbsp;
466
+              <label-box :isChecked="afterdialysis.cruor?(afterdialysis.cruor.indexOf('透析器-Ⅰ度') > -1 ? true : false):false" showValue="1级"></label-box>&nbsp;
467
+              <label-box :isChecked="afterdialysis.cruor?(afterdialysis.cruor.indexOf('透析器-Ⅱ度') > -1 ? true : false):false" showValue="2级"></label-box>&nbsp;
468
+              <label-box :isChecked="afterdialysis.cruor?(afterdialysis.cruor.indexOf('透析器-Ⅲ度') > -1 ? true : false):false" showValue="3级"></label-box>&nbsp;
469
+            </div>
470
+          </td>
471
+          <td></td>
472
+        </tr>
481 473
       </table>
482
-      <table class="print-table" border="1">
483
-        <tbody>
484
-          <tr>
485
-            <td width="100" style="padding-left:5px;border:none;border-right:1px solid #000;">
486
-              透后评估
487
-            </td>
488 474
 
489
-            <td width="100" style="border:none;padding-left:5px;">
490
-              透析器凝血:
491
-            </td>
492
-            <td width="100" style="text-align:left;border:none;">
493
-              <div>
494
-                <span style="width:100px;display:inline-block;border:none;">
495
-                  {{ afterdialysis.cruor ? afterdialysis.cruor : "" }}
496
-                </span>
497
-              </div>
498
-            </td>
499
-            <!-- <td width="10" style="border:none;"></td> -->
475
+      
500 476
 
501
-            <td width="70" style="border:none;padding-left:5px;">内瘘:</td>
502
-            <td width="200" style="text-align:left;border:none;line-height: 30px;">
503
-              <div>
504
-                <span style="width:200px;display:inline-block">
505
-                  {{ afterdialysis.internal_fistula ? afterdialysis.internal_fistula : "" }}
506
-                </span>
507
-              </div>
508
-            </td>
509
-            <td width="70" style="border:none;padding-left:5px">导管:</td>
510
-            <td width="180" style="text-align:left;border:none;">
511
-              <div>
512
-                <span style="width:180px;display:inline-block">
513
-                  {{ afterdialysis.catheter ? afterdialysis.catheter : "" }}
514
-                </span>
515
-              </div>
516
-            </td>
517
-          </tr>
518
-        </tbody>
519
-      </table>
520 477
       <table class="print-table" border="1">
521
-        <!-- <td>
522
-          <table class="table-box" style="table-layout:fixed">
523
-            <tr>
524
-              <td style="text-align:left;margin-left:15px;width:25%">
525
-                上机时间:
526
-                <span class="under-line">
527
-                  {{
528
-                    getTime(Order.start_time, "{y}-{m}-{d} {h}:{i}")
529
-                      ? getTime(Order.start_time, "{y}-{m}-{d} {h}:{i}")
530
-                      : "0"
531
-                  }}</span
532
-                >
533
-              </td>
534
-              <td style="text-align:left;margin-left:15px;width:25%">
535
-                下机时间:
536
-                <span class="under-line">{{
537
-                  getTime(Order.end_time, "{y}-{m}-{d} {h}:{i}")
538
-                    ? getTime(Order.end_time, "{y}-{m}-{d} {h}:{i}")
539
-                    : "0"
540
-                }}</span>
541
-              </td>
542
-              <td style="text-align:left;margin-left:15px;width:25%">
543
-                上机护士:
544
-                <span class="under-line" v-if="orderForm.url === ''">{{
545
-                  orderForm.start_nurse ? orderForm.start_nurse : "/"
546
-                }}</span>
547
-                <span class="under-line" v-if="orderForm.url !== ''"
548
-                  ><img :src="orderForm.url" style="height:40px;"
549
-                /></span>
550
-              </td>
551
-              <td style="text-align:left;margin-left:15px;width:25%">
552
-                核对护士:
553
-                <span class="under-line"
554
-                  >&nbsp;
555
-                  <span
556
-                    v-if="
557
-                      setAdminUserES(check == null ? 0 : check.modifier) == ''
558
-                    "
559
-                    >{{
560
-                      getAdminUser(check == null ? 0 : check.modifier)
561
-                        ? getAdminUser(check == null ? 0 : check.modifier)
562
-                        : "/"
563
-                    }}</span
564
-                  >
565
-                  <img
566
-                    class="es-img"
567
-                    :src="setAdminUserES(check == null ? 0 : check.modifier)"
568
-                    alt=""
569
-                    srcset=""
570
-                    style="height:40px"
571
-                    v-else
572
-                  />
573
-                </span>
574
-              </td>
575
-            </tr>
576
-
577
-            <tr>
578
-              <td style="text-align:left;margin-left:15px;width:25%">
579
-                下机护士:
580
-                <span class="under-line" v-if="finshForm.url === ''"
581
-                  >&nbsp;{{
582
-                    finshForm.finish_nurse ? finshForm.finish_nurse : "/"
583
-                  }}</span
584
-                >
585
-                <span class="under-line" v-if="finshForm.url !== ''"
586
-                  >&nbsp;<img :src="finshForm.url" style="height:40px;"
587
-                /></span>
588
-              </td>
589
-              <td style="text-align:left;margin-left:15px;width:25%">
590
-                下机血压:
591
-                <span class="under-line"
592
-                  >&nbsp;{{ afterdialysis.systolic_blood_pressure }}/{{
593
-                    afterdialysis.diastolic_blood_pressure
594
-                  }}&nbsp;mmHg</span
595
-                >
596
-              </td>
597
-              <td style="text-align:left;margin-left:15px;width:25%">
598
-                实际治疗时间:
599
-                <span class="under-line"
600
-                  >&nbsp;
601
-                  {{
602
-                    afterdialysis.actual_treatment_hour
603
-                      ? afterdialysis.actual_treatment_hour
604
-                      : "0"
605
-                  }}小时{{
606
-                    afterdialysis.actual_treatment_minute
607
-                      ? afterdialysis.actual_treatment_minute
608
-                      : "0"
609
-                  }}分钟
610
-                </span>
611
-              </td>
612
-              <td style="text-align:left;margin-left:15px;width:25%">
613
-                实际超滤量:
614
-                <span class="under-line"
615
-                  >&nbsp;{{
616
-                    afterdialysis.actual_ultrafiltration
617
-                      ? afterdialysis.actual_ultrafiltration
618
-                      : "0"
619
-                  }}&nbsp;L</span
620
-                >
621
-              </td>
622
-            </tr>
623
-            <tr>
624
-              <td style="text-align:left;margin-left:15px">
625
-                拔针后穿刺点渗血:
626
-                <span
627
-                  class="under-line"
628
-                  v-if="afterdialysis.puncture_point_oozing_blood === 0"
629
-                  >&nbsp;/</span
630
-                >
631
-                <span
632
-                  class="under-line"
633
-                  v-if="afterdialysis.puncture_point_oozing_blood === 1"
634
-                  >&nbsp;有</span
635
-                >
636
-                <span
637
-                  class="under-line"
638
-                  v-if="afterdialysis.puncture_point_oozing_blood === 2"
639
-                  >&nbsp;无</span
640
-                >
641
-              </td>
642
-              <td style="text-align:left;margin-left:15px">
643
-                穿刺处血肿:
644
-                <span
645
-                  class="under-line"
646
-                  v-if="afterdialysis.puncture_point_haematoma === 0"
647
-                  >&nbsp;/</span
648
-                >
649
-                <span
650
-                  class="under-line"
651
-                  v-if="afterdialysis.puncture_point_haematoma === 1"
652
-                  >&nbsp;有</span
653
-                >
654
-                <span
655
-                  class="under-line"
656
-                  v-if="afterdialysis.puncture_point_haematoma === 2"
657
-                  >&nbsp;无</span
658
-                >
659
-              </td>
660
-              <td :colspan="2" style="text-align:left;margin-left:15px">
661
-                压迫后内瘘震颤:
662
-                <label-box
663
-                  :isChecked="
664
-                    predialysis.internal_fistula.indexOf('震颤-存在') > -1
665
-                      ? true
666
-                      : false
667
-                  "
668
-                  showValue="存在"
669
-                ></label-box>
670
-                &nbsp;
671
-                <label-box
672
-                  :isChecked="
673
-                    predialysis.internal_fistula.indexOf('震颤-减弱') > -1
674
-                      ? true
675
-                      : false
676
-                  "
677
-                  showValue="减弱"
678
-                ></label-box>
679
-                &nbsp;
680
-                <label-box
681
-                  :isChecked="
682
-                    predialysis.internal_fistula.indexOf('震颤-无') > -1
683
-                      ? true
684
-                      : false
685
-                  "
686
-                  showValue="无"
687
-                ></label-box>
688
-              </td>
689
-              <td width="10"></td>
690
-            </tr>
691
-            <tr>
692
-              <td style="text-align:left;margin-left:15px;" colspan="2">
693
-                并发症:
694
-                <span class="under-line"
695
-                  >&nbsp;{{ afterdialysis.complication }}</span
696
-                >
697
-              </td>
698
-              <td style="text-align:left;margin-left:15px" colspan="2">
699
-                透析器凝血:
700
-                <span class="under-line">{{
701
-                  afterdialysis.cruor ? afterdialysis.cruor : "/"
702
-                }}</span>
703
-              </td>
704
-            </tr>
705
-          </table>
706
-
707
-          <table class="table-box">
708
-            <tr>
709
-              <td style="text-align:left;margin-left:15px">
710
-                治疗小结:
711
-                <span class="under-line"
712
-                  >&nbsp;{{ summary.dialysis_summary }}</span
713
-                >
714
-              </td>
715
-            </tr>
716
-          </table>
717
-        </td>-->
718 478
         <tr style="height:100px;text-align:left;border:none;">
719
-          <td style="padding-left:5px;border:none">
479
+          <td style="padding-left:5px;border:none;padding-bottom:50px;">
720 480
             治疗小结:{{ summary.dialysis_summary ? summary.dialysis_summary : "" }}
721 481
           </td>
722 482
         </tr>
@@ -904,6 +664,19 @@ export default {
904 664
     };
905 665
   },
906 666
   methods: {
667
+    getNewAge(UUserCard) {
668
+      if (UUserCard != null && UUserCard != '') {
669
+        //获取年龄
670
+        var myDate = new Date();
671
+        var month = myDate.getMonth() + 1;
672
+        var day = myDate.getDate();
673
+        var age = myDate.getFullYear() - UUserCard.substring(6, 10) - 1;
674
+        if (UUserCard.substring(10, 12) < month || UUserCard.substring(10, 12) == month && UUserCard.substring(12, 14) <= day) {
675
+        age++;
676
+        }
677
+        return age;
678
+      }
679
+    },
907 680
     getDisplaceLiquiPart: function(val) {
908 681
       let displace_liqui_part_name = "/";
909 682
       const displace_liqui_part = this.displaceLiquiPartOptions;

+ 17 - 15
src/xt_pages/dialysis/template/DialysisPrintOrderFourteen.vue View File

@@ -268,11 +268,11 @@
268 268
                     <td width="65">内瘘震颤:</td>
269 269
                     <td width="170">
270 270
                       <div>
271
-                        <label-box :isChecked="predialysis.internal_fistula.indexOf('存在') > -1 ? true : false" showValue="存在"></label-box>
271
+                        <label-box :isChecked="predialysis.internal_fistula ? (predialysis.internal_fistula.indexOf('存在') > -1 ? true : false) : false" showValue="存在"></label-box>
272 272
                         &nbsp;
273
-                        <label-box :isChecked="predialysis.internal_fistula.indexOf('减弱') > -1 ? true : false" showValue="减弱"></label-box>
273
+                        <label-box :isChecked="predialysis.internal_fistula ? (predialysis.internal_fistula.indexOf('减弱') > -1 ? true : false) : false" showValue="减弱"></label-box>
274 274
                         &nbsp;
275
-                        <label-box :isChecked="predialysis.internal_fistula.indexOf('消失') > -1 ? true : false" showValue="消失"></label-box>
275
+                        <label-box :isChecked="predialysis.internal_fistula ? (predialysis.internal_fistula.indexOf('消失') > -1 ? true : false) : false" showValue="消失"></label-box>
276 276
                       </div>
277 277
                     </td>
278 278
 
@@ -744,15 +744,15 @@
744 744
                   <tr>
745 745
                       <td width="70">内瘘震颤:</td>
746 746
                       <td width="160">
747
-                        <label-box :isChecked="afterdialysis.internal_fistula.indexOf('存在') > -1 ? true : false" showValue="存在"></label-box>&nbsp;
748
-                        <label-box :isChecked="afterdialysis.internal_fistula.indexOf('减弱') > -1 ? true : false" showValue="减弱"></label-box>&nbsp;
749
-                        <label-box :isChecked="afterdialysis.internal_fistula.indexOf('消失') > -1 ? true : false" showValue="消失"></label-box>&nbsp;
747
+                        <label-box :isChecked="afterdialysis.internal_fistula ? (afterdialysis.internal_fistula.indexOf('存在') > -1 ? true : false) : false" showValue="存在"></label-box>&nbsp;
748
+                        <label-box :isChecked="afterdialysis.internal_fistula ? (afterdialysis.internal_fistula.indexOf('减弱') > -1 ? true : false) : false" showValue="减弱"></label-box>&nbsp;
749
+                        <label-box :isChecked="afterdialysis.internal_fistula ? (afterdialysis.internal_fistula.indexOf('消失') > -1 ? true : false) : false" showValue="消失"></label-box>&nbsp;
750 750
                       </td>
751 751
                       <td width="30"></td>
752 752
                       <td width="50">置管口:</td>
753 753
                       <td width="140">
754
-                        <label-box :isChecked="afterdialysis.catheter.indexOf('干洁') > -1 ? true : false" showValue="干洁"></label-box>&nbsp;
755
-                        <label-box :isChecked="afterdialysis.catheter.indexOf('更换敷贴') > -1 ? true : false" showValue="更换敷贴"></label-box>&nbsp;
754
+                        <label-box :isChecked="afterdialysis.catheter ? (afterdialysis.catheter.indexOf('干洁') > -1 ? true : false) : false" showValue="干洁"></label-box>&nbsp;
755
+                        <label-box :isChecked="afterdialysis.catheter ? (afterdialysis.catheter.indexOf('更换敷贴') > -1 ? true : false) : false" showValue="更换敷贴"></label-box>&nbsp;
756 756
                       </td>
757 757
                       <td width="30"></td>
758 758
                       <td width="50">血流量:</td>
@@ -798,10 +798,10 @@
798 798
                   <tr>
799 799
                     <td width="80">透析器堵塞:</td>
800 800
                     <td width="200">
801
-                      <label-box :isChecked="afterdialysis.cruor.indexOf('透析器-0度') > -1 ? true : false" showValue="无"></label-box>&nbsp;
802
-                      <label-box :isChecked="afterdialysis.cruor.indexOf('透析器-Ⅰ度') > -1 ? true : false" showValue="+"></label-box>&nbsp;
803
-                      <label-box :isChecked="afterdialysis.cruor.indexOf('透析器-Ⅱ度') > -1 ? true : false" showValue="+ +"></label-box>&nbsp;
804
-                      <label-box :isChecked="afterdialysis.cruor.indexOf('透析器-Ⅲ度') > -1 ? true : false" showValue="+ + +"></label-box>&nbsp;
801
+                      <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('透析器-0度') > -1 ? true : false) : false" showValue="无"></label-box>&nbsp;
802
+                      <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('透析器-Ⅰ度') > -1 ? true : false) : false" showValue="+"></label-box>&nbsp;
803
+                      <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('透析器-Ⅱ度') > -1 ? true : false) : false" showValue="+ +"></label-box>&nbsp;
804
+                      <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('透析器-Ⅲ度') > -1 ? true : false) : false" showValue="+ + +"></label-box>&nbsp;
805 805
                     </td>
806 806
                     <td width="70">静脉管道:</td>
807 807
                     <td width="200">
@@ -894,7 +894,7 @@
894 894
             <td width="30">岁</td>
895 895
             <td width="30">科室</td>
896 896
             <td width="150">
897
-                <div class="under-line" style="width:80px;display:inline-block"></div>
897
+                <div class="under-line" style="width:80px;display:inline-block">血透室</div>
898 898
             </td>
899 899
 
900 900
             <td width="50">就诊号:</td>
@@ -919,7 +919,7 @@
919 919
           <td width='80'>执行时间</td>
920 920
           <td width='80'>执行者签名</td>
921 921
         </tr>
922
-        <tr v-for="(advice, advice_index) in tableAdvice" :key="advice_index">
922
+        <tr v-for="(advice, advice_index) in tableAdvice" :key="advice_index" >
923 923
           <td>{{ getTime(advice.start_time, "{y}-{m}-{d}") }}</td>
924 924
           <td style="height:40px;line-height:40px">{{ getTime(advice.start_time, "{h}:{i}") }}</td>
925 925
           <td>
@@ -930,7 +930,7 @@
930 930
               <img style="height:30px;" :src="setAdminUserES(advice.advice_doctor)" alt srcset />
931 931
             </span>
932 932
           </td>
933
-          <td class="parent">
933
+          <td class="parent" style="text-align:left;padding-left:10px;">
934 934
             <span v-if="advice.parent_id > 0">---></span>
935 935
             <span>{{ advice.advice_name }}</span>
936 936
             <span v-if="advice && advice.advice_desc">({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span>
@@ -1456,6 +1456,8 @@ export default {
1456 1456
               tableAdvice.push(obj)
1457 1457
             }
1458 1458
 
1459
+            this.tableAdvice = tableAdvice
1460
+          }else{
1459 1461
             this.tableAdvice = tableAdvice
1460 1462
           }
1461 1463
           this.afterdialysis = response.data.data.AssessmentAfterDislysis