Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Wecube Platform
Commits
c9eaf6c6
Commit
c9eaf6c6
authored
4 years ago
by
Jingyu FENG
Committed by
GitHub
4 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #1986 from WeBankPartners/bug_fix
Bug fix
parents
e240f3b7
d342eddd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
wecube-portal/src/pages/implementation/batch-execution.vue
+2
-2
wecube-portal/src/pages/implementation/batch-execution.vue
wecube-portal/src/pages/implementation/workflow-execution.vue
+5
-5
...be-portal/src/pages/implementation/workflow-execution.vue
with
7 additions
and
7 deletions
+7
-7
wecube-portal/src/pages/implementation/batch-execution.vue
+
2
-
2
View file @
c9eaf6c6
...
...
@@ -1245,7 +1245,6 @@ export default {
return
Current
},
async
executeAgain
()
{
this
.
btnLoading
=
true
const
inputParameterDefinitions
=
this
.
activeExecuteHistory
.
plugin
.
pluginParams
.
map
(
p
=>
{
const
inputParameterValue
=
p
.
mappingType
===
'
constant
'
?
(
p
.
dataType
===
'
number
'
?
Number
(
p
.
bindValue
)
:
p
.
bindValue
)
:
null
...
...
@@ -1261,12 +1260,13 @@ export default {
desc
:
this
.
$t
(
'
bc_exect_tip
'
),
duration
:
1
})
this
.
btnLoading
=
true
const
{
status
,
data
}
=
await
batchExecution
(
requestBody
)
this
.
btnLoading
=
false
// this.seletedRows = []
if
(
status
===
'
OK
'
)
{
this
.
setPluginParamsModal
=
false
this
.
operaModal
=
false
this
.
btnLoading
=
false
this
.
executeResult
=
data
this
.
filterBusinessKeySet
=
[]
for
(
const
key
in
data
)
{
...
...
This diff is collapsed.
Click to expand it.
wecube-portal/src/pages/implementation/workflow-execution.vue
+
5
-
5
View file @
c9eaf6c6
...
...
@@ -116,7 +116,7 @@
<Button
type=
"info"
@
click=
"workFlowActionHandler('skip')"
:loading=
"btnLoading"
style=
"margin-left: 20px"
>
{{
$t
(
'
skip
'
)
}}
</Button>
<Button
type=
"info"
@
click=
"workFlowActionHandler('showlog')"
:loading=
"btnLoading"
style=
"margin-left: 20px"
>
{{
<Button
type=
"info"
@
click=
"workFlowActionHandler('showlog')"
style=
"margin-left: 20px"
>
{{
$t
(
'
show_log
'
)
}}
</Button>
</div>
...
...
@@ -772,7 +772,6 @@ export default {
this
.
bindFlowEvent
()
},
async
excutionFlow
()
{
this
.
btnLoading
=
true
// 区分已存在的flowInstance执行 和 新建的执行
if
(
this
.
isEnqueryPage
)
{
this
.
processInstance
()
...
...
@@ -808,9 +807,10 @@ export default {
}
})
}
this
.
btnLoading
=
true
let
{
status
,
data
}
=
await
createFlowInstance
(
payload
)
this
.
btnLoading
=
false
if
(
status
===
'
OK
'
)
{
this
.
btnLoading
=
false
this
.
getProcessInstances
(
true
,
data
)
this
.
isExecuteActive
=
false
this
.
showExcution
=
false
...
...
@@ -862,7 +862,6 @@ export default {
this
.
flowGraphMouseenterHandler
(
e
.
target
.
parentNode
.
getAttribute
(
'
id
'
))
},
async
workFlowActionHandler
(
type
)
{
this
.
btnLoading
=
true
const
found
=
this
.
flowData
.
flowNodes
.
find
(
_
=>
_
.
nodeId
===
this
.
currentFailedNodeID
)
if
(
!
found
)
{
return
...
...
@@ -875,9 +874,10 @@ export default {
nodeInstId
:
found
.
id
,
procInstId
:
found
.
procInstId
}
this
.
btnLoading
=
true
const
{
status
}
=
await
retryProcessInstance
(
payload
)
this
.
btnLoading
=
false
if
(
status
===
'
OK
'
)
{
this
.
btnLoading
=
false
this
.
$Notice
.
success
({
title
:
'
Success
'
,
desc
:
(
type
===
'
retry
'
?
'
Retry
'
:
'
Skip
'
)
+
'
action is proceed successfully
'
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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