|
@@ -37,6 +37,8 @@ function LayoutDetail(props) {
|
|
|
return permission['func-01-point-works-report-d'];
|
|
|
case 3:
|
|
|
return currentUser.is_accountant || permission['func-01-point-works-report-p-s'];
|
|
|
+ case 4:
|
|
|
+ return permission['func-01-point-bom-flow'];
|
|
|
}
|
|
|
};
|
|
|
return (
|
|
@@ -95,9 +97,11 @@ function LayoutDetail(props) {
|
|
|
<Menu.Item key="/home">
|
|
|
<Link to="/home">采购清单</Link>
|
|
|
</Menu.Item>
|
|
|
- <Menu.Item key="/home/flow-list">
|
|
|
- <Link to="/home/flow-list">流程图</Link>
|
|
|
- </Menu.Item>
|
|
|
+ {checkReport(4) && (
|
|
|
+ <Menu.Item key="/home/flow-list">
|
|
|
+ <Link to="/home/flow-list">流程图</Link>
|
|
|
+ </Menu.Item>
|
|
|
+ )}
|
|
|
</Menu>
|
|
|
</div>
|
|
|
<RightContent />
|