diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue
index dfb5ad4..9a1730c 100644
--- a/src/components/Sidebar.vue
+++ b/src/components/Sidebar.vue
@@ -115,14 +115,14 @@ export default {
index: "/userManagement",
title: "用户管理",
},
- {
- index: "/roleManagement",
- title: "角色管理",
- },
- {
- index: "/menuManagement",
- title: "菜单功能管理",
- },
+ // {
+ // index: "/roleManagement",
+ // title: "角色管理",
+ // },
+ // {
+ // index: "/menuManagement",
+ // title: "菜单功能管理",
+ // },
{
index: "/deviceUpgrade",
title: "升级管理",
@@ -324,7 +324,7 @@ export default {
} else if (this.role == 4) {
this.items = this.hnjcitems;
}
- this.activeIndex = this.items[0].index;
+ //this.activeIndex = this.items[0].index;
console.log(this.items);
console.log(this.activeIndex);
},
diff --git a/src/views/system/user/components/addUser.vue b/src/views/system/user/components/addUser.vue
index a52a067..7cdaf8b 100644
--- a/src/views/system/user/components/addUser.vue
+++ b/src/views/system/user/components/addUser.vue
@@ -106,14 +106,14 @@ export default {
this.formdata = JSON.parse(JSON.stringify(val));
},
//获取角色列表
- getRoleListAll() {
- getRoleList()
- .then((res) => {
- console.log("获取角色列表", res.data);
- this.roleoptions = res.data.filter((role) => role.id !== 0);
- })
- .catch((err) => {});
- },
+ // getRoleListAll() {
+ // getRoleList()
+ // .then((res) => {
+ // console.log("获取角色列表", res.data);
+ // this.roleoptions = res.data.filter((role) => role.id !== 0);
+ // })
+ // .catch((err) => {});
+ // },
// getRoleListAll() {
// getRoleList()
// .then((res) => {
@@ -163,7 +163,7 @@ export default {
display() {
this.isShow = true;
this.roleUser = localStorage.getItem("role");
- this.getRoleListAll();
+ //this.getRoleListAll();
},
hide() {
this.isShow = false;
diff --git a/src/views/system/user/userManagement.vue b/src/views/system/user/userManagement.vue
index d2c4750..6c8b41d 100644
--- a/src/views/system/user/userManagement.vue
+++ b/src/views/system/user/userManagement.vue
@@ -32,12 +32,12 @@
{{ scope.row.roleName }}
-->
-
+