Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
273ae198
authored
Aug 21, 2024
by
preschooler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix:修复邮件模块搜索栏元素宽度
parent
a4d19cc0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
86 additions
and
11 deletions
+86
-11
src/views/system/mail/account/account.data.ts
+16
-2
src/views/system/mail/log/log.data.ts
+39
-5
src/views/system/mail/template/template.data.ts
+31
-4
No files found.
src/views/system/mail/account/account.data.ts
View file @
273ae198
...
...
@@ -25,12 +25,26 @@ const crudSchemas = reactive<CrudSchema[]>([
{
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
:
'密码'
,
...
...
src/views/system/mail/log/log.data.ts
View file @
273ae198
...
...
@@ -21,7 +21,10 @@ const crudSchemas = reactive<CrudSchema[]>([
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<CrudSchema[]>([
label
:
'用户编号'
,
field
:
'userId'
,
isSearch
:
true
,
isTable
:
false
isTable
:
false
,
search
:
{
componentProps
:
{
style
:
{
width
:
'240px'
}
}
}
},
{
label
:
'用户类型'
,
...
...
@@ -44,7 +54,14 @@ const crudSchemas = reactive<CrudSchema[]>([
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<CrudSchema[]>([
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<CrudSchema[]>([
optionsAlias
:
{
labelField
:
'mail'
,
valueField
:
'id'
},
style
:
{
width
:
'240px'
}
}
}
...
...
@@ -93,7 +120,14 @@ const crudSchemas = reactive<CrudSchema[]>([
{
label
:
'模板编号'
,
field
:
'templateId'
,
isSearch
:
true
isSearch
:
true
,
search
:
{
componentProps
:
{
style
:
{
width
:
'240px'
}
}
}
},
{
label
:
'模板编码'
,
...
...
src/views/system/mail/template/template.data.ts
View file @
273ae198
...
...
@@ -22,12 +22,26 @@ const crudSchemas = reactive<CrudSchema[]>([
{
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<CrudSchema[]>([
optionsAlias
:
{
labelField
:
'mail'
,
valueField
:
'id'
},
style
:
{
width
:
'240px'
}
}
},
...
...
@@ -82,7 +99,14 @@ const crudSchemas = reactive<CrudSchema[]>([
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<CrudSchema[]>([
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'
}
}
}
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment