File tree Expand file tree Collapse file tree 3 files changed +86
-11
lines changed Expand file tree Collapse file tree 3 files changed +86
-11
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,26 @@ const crudSchemas = reactive<CrudSchema[]>([
25
25
{
26
26
label : '邮箱' ,
27
27
field : 'mail' ,
28
- isSearch : true
28
+ isSearch : true ,
29
+ search : {
30
+ componentProps : {
31
+ style : {
32
+ width : '240px'
33
+ }
34
+ }
35
+ }
29
36
} ,
30
37
{
31
38
label : '用户名' ,
32
39
field : 'username' ,
33
- isSearch : true
40
+ isSearch : true ,
41
+ search : {
42
+ componentProps : {
43
+ style : {
44
+ width : '240px'
45
+ }
46
+ }
47
+ }
34
48
} ,
35
49
{
36
50
label : '密码' ,
Original file line number Diff line number Diff line change @@ -21,7 +21,10 @@ const crudSchemas = reactive<CrudSchema[]>([
21
21
componentProps : {
22
22
valueFormat : 'YYYY-MM-DD HH:mm:ss' ,
23
23
type : 'daterange' ,
24
- defaultTime : [ new Date ( '1 00:00:00' ) , new Date ( '1 23:59:59' ) ]
24
+ defaultTime : [ new Date ( '1 00:00:00' ) , new Date ( '1 23:59:59' ) ] ,
25
+ style : {
26
+ width : '240px'
27
+ }
25
28
}
26
29
} ,
27
30
detail : {
@@ -36,15 +39,29 @@ const crudSchemas = reactive<CrudSchema[]>([
36
39
label : '用户编号' ,
37
40
field : 'userId' ,
38
41
isSearch : true ,
39
- isTable : false
42
+ isTable : false ,
43
+ search : {
44
+ componentProps : {
45
+ style : {
46
+ width : '240px'
47
+ }
48
+ }
49
+ }
40
50
} ,
41
51
{
42
52
label : '用户类型' ,
43
53
field : 'userType' ,
44
54
dictType : DICT_TYPE . USER_TYPE ,
45
55
dictClass : 'number' ,
46
56
isSearch : true ,
47
- isTable : false
57
+ isTable : false ,
58
+ search : {
59
+ componentProps : {
60
+ style : {
61
+ width : '240px'
62
+ }
63
+ }
64
+ }
48
65
} ,
49
66
{
50
67
label : '邮件标题' ,
@@ -65,7 +82,14 @@ const crudSchemas = reactive<CrudSchema[]>([
65
82
field : 'sendStatus' ,
66
83
dictType : DICT_TYPE . SYSTEM_MAIL_SEND_STATUS ,
67
84
dictClass : 'string' ,
68
- isSearch : true
85
+ isSearch : true ,
86
+ search : {
87
+ componentProps : {
88
+ style : {
89
+ width : '240px'
90
+ }
91
+ }
92
+ }
69
93
} ,
70
94
{
71
95
label : '邮箱账号' ,
@@ -79,6 +103,9 @@ const crudSchemas = reactive<CrudSchema[]>([
79
103
optionsAlias : {
80
104
labelField : 'mail' ,
81
105
valueField : 'id'
106
+ } ,
107
+ style : {
108
+ width : '240px'
82
109
}
83
110
}
84
111
}
@@ -93,7 +120,14 @@ const crudSchemas = reactive<CrudSchema[]>([
93
120
{
94
121
label : '模板编号' ,
95
122
field : 'templateId' ,
96
- isSearch : true
123
+ isSearch : true ,
124
+ search : {
125
+ componentProps : {
126
+ style : {
127
+ width : '240px'
128
+ }
129
+ }
130
+ }
97
131
} ,
98
132
{
99
133
label : '模板编码' ,
Original file line number Diff line number Diff line change @@ -22,12 +22,26 @@ const crudSchemas = reactive<CrudSchema[]>([
22
22
{
23
23
label : '模板编码' ,
24
24
field : 'code' ,
25
- isSearch : true
25
+ isSearch : true ,
26
+ search : {
27
+ componentProps : {
28
+ style : {
29
+ width : '240px'
30
+ }
31
+ }
32
+ }
26
33
} ,
27
34
{
28
35
label : '模板名称' ,
29
36
field : 'name' ,
30
- isSearch : true
37
+ isSearch : true ,
38
+ search : {
39
+ componentProps : {
40
+ style : {
41
+ width : '240px'
42
+ }
43
+ }
44
+ }
31
45
} ,
32
46
{
33
47
label : '模板标题' ,
@@ -59,6 +73,9 @@ const crudSchemas = reactive<CrudSchema[]>([
59
73
optionsAlias : {
60
74
labelField : 'mail' ,
61
75
valueField : 'id'
76
+ } ,
77
+ style : {
78
+ width : '240px'
62
79
}
63
80
}
64
81
} ,
@@ -82,7 +99,14 @@ const crudSchemas = reactive<CrudSchema[]>([
82
99
field : 'status' ,
83
100
isSearch : true ,
84
101
dictType : DICT_TYPE . COMMON_STATUS ,
85
- dictClass : 'number'
102
+ dictClass : 'number' ,
103
+ search : {
104
+ componentProps : {
105
+ style : {
106
+ width : '240px'
107
+ }
108
+ }
109
+ }
86
110
} ,
87
111
{
88
112
label : '备注' ,
@@ -100,7 +124,10 @@ const crudSchemas = reactive<CrudSchema[]>([
100
124
componentProps : {
101
125
valueFormat : 'YYYY-MM-DD HH:mm:ss' ,
102
126
type : 'daterange' ,
103
- defaultTime : [ new Date ( '1 00:00:00' ) , new Date ( '1 23:59:59' ) ]
127
+ defaultTime : [ new Date ( '1 00:00:00' ) , new Date ( '1 23:59:59' ) ] ,
128
+ style : {
129
+ width : '240px'
130
+ }
104
131
}
105
132
}
106
133
} ,
You can’t perform that action at this time.
0 commit comments