Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
c9c3b403
Commit
c9c3b403
authored
Jun 28, 2020
by
张俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分配菜单
parent
12551b25
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/pages/authority/role/addroles.vue
src/pages/authority/role/addroles.vue
+2
-2
No files found.
src/pages/authority/role/addroles.vue
View file @
c9c3b403
...
@@ -114,7 +114,7 @@ export default {
...
@@ -114,7 +114,7 @@ export default {
this
.
set_role
();
this
.
set_role
();
}
else
if
(
this
.
edit_flag
==
3
)
{
}
else
if
(
this
.
edit_flag
==
3
)
{
// this.deal_node(this.permissionData, this.permission_arr);
// this.deal_node(this.permissionData, this.permission_arr);
//
console.log(this.permission_arr, this.service_node);
console
.
log
(
this
.
permission_arr
,
this
.
service_node
);
var
temp
=
this
.
compare_arr
(
this
.
permission_arr
,
this
.
service_node
);
var
temp
=
this
.
compare_arr
(
this
.
permission_arr
,
this
.
service_node
);
var
temp_arr
=
[];
var
temp_arr
=
[];
if
(
temp
[
0
].
length
)
{
if
(
temp
[
0
].
length
)
{
...
@@ -242,7 +242,7 @@ export default {
...
@@ -242,7 +242,7 @@ export default {
var
increase
=
[];
var
increase
=
[];
var
reduce
=
[];
var
reduce
=
[];
arr1
.
forEach
((
e
)
=>
{
arr1
.
forEach
((
e
)
=>
{
nowtemp
[
e
]
=
e
;
nowtemp
[
e
.
menu_id
]
=
e
.
menu_id
;
});
});
arr2
.
forEach
((
e
)
=>
{
arr2
.
forEach
((
e
)
=>
{
oldtemp
[
e
.
menu_id
]
=
e
.
menu_id
;
oldtemp
[
e
.
menu_id
]
=
e
.
menu_id
;
...
...
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