From e58c66e13ce522cd8d50c882980d753a52b5edee Mon Sep 17 00:00:00 2001 From: sa0ChunLuyu Date: Fri, 17 Jul 2026 19:09:39 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=84=E7=BA=A6=E8=AE=A1=E5=88=92=E6=98=8E?= =?UTF-8?q?=E7=BB=86/=E8=AE=A1=E5=88=92=20=E5=BC=B9=E7=AA=97=E9=83=BD?= =?UTF-8?q?=E9=9A=90=E8=97=8F=E6=8E=89=20=E8=B5=84=E6=BA=90/=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E7=BB=84=20=E9=BB=98=E8=AE=A4=E9=80=89=E4=B8=AD?= =?UTF-8?q?=E5=AF=B9=E5=BA=94=E7=9A=84=E6=89=A7=E8=A1=8C=E8=AF=8A=E5=AE=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- YiJi-admin/src/views/AppointmentMngr/PlanList.vue | 4 ++-- YiJi-admin/src/views/AppointmentMngr/PlanModel.vue | 13 ++++++++++--- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/YiJi-admin/src/views/AppointmentMngr/PlanList.vue b/YiJi-admin/src/views/AppointmentMngr/PlanList.vue index 56ccc14..175601b 100644 --- a/YiJi-admin/src/views/AppointmentMngr/PlanList.vue +++ b/YiJi-admin/src/views/AppointmentMngr/PlanList.vue @@ -133,10 +133,10 @@ {{ PlanDetaiInfo.department_name }} - + {{ PlanDetaiInfo.resources_name }} - + {{ item.device_name }} diff --git a/YiJi-admin/src/views/AppointmentMngr/PlanModel.vue b/YiJi-admin/src/views/AppointmentMngr/PlanModel.vue index 10d87be..4d0bcb3 100644 --- a/YiJi-admin/src/views/AppointmentMngr/PlanModel.vue +++ b/YiJi-admin/src/views/AppointmentMngr/PlanModel.vue @@ -244,7 +244,7 @@ - + - +
此诊室包含多台设备,如同时勾选多个,被勾选设备将共同占用分配的名额。如需为设备单独分配名额,请单独勾选(推荐)
@@ -658,7 +658,10 @@ console.log('编辑') GetDetailInfo(row.id) }, 500) - + } else if (activeZhenShi.value.id) { + //新增模式,默认选中左侧当前激活的排班 + PlanInfo.value.resources_id = activeZhenShi.value.id + resourceChange() } } @@ -940,6 +943,10 @@ loading.value = false if (res.status) { devicesList.value = res.data + //新增模式且服务组列表不为空时,默认选中第一个 + if (PlanInfo.value.devices.length === 0 && res.data.length > 0) { + PlanInfo.value.devices = [res.data[0].id] + } } else { ElMessage.error(res.msg) }