|
@@ -0,0 +1,241 @@
|
|
1
|
+<template>
|
|
2
|
+ <div>
|
|
3
|
+ <el-dialog
|
|
4
|
+ title="就诊详情"
|
|
5
|
+ :visible.sync="recordDetailFlag"
|
|
6
|
+ v-if="recordDetailFlag"
|
|
7
|
+ width="1200px"
|
|
8
|
+ :close-on-press-escape="false"
|
|
9
|
+ :close-on-click-modal="false"
|
|
10
|
+ :before-close="cancel"
|
|
11
|
+ >
|
|
12
|
+ <div class="df_box">
|
|
13
|
+ <div class="left_box">
|
|
14
|
+ <div style="display: flex; margin-top: 10px">
|
|
15
|
+ <div style="width: 80px; font-weight: 700">主诉:</div>
|
|
16
|
+ <div style="flex: 1">
|
|
17
|
+ {{ initToothPosition(recordDetailObj.dataList[0].toothPosition) }}
|
|
18
|
+ {{ recordDetailObj.dataList[0].data[0].contentInfo }}
|
|
19
|
+ </div>
|
|
20
|
+ </div>
|
|
21
|
+ <div style="display: flex; margin-top: 10px">
|
|
22
|
+ <div style="width: 80px; font-weight: 700">现病史:</div>
|
|
23
|
+ <div style="flex: 1">
|
|
24
|
+ {{ initToothPosition(recordDetailObj.dataList[0].toothPosition) }}
|
|
25
|
+ {{ recordDetailObj.dataList[0].data[1].contentInfo }}
|
|
26
|
+ </div>
|
|
27
|
+ </div>
|
|
28
|
+ <div style="display: flex; margin-top: 10px">
|
|
29
|
+ <div style="width: 80px; font-weight: 700">既往史:</div>
|
|
30
|
+ <div style="flex: 1">
|
|
31
|
+ {{
|
|
32
|
+ recordDetailObj.dataList[0].data[2].formattedPartsList.length > 0
|
|
33
|
+ ? recordDetailObj.dataList[0].data[2].formattedPartsList.join()
|
|
34
|
+ : '无'
|
|
35
|
+ }}
|
|
36
|
+ </div>
|
|
37
|
+ </div>
|
|
38
|
+ <div style="display: flex; margin-top: 10px">
|
|
39
|
+ <div style="width: 80px; font-weight: 700">家族史:</div>
|
|
40
|
+ <div style="flex: 1">
|
|
41
|
+ {{
|
|
42
|
+ recordDetailObj.dataList[0].data[3].formattedPartsList.length > 0
|
|
43
|
+ ? recordDetailObj.dataList[0].data[2].formattedPartsList.join()
|
|
44
|
+ : '无'
|
|
45
|
+ }}
|
|
46
|
+ </div>
|
|
47
|
+ </div>
|
|
48
|
+ <div style="display: flex; margin-top: 10px">
|
|
49
|
+ <div style="width: 80px; font-weight: 700">过敏史:</div>
|
|
50
|
+ <div style="flex: 1">
|
|
51
|
+ {{
|
|
52
|
+ recordDetailObj.dataList[0].data[4].formattedPartsList.length > 0
|
|
53
|
+ ? recordDetailObj.dataList[0].data[2].formattedPartsList.join()
|
|
54
|
+ : '无'
|
|
55
|
+ }}
|
|
56
|
+ </div>
|
|
57
|
+ </div>
|
|
58
|
+ <div style="display: flex; margin-top: 10px">
|
|
59
|
+ <div style="width: 80px; font-weight: 700">检查:</div>
|
|
60
|
+ <div style="flex: 1; display: flex; flex-direction: column">
|
|
61
|
+ <span
|
|
62
|
+ v-for="(it, ind) in recordDetailObj.dataList"
|
|
63
|
+ :key="ind"
|
|
64
|
+ style="margin-top: 5px"
|
|
65
|
+ >
|
|
66
|
+ {{
|
|
67
|
+ initToothPosition(recordDetailObj.dataList[ind].toothPosition)
|
|
68
|
+ }}
|
|
69
|
+ {{ it.data[5].contentInfo }}
|
|
70
|
+ </span>
|
|
71
|
+ </div>
|
|
72
|
+ </div>
|
|
73
|
+ <div style="display: flex; margin-top: 10px">
|
|
74
|
+ <div style="width: 80px; font-weight: 700">X线片示(影像):</div>
|
|
75
|
+ <div style="flex: 1; display: flex; flex-direction: column">
|
|
76
|
+ <span
|
|
77
|
+ v-for="(it, ind) in recordDetailObj.dataList"
|
|
78
|
+ :key="ind"
|
|
79
|
+ style="margin-top: 5px"
|
|
80
|
+ >
|
|
81
|
+ {{
|
|
82
|
+ initToothPosition(recordDetailObj.dataList[ind].toothPosition)
|
|
83
|
+ }}
|
|
84
|
+ {{ it.data[6].contentInfo }}
|
|
85
|
+ </span>
|
|
86
|
+ </div>
|
|
87
|
+ </div>
|
|
88
|
+ <div style="display: flex; margin-top: 10px">
|
|
89
|
+ <div style="width: 80px; font-weight: 700">诊断:</div>
|
|
90
|
+ <div style="flex: 1; display: flex; flex-direction: column">
|
|
91
|
+ <span
|
|
92
|
+ v-for="(it, ind) in recordDetailObj.dataList"
|
|
93
|
+ :key="ind"
|
|
94
|
+ style="margin-top: 5px"
|
|
95
|
+ >
|
|
96
|
+ {{
|
|
97
|
+ initToothPosition(recordDetailObj.dataList[ind].toothPosition)
|
|
98
|
+ }}
|
|
99
|
+ {{ it.data[7].contentInfo }}
|
|
100
|
+ </span>
|
|
101
|
+ </div>
|
|
102
|
+ </div>
|
|
103
|
+ <div style="display: flex; margin-top: 10px">
|
|
104
|
+ <div style="width: 80px; font-weight: 700">治疗计划:</div>
|
|
105
|
+ <div style="flex: 1; display: flex; flex-direction: column">
|
|
106
|
+ <span
|
|
107
|
+ v-for="(it, ind) in recordDetailObj.dataList"
|
|
108
|
+ :key="ind"
|
|
109
|
+ style="margin-top: 5px"
|
|
110
|
+ >
|
|
111
|
+ {{
|
|
112
|
+ initToothPosition(recordDetailObj.dataList[ind].toothPosition)
|
|
113
|
+ }}
|
|
114
|
+ {{ it.data[8].contentInfo }}
|
|
115
|
+ </span>
|
|
116
|
+ </div>
|
|
117
|
+ </div>
|
|
118
|
+ <div style="display: flex; margin-top: 10px">
|
|
119
|
+ <div style="width: 80px; font-weight: 700">
|
|
120
|
+ 处置(基础模版公用):
|
|
121
|
+ </div>
|
|
122
|
+ <div style="flex: 1; display: flex; flex-direction: column">
|
|
123
|
+ <span
|
|
124
|
+ v-for="(it, ind) in recordDetailObj.dataList"
|
|
125
|
+ :key="ind"
|
|
126
|
+ style="margin-top: 5px"
|
|
127
|
+ >
|
|
128
|
+ {{
|
|
129
|
+ initToothPosition(recordDetailObj.dataList[ind].toothPosition)
|
|
130
|
+ }}
|
|
131
|
+ {{ it.data[9].contentInfo }}
|
|
132
|
+ </span>
|
|
133
|
+ </div>
|
|
134
|
+ </div>
|
|
135
|
+ <div style="display: flex; margin-top: 10px">
|
|
136
|
+ <div style="width: 80px; font-weight: 700">处置:</div>
|
|
137
|
+ <div style="flex: 1; display: flex; flex-direction: column">
|
|
138
|
+ <span
|
|
139
|
+ v-for="(it, ind) in recordDetailObj.dataList"
|
|
140
|
+ :key="ind"
|
|
141
|
+ style="margin-top: 5px"
|
|
142
|
+ >
|
|
143
|
+ {{
|
|
144
|
+ initToothPosition(recordDetailObj.dataList[ind].toothPosition)
|
|
145
|
+ }}
|
|
146
|
+ {{ it.data[10].contentInfo }}
|
|
147
|
+ </span>
|
|
148
|
+ </div>
|
|
149
|
+ </div>
|
|
150
|
+ <div style="display: flex; margin-top: 10px">
|
|
151
|
+ <div style="width: 80px; font-weight: 700">医嘱:</div>
|
|
152
|
+ <div style="flex: 1; display: flex; flex-direction: column">
|
|
153
|
+ <span
|
|
154
|
+ v-for="(it, ind) in recordDetailObj.dataList"
|
|
155
|
+ :key="ind"
|
|
156
|
+ style="margin-top: 5px"
|
|
157
|
+ >
|
|
158
|
+ {{
|
|
159
|
+ initToothPosition(recordDetailObj.dataList[ind].toothPosition)
|
|
160
|
+ }}
|
|
161
|
+ {{ it.data[11].contentInfo }}
|
|
162
|
+ </span>
|
|
163
|
+ </div>
|
|
164
|
+ </div>
|
|
165
|
+ </div>
|
|
166
|
+ <div class="rigth_box">
|
|
167
|
+ <el-card style="height: 100%; padding: 20px">
|
|
168
|
+ <div style="display: flex; margin-top: 10px">
|
|
169
|
+ <div style="width: 80px; font-weight: 700">科室:</div>
|
|
170
|
+ <div style="flex: 1">
|
|
171
|
+ {{ recordDetailObj.department }}
|
|
172
|
+ </div>
|
|
173
|
+ </div>
|
|
174
|
+ <div style="display: flex; margin-top: 10px">
|
|
175
|
+ <div style="width: 80px; font-weight: 700">医生:</div>
|
|
176
|
+ <div style="flex: 1">
|
|
177
|
+ {{ recordDetailObj.attendingDoctorName }}
|
|
178
|
+ </div>
|
|
179
|
+ </div>
|
|
180
|
+ <div style="display: flex; margin-top: 10px">
|
|
181
|
+ <div style="width: 80px; font-weight: 700">费用:</div>
|
|
182
|
+ <div style="flex: 1">
|
|
183
|
+ {{ recordDetailObj.cost }}
|
|
184
|
+ </div>
|
|
185
|
+ </div>
|
|
186
|
+ <div style="display: flex; margin-top: 10px">
|
|
187
|
+ <div style="width: 80px; font-weight: 700">诊所:</div>
|
|
188
|
+ <div style="flex: 1">
|
|
189
|
+ {{ recordDetailObj.clinicName }}
|
|
190
|
+ </div>
|
|
191
|
+ </div>
|
|
192
|
+ </el-card>
|
|
193
|
+ </div>
|
|
194
|
+ </div>
|
|
195
|
+ </el-dialog>
|
|
196
|
+ </div>
|
|
197
|
+</template>
|
|
198
|
+
|
|
199
|
+<script>
|
|
200
|
+import initName from '@/utils/initName.js'
|
|
201
|
+export default {
|
|
202
|
+ name: 'EitcErmPcRecordDetailDialog',
|
|
203
|
+ mixins: [initName],
|
|
204
|
+ props: {
|
|
205
|
+ recordDetailFlag: {
|
|
206
|
+ type: Boolean,
|
|
207
|
+ default: false
|
|
208
|
+ },
|
|
209
|
+ recordDetailObj: {
|
|
210
|
+ type: Object,
|
|
211
|
+ default: {}
|
|
212
|
+ }
|
|
213
|
+ },
|
|
214
|
+ data() {
|
|
215
|
+ return {}
|
|
216
|
+ },
|
|
217
|
+
|
|
218
|
+ mounted() {},
|
|
219
|
+
|
|
220
|
+ methods: {
|
|
221
|
+ cancel() {
|
|
222
|
+ this.$emit('cancelAll')
|
|
223
|
+ }
|
|
224
|
+ }
|
|
225
|
+}
|
|
226
|
+</script>
|
|
227
|
+<style lang="scss" scoped>
|
|
228
|
+.df_box {
|
|
229
|
+ display: flex;
|
|
230
|
+ max-height: 70vh;
|
|
231
|
+ overflow: auto;
|
|
232
|
+
|
|
233
|
+ .left_box {
|
|
234
|
+ flex: 1;
|
|
235
|
+ padding-left: 10px;
|
|
236
|
+ }
|
|
237
|
+ .rigth_box {
|
|
238
|
+ width: 300px;
|
|
239
|
+ }
|
|
240
|
+}
|
|
241
|
+</style>
|