diff --git a/src/views/monitor/datasource/DataSourceModal.vue b/src/views/monitor/datasource/DataSourceModal.vue index 2839c77..e45d9d1 100644 --- a/src/views/monitor/datasource/DataSourceModal.vue +++ b/src/views/monitor/datasource/DataSourceModal.vue @@ -28,7 +28,7 @@ const isUpdate = ref(true); //表单配置 const [registerForm, { getFieldsValue, resetFields, validateFields, setFieldsValue, validate }] = useForm({ - labelWidth: 150, + // labelWidth: 150, schemas: formSchema, showActionButtonGroup: false, }); diff --git a/src/views/monitor/quartz/QuartzModal.vue b/src/views/monitor/quartz/QuartzModal.vue index 5d1648c..285dc22 100644 --- a/src/views/monitor/quartz/QuartzModal.vue +++ b/src/views/monitor/quartz/QuartzModal.vue @@ -15,7 +15,7 @@ const isUpdate = ref(true); //表单配置 const [registerForm, { resetFields, setFieldsValue, validate }] = useForm({ - labelWidth: 150, + // labelWidth: 150, schemas: formSchema, showActionButtonGroup: false, }); diff --git a/src/views/system/tenant/TenantModal.vue b/src/views/system/tenant/TenantModal.vue index 4762b91..26af473 100644 --- a/src/views/system/tenant/TenantModal.vue +++ b/src/views/system/tenant/TenantModal.vue @@ -14,7 +14,7 @@ const isUpdate = ref(true); //表单配置 const [registerForm, { resetFields, setFieldsValue, validate, updateSchema }] = useForm({ - labelWidth: 150, + // labelWidth: 150, schemas: formSchema, showActionButtonGroup: false, }); diff --git a/src/views/system/user/user.data.ts b/src/views/system/user/user.data.ts index ad905b8..4128426 100644 --- a/src/views/system/user/user.data.ts +++ b/src/views/system/user/user.data.ts @@ -91,6 +91,12 @@ export const searchFormSchema: FormSchema[] = [ component: 'JInput', colProps: { span: 6 }, }, + { + label: '名字', + field: 'realname', + component: 'JInput', + colProps: { span: 6 }, + }, { label: '性别', field: 'sex', @@ -102,12 +108,6 @@ export const searchFormSchema: FormSchema[] = [ }, colProps: { span: 6 }, }, - { - label: '真实名称', - field: 'realname', - component: 'Input', - colProps: { span: 6 }, - }, { label: '手机号码', field: 'phone',