-- 路径带出组织

This commit is contained in:
yuping
2022-12-10 22:01:43 +08:00
parent b64e7abcec
commit 9ca13cda76
2 changed files with 4 additions and 3 deletions

View File

@@ -86,7 +86,7 @@ export default defineComponent({
async function getUserInfo() {
const userInfo = await api2.userInfo();
store.commit("SET_USER", userInfo);
store.commit("SET_USER", userInfo.data.data);
}
async function initDict(key, localStory = false) {

View File

@@ -834,12 +834,13 @@ export default {
console.log("e", e, a);
};
const handleOut = () => {
console.log(store.state)
// console.log("打开创建路径弹窗");
state.pathName = "";
state.pathBg = "";
state.pathBgId = "";
state.organizationSelectName = null;
state.organizationSelectId = null;
state.organizationSelectName = store.state.userInfo.departId;
state.organizationSelectId = store.state.userInfo.departName;
state.pathIntro = "";
state.out = !state.out;
};