Browse Source

fix:右侧数据一直都是第一项

李帅 3 months ago
parent
commit
18bea26ec4
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/views/patientCenter/medical/index.vue

+ 4 - 4
src/views/patientCenter/medical/index.vue

@@ -204,25 +204,25 @@
204 204
                     <div style="display: flex; margin-top: 10px">
205 205
                       <div style="width: 80px; font-weight: 700">科室:</div>
206 206
                       <div style="flex: 1">
207
-                        {{ list[0].department }}
207
+                        {{ item.department }}
208 208
                       </div>
209 209
                     </div>
210 210
                     <div style="display: flex; margin-top: 10px">
211 211
                       <div style="width: 80px; font-weight: 700">医生:</div>
212 212
                       <div style="flex: 1">
213
-                        {{ list[0].attendingDoctorName }}
213
+                        {{ item.attendingDoctorName }}
214 214
                       </div>
215 215
                     </div>
216 216
                     <div style="display: flex; margin-top: 10px">
217 217
                       <div style="width: 80px; font-weight: 700">费用:</div>
218 218
                       <div style="flex: 1">
219
-                        {{ list[0].cost }}
219
+                        {{ item.cost || '-'}} 元
220 220
                       </div>
221 221
                     </div>
222 222
                     <div style="display: flex; margin-top: 10px">
223 223
                       <div style="width: 80px; font-weight: 700">诊所:</div>
224 224
                       <div style="flex: 1">
225
-                        {{ list[0].clinicName }}
225
+                        {{ item.clinicName }}
226 226
                       </div>
227 227
                     </div>
228 228
                   </el-card>