mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-26 08:45:08 +08:00
feat: 流程模型新增/修改/设计合为一个页面基本切换tab逻辑校验与页面样式优化
This commit is contained in:
@ -1,6 +1,11 @@
|
||||
<template>
|
||||
<ContentWrap :bodyStyle="{ padding: '20px 16px' }">
|
||||
<SimpleProcessDesigner :model-id="modelId" @success="handleSuccess" />
|
||||
<SimpleProcessDesigner
|
||||
:model-id="modelId"
|
||||
:model-key="modelKey"
|
||||
:model-name="modelName"
|
||||
@success="handleSuccess"
|
||||
/>
|
||||
</ContentWrap>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
@ -11,14 +16,16 @@ defineOptions({
|
||||
})
|
||||
|
||||
defineProps<{
|
||||
modelId: string
|
||||
modelId?: string
|
||||
modelKey?: string
|
||||
modelName?: string
|
||||
}>()
|
||||
|
||||
const emit = defineEmits(['success'])
|
||||
|
||||
// 修改成功回调
|
||||
const handleSuccess = () => {
|
||||
emit('success')
|
||||
const handleSuccess = (data?: any) => {
|
||||
emit('success', data)
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped></style>
|
||||
|
Reference in New Issue
Block a user