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 Platform2
Commits
3555a1d4
Commit
3555a1d4
authored
3 years ago
by
pobu168
Browse files
Options
Download
Email Patches
Plain Diff
fix bug
parent
98b1723f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
wecube-portal/src/pages/implementation/workflow-execution.vue
+40
-26
...be-portal/src/pages/implementation/workflow-execution.vue
with
40 additions
and
26 deletions
+40
-26
wecube-portal/src/pages/implementation/workflow-execution.vue
+
40
-
26
View file @
3555a1d4
...
...
@@ -703,11 +703,14 @@ export default {
let
tem
=
[]
this
.
retryTartetModels
.
forEach
(
d
=>
{
const
f
=
this
.
retryCatchNodeTableList
.
find
(
c
=>
c
.
id
===
d
.
id
)
if
(
f
)
{
tem
.
push
({
...
d
,
bound
:
'
Y
'
,
confirmToken
:
f
.
confirmToken
})
}
else
{
tem
.
push
({
...
d
,
bound
:
'
N
'
,
confirmToken
:
f
.
confirmToken
})
}
tem
.
push
({
...
d
,
bound
:
f
.
bound
,
confirmToken
:
f
.
confirmToken
})
// if (typeof (f) !== 'undefined') {
// console.log(1)
// tem.push({ ...d, bound: 'Y', confirmToken: f.confirmToken })
// } else {
// console.log(2)
// tem.push({ ...d, bound: 'N', confirmToken: '' })
// }
})
const
payload
=
{
nodeInstId
:
found
.
id
,
...
...
@@ -782,37 +785,48 @@ export default {
}
},
retrySingleSelect
(
selection
,
row
)
{
this
.
retryCatchNodeTableList
=
this
.
retryCatchNodeTableList
.
concat
(
row
)
let
find
=
this
.
retryCatchNodeTableList
.
find
(
item
=>
item
.
id
===
row
.
id
)
find
.
bound
=
'
Y
'
// console.log(selection, row, this.retryCatchNodeTableList)
// this.retryCatchNodeTableList = this.retryCatchNodeTableList.concat(row)
},
retrySingleCancel
(
selection
,
row
)
{
cons
t
ind
ex
=
this
.
retryCatchNodeTableList
.
find
Index
(
cn
=>
{
le
t
f
ind
=
this
.
retryCatchNodeTableList
.
find
(
cn
=>
{
return
cn
.
id
===
row
.
id
})
this
.
retryCatchNodeTableList
.
splice
(
index
,
1
)
// const find = this.retryCatchNodeTableList.find(item => item.id === row.id)
find
.
bound
=
'
N
'
// this.retryCatchNodeTableList.splice(index, 1)
},
retrySelectAll
(
selection
)
{
let
temp
=
[]
this
.
retryCatchNodeTableList
.
forEach
(
cntl
=>
{
temp
.
push
(
cntl
.
id
)
})
selection
.
forEach
(
se
=>
{
if
(
!
temp
.
includes
(
se
.
id
))
{
this
.
retryCatchNodeTableList
.
push
(
se
)
}
this
.
retryCatchNodeTableList
.
forEach
(
item
=>
{
item
.
bound
=
'
Y
'
})
// let temp = []
// this.retryCatchNodeTableList.forEach(cntl => {
// temp.push(cntl.id)
// })
// selection.forEach(se => {
// if (!temp.includes(se.id)) {
// this.retryCatchNodeTableList.push(se)
// }
// })
},
retrySelectAllCancel
()
{
let
temp
=
[]
this
.
retryTartetModels
.
forEach
(
tm
=>
{
temp
.
push
(
tm
.
id
)
this
.
retryCatchNodeTableList
.
forEach
(
item
=>
{
item
.
bound
=
'
N
'
})
if
(
this
.
retryTableFilterParam
)
{
this
.
retryCatchNodeTableList
=
this
.
retryCatchNodeTableList
.
filter
(
item
=>
{
return
!
temp
.
includes
(
item
.
id
)
})
}
else
{
this
.
retryCatchNodeTableList
=
[]
}
// let temp = []
// this.retryTartetModels.forEach(tm => {
// temp.push(tm.id)
// })
// if (this.retryTableFilterParam) {
// this.retryCatchNodeTableList = this.retryCatchNodeTableList.filter(item => {
// return !temp.includes(item.id)
// })
// } else {
// this.retryCatchNodeTableList = []
// }
},
allFlowNodesSingleSelect
(
selection
,
row
)
{
this
.
selectedFlowNodesModelData
=
this
.
selectedFlowNodesModelData
.
concat
(
row
)
...
...
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