提交 | 用户 | 时间
|
3e359e
|
1 |
<template> |
H |
2 |
<ContentWrap :bodyStyle="{ padding: '20px 16px' }"> |
|
3 |
<SimpleProcessDesigner :model-id="modelId" @success="close" /> |
|
4 |
</ContentWrap> |
|
5 |
</template> |
|
6 |
<script setup lang="ts"> |
|
7 |
import { SimpleProcessDesigner } from '@/components/SimpleProcessDesignerV2/src/' |
|
8 |
|
|
9 |
defineOptions({ |
|
10 |
name: 'SimpleModelDesign' |
|
11 |
}) |
|
12 |
const router = useRouter() // 路由 |
|
13 |
const { query } = useRoute() // 路由的查询 |
|
14 |
const modelId = query.modelId as string |
|
15 |
const close = () => { |
|
16 |
router.push({ path: '/bpm/manager/model' }) |
|
17 |
} |
|
18 |
</script> |
|
19 |
<style lang="scss" scoped></style> |