mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-21 00:36:46 +08:00
修改页面显示
This commit is contained in:
12
src/main.js
12
src/main.js
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user