Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
authority
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4cc488d1
authored
Sep 17, 2018
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改
1 parent
b366bee2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
20 deletions
src/components/UserDetail/src/main.vue
src/views/customer/role/index.vue
src/components/UserDetail/src/main.vue
View file @
4cc488d
...
@@ -90,7 +90,6 @@ export default {
...
@@ -90,7 +90,6 @@ export default {
},
},
callApi
()
{
callApi
()
{
// console.log(this.flag)
this
.
flag
&&
this
.
selectUser
()
this
.
flag
&&
this
.
selectUser
()
!
this
.
flag
&&
this
.
getUserRoles
()
!
this
.
flag
&&
this
.
getUserRoles
()
},
},
...
...
src/views/customer/role/index.vue
View file @
4cc488d
...
@@ -107,7 +107,6 @@ export default {
...
@@ -107,7 +107,6 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
getList
()
this
.
getList
()
// this.selectUser()
},
},
// search--------------------
// search--------------------
// watch: {
// watch: {
...
@@ -163,24 +162,6 @@ export default {
...
@@ -163,24 +162,6 @@ export default {
console
.
log
(
err
)
console
.
log
(
err
)
})
})
},
},
// 获取角色的相关用户详细信息
// selectUser(roleId) {
// // const params = this.getParams()
// const params = {
// pageSize: this.pageSize,
// pageNum: this.pageNum,
// roleName: this.roleName
// // roleId: roleId
// }
// // console.log(params)
// selectUserRoleByRoleId.req(params).then(res => {
// console.log(res)
// // this.total = res.total
// this.resParam = res
// }).catch(err => {
// console.log(err)
// })
// },
// 接口请求-end---------------------------------------
// 接口请求-end---------------------------------------
// 新增用户到页面
// 新增用户到页面
aaaddRole
(
data
)
{
aaaddRole
(
data
)
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment