From 195476d4d64bc404626807be868d9758b49f6a8d Mon Sep 17 00:00:00 2001 From: pengm <674192343@qq.com> Date: Tue, 9 Sep 2025 15:26:59 +0800 Subject: [PATCH] 1.MES去掉模块 --- src/mes/common/buttonComponent/index.js | 10 ++++++---- src/mes/login/index.js | 2 +- src/mes/scheduledTasks/machineTasks/index.js | 18 +++++++++--------- src/mes/teamInfo/index.js | 26 +++++++++++++------------- 4 files changed, 29 insertions(+), 27 deletions(-) diff --git a/src/mes/common/buttonComponent/index.js b/src/mes/common/buttonComponent/index.js index 474caf9..9d5e032 100644 --- a/src/mes/common/buttonComponent/index.js +++ b/src/mes/common/buttonComponent/index.js @@ -193,13 +193,13 @@ const ButtonComponent = props => { ["首签样通知", 11], ["异常/协助提报", 12], ["完工清场/确认单据", 13], - ["拆合版", 14], + // ["拆合版", 14], null, null, ["质量巡检", 15], ["班组报工", 16], ["签样/完成", 17], - ["班组交接", 18], + // ["班组交接", 18], ["工单变更信息", 19], ["其它机台日报", 16], null, @@ -212,13 +212,13 @@ const ButtonComponent = props => { ["First Approval Sample Notice", 11], ["Exception/Assistance Reporting", 12], ["Post-Completion Clearance/Confirmation", 13], - ["Plate Splitting/Combining", 14], + // ["Plate Splitting/Combining", 14], null, null, ["Quality Patrol Inspection List", 15], ["Team Production Reporting", 16], ["Sign-off/Completion", 17], - ["Team Handover", 18], + // ["Team Handover", 18], ["Work Order Change Information", 19], ["Other Machine Daily Report", 16], null, @@ -277,6 +277,8 @@ const ButtonComponent = props => { } }); + console.log(',enulist', menuList); + // 点击 diff --git a/src/mes/login/index.js b/src/mes/login/index.js index 1ccf304..fe355cd 100644 --- a/src/mes/login/index.js +++ b/src/mes/login/index.js @@ -425,7 +425,7 @@ const login = baseProps => { const props = useLoginEvent(useCommonBase(baseProps)); const { configs , app, companys } = props; const sysObj = commonUtils.isNotEmptyArr(companys) ? companys[0] : []; - console.log('222', sysObj); + const sLanguage = sysObj?.sLanguage || 'sEnglish'; const oeeTitle = diff --git a/src/mes/scheduledTasks/machineTasks/index.js b/src/mes/scheduledTasks/machineTasks/index.js index 37e6a11..f95c40a 100644 --- a/src/mes/scheduledTasks/machineTasks/index.js +++ b/src/mes/scheduledTasks/machineTasks/index.js @@ -1042,15 +1042,15 @@ backgroundColor: "#FF6600" } }, - { - key: "2-4", - label: {FSMaintenance}, - value: { - conent2: FSMaintenance, - backgroundColor: "#FF6600", - fontSize: 130 - } - }, + // { + // key: "2-4", + // label: {FSMaintenance}, + // value: { + // conent2: FSMaintenance, + // backgroundColor: "#FF6600", + // fontSize: 130 + // } + // }, { key: "2-5", label: {annualMaintenance}, diff --git a/src/mes/teamInfo/index.js b/src/mes/teamInfo/index.js index 9338024..7d50830 100644 --- a/src/mes/teamInfo/index.js +++ b/src/mes/teamInfo/index.js @@ -698,7 +698,7 @@ const TeamJoinInfo = props => { const joinInfoTableData = commonUtils .filteredArr( props.formData?.map((e, i) => { - if (i >= 3 && i <= 5) { + if (i >= 3 && i <= 4) { return { showName: e.showName, tableName: e.sGrd }; } }) @@ -712,7 +712,7 @@ const TeamJoinInfo = props => { onChange: () => {} }, onTableBtnClick: props.onTableBtnClick, - fixedHeight: tableName === "slave4" ? "230px" : "160px" + fixedHeight: tableName === "slave4" ? "400px" : "160px" }; result.tableBtnsConfig = result.config?.gdsconfigformslave @@ -743,17 +743,17 @@ const TeamJoinInfo = props => { - - {joinInfoData?.map((item, i) => ( -
-

{item.showName}

-
- {slave1Data.length > 0 ? slave1Data[0][item.sName] : ""} -
-
- ))} - - + {/**/} + {/* {joinInfoData?.map((item, i) => (*/} + {/*
*/} + {/*

{item.showName}

*/} + {/*
*/} + {/* {slave1Data.length > 0 ? slave1Data[0][item.sName] : ""}*/} + {/*
*/} + {/*
*/} + {/* ))}*/} + {/**/} + {joinInfoTableData?.map((item, i) => (

{item.showName}

-- libgit2 0.22.2