Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
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
TFMOM
TF-MOM-WEB
Commits
c5878f7c
Commit
c5878f7c
authored
Jan 12, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合并产品【9229】权限组分配用户页签,选择了组织,权限分配时只是分配给所选组织,没有分配给子组织
parent
2b6e7e47
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
AssignPermissions.vue
...s/dee-perm/src/views/roleManagement/AssignPermissions.vue
+13
-4
No files found.
applications/dee-perm/src/views/roleManagement/AssignPermissions.vue
View file @
c5878f7c
...
...
@@ -26,7 +26,7 @@
<el-form
ref=
"newForm1"
:model=
"form1"
label-width=
"1
0
0px"
label-width=
"1
2
0px"
>
<el-form-item
label=
"选择组:"
>
<OrgLazyLoadSelect
...
...
@@ -37,6 +37,9 @@
style=
"width: 100%;"
/>
</el-form-item>
<el-form-item
label=
"包含子组织用户:"
>
<el-checkbox
v-model=
"cascadeSubOrg"
/>
</el-form-item>
<el-form-item
label=
"选择群组:"
>
<dee-group
v-model=
"userGroupcheckeds"
...
...
@@ -46,6 +49,9 @@
style=
"width: 100%;"
/>
</el-form-item>
<el-form-item
label=
"包含子群组用户:"
>
<el-checkbox
v-model=
"cascadeSubGroup"
/>
</el-form-item>
<el-form-item
label=
"选择用户:"
>
<el-select
v-model=
"users"
...
...
@@ -292,11 +298,13 @@ export default {
grouBlen
:
false
,
// groups: [],
groupcheckeds
:
[],
cascadeSubOrg
:
false
,
currentRow
:
{},
groupRemoteOptions
:
[],
reGroupRemoteOptions
:
[],
reUserGroupRemoteOptions
:
[],
userGroupcheckeds
:
[],
cascadeSubGroup
:
false
,
// 授权部门
authOrgIds
:
[],
authOrgVisible
:
false
,
...
...
@@ -1448,7 +1456,8 @@ export default {
roleId
:
this
.
userInfo
.
id
,
userGroupId
:
m
.
id
,
userGroupType
:
'GROUP'
,
name
:
m
.
name
name
:
m
.
name
,
cascadeSubOrg
:
this
.
cascadeSubOrg
})
})
this
.
userGroupcheckeds
.
forEach
(
m
=>
{
...
...
@@ -1456,10 +1465,10 @@ export default {
roleId
:
this
.
userInfo
.
id
,
userGroupId
:
m
.
id
,
userGroupType
:
'TEAM'
,
name
:
m
.
name
name
:
m
.
name
,
cascadeSubGroup
:
this
.
cascadeSubGroup
})
})
console
.
log
(
this
.
users
)
this
.
users
.
forEach
(
el
=>
{
userGroups
.
push
({
userGroupType
:
'USER'
,
...
...
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