mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46:45 +08:00
-- 路径带出组织
This commit is contained in:
@@ -86,7 +86,7 @@ export default defineComponent({
|
|||||||
|
|
||||||
async function getUserInfo() {
|
async function getUserInfo() {
|
||||||
const userInfo = await api2.userInfo();
|
const userInfo = await api2.userInfo();
|
||||||
store.commit("SET_USER", userInfo);
|
store.commit("SET_USER", userInfo.data.data);
|
||||||
}
|
}
|
||||||
|
|
||||||
async function initDict(key, localStory = false) {
|
async function initDict(key, localStory = false) {
|
||||||
|
|||||||
@@ -834,12 +834,13 @@ export default {
|
|||||||
console.log("e", e, a);
|
console.log("e", e, a);
|
||||||
};
|
};
|
||||||
const handleOut = () => {
|
const handleOut = () => {
|
||||||
|
console.log(store.state)
|
||||||
// console.log("打开创建路径弹窗");
|
// console.log("打开创建路径弹窗");
|
||||||
state.pathName = "";
|
state.pathName = "";
|
||||||
state.pathBg = "";
|
state.pathBg = "";
|
||||||
state.pathBgId = "";
|
state.pathBgId = "";
|
||||||
state.organizationSelectName = null;
|
state.organizationSelectName = store.state.userInfo.departId;
|
||||||
state.organizationSelectId = null;
|
state.organizationSelectId = store.state.userInfo.departName;
|
||||||
state.pathIntro = "";
|
state.pathIntro = "";
|
||||||
state.out = !state.out;
|
state.out = !state.out;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user