|
@@ -1,12 +1,14 @@
|
1
|
1
|
<template>
|
|
2
|
+<div>
|
|
3
|
+ <div style="float:right">
|
|
4
|
+ <el-button type="primary" size="small" @click="printThisPage">打印</el-button>
|
|
5
|
+ </div>
|
2
|
6
|
<div id="dialysis-print-box">
|
3
|
7
|
<div class="dialysis-print-order">
|
4
|
8
|
<div class="order-yy-name"></div>
|
5
|
9
|
<div class="order-title">{{ orgname }} 血液透析患者诊疗阶段小结</div>
|
6
|
|
- <div style="float:right">
|
7
|
|
- <el-button type="primary" size="small" @click="printThisPage">打印</el-button>
|
8
|
|
- </div>
|
9
|
|
- <div>
|
|
10
|
+
|
|
11
|
+ <div style="padding-bottom:20px;border-bottom:1px solid #000;margin-top:40px;">
|
10
|
12
|
<span>姓名:{{patientList.patient.name}}</span>
|
11
|
13
|
<span>年龄:{{getNewAge(patientList.patient.id_card_no)}}</span>
|
12
|
14
|
<span>性别:
|
|
@@ -15,47 +17,61 @@
|
15
|
17
|
</span>
|
16
|
18
|
<span>诊断:{{patientList.patient.diagnose}}</span>
|
17
|
19
|
</div>
|
18
|
|
- <div class="under-line"></div>
|
19
|
|
- <div>
|
|
20
|
+ <div style="padding:20px 0;border-bottom:1px solid #000;font-weight:bold;">
|
20
|
21
|
<span>阶段评估时间:{{getTime(patientList.record_time)}}</span>
|
21
|
22
|
</div>
|
22
|
|
- <div class="under-line"></div>
|
23
|
|
- <div>
|
24
|
|
- <span>阶段小结概要:</span>
|
25
|
|
- <div>
|
26
|
|
- <span>干体重:{{patientList.patient.dry_weight}}(kg)</span>
|
27
|
|
- <span>共透析:{{patientList.patient.dialysis_count}}</span>
|
28
|
|
- <span>HD:{{patientList.hd_count}}</span>
|
29
|
|
- <span>HDF:{{patientList.hdf_count}}</span>
|
30
|
|
- <span>HP:{{patientList.hp_count}}</span>
|
31
|
|
- <span>其他:{{patientList.other_count}}</span>
|
32
|
|
- <span>透析器:{{patientList.dialzer_apparatus}}</span>
|
33
|
|
- <span>抗凝剂:{{patientList.anticoagulant}}</span>
|
34
|
|
- <span>透析液(钾:{{patientList.kalium}} 钙:{{patientList.autunite}} Na:{{patientList.natrium}} ):</span>
|
35
|
|
- <span>每次透析(小时):{{patientList.hour}}时{{patientList.minute}}分</span>
|
36
|
|
- <span>透前体重:{{patientList.befor_weight}}</span>
|
37
|
|
- <span>透后体重:{{patientList.after_weight}}</span>
|
38
|
|
- <span>透前血压:{{patientList.befor_pressure}}</span>
|
39
|
|
- <span>透后血压:{{patientList.after_pressure}}</span>
|
|
23
|
+ <div style="padding:20px 0;border-bottom:1px solid #000;">
|
|
24
|
+ <span style="font-weight:bold;">阶段小结概要:</span>
|
|
25
|
+ <div style="margin-top:20px;">
|
|
26
|
+ <div style="display:flex;justify-content: space-between;">
|
|
27
|
+ <span>干体重:{{patientList.patient.dry_weight}}(kg)</span>
|
|
28
|
+ <span>共透析:{{patientList.patient.dialysis_count}}</span>
|
|
29
|
+ <span>HD:{{patientList.hd_count}}</span>
|
|
30
|
+ <span>HDF:{{patientList.hdf_count}}</span>
|
|
31
|
+ <span>HP:{{patientList.hp_count}}</span>
|
|
32
|
+ <span>其他:{{patientList.other_count}}</span>
|
|
33
|
+ </div>
|
|
34
|
+ <div style="display:flex;justify-content: space-between;margin-top:10px;">
|
|
35
|
+ <span>透析器:{{patientList.dialzer_apparatus}}</span>
|
|
36
|
+ <span>抗凝剂:{{patientList.anticoagulant}}</span>
|
|
37
|
+ <span>透析液(钾:{{patientList.kalium}} 钙:{{patientList.autunite}} Na:{{patientList.natrium}} ):</span>
|
|
38
|
+ <span>每次透析(小时):{{patientList.hour}}时{{patientList.minute}}分</span>
|
|
39
|
+ </div>
|
|
40
|
+ <div style="display:flex;justify-content: space-between;margin-top:10px;">
|
|
41
|
+ <span>透前体重:{{patientList.befor_weight}}</span>
|
|
42
|
+ <span>透后体重:{{patientList.after_weight}}</span>
|
|
43
|
+ <span>透前血压:{{patientList.befor_pressure}}</span>
|
|
44
|
+ <span>透后血压:{{patientList.after_pressure}}</span>
|
|
45
|
+ </div>
|
40
|
46
|
</div>
|
41
|
47
|
</div>
|
42
|
|
- <div class="under-line"></div>
|
43
|
|
- <div>
|
44
|
|
- <span>阶段小结总结:{{patientList.template_summary_content}}</span>
|
|
48
|
+ <div style="padding:20px 0;border-bottom:1px solid #000;min-height:200px;">
|
|
49
|
+ <span style="font-weight:bold;">阶段小结总结:</span><div>{{patientList.template_summary_content}}</div>
|
|
50
|
+ </div>
|
|
51
|
+ <div style="padding:20px 0;border-bottom:1px solid #000;min-height:250px;">
|
|
52
|
+ <span style="font-weight:bold;">阶段小结化验结果:</span>
|
|
53
|
+ <div class="borderBox">
|
|
54
|
+ <div v-for="item in patientList.template_inspection_content">
|
|
55
|
+ <p>{{ item.project_name }}</p>
|
|
56
|
+ <div style="display:flex;flex-wrap: wrap;">
|
|
57
|
+ <div v-for="it in item.arr" style="width:33%;">
|
|
58
|
+ {{ it.item_name }} {{ it.inspect_value }}
|
|
59
|
+ </div>
|
|
60
|
+ </div>
|
|
61
|
+ </div>
|
|
62
|
+ </div>
|
45
|
63
|
</div>
|
46
|
|
- <div class="under-line"></div>
|
47
|
|
- <div>
|
48
|
|
- <span>阶段小结化验结果:{{patientList.template_inspection_content}}</span>
|
|
64
|
+ <div style="padding:20px 0;border-bottom:1px solid #000;min-height:200px;">
|
|
65
|
+ <span style="font-weight:bold;">阶段小结个性化方案:</span>
|
|
66
|
+ <div>{{patientList.template_plan_content}}</div>
|
49
|
67
|
</div>
|
50
|
|
- <div class="under-line"></div>
|
51
|
|
- <div>阶段小结个性化方案:{{patientList.template_plan_content}}</div>
|
52
|
|
- <div class="under-line"></div>
|
53
|
|
- <div>
|
|
68
|
+ <div style="margin-top:10px;">
|
54
|
69
|
<span>记录医生:{{getPatientList(patientList.admin_user_id)}}</span>
|
55
|
70
|
<span>记录时间:{{getTime(patientList.record_time)}}</span>
|
56
|
71
|
</div>
|
57
|
72
|
</div>
|
58
|
73
|
</div>
|
|
74
|
+</div>
|
59
|
75
|
</template>
|
60
|
76
|
|
61
|
77
|
<script>
|
|
@@ -263,7 +279,7 @@ export default {
|
263
|
279
|
printThisPage() {
|
264
|
280
|
var ptime = Math.round(new Date().getTime() / 1000)
|
265
|
281
|
this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
|
266
|
|
- const style ='@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}'
|
|
282
|
+ const style ='@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;} .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;} .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;font-weight: bold;margin: 10px 0;}'
|
267
|
283
|
printJS({
|
268
|
284
|
printable: 'dialysis-print-box',
|
269
|
285
|
type: 'html',
|
|
@@ -293,6 +309,8 @@ export default {
|
293
|
309
|
if(response.data.state == 1){
|
294
|
310
|
var list = response.data.data.list
|
295
|
311
|
console.log("listw23222323",list)
|
|
312
|
+ let arr = JSON.parse(list.template_inspection_content)
|
|
313
|
+ list.template_inspection_content = arr
|
296
|
314
|
this.patientList = list
|
297
|
315
|
var doctorList = response.data.data.doctorList
|
298
|
316
|
console.log("doctorlsit",doctorList)
|
|
@@ -331,7 +349,7 @@ export default {
|
331
|
349
|
}
|
332
|
350
|
}
|
333
|
351
|
return name
|
334
|
|
- }
|
|
352
|
+ },
|
335
|
353
|
|
336
|
354
|
},
|
337
|
355
|
|
|
@@ -346,6 +364,10 @@ export default {
|
346
|
364
|
</script>
|
347
|
365
|
|
348
|
366
|
<style>
|
|
367
|
+.borderBox p{
|
|
368
|
+ font-weight: bold;
|
|
369
|
+ margin: 10px 0;
|
|
370
|
+}
|
349
|
371
|
.dialysis-print-order {
|
350
|
372
|
width: 960px;
|
351
|
373
|
margin: 0 auto;
|