From 658eed3c2d8b6e32f7ecc78c13e3224f68659c50 Mon Sep 17 00:00:00 2001 From: Qi <3194726156@qq.com> Date: Sun, 8 Jun 2025 21:06:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=A4=96=E6=A0=A1=E8=80=81?= =?UTF-8?q?=E5=B8=88=E5=AE=BF=E8=88=8D=E3=80=81=E5=88=86=E7=BB=84=E6=9F=A5?= =?UTF-8?q?=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cees/waiTeacher/CeesWaiTeacher.data.ts | 22 ++++--------------- 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/src/views/cees/waiTeacher/CeesWaiTeacher.data.ts b/src/views/cees/waiTeacher/CeesWaiTeacher.data.ts index 7916753..5928fdd 100644 --- a/src/views/cees/waiTeacher/CeesWaiTeacher.data.ts +++ b/src/views/cees/waiTeacher/CeesWaiTeacher.data.ts @@ -295,26 +295,13 @@ export const searchFormSchema: FormSchema[] = [ }, { label: '所属分组', - component: 'Select', - field: 'groupId', - colProps: { span: 6 }, - componentProps: { - placeholder: '请选择分组', - options: computed(() => groupOptions.value), // ✅ 变成响应式 - showSearch: true, - filterOption: (input, option) => option.label.toLowerCase().includes(input.toLowerCase()), - }, + component: 'Input', + field: 'groupName', }, { label: '住宿信息', - field: 'dormitoryId', - component: 'Select', - componentProps: { - placeholder: '请选择住宿信息', - options: computed(() => dormitoryOptions.value), // ✅ 变成响应式 - showSearch: true, - filterOption: (input, option) => option.label.toLowerCase().includes(input.toLowerCase()), - }, + field: 'dormitoryName', + component: 'Input', }, { label: '是否住宿', @@ -402,7 +389,6 @@ export const formSchema: FormSchema[] = [ }, dynamicRules: ({ model, schema }) => { // 当身份证为7个0时取消验证 - if (model.identityId === '0000000') return []; return [{ required: true, message: '请选择学科!' }]; }, },