|
|
@ -25,9 +25,7 @@ const TechLoginView = () => {
|
|
|
|
current(paramValue);
|
|
|
|
current(paramValue);
|
|
|
|
|
|
|
|
|
|
|
|
}, [])
|
|
|
|
}, [])
|
|
|
|
const getLog = async (obj: any) => {
|
|
|
|
|
|
|
|
await request.post('/Personnel/Personnelapi/LogRecording', obj)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
const current = (date: string) => {
|
|
|
|
const current = (date: string) => {
|
|
|
|
|
|
|
|
|
|
|
|
// console.log("date", date)
|
|
|
|
// console.log("date", date)
|
|
|
@ -52,11 +50,7 @@ const TechLoginView = () => {
|
|
|
|
utils.saveCookie('CZtoken', paramValue, month)
|
|
|
|
utils.saveCookie('CZtoken', paramValue, month)
|
|
|
|
utils.saveCookie('loginName', data.loginName, month)
|
|
|
|
utils.saveCookie('loginName', data.loginName, month)
|
|
|
|
doLogin(data.loginName);
|
|
|
|
doLogin(data.loginName);
|
|
|
|
let obj = {
|
|
|
|
|
|
|
|
OperateUser: data.loginName || "未登录",
|
|
|
|
|
|
|
|
Operate: `${data.loginName}登陆了工艺数据管理子系统`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
getLog(obj)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
message.error('获取财智系统用户信息报错!');
|
|
|
|
message.error('获取财智系统用户信息报错!');
|
|
|
|