feat: 流程模型新增/修改页面-优化路由配置、新增修改分为两个并全部使用name进行跳转,每个步骤拆分出一个子组件
This commit is contained in:
@ -126,9 +126,12 @@ const handleQuery = () => {
|
||||
const formRef = ref()
|
||||
const openForm = (type: string, id?: number) => {
|
||||
if (type === 'create') {
|
||||
push('/bpm/manager/model/create-update')
|
||||
push({ name: 'BpmModelCreate' })
|
||||
} else {
|
||||
push(`/bpm/manager/model/create-update?id=${id}`)
|
||||
push({
|
||||
name: 'BpmModelUpdate',
|
||||
params: { id }
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user