Skip to content

Commit 410c3bc

Browse files
committed
【功能修改】工作流:仿钉钉模式,默认任务的权限都开启
1 parent d6e89db commit 410c3bc

File tree

1 file changed

+4
-5
lines changed
  • src/components/SimpleProcessDesignerV2/src

1 file changed

+4
-5
lines changed

src/components/SimpleProcessDesignerV2/src/consts.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ export interface SimpleFlowNode {
9696
conditionGroups?: ConditionGroup
9797
// 是否默认的条件
9898
defaultFlow?: boolean
99-
10099
}
101100
// 候选人策略枚举 ( 用于审批节点。抄送节点 )
102101
export enum CandidateStrategy {
@@ -514,10 +513,10 @@ OPERATION_BUTTON_NAME.set(OperationButtonType.COPY, '抄送')
514513
export const DEFAULT_BUTTON_SETTING: ButtonSetting[] = [
515514
{ id: OperationButtonType.APPROVE, displayName: '通过', enable: true },
516515
{ id: OperationButtonType.REJECT, displayName: '拒绝', enable: true },
517-
{ id: OperationButtonType.TRANSFER, displayName: '转办', enable: false },
518-
{ id: OperationButtonType.DELEGATE, displayName: '委派', enable: false },
519-
{ id: OperationButtonType.ADD_SIGN, displayName: '加签', enable: false },
520-
{ id: OperationButtonType.RETURN, displayName: '回退', enable: false }
516+
{ id: OperationButtonType.TRANSFER, displayName: '转办', enable: true },
517+
{ id: OperationButtonType.DELEGATE, displayName: '委派', enable: true },
518+
{ id: OperationButtonType.ADD_SIGN, displayName: '加签', enable: true },
519+
{ id: OperationButtonType.RETURN, displayName: '回退', enable: true }
521520
]
522521

523522
// 发起人的按钮权限。暂时定死,不可以编辑

0 commit comments

Comments
 (0)