Commit 4cc488d1 by cwq0219

修改

1 parent b366bee2
...@@ -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()
}, },
......
...@@ -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) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!