diff --git a/src/views/admin/role/index.vue b/src/views/admin/role/index.vue index 9157599..1fa021d 100644 --- a/src/views/admin/role/index.vue +++ b/src/views/admin/role/index.vue @@ -102,8 +102,8 @@ - - + + diff --git a/src/views/admin/user/index.vue b/src/views/admin/user/index.vue index 8851c43..1b5b6ca 100644 --- a/src/views/admin/user/index.vue +++ b/src/views/admin/user/index.vue @@ -119,14 +119,15 @@ - + - - + + @@ -1253,9 +1254,9 @@ export default { // this.userDeptTree()// 获取部门树 this.deptGetOrgList(); //获取公司列表 this.getAgentList(); //获取代理商列表 - this.userDict( + this.userDict( { - dictKey: localStorage.getItem("orgType"), + dictKey: localStorage.getItem('orgType'), dictType: 3, }, "userRoleList" @@ -1983,6 +1984,15 @@ export default { this.passwordForm.userId = row.userId; this.passwordVisible = true; }, + queryOrgTypeChange(e){ + this.userDict( + { + dictKey: e, + dictType: 3, + }, + "userRoleList" + ); + }, editpwd() { // console.log(this.passwordForm); // return