|
@@ -6,68 +6,71 @@
|
6
|
6
|
</el-button>
|
7
|
7
|
</div>
|
8
|
8
|
<div class="app-container">
|
9
|
|
- <div id="print_content" v-for="item in this.list" style="font-family: Microsoft YaHei;font-size: 16px;">
|
|
9
|
+ <div id="print_content" v-for="item in list" style="font-family: Microsoft YaHei;font-size: 16px;">
|
10
|
10
|
<div class="print_page_main_content">
|
11
|
|
- <h1 style="text-align: center; padding-top:12px;">{{ orgname }}血液净化治疗病历</h1>
|
12
|
|
- <div style="border-bottom: 1px solid black;display: flex;padding-bottom: 10px;padding-top: 10px;">
|
13
|
|
- <div style="flex:1;text-align: center;">
|
14
|
|
- 姓名:
|
15
|
|
- <div style="width: 120px;text-align: left;display:inline-block;">{{ patient.name }}</div>
|
16
|
|
- </div>
|
|
11
|
+ <div v-if="item.content.indexOf('医保类型') ==-1&&item.comtent.indexOf('首次透析时间')==-1&&
|
|
12
|
+ item.content.indexOf('现病史') ==-1&&item.comtent.indexOf('既往史')==-1">
|
|
13
|
+ <h1 style="text-align: center; padding-top:12px;">{{ orgname }}血液净化治疗病历</h1>
|
|
14
|
+ <div style="border-bottom: 1px solid black;display: flex;padding-bottom: 10px;padding-top: 10px;">
|
|
15
|
+ <div style="flex:1;text-align: center;">
|
|
16
|
+ 姓名:
|
|
17
|
+ <div style="width: 120px;text-align: left;display:inline-block;">{{ patient.name }}</div>
|
|
18
|
+ </div>
|
17
|
19
|
|
18
|
|
- <div style="flex:1;text-align: center;">
|
19
|
|
- 病历号:
|
20
|
|
- <div style="width: 120px;text-align: left;display:inline-block;">
|
21
|
|
- {{ patient.dialysis_no ? patient.dialysis_no : '/' }}
|
|
20
|
+ <div style="flex:1;text-align: center;">
|
|
21
|
+ 病历号:
|
|
22
|
+ <div style="width: 120px;text-align: left;display:inline-block;">
|
|
23
|
+ {{ patient.dialysis_no ? patient.dialysis_no : '/' }}
|
|
24
|
+ </div>
|
22
|
25
|
</div>
|
23
|
|
- </div>
|
24
|
26
|
|
25
|
|
- <div style="flex:1;text-align: center;">
|
26
|
|
- 病区-床号:
|
27
|
|
- <div style="width: 120px;text-align: left;display:inline-block;">
|
|
27
|
+ <div style="flex:1;text-align: center;">
|
|
28
|
+ 病区-床号:
|
|
29
|
+ <div style="width: 120px;text-align: left;display:inline-block;">
|
28
|
30
|
|
|
31
|
+ </div>
|
29
|
32
|
</div>
|
30
|
|
- </div>
|
31
|
33
|
|
32
|
|
- <div style="flex:1;text-align: center;">
|
33
|
|
- 接收日期:
|
34
|
|
- <div style="width: 100px;text-align: left;display:inline-block;">
|
35
|
|
- {{ getTime(patient.created_time, '{y}-{m}-{d}') }}
|
|
34
|
+ <div style="flex:1;text-align: center;">
|
|
35
|
+ 接收日期:
|
|
36
|
+ <div style="width: 100px;text-align: left;display:inline-block;">
|
|
37
|
+ {{ getTime(patient.created_time, '{y}-{m}-{d}') }}
|
|
38
|
+ </div>
|
36
|
39
|
</div>
|
37
|
40
|
</div>
|
38
|
|
- </div>
|
39
|
41
|
|
40
|
|
- <div style="display: flex; justify-self: start;margin-top: 5px ;width: 100%;">
|
41
|
|
- <div style="flex: 1;">性别:{{ getPatientGender(patient.gender) }}</div>
|
42
|
|
- <div style="flex: 1;">年龄:{{ patient.age }}</div>
|
43
|
|
- <div style="flex: 1;">出生日期:{{ getTime(patient.birthday, '{y}-{m}-{d}') }}</div>
|
44
|
|
- </div>
|
45
|
|
- <div style="display: flex; justify-self: start; margin-top: 5px ;width: 100%;">
|
46
|
|
- <div style="flex: 1;">身份证号:{{ patient.id_card_no }}</div>
|
47
|
|
- <div style="flex: 1;">病人来源:{{ patient.source == 1 ? '门诊' : '住院' }}</div>
|
48
|
|
- <div style="flex: 1;">透析号:{{ patient.dialysis_no }}</div>
|
49
|
|
- </div>
|
50
|
|
- <div style="display: flex; justify-self: start; margin-top: 5px ;width: 100%;">
|
51
|
|
- <div style="flex: 1;">
|
52
|
|
- 首次透析日期:{{ patient.first_dialysis_date ? getTime(patient.first_dialysis_date, '{y}-{m}-{d}') : '' }}
|
|
42
|
+ <div style="display: flex; justify-self: start;margin-top: 5px ;width: 100%;">
|
|
43
|
+ <div style="flex: 1;">性别:{{ getPatientGender(patient.gender) }}</div>
|
|
44
|
+ <div style="flex: 1;">年龄:{{ patient.age }}</div>
|
|
45
|
+ <div style="flex: 1;">出生日期:{{ getTime(patient.birthday, '{y}-{m}-{d}') }}</div>
|
53
|
46
|
</div>
|
54
|
|
- <div style="flex: 1;">血型:{{ getBloodType(patient.blood_type) }}</div>
|
55
|
|
- <div style="flex: 1;">报销方式:{{ getWayOptions(patient.reimbursement_way_id) }}</div>
|
56
|
|
- </div>
|
57
|
|
- <div style="display: flex; justify-self: start; margin-top: 5px ;width: 100%;">
|
58
|
|
- <div style="flex: 1;">工作单位:{{ patient.work_unit }}</div>
|
59
|
|
- <div style="flex: 1;">联系电话:{{ patient.phone }}</div>
|
60
|
|
- <div style="flex: 1;">家庭住址:{{ patient.home_address }}</div>
|
61
|
|
- </div>
|
62
|
|
- <div style="display: flex; justify-self: start; margin-top: 5px ;width: 100%;">
|
63
|
|
- <div style="flex: 1;">肾移植史:{{ item.is_shenyizhi_history == 1?'无':'有' }}</div>
|
64
|
|
- <div style="flex: 1;">腹膜透析史:{{ item.is_fumo_dialysis_history == 1? '无':'有' }}</div>
|
65
|
|
- <div style="flex: 1;" v-if="item.is_hypersusceptibility == 0">过敏药物:无</div>
|
66
|
|
- <div style="flex: 1;" v-if="item.is_hypersusceptibility == 2">过敏药物:有</div>
|
67
|
|
- <div style="flex: 1;" v-if="item.is_hypersusceptibility == 3">过敏药物:不想</div>
|
|
47
|
+ <div style="display: flex; justify-self: start; margin-top: 5px ;width: 100%;">
|
|
48
|
+ <div style="flex: 1;">身份证号:{{ patient.id_card_no }}</div>
|
|
49
|
+ <div style="flex: 1;">病人来源:{{ patient.source == 1 ? '门诊' : '住院' }}</div>
|
|
50
|
+ <div style="flex: 1;">透析号:{{ patient.dialysis_no }}</div>
|
|
51
|
+ </div>
|
|
52
|
+ <div style="display: flex; justify-self: start; margin-top: 5px ;width: 100%;">
|
|
53
|
+ <div style="flex: 1;">
|
|
54
|
+ 首次透析日期:{{ patient.first_dialysis_date ? getTime(patient.first_dialysis_date, '{y}-{m}-{d}') : '' }}
|
|
55
|
+ </div>
|
|
56
|
+ <div style="flex: 1;">血型:{{ getBloodType(patient.blood_type) }}</div>
|
|
57
|
+ <div style="flex: 1;">报销方式:{{ getWayOptions(patient.reimbursement_way_id) }}</div>
|
|
58
|
+ </div>
|
|
59
|
+ <div style="display: flex; justify-self: start; margin-top: 5px ;width: 100%;">
|
|
60
|
+ <div style="flex: 1;">工作单位:{{ patient.work_unit }}</div>
|
|
61
|
+ <div style="flex: 1;">联系电话:{{ patient.phone }}</div>
|
|
62
|
+ <div style="flex: 1;">家庭住址:{{ patient.home_address }}</div>
|
|
63
|
+ </div>
|
|
64
|
+ <div style="display: flex; justify-self: start; margin-top: 5px ;width: 100%;">
|
|
65
|
+ <div style="flex: 1;">肾移植史:{{ item.is_shenyizhi_history == 1?'无':'有' }}</div>
|
|
66
|
+ <div style="flex: 1;">腹膜透析史:{{ item.is_fumo_dialysis_history == 1? '无':'有' }}</div>
|
|
67
|
+ <div style="flex: 1;" v-if="item.is_hypersusceptibility == 0">过敏药物:无</div>
|
|
68
|
+ <div style="flex: 1;" v-if="item.is_hypersusceptibility == 2">过敏药物:有</div>
|
|
69
|
+ <div style="flex: 1;" v-if="item.is_hypersusceptibility == 3">过敏药物:不想</div>
|
68
|
70
|
|
|
71
|
+ </div>
|
|
72
|
+ <h3 style="text-align: center; margin: 20px 0px;">病史内容</h3>
|
69
|
73
|
</div>
|
70
|
|
- <h3 style="text-align: center; margin: 20px 0px;">病史内容</h3>
|
71
|
74
|
<div style="word-break: break-all; word-wrap: break-word;">
|
72
|
75
|
<div v-html="item.content" style="font-family: Microsoft YaHei;"></div>
|
73
|
76
|
</div>
|
|
@@ -680,6 +683,8 @@ export default {
|
680
|
683
|
|
681
|
684
|
this.list = response.data.data.sickhistorys
|
682
|
685
|
console.log('ttttttt',response.data.data);
|
|
686
|
+
|
|
687
|
+
|
683
|
688
|
}
|
684
|
689
|
})
|
685
|
690
|
},
|