diff --git a/src/views/system/mail/account/account.data.ts b/src/views/system/mail/account/account.data.ts index 23b1f084..6de394e6 100644 --- a/src/views/system/mail/account/account.data.ts +++ b/src/views/system/mail/account/account.data.ts @@ -25,12 +25,26 @@ const crudSchemas = reactive([ { label: '邮箱', field: 'mail', - isSearch: true + isSearch: true, + search: { + componentProps: { + style: { + width: '240px' + } + } + } }, { label: '用户名', field: 'username', - isSearch: true + isSearch: true, + search: { + componentProps: { + style: { + width: '240px' + } + } + } }, { label: '密码', diff --git a/src/views/system/mail/log/log.data.ts b/src/views/system/mail/log/log.data.ts index 62cbf516..594a5d5f 100644 --- a/src/views/system/mail/log/log.data.ts +++ b/src/views/system/mail/log/log.data.ts @@ -21,7 +21,10 @@ const crudSchemas = reactive([ componentProps: { valueFormat: 'YYYY-MM-DD HH:mm:ss', type: 'daterange', - defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] + defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')], + style: { + width: '240px' + } } }, detail: { @@ -36,7 +39,14 @@ const crudSchemas = reactive([ label: '用户编号', field: 'userId', isSearch: true, - isTable: false + isTable: false, + search: { + componentProps: { + style: { + width: '240px' + } + } + } }, { label: '用户类型', @@ -44,7 +54,14 @@ const crudSchemas = reactive([ dictType: DICT_TYPE.USER_TYPE, dictClass: 'number', isSearch: true, - isTable: false + isTable: false, + search: { + componentProps: { + style: { + width: '240px' + } + } + } }, { label: '邮件标题', @@ -65,7 +82,14 @@ const crudSchemas = reactive([ field: 'sendStatus', dictType: DICT_TYPE.SYSTEM_MAIL_SEND_STATUS, dictClass: 'string', - isSearch: true + isSearch: true, + search: { + componentProps: { + style: { + width: '240px' + } + } + } }, { label: '邮箱账号', @@ -79,6 +103,9 @@ const crudSchemas = reactive([ optionsAlias: { labelField: 'mail', valueField: 'id' + }, + style: { + width: '240px' } } } @@ -93,7 +120,14 @@ const crudSchemas = reactive([ { label: '模板编号', field: 'templateId', - isSearch: true + isSearch: true, + search: { + componentProps: { + style: { + width: '240px' + } + } + } }, { label: '模板编码', diff --git a/src/views/system/mail/template/template.data.ts b/src/views/system/mail/template/template.data.ts index e68f875a..c11d5fe9 100644 --- a/src/views/system/mail/template/template.data.ts +++ b/src/views/system/mail/template/template.data.ts @@ -22,12 +22,26 @@ const crudSchemas = reactive([ { label: '模板编码', field: 'code', - isSearch: true + isSearch: true, + search: { + componentProps: { + style: { + width: '240px' + } + } + } }, { label: '模板名称', field: 'name', - isSearch: true + isSearch: true, + search: { + componentProps: { + style: { + width: '240px' + } + } + } }, { label: '模板标题', @@ -59,6 +73,9 @@ const crudSchemas = reactive([ optionsAlias: { labelField: 'mail', valueField: 'id' + }, + style: { + width: '240px' } } }, @@ -82,7 +99,14 @@ const crudSchemas = reactive([ field: 'status', isSearch: true, dictType: DICT_TYPE.COMMON_STATUS, - dictClass: 'number' + dictClass: 'number', + search: { + componentProps: { + style: { + width: '240px' + } + } + } }, { label: '备注', @@ -100,7 +124,10 @@ const crudSchemas = reactive([ componentProps: { valueFormat: 'YYYY-MM-DD HH:mm:ss', type: 'daterange', - defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] + defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')], + style: { + width: '240px' + } } } },