mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-13 12:56:45 +08:00
--demand 添加权限
This commit is contained in:
@@ -26,7 +26,6 @@ import NavTop from "@/components/NavTop";
|
|||||||
import OpenPages from "@/components/OpenPages";
|
import OpenPages from "@/components/OpenPages";
|
||||||
import BreadCrumb from "@/components/BreadCrumb";
|
import BreadCrumb from "@/components/BreadCrumb";
|
||||||
import zhCN from "ant-design-vue/es/locale/zh_CN";
|
import zhCN from "ant-design-vue/es/locale/zh_CN";
|
||||||
import * as api from "./api/index1";
|
|
||||||
import * as api1 from "@/api/index1";
|
import * as api1 from "@/api/index1";
|
||||||
import * as api2 from "@/api/index";
|
import * as api2 from "@/api/index";
|
||||||
|
|
||||||
@@ -61,7 +60,6 @@ function init() {
|
|||||||
initDict("projectPic");
|
initDict("projectPic");
|
||||||
initDict("sysType");
|
initDict("sysType");
|
||||||
getMemberInfo();
|
getMemberInfo();
|
||||||
getOrgTree();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function unloadHandler() {
|
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 getDictList = (param) => api1.getDictTree({setCode: param,}).then((res) => res.data.data);
|
||||||
//获取组织树
|
|
||||||
const getOrgTree = () => {
|
|
||||||
api.getOrgTreeInfo().then((res) => {
|
|
||||||
store.commit("getOrgtreeList", res.data.data);
|
|
||||||
});
|
|
||||||
};
|
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
#app {
|
#app {
|
||||||
|
|||||||
Reference in New Issue
Block a user