From 811035f169a5401e8ee1372cc5ea7fcde93de051 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=B5=B7?= <14166000+zhangtonghai@user.noreply.gitee.com> Date: Sun, 29 Sep 2024 09:45:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E6=B5=81=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Lowflow/nodes/Approval/index.ts | 6 ++++ .../Lowflow/penal/ApprovalAttr.vue | 32 ++++++++++++++++++- src/views/baseinfo/clientflowtemplate/api.ts | 9 ++++++ 3 files changed, 46 insertions(+), 1 deletion(-) diff --git a/src/views/baseinfo/clientflowtemplate/Lowflow/nodes/Approval/index.ts b/src/views/baseinfo/clientflowtemplate/Lowflow/nodes/Approval/index.ts index b4409c05..aad1d7e1 100644 --- a/src/views/baseinfo/clientflowtemplate/Lowflow/nodes/Approval/index.ts +++ b/src/views/baseinfo/clientflowtemplate/Lowflow/nodes/Approval/index.ts @@ -10,6 +10,12 @@ export interface ApprovalNode extends FlowNode { roles: string[] // 执行SQL语句 MarkerSQLText: string + // 执行人变更回调地址 + MakerNotifyURL: string + // 回调地址 + CallbackURL: string + // 审批类型 + AuditType: string // 表单内人员 formUser: string // 表单内角色 diff --git a/src/views/baseinfo/clientflowtemplate/Lowflow/penal/ApprovalAttr.vue b/src/views/baseinfo/clientflowtemplate/Lowflow/penal/ApprovalAttr.vue index 6053eede..eeedd0a0 100644 --- a/src/views/baseinfo/clientflowtemplate/Lowflow/penal/ApprovalAttr.vue +++ b/src/views/baseinfo/clientflowtemplate/Lowflow/penal/ApprovalAttr.vue @@ -8,7 +8,7 @@ import { FormProperty } from '/@/baseinfo/flowtemplate/Lowflow/views/index' import UserSelection from '/@/components/UserSelection' import RoleSelection from '/@/components/RoleSelection' - + import { GetTaskTypeConstList } from '../../api' const activeName = ref('properties') export interface ApprovalAttr { @@ -149,6 +149,13 @@ }) } }) + const AuditTypeList = ref([]) + GetTaskTypeConstList().then((res) => { + AuditTypeList.value.splice(0) + res.data.forEach((item) => { + AuditTypeList.value.push(item) + }) + }) watch( () => node.users, (newVal, oldVal) => { @@ -237,6 +244,29 @@ 或签(其中一名审批人通过或驳回即可) + + + + + + + + + + + + +