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
6db5bcfa
Commit
6db5bcfa
authored
Jun 08, 2020
by
张俊
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'zj' into dev
parents
b2364aa9
f9ac3f4d
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
207 additions
and
57 deletions
+207
-57
src/pages/authority/addroles.vue
src/pages/authority/addroles.vue
+25
-14
src/pages/authority/organizationuser.vue
src/pages/authority/organizationuser.vue
+182
-43
No files found.
src/pages/authority/addroles.vue
View file @
6db5bcfa
...
@@ -280,17 +280,13 @@ export default {
...
@@ -280,17 +280,13 @@ export default {
{
max
:
200
,
message
:
"
长度小于200个字符
"
,
trigger
:
"
blur
"
},
{
max
:
200
,
message
:
"
长度小于200个字符
"
,
trigger
:
"
blur
"
},
],
],
},
},
edit_flag
:
0
,
};
};
},
},
watch
:
{},
watch
:
{},
computed
:
{},
computed
:
{},
created
()
{
created
()
{
this
.
now_user
=
this
.
$store
.
state
.
role
;
this
.
get_now_page
()
getRole
().
then
((
data
)
=>
{
this
.
now_user
=
data
;
this
.
$store
.
commit
(
"
rolefun
"
,
data
);
this
.
now_page
();
});
console
.
log
(
this
.
$route
);
console
.
log
(
this
.
$route
);
},
},
mounted
()
{},
mounted
()
{},
...
@@ -306,16 +302,31 @@ export default {
...
@@ -306,16 +302,31 @@ export default {
}
}
});
});
},
},
now_page
()
{
get_now_page
(){
if
(
this
.
$route
.
path
.
indexOf
(
"
edit
"
)
!==
-
1
)
{
console
.
log
(
this
.
$route
);
this
.
getInfo
();
if
(
this
.
$route
.
path
.
indexOf
(
'
add
'
)
!==-
1
){
this
.
edit_flag
=
0
}
if
(
this
.
$route
.
path
.
indexOf
(
'
edit
'
)
!==-
1
){
this
.
edit_flag
=
1
this
.
getInfo
()
}
}
if
(
this
.
$route
.
path
.
indexOf
(
"
allot
"
)
!==
-
1
)
{
if
(
this
.
$route
.
path
.
indexOf
(
'
detail
'
)
!==-
1
){
this
.
getInfo
();
this
.
edit_flag
=
2
this
.
getInfo
()
}
}
},
},
getInfo
()
{
getInfo
()
{
console
.
log
(
"
111
"
);
this
.
$http
.
get
(
`/apaas/backmgt/role/id/
${
this
.
$route
.
params
.
id
}
`
)
.
then
(
response
=>
{
console
.
log
(
response
);
let
data
=
response
.
data
.
data
})
.
catch
((
response
)
=>
{
});
},
},
changePermissions
(
values
)
{
changePermissions
(
values
)
{
console
.
log
(
values
);
console
.
log
(
values
);
...
...
src/pages/authority/organizationuser.vue
View file @
6db5bcfa
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