Commit 3713862e6c90b2e873ab0aa4e56aa89a6444f928
1 parent
3dec3c47
修改菜单配置;
Showing
1 changed file
with
14 additions
and
17 deletions
src/mes/common/buttonComponent/index.js
| ... | ... | @@ -67,7 +67,7 @@ const ButtonComponent = props => { |
| 67 | 67 | |
| 68 | 68 | // 是否为维修保养模块 |
| 69 | 69 | setProcessReport( |
| 70 | - ["scheduledTasks", "serviceUpkeep"].includes(props.currentContent) | |
| 70 | + ["scheduledTasks", "serviceUpkeep"].includes(props.currentContent) || true | |
| 71 | 71 | ); |
| 72 | 72 | }, |
| 73 | 73 | [JSON.stringify(managementData)] |
| ... | ... | @@ -78,8 +78,8 @@ const ButtonComponent = props => { |
| 78 | 78 | ["历史任务", 6], |
| 79 | 79 | null, |
| 80 | 80 | null, |
| 81 | - // ["标签补打", 2], | |
| 82 | - null, | |
| 81 | + ["标签补打", 2], | |
| 82 | + // null, | |
| 83 | 83 | ["工单信息", 2], |
| 84 | 84 | ["工单在制品清单", 8], |
| 85 | 85 | ["工艺作业指导书", 4], |
| ... | ... | @@ -100,35 +100,32 @@ const ButtonComponent = props => { |
| 100 | 100 | |
| 101 | 101 | const menuOrderList2 = [ |
| 102 | 102 | ["生产执行", 10], |
| 103 | - ["来料检验", 5], | |
| 104 | - // ["首签样通知", 11], | |
| 105 | - ["工艺参数记录", 20], | |
| 103 | + // ["来料检验", 5], | |
| 104 | + ["首签样通知", 11], | |
| 105 | + // ["工艺参数记录", 20], | |
| 106 | 106 | // ["异常/协助提报", 12], |
| 107 | 107 | ["质量检验", 15], |
| 108 | - // ["完工清场/确认单据", 13], | |
| 109 | - ["拆合版", 14], | |
| 110 | - null, | |
| 111 | - null, | |
| 112 | - ["防伪特征确认", 3], | |
| 113 | 108 | ["班组报工", 16], |
| 114 | 109 | ["完工清场/确认", 13], |
| 115 | - ["班组交接", 18], | |
| 116 | - ["工单变更信息", 19], | |
| 110 | + // ["完工清场/确认单据", 13], | |
| 111 | + // ["拆合版", 14], | |
| 112 | + // ["防伪特征确认", 3], | |
| 113 | + // ["班组交接", 18], | |
| 114 | + // ["工单变更信息", 19], | |
| 117 | 115 | // ["签样/完成", 17], |
| 118 | 116 | // ["其它机台日报", 16], |
| 117 | + // ["工艺巡检", 20] | |
| 119 | 118 | null, |
| 120 | 119 | null, |
| 121 | 120 | null, |
| 122 | - null | |
| 123 | - // ["工艺巡检", 20] | |
| 124 | 121 | ]; |
| 125 | 122 | |
| 126 | 123 | const menuOrderList3 = [ |
| 127 | 124 | ["设备保养", 21], |
| 128 | - ["设备润滑", 2], | |
| 125 | + // ["设备润滑", 2], | |
| 129 | 126 | ["设备点检", 22], |
| 130 | 127 | ["设备维修", 23], |
| 131 | - ["设备资料", 24] | |
| 128 | + // ["设备资料", 24] | |
| 132 | 129 | ]; |
| 133 | 130 | |
| 134 | 131 | const menuList = []; | ... | ... |