From 3713862e6c90b2e873ab0aa4e56aa89a6444f928 Mon Sep 17 00:00:00 2001 From: zhangzhen <525765282@qq.com> Date: Mon, 24 Nov 2025 11:43:52 +0800 Subject: [PATCH] 修改菜单配置; --- src/mes/common/buttonComponent/index.js | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/src/mes/common/buttonComponent/index.js b/src/mes/common/buttonComponent/index.js index a8c8a08..dd4b39a 100644 --- a/src/mes/common/buttonComponent/index.js +++ b/src/mes/common/buttonComponent/index.js @@ -67,7 +67,7 @@ const ButtonComponent = props => { // 是否为维修保养模块 setProcessReport( - ["scheduledTasks", "serviceUpkeep"].includes(props.currentContent) + ["scheduledTasks", "serviceUpkeep"].includes(props.currentContent) || true ); }, [JSON.stringify(managementData)] @@ -78,8 +78,8 @@ const ButtonComponent = props => { ["历史任务", 6], null, null, - // ["标签补打", 2], - null, + ["标签补打", 2], + // null, ["工单信息", 2], ["工单在制品清单", 8], ["工艺作业指导书", 4], @@ -100,35 +100,32 @@ const ButtonComponent = props => { const menuOrderList2 = [ ["生产执行", 10], - ["来料检验", 5], - // ["首签样通知", 11], - ["工艺参数记录", 20], + // ["来料检验", 5], + ["首签样通知", 11], + // ["工艺参数记录", 20], // ["异常/协助提报", 12], ["质量检验", 15], - // ["完工清场/确认单据", 13], - ["拆合版", 14], - null, - null, - ["防伪特征确认", 3], ["班组报工", 16], ["完工清场/确认", 13], - ["班组交接", 18], - ["工单变更信息", 19], + // ["完工清场/确认单据", 13], + // ["拆合版", 14], + // ["防伪特征确认", 3], + // ["班组交接", 18], + // ["工单变更信息", 19], // ["签样/完成", 17], // ["其它机台日报", 16], + // ["工艺巡检", 20] null, null, null, - null - // ["工艺巡检", 20] ]; const menuOrderList3 = [ ["设备保养", 21], - ["设备润滑", 2], + // ["设备润滑", 2], ["设备点检", 22], ["设备维修", 23], - ["设备资料", 24] + // ["设备资料", 24] ]; const menuList = []; -- libgit2 0.22.2