Commit 88356c7b by jason

仿钉钉设计器- 节点增加校验逻辑

parent ea1e51a6
......@@ -81,15 +81,16 @@ const addNode = (type: number) => {
type: NodeType.USER_TASK_NODE,
approveMethod: ApproveMethodType.RRANDOM_SELECT_ONE_APPROVE,
candidateStrategy: CandidateStrategy.USER,
candidateParam: undefined,
fieldsPermission: undefined,
// candidateParam: undefined,
// fieldsPermission: undefined,
// 超时处理
timeoutHandler: {
enable: false
},
rejectHandler: {
type: RejectHandlerType.FINISH_PROCESS
},
timeoutHandler: {
enable: false
},
childNode: props.childNode
// 审批节点配置
// attributes: {
......@@ -114,12 +115,15 @@ const addNode = (type: number) => {
name: NODE_DEFAULT_NAME.get(NodeType.COPY_TASK_NODE) as string,
showText: '',
type: NodeType.COPY_TASK_NODE,
candidateStrategy: CandidateStrategy.USER,
candidateParam: undefined,
fieldsPermission: undefined,
// 审批节点配置
attributes: {
candidateStrategy: CandidateStrategy.USER,
candidateParam: undefined,
fieldsPermission: undefined
},
// attributes: {
// candidateStrategy: CandidateStrategy.USER,
// candidateParam: undefined,
// fieldsPermission: undefined
// },
childNode: props.childNode
}
emits('update:childNode', data)
......
......@@ -181,7 +181,7 @@ export type SimpleFlowNode = {
// 多人审批方式
approveMethod?: ApproveMethodType
//通过比例
approveRatio: number
approveRatio?: number
// 表单权限
fieldsPermission?: any[]
// 审批任务超时处理
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment