Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
31a0e9e8
authored
Feb 24, 2025
by
Lesan
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'yudao/feature/bpm' into feature/bpm-子流程
parents
9c9f09fb
a061265d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
6 deletions
+19
-6
src/components/SimpleProcessDesignerV2/src/consts.ts
+17
-5
src/components/SimpleProcessDesignerV2/src/nodes-config/TriggerNodeConfig.vue
+0
-0
src/components/SimpleProcessDesignerV2/src/nodes-config/components/ConditionDialog.vue
+2
-1
No files found.
src/components/SimpleProcessDesignerV2/src/consts.ts
View file @
31a0e9e8
...
@@ -757,9 +757,17 @@ export enum TriggerTypeEnum {
...
@@ -757,9 +757,17 @@ export enum TriggerTypeEnum {
*/
*/
HTTP_REQUEST
=
1
,
HTTP_REQUEST
=
1
,
/**
/**
*
流程表单
更新触发器
*
表单数据
更新触发器
*/
*/
FORM_UPDATE
=
2
FORM_UPDATE
=
2
,
/**
* 表单数据删除触发器
*/
FORM_DELETE
=
3
,
/**
* 发起异步 HTTP 请求
*/
ASYNC_HTTP_REQUEST
=
4
}
}
/**
/**
...
@@ -786,13 +794,17 @@ export type FormTriggerSetting = {
...
@@ -786,13 +794,17 @@ export type FormTriggerSetting = {
conditionExpression
?:
string
conditionExpression
?:
string
// 条件组
// 条件组
conditionGroups
?:
ConditionGroup
conditionGroups
?:
ConditionGroup
// 更新表单字段
// 更新表单字段配置
updateFormFields
?:
Record
<
string
,
any
>
updateFormFields
?:
Record
<
string
,
any
>
,
// 删除表单字段配置
deleteFields
?:
string
[]
}
}
export
const
TRIGGER_TYPES
:
DictDataVO
[]
=
[
export
const
TRIGGER_TYPES
:
DictDataVO
[]
=
[
{
label
:
'HTTP 请求'
,
value
:
TriggerTypeEnum
.
HTTP_REQUEST
},
{
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
}
]
]
/**
/**
...
...
src/components/SimpleProcessDesignerV2/src/nodes-config/TriggerNodeConfig.vue
View file @
31a0e9e8
This diff is collapsed.
Click to expand it.
src/components/SimpleProcessDesignerV2/src/nodes-config/components/ConditionDialog.vue
View file @
31a0e9e8
<!-- TODO @jason:有可能,它里面套 Condition 么? -->
<!-- TODO @jason:有可能,它里面套 Condition 么? -->
<!-- TODO 怕影响其它节点功能,后面看看如何如何复用 Condtion -->
<
template
>
<
template
>
<Dialog
v-model=
"dialogVisible"
title=
"条件配置"
width=
"600px"
:fullscreen=
"false"
>
<Dialog
v-model=
"dialogVisible"
title=
"条件配置"
width=
"600px"
:fullscreen=
"false"
>
<div
class=
"h-410px"
>
<div
class=
"h-410px"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment