From 8e8475ffdc46df1988b360cad2c2f2ff705f6a0a Mon Sep 17 00:00:00 2001 From: YunaiV Date: Fri, 24 Jan 2025 19:59:02 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BB=A3=E7=A0=81=E8=AF=84=E5=AE=A1?= =?UTF-8?q?=E3=80=91Bpm=EF=BC=9A=E6=9B=B4=E5=A4=9A=E8=AE=BE=E7=BD=AE-?= =?UTF-8?q?=E6=91=98=E8=A6=81=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/SimpleProcessDesignerV2/src/node.ts | 9 +++++---- .../SimpleProcessDesignerV2/src/nodes/DelayTimerNode.vue | 1 - src/views/bpm/task/copy/index.vue | 1 + 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/components/SimpleProcessDesignerV2/src/node.ts b/src/components/SimpleProcessDesignerV2/src/node.ts index 51a956da..ccf8fee8 100644 --- a/src/components/SimpleProcessDesignerV2/src/node.ts +++ b/src/components/SimpleProcessDesignerV2/src/node.ts @@ -16,7 +16,8 @@ import { FieldPermissionType, ListenerParam } from './consts' -import { parseFormFields } from '@/components/FormCreate/src/utils/index' +import { parseFormFields } from '@/components/FormCreate/src/utils' + export function useWatchNode(props: { flowNode: SimpleFlowNode }): Ref { const node = ref(props.flowNode) watch( @@ -46,7 +47,7 @@ export function useFormFieldsPermission(defaultPermission: FieldPermissionType) // 字段权限配置. 需要有 field, title, permissioin 属性 const fieldsPermissionConfig = ref>>([]) - const formType = inject>('formType', ref()) // 表单类型 + const formType = inject>('formType', ref()) // 表单类型 const formFields = inject>('formFields', ref([])) // 流程表单字段 @@ -108,7 +109,7 @@ export function useFormFieldsPermission(defaultPermission: FieldPermissionType) * @description 获取表单的字段 */ export function useFormFields() { - const formFields = inject>('formFields',ref([])) // 流程表单字段 + const formFields = inject>('formFields', ref([])) // 流程表单字段 return parseFormCreateFields(unref(formFields)) } @@ -172,7 +173,7 @@ export function useNodeForm(nodeType: NodeType) { const postOptions = inject>('postList', ref([])) // 岗位列表 const userOptions = inject>('userList', ref([])) // 用户列表 const deptOptions = inject>('deptList', ref([])) // 部门列表 - const userGroupOptions = inject>('userGroupList',ref([])) // 用户组列表 + const userGroupOptions = inject>('userGroupList', ref([])) // 用户组列表 const deptTreeOptions = inject('deptTree', ref()) // 部门树 const formFields = inject>('formFields', ref([])) // 流程表单字段 const configForm = ref() diff --git a/src/components/SimpleProcessDesignerV2/src/nodes/DelayTimerNode.vue b/src/components/SimpleProcessDesignerV2/src/nodes/DelayTimerNode.vue index 7fbad1cd..ad6795aa 100644 --- a/src/components/SimpleProcessDesignerV2/src/nodes/DelayTimerNode.vue +++ b/src/components/SimpleProcessDesignerV2/src/nodes/DelayTimerNode.vue @@ -9,7 +9,6 @@ ]" >
-
+