fix: [BPM 工作流] Simple 模型创建时不能设置字段权限问题修复

This commit is contained in:
jason
2025-07-22 07:17:20 +08:00
parent 2b44f1d6dc
commit ab8761d44c
4 changed files with 62 additions and 31 deletions

View File

@ -14,9 +14,9 @@
<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

@ -209,15 +209,18 @@ onActivated(() => {
<style lang="scss" scoped>
:deep() {
.el-table--fit .el-table__inner-wrapper:before {
.el-table--fit .el-table__inner-wrapper::before {
height: 0;
}
.el-card {
border-radius: 8px;
}
.el-form--inline .el-form-item {
margin-right: 10px;
}
.el-divider--horizontal {
margin-top: 6px;
}

View File

@ -1,12 +1,11 @@
<template>
<ContentWrap :bodyStyle="{ padding: '20px 16px' }">
<SimpleProcessDesigner
:model-id="modelId"
:model-key="modelKey"
:model-name="modelName"
@success="handleSuccess"
:model-form-id="modelFormId"
:model-form-type="modelFormType"
:start-user-ids="startUserIds"
:start-dept-ids="startDeptIds"
@success="handleSuccess"
ref="designerRef"
/>
</ContentWrap>
@ -19,9 +18,9 @@ defineOptions({
})
defineProps<{
modelId?: string
modelKey?: string
modelName?: string
modelFormId?: number
modelFormType?: number
startUserIds?: number[]
startDeptIds?: number[]
}>()