diff --git a/src/views/system/user/HealthUserEmployeeEx/HealthUserEmployeeEx.data.ts b/src/views/system/user/HealthUserEmployeeEx/HealthUserEmployeeEx.data.ts index 0b5f551..6c7a449 100644 --- a/src/views/system/user/HealthUserEmployeeEx/HealthUserEmployeeEx.data.ts +++ b/src/views/system/user/HealthUserEmployeeEx/HealthUserEmployeeEx.data.ts @@ -29,7 +29,7 @@ export const columns: BasicColumn[] = [ width: 64, }, { - title: '员工编号', + title: '员工工号', align: 'center', dataIndex: ['extension', 'empSysno'], width: 80, @@ -145,7 +145,7 @@ export const searchFormSchema: FormSchema[] = [ component: 'Input', }, { - label: '员工编号', + label: '员工工号', field: 'empNo', component: 'Input', }, @@ -299,7 +299,7 @@ export const formSchema: (isUpdate: boolean) => FormSchema[] = (isUpdate) => { required: true, }, { - label: '员工编号', + label: '员工工号', field: 'empSysno', component: 'Input', componentProps: ({ formModel }) => { @@ -311,7 +311,7 @@ export const formSchema: (isUpdate: boolean) => FormSchema[] = (isUpdate) => { }, dynamicRules: ({ model, schema }) => { let rule = rules.duplicateCheckRuleAndDelFlag('health_user_employee_ex', 'emp_sysno', 'false', model, schema, false); - rule[0] = { ...rule[0], required: true }; + rule[0] = { ...rule[0], required: false }; return rule; }, }, @@ -711,7 +711,7 @@ export const migrateUserFormSchema: FormSchema[] = [ }, }, { - label: '员工编号', + label: '员工工号', field: 'workNo', component: 'Input', componentProps: {