From e5aa8e23babad6de16c18e26c208b36a3baee829 Mon Sep 17 00:00:00 2001 From: wuzuowei Date: Fri, 19 Jul 2024 18:27:06 +0800 Subject: [PATCH] =?UTF-8?q?=E7=99=BB=E5=BD=95=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platform-code/src/pages/tech/login/index.tsx | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) 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) => {