Commit 531eafb3 by guanzhenshan

增加记录当前用户id,方便前端调用回传到后台

parent ae7a4691
......@@ -204,6 +204,7 @@
$('#user-job').html(result.result.Account);
global_userid = result.result.OaUserId;
global_username = result.result.Account;
localStorage.setItem("uid", result.result.OaUserId)
if (result.result.Department != null) {
$('#user-name').html(result.result.Department.Name);
}
......@@ -217,7 +218,6 @@
}
}
});
}
function getmenu() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment