--demand 添加权限

This commit is contained in:
yuping
2023-02-01 13:25:57 +08:00
parent e8c888e668
commit 55c868231b

View File

@@ -26,7 +26,6 @@ import NavTop from "@/components/NavTop";
import OpenPages from "@/components/OpenPages";
import BreadCrumb from "@/components/BreadCrumb";
import zhCN from "ant-design-vue/es/locale/zh_CN";
import * as api from "./api/index1";
import * as api1 from "@/api/index1";
import * as api2 from "@/api/index";
@@ -61,7 +60,6 @@ function init() {
initDict("projectPic");
initDict("sysType");
getMemberInfo();
getOrgTree();
}
function unloadHandler() {
@@ -105,12 +103,6 @@ async function initDict(key, localStory = false) {
}
const getDictList = (param) => api1.getDictTree({setCode: param,}).then((res) => res.data.data);
//获取组织树
const getOrgTree = () => {
api.getOrgTreeInfo().then((res) => {
store.commit("getOrgtreeList", res.data.data);
});
};
</script>
<style lang="scss">
#app {