This commit is contained in:
wangjh12
2025-05-11 10:32:58 +08:00
parent bc33c9c4f1
commit 71fd29a536

View File

@@ -215,7 +215,7 @@ import dayjs from "dayjs";
import {message} from "ant-design-vue";
import Cookies from "vue-cookies";
import {useStore} from "vuex";
import orgjson from './org.json';
// import orgjson from './org.json';
// import fl from './fl.json';
import PostSelectNew from "@/components/growthpath/PostSelect.vue";
import OfficeSelect from "@/components/growthpath/OfficeSelect.vue";
@@ -411,8 +411,8 @@ export default {
}
}
// const res = await api.userGetUserOrg({});
const res = orgjson;
const res = await api.userGetUserOrg({});
// const res = orgjson;
if (res != null && res.data != null && res.data.result != null && res.data.result.orgTreeList != null) {
orgArray = flattenOrgTree(res.data.result.orgTreeList);
}