Commit 31a0e9e8 by Lesan

Merge remote-tracking branch 'yudao/feature/bpm' into feature/bpm-子流程

parents 9c9f09fb a061265d
......@@ -757,9 +757,17 @@ export enum TriggerTypeEnum {
*/
HTTP_REQUEST = 1,
/**
* 流程表单更新触发器
* 表单数据更新触发器
*/
FORM_UPDATE = 2
FORM_UPDATE = 2,
/**
* 表单数据删除触发器
*/
FORM_DELETE = 3,
/**
* 发起异步 HTTP 请求
*/
ASYNC_HTTP_REQUEST = 4
}
/**
......@@ -786,13 +794,17 @@ export type FormTriggerSetting = {
conditionExpression?: string
// 条件组
conditionGroups?: ConditionGroup
// 更新表单字段
updateFormFields?: Record<string, any>
// 更新表单字段配置
updateFormFields?: Record<string, any>,
// 删除表单字段配置
deleteFields?: string[]
}
export const TRIGGER_TYPES: DictDataVO[] = [
{ label: 'HTTP 请求', value: TriggerTypeEnum.HTTP_REQUEST },
{ label: '修改表单数据', value: TriggerTypeEnum.FORM_UPDATE }
{ label: '异步 HTTP 请求', value: TriggerTypeEnum.ASYNC_HTTP_REQUEST },
{ label: '修改表单数据', value: TriggerTypeEnum.FORM_UPDATE },
{ label: '删除表单数据', value: TriggerTypeEnum.FORM_DELETE }
]
/**
......
<!-- TODO @jason:有可能,它里面套 Condition 么? -->
<!-- TODO @jason:有可能,它里面套 Condition 么? -->
<!-- TODO 怕影响其它节点功能,后面看看如何如何复用 Condtion -->
<template>
<Dialog v-model="dialogVisible" title="条件配置" width="600px" :fullscreen="false">
<div class="h-410px">
......
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