feat: Simple 流程模型- 发起人节点配置

This commit is contained in:
jason
2025-05-26 14:20:32 +08:00
parent deefea6a18
commit 11f32258e6
7 changed files with 339 additions and 59 deletions

View File

@@ -55,9 +55,9 @@ defineExpose({
<template v-else>
<SimpleModelDesign
v-if="showDesigner"
:model-id="modelData.id"
:model-key="modelData.key"
:model-name="modelData.name"
:model-form-id="modelData.formId"
:model-form-type="modelData.formType"
:start-user-ids="modelData.startUserIds"
:start-dept-ids="modelData.startDeptIds"
@success="handleDesignSuccess"

View File

@@ -7,8 +7,8 @@ import { SimpleProcessDesigner } from '#/components/simple-process-design';
defineOptions({ name: 'SimpleModelDesign' });
defineProps<{
modelId?: string;
modelKey?: string;
modelFormId?: number;
modelFormType?: number;
modelName?: string;
startDeptIds?: number[];
startUserIds?: number[];
@@ -27,9 +27,9 @@ const handleSuccess = (data?: any) => {
<template>
<ContentWrap :body-style="{ padding: '20px 16px' }">
<SimpleProcessDesigner
:model-id="modelId"
:model-key="modelKey"
:model-form-id="modelFormId"
:model-name="modelName"
:model-form-type="modelFormType"
@success="handleSuccess"
:start-user-ids="startUserIds"
:start-dept-ids="startDeptIds"