From 410c3bc9a7a32fb6340d4665c98983f696344d30 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 19 Oct 2024 18:51:56 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=8A=9F=E8=83=BD=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E3=80=91=E5=B7=A5=E4=BD=9C=E6=B5=81=EF=BC=9A=E4=BB=BF=E9=92=89?= =?UTF-8?q?=E9=92=89=E6=A8=A1=E5=BC=8F=EF=BC=8C=E9=BB=98=E8=AE=A4=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E7=9A=84=E6=9D=83=E9=99=90=E9=83=BD=E5=BC=80=E5=90=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/SimpleProcessDesignerV2/src/consts.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/components/SimpleProcessDesignerV2/src/consts.ts b/src/components/SimpleProcessDesignerV2/src/consts.ts index 61b51704..c51053ce 100644 --- a/src/components/SimpleProcessDesignerV2/src/consts.ts +++ b/src/components/SimpleProcessDesignerV2/src/consts.ts @@ -96,7 +96,6 @@ export interface SimpleFlowNode { conditionGroups?: ConditionGroup // 是否默认的条件 defaultFlow?: boolean - } // 候选人策略枚举 ( 用于审批节点。抄送节点 ) export enum CandidateStrategy { @@ -514,10 +513,10 @@ OPERATION_BUTTON_NAME.set(OperationButtonType.COPY, '抄送') export const DEFAULT_BUTTON_SETTING: ButtonSetting[] = [ { id: OperationButtonType.APPROVE, displayName: '通过', enable: true }, { id: OperationButtonType.REJECT, displayName: '拒绝', enable: true }, - { id: OperationButtonType.TRANSFER, displayName: '转办', enable: false }, - { id: OperationButtonType.DELEGATE, displayName: '委派', enable: false }, - { id: OperationButtonType.ADD_SIGN, displayName: '加签', enable: false }, - { id: OperationButtonType.RETURN, displayName: '回退', enable: false } + { id: OperationButtonType.TRANSFER, displayName: '转办', enable: true }, + { id: OperationButtonType.DELEGATE, displayName: '委派', enable: true }, + { id: OperationButtonType.ADD_SIGN, displayName: '加签', enable: true }, + { id: OperationButtonType.RETURN, displayName: '回退', enable: true } ] // 发起人的按钮权限。暂时定死,不可以编辑