From 6c6db5c3bdaa2123d8b855740ae3ec34dc328a08 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期五, 08 十一月 2024 16:41:44 +0800
Subject: [PATCH] fix 预约确认界面显示不齐的问题
---
src/views/ecg/appointment/AppointmentConfirm.vue | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/views/ecg/appointment/AppointmentConfirm.vue b/src/views/ecg/appointment/AppointmentConfirm.vue
index 3d5d74c..3dd9892 100644
--- a/src/views/ecg/appointment/AppointmentConfirm.vue
+++ b/src/views/ecg/appointment/AppointmentConfirm.vue
@@ -28,8 +28,7 @@
<el-radio
v-for="dict in getIntDictOptions(DICT_TYPE.SYSTEM_USER_SEX)"
:key="dict.value"
- :value="dict.value"
- >
+ :value="dict.value">
{{ dict.label }}
</el-radio>
</el-radio-group>
@@ -137,7 +136,7 @@
const data = await AppointmentApi.queryAndCreateAppointmentByPatId(queryParams.patId) // 瀵瑰簲鏁版嵁搴撲腑 pat_id
console.info( data )
appointmentVOList.value = data
- if (null !== data) {
+ if (null !== data && data.length > 0) {
formData.value = data[0]
console.info( formData.value )
return
--
Gitblit v1.9.3