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: '请选择学科!' }]; }, },