diff --git a/platform-code/src/pages/tech/login/index.tsx b/platform-code/src/pages/tech/login/index.tsx index ad54197..94887fa 100644 --- a/platform-code/src/pages/tech/login/index.tsx +++ b/platform-code/src/pages/tech/login/index.tsx @@ -74,7 +74,22 @@ const TechLoginView = () => { } } - history.push(`/animate?url=${encodeURIComponent(jumpTo)}`) + // history.push(`/animate?url=${encodeURIComponent(jumpTo)}`) + let obj = { + OperateUser: loginId || "未登录", + Operate: `${loginId}登陆了工艺数据管理子系统` + } + + const options = { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + body: JSON.stringify(obj), + }; + + + fetch('/Personnel/Personnelapi/LogRecording', options) } const isUrl = (addr: any) => {