From 44a51b1f6f474d6880328125ab088ad96666570d Mon Sep 17 00:00:00 2001 From: wuzuowei Date: Thu, 18 Jul 2024 18:40:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=99=BB=E5=BD=95=E6=97=A5?= =?UTF-8?q?=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- platform-code/src/microhost/system/runtimes/user.ts | 10 +++++----- platform-code/src/pages/tech/login/Senselesslogin.tsx | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/platform-code/src/microhost/system/runtimes/user.ts b/platform-code/src/microhost/system/runtimes/user.ts index 4e177b2..c4643b5 100644 --- a/platform-code/src/microhost/system/runtimes/user.ts +++ b/platform-code/src/microhost/system/runtimes/user.ts @@ -160,11 +160,11 @@ export default class RuntimeUser { , userData?.Name , userData?.OrganName) await MicroApps.GetRuntimeLogger().success(Log.Login, loginId) - // let obj = { - // OperateUser: loginId || "未登录", - // Operate: `${loginId}登陆了工艺数据管理子系统` - // } - // await this.model.setlog(obj) + let obj = { + OperateUser: loginId || "未登录", + Operate: `${loginId}登陆了工艺数据管理子系统` + } + await this.model.setlog(obj) return true } } diff --git a/platform-code/src/pages/tech/login/Senselesslogin.tsx b/platform-code/src/pages/tech/login/Senselesslogin.tsx index 761244c..acee651 100644 --- a/platform-code/src/pages/tech/login/Senselesslogin.tsx +++ b/platform-code/src/pages/tech/login/Senselesslogin.tsx @@ -116,11 +116,11 @@ const TechLoginView = () => { history.push(`/animate?url=${encodeURIComponent(jumpTo)}`) - let obj = { - OperateUser: loginId || "未登录", - Operate: `${loginId}登陆了工艺数据管理子系统` - } - request.post('/Personnel/Personnelapi/LogRecording', obj) + // let obj = { + // OperateUser: loginId || "未登录", + // Operate: `${loginId}登陆了工艺数据管理子系统` + // } + // request.post('/Personnel/Personnelapi/LogRecording', obj) if (pathValue == "notice") { sessionStorage.setItem("notice", encodeURIComponent(JSON.stringify(pathValue)))