Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
Project
Project
Details
Activity
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
shenshaokai
jinfa-admin
Commits
ed4544d0
Commit
ed4544d0
authored
Oct 23, 2020
by
前端-许佳敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:用户管理-权限控制
parent
b879f033
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
5 deletions
+23
-5
index.ts
src/pages/authConfig/userSystem/schema/index.ts
+23
-5
No files found.
src/pages/authConfig/userSystem/schema/index.ts
View file @
ed4544d0
...
...
@@ -61,12 +61,17 @@ export const UserDetailSchema:ISchema = {
required
:
true
,
properties
:
{
countryCode
:
{
required
:
true
,
type
:
'string'
,
enum
:
[
'+86'
],
"x-mega-props"
:
{
wrapperCol
:
24
},
"x-rules"
:
[
{
required
:
true
,
message
:
'请选择'
},
],
"x-component-props"
:
{
flexcol
:
{
span
:
6
...
...
@@ -75,13 +80,16 @@ export const UserDetailSchema:ISchema = {
},
phone
:
{
type
:
'number'
,
required
:
true
,
"x-mega-props"
:
{
wrapperCol
:
24
,
full
:
true
},
"x-rules"
:
[
{
required
:
true
,
message
:
'请输入手机号'
},
{
pattern
:
PATTERN_MAPS
.
phone
,
message
:
'请输入正确的手机号'
}
...
...
@@ -127,25 +135,35 @@ export const UserDetailSchema:ISchema = {
orgName
:
{
type
:
'string'
,
title
:
'所属组织机构'
,
required
:
true
,
'x-component-props'
:
{
disabled
:
true
,
addonAfter
:
"{{connectCategory}}"
},
"x-rules"
:
[
{
required
:
true
,
message
:
'请关联组织机构'
}
]
},
orgId
:
{
type
:
'string'
,
visible
:
false
},
memberRoleIds
:
{
required
:
true
,
type
:
'array:string'
,
"x-component"
:
'tableTagList'
,
"x-component-props"
:
{
extra
:
"{{addRoles}}"
,
callback
:
"{{callback}}"
},
title
:
'关联角色'
title
:
'关联角色'
,
"x-rules"
:
[
{
required
:
true
,
message
:
'请选择关联角色'
}
]
},
}
...
...
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