From 719ebc9db1900ddee1d56ce9e14ee2a3382add3d Mon Sep 17 00:00:00 2001
From: lancer <1905818361@qq.com>
Date: Thu, 11 Nov 2021 11:56:49 +0800
Subject: [PATCH] init
---
src/views/admin/role/index.vue | 4 ++--
src/views/admin/user/index.vue | 20 +++++++++++++++-----
2 files changed, 17 insertions(+), 7 deletions(-)
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