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