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
92fe34ce
authored
Feb 22, 2025
by
YunaiV
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【代码评审】BPM:删除表单数据触发器
parent
bfe43369
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
src/components/SimpleProcessDesignerV2/src/nodes-config/TriggerNodeConfig.vue
+9
-2
No files found.
src/components/SimpleProcessDesignerV2/src/nodes-config/TriggerNodeConfig.vue
View file @
92fe34ce
...
@@ -392,7 +392,10 @@ const changeTriggerType = () => {
...
@@ -392,7 +392,10 @@ const changeTriggerType = () => {
response
:
[]
response
:
[]
}
}
configForm
.
value
.
formSettings
=
undefined
configForm
.
value
.
formSettings
=
undefined
}
else
if
(
configForm
.
value
.
type
===
TriggerTypeEnum
.
FORM_UPDATE
)
{
return
}
if
(
configForm
.
value
.
type
===
TriggerTypeEnum
.
FORM_UPDATE
)
{
configForm
.
value
.
formSettings
=
configForm
.
value
.
formSettings
=
originalSetting
?.
type
===
TriggerTypeEnum
.
FORM_UPDATE
&&
originalSetting
.
formSettings
originalSetting
?.
type
===
TriggerTypeEnum
.
FORM_UPDATE
&&
originalSetting
.
formSettings
?
originalSetting
.
formSettings
?
originalSetting
.
formSettings
...
@@ -404,7 +407,10 @@ const changeTriggerType = () => {
...
@@ -404,7 +407,10 @@ const changeTriggerType = () => {
}
}
]
]
configForm
.
value
.
httpRequestSetting
=
undefined
configForm
.
value
.
httpRequestSetting
=
undefined
}
else
if
(
configForm
.
value
.
type
===
TriggerTypeEnum
.
FORM_DELETE
)
{
return
}
if
(
configForm
.
value
.
type
===
TriggerTypeEnum
.
FORM_DELETE
)
{
console
.
log
(
'originalSetting?.type'
,
originalSetting
?.
type
)
console
.
log
(
'originalSetting?.type'
,
originalSetting
?.
type
)
configForm
.
value
.
formSettings
=
configForm
.
value
.
formSettings
=
originalSetting
?.
type
===
TriggerTypeEnum
.
FORM_DELETE
&&
originalSetting
.
formSettings
originalSetting
?.
type
===
TriggerTypeEnum
.
FORM_DELETE
&&
originalSetting
.
formSettings
...
@@ -417,6 +423,7 @@ const changeTriggerType = () => {
...
@@ -417,6 +423,7 @@ const changeTriggerType = () => {
}
}
]
]
configForm
.
value
.
httpRequestSetting
=
undefined
configForm
.
value
.
httpRequestSetting
=
undefined
return
}
}
}
}
...
...
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