From 2311225c38fb90f459b0f17d96603828dc33be23 Mon Sep 17 00:00:00 2001 From: zhangzhen <525765282@qq.com> Date: Tue, 21 Oct 2025 13:26:17 +0800 Subject: [PATCH] 修改班组图片地址; --- src/mes/common/siderInfoComponent/index.js | 6 ++---- src/mes/login/index.js | 13 +++++++------ src/mes/teamInfo/index.js | 11 ++--------- 3 files changed, 11 insertions(+), 19 deletions(-) diff --git a/src/mes/common/siderInfoComponent/index.js b/src/mes/common/siderInfoComponent/index.js index feb333f..707b0e9 100644 --- a/src/mes/common/siderInfoComponent/index.js +++ b/src/mes/common/siderInfoComponent/index.js @@ -771,11 +771,9 @@ const TeamInfoComponent = () => { - {sEmployeeNo ? ( + {props.app.userinfo.sJzPicturePath ? ( { event.target.src = iocnObj.userImg; }} diff --git a/src/mes/login/index.js b/src/mes/login/index.js index 6116b92..fbe2921 100644 --- a/src/mes/login/index.js +++ b/src/mes/login/index.js @@ -179,10 +179,10 @@ const useLoginEvent = props => { message.error("请输入密码!"); return; } - if (sShift === undefined) { - message.error("请选择班次!"); - return; - } + // if (sShift === undefined) { + // message.error("请选择班次!"); + // return; + // } if (!sTeamId) { message.error("请选择班组!"); return; @@ -228,11 +228,12 @@ const useLoginEvent = props => { statusData, managementData, fileData, - bDelayedOvertime + bDelayedOvertime, + sJzPicturePath } = dataReturn.dataset.rows[0]; gdslogininfo.bDelayedOvertime = bDelayedOvertime; - const userinfo = { ...teamInfo, ...gdslogininfo }; + const userinfo = { ...teamInfo, ...gdslogininfo, sJzPicturePath }; const { sTeamShift: sShift1, sShift: sShift2, diff --git a/src/mes/teamInfo/index.js b/src/mes/teamInfo/index.js index f16275e..91703d0 100644 --- a/src/mes/teamInfo/index.js +++ b/src/mes/teamInfo/index.js @@ -545,19 +545,12 @@ const TeamInfo = baseProps => {
- {sTeamEmployeeNo ? ( + {props.app.userinfo.sJzPicturePath ? ( { event.target.src = userImgs; }} - onDoubleClick={event => { - event.target.src = `${ - commonConfig.interface_host - }api/ZEBC_042/11123`; - }} /> ) : ( -- libgit2 0.22.2