Commit 0841452d authored by 黄奎's avatar 黄奎

页面修改

parent c3fa7ef6
......@@ -395,13 +395,24 @@
showTwo: false,
defaultActive: '1-1',
currentUser: {},
MenuList: [], //菜单列表
};
},
created() {
this.currentUser = this.getLocalStorage();
console.log(" this.currentUser", this.currentUser);
},
methods: {
//获取菜单列表
getMenuList() {
this.apipost("/api/Tenant/GetMenuList", {}, res => {
console.log(res);
if (res.data.resultCode == 1) {
this.MenuList = res.data.data;
} else {
this.Info(res.data.message);
}
})
},
//点击关闭二级窗口
hideTwo() {
this.showTwo = false;
......@@ -418,7 +429,9 @@
});
}
},
mounted() {}
mounted() {
this.getMenuList();
}
};
</script>
......@@ -215,7 +215,7 @@
},
//恢复菜单
getChildMenuList(MenuLevel) {
this.apipost("/api/Tenant/SetMenuStatus", {
this.apipost("/api/Tenant/GetMenuChildList", {
MenuLevel: MenuLevel,
}, res => {
console.log(res);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment