mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-09 10:56:46 +08:00
-- 路径带出组织
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user