修改页面显示

This commit is contained in:
zhangsir
2024-05-15 11:41:40 +08:00
parent bd9f9d16d8
commit 363ee432fd
4 changed files with 24 additions and 5 deletions

View File

@@ -64,6 +64,18 @@ async function getUserPermission() {
async function getUserInfo() {
const userInfo = await request(USER_INFO);
store.commit("SET_USER", userInfo.data);
axios({
method: "get",
url: "/userbasic/orgHrbp/reportOrgs",
params: {
workNum:userInfo.data.userNo
},
headers: {
"XBOR-Access-token": Cookies.get("token"),
},
}).then(res=>{
store.commit("SET_USER_ORGS", res.data);
})
}
async function initDict(key) {
const list = await getDictList(key);