Commit e2b7c315 authored by 前端-钟卫鹏's avatar 前端-钟卫鹏

fix: 添加编辑采购流程路由

parent 44d6a3f8
......@@ -62,6 +62,13 @@ const router = {
hidePageHeader: true
},
{
path: '/ruleSettingManager/procurementRules/editRule',
name: 'editProcurementRule',
component: '@/pages/ruleSettingManage/procurementRules/addRule',
hideInMenu: true,
hidePageHeader: true
},
{
path: '/ruleSettingManager/procurementRules/ruleDetails',
name: 'procurementRuleDetails',
component: '@/pages/ruleSettingManage/procurementRules/ruleDetails',
......
......@@ -87,7 +87,7 @@ const ProcurementRules: React.FC<{}> = () => {
>
<Button type='link'>删除</Button>
</Popconfirm>
<Button type='link' onClick={()=>history.push(`/ruleSettingManager/procurementRules/addRule?id=${record.id}`)}>修改</Button>
<Button type='link' onClick={()=>history.push(`/ruleSettingManager/procurementRules/editRule?id=${record.id}`)}>修改</Button>
</> : ''
}
</>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment