From 7b0c76d1b175228673c1cbdc3f50f8d438d04729 Mon Sep 17 00:00:00 2001 From: zhangdaiscott Date: Mon, 7 Nov 2022 17:33:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E5=8D=95=E9=BB=98=E8=AE=A4=E5=AE=BD?= =?UTF-8?q?=E5=BA=A6=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/monitor/datasource/DataSourceModal.vue | 2 +- src/views/monitor/quartz/QuartzModal.vue | 2 +- src/views/system/tenant/TenantModal.vue | 2 +- src/views/system/user/user.data.ts | 12 ++++++------ 4 files changed, 9 insertions(+), 9 deletions(-) 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',