【代码评审】Bpm:新的编辑界面

This commit is contained in:
YunaiV
2024-12-15 17:08:02 +08:00
parent c083a0c986
commit 5e386336b9
5 changed files with 68 additions and 69 deletions

View File

@@ -339,21 +339,7 @@ const handleChangeState = async (row: any) => {
/** 设计流程 */
const handleDesign = (row: any) => {
// if (row.type == BpmModelType.BPMN) {
// push({
// name: 'BpmModelEditor',
// query: {
// modelId: row.id
// }
// })
// } else {
// push({
// name: 'SimpleModelDesign',
// query: {
// modelId: row.id
// }
// })
// }
// TODO @goldenzqqq最好使用 name 哈
push(`/bpm/manager/model/create-update?id=${row.id}`)
}
@@ -497,6 +483,7 @@ const handleDeleteCategory = async () => {
/** 添加流程模型弹窗 */
const modelFormRef = ref()
const openModelForm = (type: string, id?: number) => {
// TODO @goldenzqqq最好使用 name 哈
if (type === 'create') {
push('/bpm/manager/model/create-update')
} else {