Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ems3.3
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wuhao
ems3.3
Commits
fc55eba3
Commit
fc55eba3
authored
2 years ago
by
TZW
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
112
parent
3632331c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
56 additions
and
1 deletion
+56
-1
columns.js
src/pages/setting/users/columns.js
+21
-1
columns.js
src/pages/system/field/columns.js
+35
-0
No files found.
src/pages/setting/users/columns.js
View file @
fc55eba3
...
...
@@ -282,12 +282,32 @@ function getcolumns(setDrawer, ifs, formRef) {
placeholder
:
'请选择'
,
showSearch
:
true
,
},
search
:
false
,
},
{
title
:
'状态'
,
// hideInTable: true,
hideInTable
:
true
,
hideInForm
:
true
,
dataIndex
:
'statusName'
,
key
:
'status'
,
valueType
:
'radio'
,
formItemProps
:
{
rules
:
[{
required
:
true
,
message
:
'此项为必填项'
}]
},
options
:
[
{
label
:
'启用'
,
value
:
1
,
},
{
label
:
'禁用'
,
value
:
0
,
},
],
},
{
title
:
'状态'
,
dataIndex
:
'statusName'
,
search
:
false
,
key
:
'status'
,
fieldProps
:
{
disabled
:
true
},
formItemProps
:
{
rules
:
[{
required
:
true
,
message
:
'此项为必填项'
}]
},
valueType
:
'radio'
,
...
...
This diff is collapsed.
Click to expand it.
src/pages/system/field/columns.js
View file @
fc55eba3
...
...
@@ -49,6 +49,41 @@ function getcolumns(ifs) {
],
},
valueType
:
'select'
,
search
:
false
,
options
:
[
{
label
:
'输入框'
,
value
:
'1'
,
},
{
label
:
'下拉单选型'
,
value
:
'2'
,
},
{
label
:
'单选项型'
,
value
:
'3'
,
},
{
label
:
'下拉多选型'
,
value
:
'4'
,
},
],
},
{
title
:
'字段类型'
,
dataIndex
:
'fieldCharName'
,
key
:
'fieldChar'
,
hideInForm
:
true
,
hideInTable
:
true
,
formItemProps
:
{
rules
:
[
{
required
:
true
,
message
:
'此项为必填项'
,
},
],
},
valueType
:
'select'
,
options
:
[
{
label
:
'输入框'
,
...
...
This diff is collapsed.
Click to expand it.
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