|
@@ -1,229 +1,600 @@
|
1
|
1
|
<template>
|
2
|
|
- <div>
|
3
|
|
- <div class="position">
|
4
|
|
- <bread-crumb :crumbs='crumbs'></bread-crumb>
|
5
|
|
- <el-button :loading="loading" size="small" icon="el-icon-printer" @click="printAction" type="primary">打印
|
6
|
|
- </el-button>
|
7
|
|
- </div>
|
8
|
|
- <div class="app-container">
|
9
|
|
- <div id="print_content">
|
10
|
|
- <div class="print_page_main_content">
|
11
|
|
-
|
12
|
|
- <h1 style="text-align: center; padding-top:12px;">{{orgname}}血液净化治疗病历</h1>
|
13
|
|
- <div style="border-bottom: 1px solid black;display: flex;padding-bottom: 10px;padding-top: 10px;">
|
14
|
|
- <div style="flex:1;text-align: center;">
|
15
|
|
- 姓名:
|
16
|
|
- <div style="width: 120px;text-align: left;display:inline-block;">{{patient.name }}</div>
|
17
|
|
- </div>
|
18
|
|
-
|
19
|
|
- <div style="flex:1;text-align: center;" >
|
20
|
|
- 病历号:
|
21
|
|
- <div style="width: 120px;text-align: left;display:inline-block;">
|
22
|
|
- {{patient.disease_no?patient.disease_no:"/"}}
|
23
|
|
- </div>
|
24
|
|
- </div>
|
25
|
|
-
|
26
|
|
- <div style="flex:1;text-align: center;" >
|
27
|
|
- 病区-床号:
|
28
|
|
- <div style="width: 120px;text-align: left;display:inline-block;">
|
29
|
|
- {{patient.ward}}-{{patient.bed_no}}
|
30
|
|
- </div>
|
31
|
|
- </div>
|
32
|
|
-
|
33
|
|
- <div style="flex:1;text-align: center;">
|
34
|
|
- 接收日期:
|
35
|
|
- <div style="width: 100px;text-align: left;display:inline-block;">
|
36
|
|
- {{patient.date}}
|
37
|
|
- </div>
|
38
|
|
- </div>
|
39
|
|
- </div>
|
40
|
|
-
|
41
|
|
- <div style="display: flex; justify-self: start;margin-top: 5px ;">
|
42
|
|
- <div style="flex: 1;">性别:{{information.sex}}</div>
|
43
|
|
- <div style="flex: 1;">年龄:{{information.age}}</div>
|
44
|
|
- <div style="flex: 1;">出生日期:{{information.birthday}}</div>
|
45
|
|
- </div>
|
46
|
|
- <div style="display: flex; justify-self: start; margin-top: 5px ;">
|
47
|
|
- <div style="flex: 1;">身份证号:{{information.id_number}}</div>
|
48
|
|
- <div style="flex: 1;">病人来源:{{information.patient_source}}</div>
|
49
|
|
- <div style="flex: 1;">透析号:{{information.dialysis_num}}</div>
|
50
|
|
- </div>
|
51
|
|
- <div style="display: flex; justify-self: start; margin-top: 5px ;">
|
52
|
|
- <div style="flex: 1;">首次透析日期:{{information.first_date}}</div>
|
53
|
|
- <div style="flex: 1;">血型:{{information.blood_type}}</div>
|
54
|
|
- <div style="flex: 1;">报销方式:{{information.reimbursement}}</div>
|
55
|
|
- </div>
|
56
|
|
- <div style="display: flex; justify-self: start; margin-top: 5px ;">
|
57
|
|
- <div style="flex: 1;">工作单位:{{information.work_unit}}</div>
|
58
|
|
- <div style="flex: 1;">联系电话:{{information.contact_number}}</div>
|
59
|
|
- <div style="flex: 1;">家庭住址:{{information.home_address}}</div>
|
60
|
|
- </div>
|
61
|
|
- <div style="display: flex; justify-self: start; margin-top: 5px ;">
|
62
|
|
- <div style="flex: 1;">肾移植史:{{information.transplantation}}</div>
|
63
|
|
- <div style="flex: 1;">腹膜透析史:{{information.peritoneum}}</div>
|
64
|
|
- <div style="flex: 1;">过敏药物:{{information.allergy_drug}}</div>
|
65
|
|
- </div>
|
66
|
|
-
|
67
|
|
- <h3 style="text-align: center; margin: 20px 0px;">病史内容</h3>
|
68
|
|
- <div>
|
69
|
|
- <div>主诉:</div>
|
70
|
|
- <div>{{ medical_history.chief_complaint }}</div>
|
71
|
|
- <div>现病史:</div>
|
72
|
|
- <div>{{ medical_history.present_disease }}</div>
|
73
|
|
- <div>既往史:</div>
|
74
|
|
- <div>{{ medical_history.past }}</div>
|
75
|
|
- <div>个人史:</div>
|
76
|
|
- <div>{{ medical_history.personal }}</div>
|
77
|
|
- <div>婚育史:</div>
|
78
|
|
- <div>{{ medical_history.marriage }}</div>
|
79
|
|
- <div>家族史:</div>
|
80
|
|
- <div>{{ medical_history.family }}</div>
|
81
|
|
- </div>
|
82
|
|
- <h3 style="text-align: center; margin: 30px 0px 10px 0px;">体格检查</h3>
|
83
|
|
- <div>
|
84
|
|
- <div style="display: flex; justify-self: start;">
|
85
|
|
- <div style="flex:1;text-align: center;">T: {{physique.temperature}}℃</div>
|
86
|
|
- <div style="flex:1;text-align: center;">P:{{ physique.heartbeat }}次/分</div>
|
87
|
|
- <div style="flex:1;text-align: center;">R:{{ physique.R }}次/分</div>
|
88
|
|
- <div style="flex:1;text-align: center;">Bp:{{ physique.Bp }}mmHg</div>
|
89
|
|
- </div>
|
90
|
|
- <div style="margin-top: 5px;">
|
91
|
|
- 无贫血容貌,自主体位,无浮肿,出血点/瘀斑/血肿:无,发育正常,营养良好,神志:清楚
|
92
|
|
- {{ physique.anemia }}
|
93
|
|
- </div>
|
94
|
|
- <div style="margin-top: 5px;">
|
95
|
|
- <span style="font-weight: bold;">皮肤黏膜</span>:
|
96
|
|
- {{ physique.cutaneous }}
|
97
|
|
- </div>
|
98
|
|
- <div style="margin-top: 5px;">
|
99
|
|
- <span style="font-weight: bold;">淋巴结</span>:
|
100
|
|
- {{ physique.lymph_node }}
|
101
|
|
- </div>
|
102
|
|
- <div style="margin-top: 5px;">
|
103
|
|
- <span style="font-weight: bold;">头部</span>:
|
104
|
|
- {{ physique.head }}
|
105
|
|
- </div>
|
106
|
|
- <div style="margin-top: 5px;">
|
107
|
|
- <span style="font-weight: bold;">颈部</span>:
|
108
|
|
- {{ physique.neck }}
|
109
|
|
- </div>
|
110
|
|
- <div style="margin-top: 5px;">
|
111
|
|
- <span style="font-weight: bold;">肺脏</span>:
|
112
|
|
- {{ physique.lung }}
|
113
|
|
- </div>
|
114
|
|
- <div style="margin-top: 5px;">
|
115
|
|
- <span style="font-weight: bold;">心脏</span>:
|
116
|
|
- {{ physique.heart }}
|
117
|
|
- </div>
|
118
|
|
- <div style="margin-top: 5px;">
|
119
|
|
- <span style="font-weight: bold;">腹部</span>:
|
120
|
|
- {{ physique.abdomen }}
|
121
|
|
- </div>
|
122
|
|
- <div style="margin-top: 5px;">
|
123
|
|
- <span style="font-weight: bold;">其他</span>:
|
124
|
|
- {{ physique.other }}
|
125
|
|
- </div>
|
126
|
|
- </div>
|
127
|
|
-
|
128
|
|
- <div style="margin-top: 30px;">
|
129
|
|
- <span style="font-weight: bold; display: block;">初步诊断:</span>
|
130
|
|
- {{ diagnosis }}
|
131
|
|
- </div>
|
132
|
|
- </div>
|
133
|
|
-
|
134
|
|
-
|
|
2
|
+ <div>
|
|
3
|
+ <div class="position">
|
|
4
|
+ <bread-crumb :crumbs='crumbs'></bread-crumb>
|
|
5
|
+ <el-button :loading="loading" size="small" icon="el-icon-printer" @click="printAction" type="primary">打印
|
|
6
|
+ </el-button>
|
|
7
|
+ </div>
|
|
8
|
+ <div class="app-container">
|
|
9
|
+ <div id="print_content" v-for="item in this.list">
|
|
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>
|
|
17
|
+
|
|
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 : '/' }}
|
|
22
|
+ </div>
|
|
23
|
+ </div>
|
|
24
|
+
|
|
25
|
+ <div style="flex:1;text-align: center;">
|
|
26
|
+ 病区-床号:
|
|
27
|
+ <div style="width: 120px;text-align: left;display:inline-block;">
|
|
28
|
+
|
|
29
|
+ </div>
|
|
30
|
+ </div>
|
|
31
|
+
|
|
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}') }}
|
|
36
|
+ </div>
|
|
37
|
+ </div>
|
|
38
|
+ </div>
|
|
39
|
+
|
|
40
|
+ <div style="display: flex; justify-self: start;margin-top: 5px ;">
|
|
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 ;">
|
|
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 ;">
|
|
51
|
+ <div style="flex: 1;">
|
|
52
|
+ 首次透析日期:{{ patient.first_dialysis_date ? getTime(patient.first_dialysis_date, '{y}-{m}-{d}') : '' }}
|
|
53
|
+ </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 ;">
|
|
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 ;">
|
|
63
|
+ <div style="flex: 1;">肾移植史:{{ item.is_shenyizhi_history == 0?'无':'有' }}</div>
|
|
64
|
+ <div style="flex: 1;">腹膜透析史:{{ item.is_fumo_dialysis_history == 0? '无':'有' }}</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>
|
|
68
|
+
|
|
69
|
+ </div>
|
|
70
|
+ <h3 style="text-align: center; margin: 20px 0px;">病史内容</h3>
|
|
71
|
+ <div>
|
|
72
|
+ <div v-html="item.content"></div>
|
|
73
|
+ </div>
|
|
74
|
+ <h3 v-if="item.XtPatientPhysiqueCheck.id > 0" style="text-align: center; margin: 30px 0px 10px 0px;">体格检查</h3>
|
|
75
|
+ <div v-if="item.XtPatientPhysiqueCheck.id > 0">
|
|
76
|
+ <div style="display: flex; justify-self: start;">
|
|
77
|
+ <div style="flex:1;text-align: center;">T: {{ item.XtPatientPhysiqueCheck.t?item.XtPatientPhysiqueCheck.t:'' }}℃</div>
|
|
78
|
+ <div style="flex:1;text-align: center;">P:{{ item.XtPatientPhysiqueCheck.p?item.XtPatientPhysiqueCheck.p:'' }}次/分</div>
|
|
79
|
+ <div style="flex:1;text-align: center;">R:{{item.XtPatientPhysiqueCheck.r?item.XtPatientPhysiqueCheck.r:'' }}次/分</div>
|
|
80
|
+ <div style="flex:1;text-align: center;">Bp:{{ item.XtPatientPhysiqueCheck.bp_left + '/' + item.XtPatientPhysiqueCheck.bp_right }}mmHg</div>
|
|
81
|
+ </div>
|
|
82
|
+ <div style="margin-top: 5px;">
|
|
83
|
+ 无贫血容貌:{{item.XtPatientPhysiqueCheck.pinxuerongmao == 1?'无':'有'}},自主体位:{{getTiwei(item.XtPatientPhysiqueCheck.tiwei)}},浮肿:{{getFuzhong(item.XtPatientPhysiqueCheck.fuzhong)}},出血点/瘀斑/血肿:{{getChuXuedian(item.XtPatientPhysiqueCheck.chuxuedian)}},发育:{{getFaYu(item.XtPatientPhysiqueCheck.fayu)}},营养:{{getYinYang(item.XtPatientPhysiqueCheck.yinyang)}},神志:{{getShenzhi(item.XtPatientPhysiqueCheck.shenzhi)}}
|
|
84
|
+
|
|
85
|
+ </div>
|
|
86
|
+ <div style="margin-top: 5px;">
|
|
87
|
+ <span style="font-weight: bold;">皮肤黏膜</span>:
|
|
88
|
+ {{ '皮肤黏膜'+getPifuNianmo(item.XtPatientPhysiqueCheck.pifunianmo)+","+getPiXiaChuXue(item.XtPatientPhysiqueCheck.pixiachuxue)+","+'皮肤温度:'+getPiFuWenDu(item.XtPatientPhysiqueCheck.pifuwendu) }}
|
|
89
|
+ </div>
|
|
90
|
+ <div style="margin-top: 5px;">
|
|
91
|
+ <span style="font-weight: bold;">淋巴结</span>:
|
|
92
|
+ {{ '浅表淋巴肿大:'+ getLinBaZongDa(item.XtPatientPhysiqueCheck.linbazhongda)}}
|
135
|
93
|
</div>
|
|
94
|
+ <div style="margin-top: 5px;">
|
|
95
|
+ <span style="font-weight: bold;">头部</span>:
|
|
96
|
+ {{ '眼睑'+getYanJian(item.XtPatientPhysiqueCheck.yanjian)+',瞳孔(等大等圆):'+ getTongKong(item.XtPatientPhysiqueCheck.tongkong)+","+"左(mm):"+item.XtPatientPhysiqueCheck.zuo+",右(mm):"+item.XtPatientPhysiqueCheck.you+",对光反射:"+item.XtPatientPhysiqueCheck.duiguangfanshe+","+"扁桃体:"+item.XtPatientPhysiqueCheck.biantaoti+","+"咽部:"+item.XtPatientPhysiqueCheck.yanbu}}
|
|
97
|
+ </div>
|
|
98
|
+ <div style="margin-top: 5px;">
|
|
99
|
+ <span style="font-weight: bold;">颈部</span>:
|
|
100
|
+ {{ "颈静脉:"+item.XtPatientPhysiqueCheck.ganjingjingmai }}
|
|
101
|
+ </div>
|
|
102
|
+ <div style="margin-top: 5px;">
|
|
103
|
+ <span style="font-weight: bold;">肺脏</span>:
|
|
104
|
+ {{ "呼吸音"+item.XtPatientPhysiqueCheck.huxiyin+","+getXiongmomocayin(item.XtPatientPhysiqueCheck.xiongmomocayin)+"胸膜摩擦音"+","+getLuoYin(item.XtPatientPhysiqueCheck.luoyin)+"啰音"}}
|
|
105
|
+ </div>
|
|
106
|
+ <div style="margin-top: 5px;">
|
|
107
|
+ <span style="font-weight: bold;">心脏</span>:
|
|
108
|
+ {{ "心脏大小"+getXinzangdaxiao(item.XtPatientPhysiqueCheck.xinzangdaxiao)+",心率"+getXinlv(item.XtPatientPhysiqueCheck.xinlv)+","+getXinbaomocasheng(item.XtPatientPhysiqueCheck.xinbaomocasheng)+"心包摩擦声,"+getZaYin(item.XtPatientPhysiqueCheck.zayin)+"杂音,"+getFujiaYin(item.XtPatientPhysiqueCheck.fujiayin)+"附加音"}}
|
|
109
|
+
|
|
110
|
+ </div>
|
|
111
|
+ <div style="margin-top: 5px;">
|
|
112
|
+ <span style="font-weight: bold;">腹部</span>:
|
|
113
|
+ {{"腹水征:"+getFushuizheng(item.XtPatientPhysiqueCheck.fushuizheng)+",肝脏:"+getGanZangYaTong(item.XtPatientPhysiqueCheck.gangzhang_yatong)+"压痛,"+getGanZangkouTong(item.XtPatientPhysiqueCheck.gangzhang_koutong)+"叩痛"+",脾脏:"+getPiZangYaTong(item.XtPatientPhysiqueCheck.pizhang_yatong)+"压痛,"+getPiZangkouTong(item.XtPatientPhysiqueCheck.pizhang_koutong)+"叩痛,"+"肾脏:"+getshenZangyatong(item.XtPatientPhysiqueCheck.gangzhang_yatong)+"压痛,"+getshenZangkoutong(item.XtPatientPhysiqueCheck.gangzhang_koutong)+"叩痛"}}
|
|
114
|
+ </div>
|
|
115
|
+ <div style="margin-top: 5px;">
|
|
116
|
+ <span style="font-weight: bold;">其他</span>:
|
|
117
|
+ {{ item.XtPatientPhysiqueCheck.oth_desc }}
|
|
118
|
+ </div>
|
|
119
|
+ </div>
|
|
120
|
+
|
|
121
|
+ <div style="margin-top: 30px;">
|
|
122
|
+ <span style="font-weight: bold; display: block;">初步诊断:</span>
|
|
123
|
+ {{ patient.diagnose }}
|
|
124
|
+ </div>
|
|
125
|
+
|
|
126
|
+ <div style="margin-top: 30px">
|
|
127
|
+ <span style="font-weight: bold;float: right">病历书写者:</span>
|
|
128
|
+ {{getDoctorName(item.doctor_id)}}
|
|
129
|
+ </div>
|
|
130
|
+ <div style="margin-top: 30px;">
|
|
131
|
+ <span style="font-weight: bold;float: right">日期:</span>
|
|
132
|
+ {{getTime(item.record_time,'{y}-{m}-{d}')}}
|
|
133
|
+ </div>
|
|
134
|
+<!-- <div style="margin-top: 30px;float: right">-->
|
|
135
|
+<!-- <span style="font-weight: bold; display: block;">日期:</span>-->
|
|
136
|
+<!-- {{getTime(item.record_time,'{y}-{m}-{d}')}}}-->
|
|
137
|
+<!-- </div>-->
|
136
|
138
|
</div>
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+ </div>
|
137
|
142
|
</div>
|
|
143
|
+ </div>
|
138
|
144
|
</template>
|
139
|
145
|
|
140
|
146
|
<script>
|
141
|
147
|
import BreadCrumb from '@/xt_pages/components/bread-crumb'
|
|
148
|
+import { getSickhistoryCheckRecordsPrint } from '../../api/patient'
|
|
149
|
+import { uParseTime } from '@/utils/tools'
|
|
150
|
+import { fetchAllDoctorAndNurse } from "@/api/doctor";
|
142
|
151
|
import print from "print-js";
|
|
152
|
+
|
143
|
153
|
export default {
|
144
|
|
- name:'physiquePrinting',
|
145
|
|
- data() {
|
146
|
|
- return {
|
147
|
|
- crumbs: [
|
148
|
|
- { path: false, name: '病人管理' },
|
149
|
|
- { path: false, name: '病程打印' }
|
150
|
|
- ],
|
151
|
|
- loading: false,
|
152
|
|
- orgname:'',
|
153
|
|
- patient:{
|
154
|
|
- name:'',
|
155
|
|
- disease_no:'',
|
156
|
|
- ward:'',
|
157
|
|
- bed_no:'',
|
158
|
|
- date:'',
|
159
|
|
- },
|
160
|
|
- information:{
|
161
|
|
- sex:'',
|
162
|
|
- age:'',
|
163
|
|
- birthday:'',
|
164
|
|
- id_number:'',
|
165
|
|
- patient_source:'',
|
166
|
|
- dialysis_num:'',
|
167
|
|
- first_date:'',
|
168
|
|
- blood_type:'',
|
169
|
|
- reimbursement:'',
|
170
|
|
- work_unit:'',
|
171
|
|
- contact_number:'',
|
172
|
|
- home_address:'',
|
173
|
|
- transplantation:'',
|
174
|
|
- peritoneum:'',
|
175
|
|
- allergy_drug:'',
|
176
|
|
- },
|
177
|
|
- medical_history:{
|
178
|
|
- chief_complaint:'',
|
179
|
|
- present_disease:'',
|
180
|
|
- past:'',
|
181
|
|
- personal:'',
|
182
|
|
- marriage:'',
|
183
|
|
- family:'',
|
184
|
|
- },
|
185
|
|
- physique:{
|
186
|
|
- temperature:'',
|
187
|
|
- heartbeat:'',
|
188
|
|
- R:'',
|
189
|
|
- Bp:'',
|
190
|
|
- anemia:'',
|
191
|
|
- cutaneous:'',
|
192
|
|
- lymph_node:'',
|
193
|
|
- head:'',
|
194
|
|
- neck:'',
|
195
|
|
- lung:'',
|
196
|
|
- heart:'',
|
197
|
|
- abdomen:'',
|
198
|
|
- other:''
|
199
|
|
- },
|
200
|
|
- diagnosis:'',
|
|
154
|
+ name: 'physiquePrinting',
|
|
155
|
+ data() {
|
|
156
|
+ return {
|
|
157
|
+ list: [],
|
|
158
|
+ crumbs: [
|
|
159
|
+ { path: false, name: '病人管理' },
|
|
160
|
+ { path: false, name: '病程打印' }
|
|
161
|
+ ],
|
|
162
|
+ loading: false,
|
|
163
|
+ orgname: '',
|
|
164
|
+ patient: {},
|
|
165
|
+ information: {
|
|
166
|
+ sex: '',
|
|
167
|
+ age: '',
|
|
168
|
+ birthday: '',
|
|
169
|
+ id_number: '',
|
|
170
|
+ patient_source: '',
|
|
171
|
+ dialysis_num: '',
|
|
172
|
+ first_date: '',
|
|
173
|
+ blood_type: '',
|
|
174
|
+ reimbursement: '',
|
|
175
|
+ work_unit: '',
|
|
176
|
+ contact_number: '',
|
|
177
|
+ home_address: '',
|
|
178
|
+ transplantation: '',
|
|
179
|
+ peritoneum: '',
|
|
180
|
+ allergy_drug: ''
|
|
181
|
+ },
|
|
182
|
+ medical_history: {
|
|
183
|
+ chief_complaint: '',
|
|
184
|
+ present_disease: '',
|
|
185
|
+ past: '',
|
|
186
|
+ personal: '',
|
|
187
|
+ marriage: '',
|
|
188
|
+ family: ''
|
|
189
|
+ },
|
|
190
|
+ physique: {
|
|
191
|
+ temperature: '',
|
|
192
|
+ heartbeat: '',
|
|
193
|
+ R: '',
|
|
194
|
+ Bp: '',
|
|
195
|
+ anemia: '',
|
|
196
|
+ cutaneous: '',
|
|
197
|
+ lymph_node: '',
|
|
198
|
+ head: '',
|
|
199
|
+ neck: '',
|
|
200
|
+ lung: '',
|
|
201
|
+ heart: '',
|
|
202
|
+ abdomen: '',
|
|
203
|
+ other: ''
|
|
204
|
+ },
|
|
205
|
+ diagnosis: ''
|
|
206
|
+ }
|
|
207
|
+ },
|
|
208
|
+ components: {
|
|
209
|
+ BreadCrumb
|
|
210
|
+ },
|
|
211
|
+ methods: {
|
|
212
|
+ fetchAllDoctorAndNurse() {
|
|
213
|
+ fetchAllDoctorAndNurse().then(response => {
|
|
214
|
+ if (response.data.state == 1) {
|
|
215
|
+ this.doctorOptions = response.data.data.doctors;
|
|
216
|
+ }
|
|
217
|
+ });
|
|
218
|
+ },
|
|
219
|
+ getDoctorName: function(doctor_id) {
|
|
220
|
+ for (let index = 0; index < this.doctorOptions.length; index++) {
|
|
221
|
+ const doctor = this.doctorOptions[index]
|
|
222
|
+ if (doctor.id == doctor_id) {
|
|
223
|
+ return doctor.name
|
|
224
|
+ }
|
|
225
|
+ }
|
|
226
|
+ return ''
|
|
227
|
+ },
|
|
228
|
+ getTiwei(tiwei){
|
|
229
|
+ switch (tiwei){
|
|
230
|
+ case 1:
|
|
231
|
+ return '自主'
|
|
232
|
+ break
|
|
233
|
+ case 2:
|
|
234
|
+ return '被动'
|
|
235
|
+ break
|
|
236
|
+ case 3:
|
|
237
|
+ return '强迫'
|
|
238
|
+ break
|
|
239
|
+ }
|
|
240
|
+ },getFuzhong(fuzhong){
|
|
241
|
+ switch (fuzhong){
|
|
242
|
+ case 1:
|
|
243
|
+ return '无'
|
|
244
|
+ break
|
|
245
|
+ case 2:
|
|
246
|
+ return '轻度'
|
|
247
|
+ break
|
|
248
|
+ case 3:
|
|
249
|
+ return '中度'
|
|
250
|
+ break
|
|
251
|
+ case 4:
|
|
252
|
+ return '重度'
|
|
253
|
+ break
|
|
254
|
+ }
|
|
255
|
+ },getChuXuedian(chuxuedian){
|
|
256
|
+ switch (chuxuedian){
|
|
257
|
+ case 1:
|
|
258
|
+ return '无'
|
|
259
|
+ break
|
|
260
|
+ case 2:
|
|
261
|
+ return '不知道'
|
|
262
|
+ break
|
|
263
|
+ case 3:
|
|
264
|
+ return '有'
|
|
265
|
+ break
|
|
266
|
+
|
|
267
|
+ }
|
|
268
|
+ },getFaYu(fayu){
|
|
269
|
+ switch (fayu){
|
|
270
|
+ case 1:
|
|
271
|
+ return '正常'
|
|
272
|
+ break
|
|
273
|
+ case 2:
|
|
274
|
+ return '不良'
|
|
275
|
+ break
|
|
276
|
+ }
|
|
277
|
+ },getYinYang(yinyang){
|
|
278
|
+ switch (yinyang){
|
|
279
|
+ case 1:
|
|
280
|
+ return '良好'
|
|
281
|
+ break
|
|
282
|
+ case 2:
|
|
283
|
+ return '中等'
|
|
284
|
+ break
|
|
285
|
+ case 3:
|
|
286
|
+ return '不良'
|
|
287
|
+ break
|
|
288
|
+ case 4:
|
|
289
|
+ return '恶病质'
|
|
290
|
+ break
|
|
291
|
+ }
|
|
292
|
+ },getShenzhi(shenzhi){
|
|
293
|
+ switch (shenzhi){
|
|
294
|
+ case 1:
|
|
295
|
+ return '清楚'
|
|
296
|
+ break
|
|
297
|
+ case 2:
|
|
298
|
+ return '模糊'
|
|
299
|
+ break
|
|
300
|
+ case 3:
|
|
301
|
+ return '昏迷'
|
|
302
|
+ break
|
|
303
|
+ case 4:
|
|
304
|
+ return '其他'
|
|
305
|
+ break
|
|
306
|
+ }
|
|
307
|
+ },getPifuNianmo(pifunianmo){
|
|
308
|
+ switch (pifunianmo){
|
|
309
|
+ case 1:
|
|
310
|
+ return '正常'
|
|
311
|
+ break
|
|
312
|
+ case 2:
|
|
313
|
+ return '灰暗'
|
|
314
|
+ break
|
|
315
|
+ case 3:
|
|
316
|
+ return '苍白'
|
|
317
|
+ break
|
|
318
|
+ case 4:
|
|
319
|
+ return '黄染'
|
|
320
|
+ break
|
|
321
|
+ case 5:
|
|
322
|
+ return '色素沉着'
|
|
323
|
+ break
|
|
324
|
+ }
|
|
325
|
+ },getPiXiaChuXue(pixiachuxue){
|
|
326
|
+ switch (pixiachuxue){
|
|
327
|
+ case 1:
|
|
328
|
+ return '无'
|
|
329
|
+ break
|
|
330
|
+ case 2:
|
|
331
|
+ return '有'
|
|
332
|
+ break
|
|
333
|
+
|
|
334
|
+ }
|
|
335
|
+
|
|
336
|
+ },getPiFuWenDu(pifuwendu){
|
|
337
|
+ switch (pifuwendu){
|
|
338
|
+ case 1:
|
|
339
|
+ return '正常'
|
|
340
|
+ break
|
|
341
|
+ case 2:
|
|
342
|
+ return '冷'
|
|
343
|
+ break
|
|
344
|
+ case 3:
|
|
345
|
+ return '干'
|
|
346
|
+ break
|
|
347
|
+ case 4:
|
|
348
|
+ return '湿'
|
|
349
|
+ break
|
|
350
|
+
|
|
351
|
+ }
|
|
352
|
+
|
|
353
|
+ },getLinBaZongDa(linbazhongda){
|
|
354
|
+ switch (linbazhongda){
|
|
355
|
+ case 1:
|
|
356
|
+ return '无'
|
|
357
|
+ break
|
|
358
|
+ case 2:
|
|
359
|
+ return '有'
|
|
360
|
+ break
|
|
361
|
+ }
|
|
362
|
+ },getYanJian(yanjian){
|
|
363
|
+ switch (yanjian){
|
|
364
|
+ case 1:
|
|
365
|
+ return '正常'
|
|
366
|
+ break
|
|
367
|
+ case 2:
|
|
368
|
+ return '水肿'
|
|
369
|
+ break
|
|
370
|
+
|
|
371
|
+ }
|
|
372
|
+
|
|
373
|
+ },getTongKong(tongkong){
|
|
374
|
+ switch (tongkong){
|
|
375
|
+ case 1:
|
|
376
|
+ return '是'
|
|
377
|
+ break
|
|
378
|
+ case 2:
|
|
379
|
+ return '否'
|
|
380
|
+ break
|
|
381
|
+
|
|
382
|
+ }
|
|
383
|
+
|
|
384
|
+ },getXiongmomocayin(xiongmomocayin){
|
|
385
|
+
|
|
386
|
+ switch (xiongmomocayin){
|
|
387
|
+ case 1:
|
|
388
|
+ return '无'
|
|
389
|
+ break
|
|
390
|
+ case 2:
|
|
391
|
+ return '有'
|
|
392
|
+ break
|
|
393
|
+
|
|
394
|
+ }
|
|
395
|
+ },getLuoYin(luoyin){
|
|
396
|
+ switch (luoyin){
|
|
397
|
+ case 1:
|
|
398
|
+ return '无'
|
|
399
|
+ break
|
|
400
|
+ case 2:
|
|
401
|
+ return '有'
|
|
402
|
+ break
|
|
403
|
+
|
|
404
|
+ }
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+ },getXinzangdaxiao(xinzangdaxiao){
|
|
408
|
+ switch (xinzangdaxiao){
|
|
409
|
+ case 1:
|
|
410
|
+ return '正常'
|
|
411
|
+ break
|
|
412
|
+ case 2:
|
|
413
|
+ return '偏大'
|
|
414
|
+ break
|
|
415
|
+ case 3:
|
|
416
|
+ return '偏小'
|
|
417
|
+ break
|
|
418
|
+ }
|
|
419
|
+
|
|
420
|
+ },getXinlv(xinlv){
|
|
421
|
+ switch (xinlv){
|
|
422
|
+ case 1:
|
|
423
|
+ return '齐'
|
|
424
|
+ break
|
|
425
|
+ case 2:
|
|
426
|
+ return '不齐'
|
|
427
|
+ break
|
|
428
|
+ }
|
|
429
|
+
|
|
430
|
+ },getXinbaomocasheng(xinbaomocasheng){
|
|
431
|
+ switch (xinbaomocasheng){
|
|
432
|
+ case 1:
|
|
433
|
+ return '无'
|
|
434
|
+ break
|
|
435
|
+ case 2:
|
|
436
|
+ return '有'
|
|
437
|
+ break
|
|
438
|
+ }
|
|
439
|
+
|
|
440
|
+ },getZaYin(zayin){
|
|
441
|
+ switch (zayin){
|
|
442
|
+ case 1:
|
|
443
|
+ return '无'
|
|
444
|
+ break
|
|
445
|
+ case 2:
|
|
446
|
+ return '有'
|
|
447
|
+ break
|
|
448
|
+ }
|
|
449
|
+
|
|
450
|
+ },getFujiaYin(fujiayin){
|
|
451
|
+ switch (fujiayin){
|
|
452
|
+ case 1:
|
|
453
|
+ return '无'
|
|
454
|
+ break
|
|
455
|
+ case 2:
|
|
456
|
+ return '有'
|
|
457
|
+ break
|
|
458
|
+ }
|
|
459
|
+
|
|
460
|
+ },getFushuizheng(fushuizheng){
|
|
461
|
+ switch (fushuizheng){
|
|
462
|
+ case 1:
|
|
463
|
+ return '阴性'
|
|
464
|
+ break
|
|
465
|
+ case 2:
|
|
466
|
+ return '阳性'
|
|
467
|
+ break
|
|
468
|
+ }
|
|
469
|
+
|
|
470
|
+ },getGanZangYaTong(yatong){
|
|
471
|
+ switch (yatong){
|
|
472
|
+ case 1:
|
|
473
|
+ return '无'
|
|
474
|
+ break
|
|
475
|
+ case 2:
|
|
476
|
+ return '有'
|
|
477
|
+ break
|
|
478
|
+ }
|
|
479
|
+
|
|
480
|
+ },getGanZangkouTong(koutong){
|
|
481
|
+ switch (koutong){
|
|
482
|
+ case 1:
|
|
483
|
+ return '无'
|
|
484
|
+ break
|
|
485
|
+ case 2:
|
|
486
|
+ return '有'
|
|
487
|
+ break
|
|
488
|
+ }
|
|
489
|
+
|
|
490
|
+ },getPiZangYaTong(yatong){
|
|
491
|
+ switch (yatong){
|
|
492
|
+ case 1:
|
|
493
|
+ return '无'
|
|
494
|
+ break
|
|
495
|
+ case 2:
|
|
496
|
+ return '有'
|
|
497
|
+ break
|
|
498
|
+ }
|
|
499
|
+
|
|
500
|
+ },getPiZangkouTong(koutong){
|
|
501
|
+ switch (koutong){
|
|
502
|
+ case 1:
|
|
503
|
+ return '无'
|
|
504
|
+ break
|
|
505
|
+ case 2:
|
|
506
|
+ return '有'
|
|
507
|
+ break
|
|
508
|
+ }
|
|
509
|
+
|
|
510
|
+ },getshenZangyatong(yatong){
|
|
511
|
+ switch (yatong){
|
|
512
|
+ case 1:
|
|
513
|
+ return '无'
|
|
514
|
+ break
|
|
515
|
+ case 2:
|
|
516
|
+ return '有'
|
|
517
|
+ break
|
|
518
|
+ }
|
|
519
|
+
|
|
520
|
+ },getshenZangkoutong(koutong){
|
|
521
|
+ switch (koutong){
|
|
522
|
+ case 1:
|
|
523
|
+ return '无'
|
|
524
|
+ break
|
|
525
|
+ case 2:
|
|
526
|
+ return '有'
|
|
527
|
+ break
|
|
528
|
+ }
|
|
529
|
+
|
|
530
|
+ },
|
|
531
|
+ getWayOptions(reimbursement_way_id) {
|
|
532
|
+ this.wayOptions = this.$store.getters.reimbursement_ways;
|
|
533
|
+ let wayLen = this.wayOptions.length
|
|
534
|
+ for (let index = 0; index < wayLen; index++) {
|
|
535
|
+ if (this.wayOptions[index].id === reimbursement_way_id) {
|
|
536
|
+ return this.wayOptions[index].name
|
|
537
|
+ }
|
|
538
|
+ }
|
|
539
|
+ },
|
|
540
|
+ getBloodType(type) {
|
|
541
|
+ var types = this.$store.getters.blood_types
|
|
542
|
+ for (let i = 0; i < types.length; i++) {
|
|
543
|
+ if (types[i].id == type) {
|
|
544
|
+ return types[i].name
|
201
|
545
|
}
|
|
546
|
+ }
|
|
547
|
+ },
|
|
548
|
+ getPatientGender(gender) {
|
|
549
|
+ if (gender == 1) {
|
|
550
|
+ return '男'
|
|
551
|
+ } else if (gender == 2) {
|
|
552
|
+ return '女'
|
|
553
|
+ }
|
|
554
|
+ return ''
|
202
|
555
|
},
|
203
|
|
- components: {
|
204
|
|
- BreadCrumb
|
|
556
|
+ getTime(value, temp) {
|
|
557
|
+ if (value != undefined) {
|
|
558
|
+ return uParseTime(value, temp)
|
|
559
|
+ }
|
|
560
|
+ return ''
|
|
561
|
+ },
|
|
562
|
+ getPhysiquePrintList() {
|
|
563
|
+ let params = {
|
|
564
|
+ ids: this.$route.query.ids,
|
|
565
|
+ patient_id: this.$route.query.patient_id
|
|
566
|
+ }
|
|
567
|
+ getSickhistoryCheckRecordsPrint(params).then(response => {
|
|
568
|
+ if (response.data.state == 1) {
|
|
569
|
+ this.patient = response.data.data.patient
|
|
570
|
+ this.list = response.data.data.sickhistorys
|
|
571
|
+ }
|
|
572
|
+ })
|
205
|
573
|
},
|
206
|
|
- methods: {
|
207
|
|
- printAction: function () {
|
208
|
|
- const style = '@media print {.printP div{margin-bottom:5px;} .option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 20px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 5px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:1000px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top:1050px;left: 50%;}.print-yema5{position: absolute;top:1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}'
|
209
|
|
- printJS({
|
210
|
|
- printable: 'print_content',
|
211
|
|
- type: 'html',
|
212
|
|
- documentTitle: ' ',
|
213
|
|
- style: style,
|
214
|
|
- scanStyles: false
|
215
|
|
- })
|
216
|
|
- },
|
|
574
|
+ printAction: function() {
|
|
575
|
+ const style = '@media print {.printP div{margin-bottom:5px;} .option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 20px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 5px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:1000px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top:1050px;left: 50%;}.print-yema5{position: absolute;top:1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}'
|
|
576
|
+ printJS({
|
|
577
|
+ printable: 'print_content',
|
|
578
|
+ type: 'html',
|
|
579
|
+ documentTitle: ' ',
|
|
580
|
+ style: style,
|
|
581
|
+ scanStyles: false
|
|
582
|
+ })
|
217
|
583
|
}
|
|
584
|
+ },
|
|
585
|
+ created() {
|
|
586
|
+ this.getPhysiquePrintList()
|
|
587
|
+ this.fetchAllDoctorAndNurse()
|
|
588
|
+ }
|
218
|
589
|
}
|
219
|
590
|
</script>
|
220
|
591
|
<style scoped>
|
221
|
592
|
.print_page_main_content {
|
222
|
|
- background-color: white;
|
223
|
|
- width: 960px;
|
224
|
|
- margin: 0 auto 50px;
|
225
|
|
- padding: 0 0 0 0;
|
226
|
|
- page-break-after: always;
|
|
593
|
+ background-color: white;
|
|
594
|
+ width: 960px;
|
|
595
|
+ margin: 0 auto 50px;
|
|
596
|
+ padding: 0 0 0 0;
|
|
597
|
+ page-break-after: always;
|
227
|
598
|
}
|
228
|
599
|
|
229
|
|
-</style>
|
|
600
|
+</style>
|