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
5c6cd4dd
authored
Mar 15, 2025
by
LesanOuO
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 代码评审修改
parent
f308be80
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
src/views/bpm/model/form/ExtraSettings.vue
+18
-18
No files found.
src/views/bpm/model/form/ExtraSettings.vue
View file @
5c6cd4dd
...
...
@@ -147,16 +147,16 @@
<div
class=
"flex flex-col w-100%"
>
<div
class=
"flex"
>
<el-switch
v-model=
"pr
eProcessNotify
Enable"
v-model=
"pr
ocessBeforeTrigger
Enable"
@
change=
"handlePreProcessNotifyEnableChange"
/>
<div
class=
"ml-80px"
>
流程启动后通知
</div>
</div>
<HttpRequestSetting
v-if=
"pr
eProcessNotify
Enable"
v-model:setting=
"modelData.pr
eProcessNotify
Setting"
v-if=
"pr
ocessBeforeTrigger
Enable"
v-model:setting=
"modelData.pr
ocessBeforeTrigger
Setting"
:responseEnable=
"true"
:formItemPrefix=
"'pr
eProcessNotify
Setting'"
:formItemPrefix=
"'pr
ocessBeforeTrigger
Setting'"
/>
</div>
</el-form-item>
...
...
@@ -167,16 +167,16 @@
<div
class=
"flex flex-col w-100%"
>
<div
class=
"flex"
>
<el-switch
v-model=
"p
ostProcessNotify
Enable"
v-model=
"p
rocessAfterTrigger
Enable"
@
change=
"handlePostProcessNotifyEnableChange"
/>
<div
class=
"ml-80px"
>
流程启动后通知
</div>
</div>
<HttpRequestSetting
v-if=
"p
ostProcessNotify
Enable"
v-model:setting=
"modelData.p
ostProcessNotify
Setting"
v-if=
"p
rocessAfterTrigger
Enable"
v-model:setting=
"modelData.p
rocessAfterTrigger
Setting"
:responseEnable=
"true"
:formItemPrefix=
"'p
ostProcessNotify
Setting'"
:formItemPrefix=
"'p
rocessAfterTrigger
Setting'"
/>
</div>
</el-form-item>
...
...
@@ -247,32 +247,32 @@ const numberExample = computed(() => {
})
/** 是否开启流程前置通知 */
const
pr
eProcessNotify
Enable
=
ref
(
false
)
const
pr
ocessBeforeTrigger
Enable
=
ref
(
false
)
const
handlePreProcessNotifyEnableChange
=
(
val
:
boolean
|
string
|
number
)
=>
{
if
(
val
)
{
modelData
.
value
.
pr
eProcessNotify
Setting
=
{
modelData
.
value
.
pr
ocessBeforeTrigger
Setting
=
{
url
:
''
,
header
:
[],
body
:
[],
response
:
[]
}
}
else
{
modelData
.
value
.
pr
eProcessNotify
Setting
=
null
modelData
.
value
.
pr
ocessBeforeTrigger
Setting
=
null
}
}
/** 是否开启流程后置通知 */
const
p
ostProcessNotify
Enable
=
ref
(
false
)
const
p
rocessAfterTrigger
Enable
=
ref
(
false
)
const
handlePostProcessNotifyEnableChange
=
(
val
:
boolean
|
string
|
number
)
=>
{
if
(
val
)
{
modelData
.
value
.
p
ostProcessNotify
Setting
=
{
modelData
.
value
.
p
rocessAfterTrigger
Setting
=
{
url
:
''
,
header
:
[],
body
:
[],
response
:
[]
}
}
else
{
modelData
.
value
.
p
ostProcessNotify
Setting
=
null
modelData
.
value
.
p
rocessAfterTrigger
Setting
=
null
}
}
...
...
@@ -335,11 +335,11 @@ const initData = () => {
summary
:
[]
}
}
if
(
modelData
.
value
.
pr
eProcessNotify
Setting
)
{
pr
eProcessNotify
Enable
.
value
=
true
if
(
modelData
.
value
.
pr
ocessBeforeTrigger
Setting
)
{
pr
ocessBeforeTrigger
Enable
.
value
=
true
}
if
(
modelData
.
value
.
p
ostProcessNotify
Setting
)
{
p
ostProcessNotify
Enable
.
value
=
true
if
(
modelData
.
value
.
p
rocessAfterTrigger
Setting
)
{
p
rocessAfterTrigger
Enable
.
value
=
true
}
}
defineExpose
({
initData
})
...
...
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