Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Wecube Platform
Commits
0169c669
Commit
0169c669
authored
5 years ago
by
irvinezhao
Browse files
Options
Download
Email Patches
Plain Diff
fixed #1719, enhance for workflow exec grapg
parent
5b630dfb
master
2109_support_taskman
2154_enhance_workflow_data_preview
2189_fix_system_bug
2222_deployment_confirmation
2230_plugin_invocation_confirm_token
2233_workflow_context_parameters_refactor
2289_workflow_interf_enhance
2313_add_timestamp_to_node_log
2317_fix_bug_of_faulted_proc_inst
2321_fix_itsm_reported_defects
2321_fix_itsm_reported_issues
2335_fix_itsm_upgrades
circleci-project-setup
dependabot/maven/platform-auth-client/com.fasterxml.jackson.core-jackson-databind-2.12.6.1
dependabot/maven/platform-auth-client/com.fasterxml.jackson.core-jackson-databind-2.13.4.1
dependabot/maven/platform-auth-client/org.bouncycastle-bcprov-ext-jdk15on-1.67
dependabot/maven/platform-auth-client/org.bouncycastle-bcprov-jdk15on-1.67
dependabot/maven/platform-auth-server/com.fasterxml.jackson.core-jackson-databind-2.12.6.1
dependabot/maven/platform-auth-server/com.fasterxml.jackson.core-jackson-databind-2.13.4.1
dependabot/maven/platform-auth-server/commons-io-commons-io-2.7
dependabot/maven/platform-auth-server/org.bouncycastle-bcprov-jdk15on-1.67
dependabot/maven/platform-core/com.amazonaws-aws-java-sdk-s3-1.12.261
dependabot/maven/platform-core/com.fasterxml.jackson.core-jackson-databind-2.12.6.1
dependabot/maven/platform-core/com.fasterxml.jackson.core-jackson-databind-2.13.4.1
dependabot/maven/platform-core/com.google.guava-guava-29.0-jre
dependabot/maven/platform-core/commons-io-commons-io-2.7
dependabot/maven/platform-gateway/com.fasterxml.jackson.core-jackson-databind-2.12.6.1
dependabot/maven/platform-gateway/com.fasterxml.jackson.core-jackson-databind-2.13.4.1
dependabot/maven/platform-gateway/org.yaml-snakeyaml-1.32
dependabot/maven/platform-workflow/com.fasterxml.jackson.core-jackson-databind-2.12.6.1
dependabot/maven/platform-workflow/com.fasterxml.jackson.core-jackson-databind-2.13.4.1
dependabot/maven/platform-workflow/commons-io-commons-io-2.7
dependabot/maven/platform-workflow/org.yaml-snakeyaml-1.32
dev
dev_fix
dev_test
flow_exec_bug
master_UBA
mixed
pobu168-patch-1
remove_node_sass
revert-2184-upgrade_work_orch
timed_execution
web_monitor_demo
workflow_report
v3.2.2
v3.2.1
v3.2.0
v3.1.0
v3.0.1
v3.0.0
v2.9.2
v2.9.1
v2.9.0
v2.8.1
v2.8.0
v2.7.1
v2.7.0
v2.6.1
v2.6.0
v2.5.0
v2.4.0
v2.3.1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
wecube-portal/src/pages/implementation/workflow-execution.vue
+18
-29
...be-portal/src/pages/implementation/workflow-execution.vue
with
18 additions
and
29 deletions
+18
-29
wecube-portal/src/pages/implementation/workflow-execution.vue
+
18
-
29
View file @
0169c669
...
...
@@ -21,34 +21,22 @@
"
>
<span>
<span
style=
"color:#2b85e4"
>
{{
item
.
procInstName
+
'
'
}}
</span>
<span
style=
"color:#515a6e"
>
{{
item
.
entityDisplayName
+
'
'
}}
</span>
<span
style=
"color:#ccc;float:right"
>
{{
(
item
.
createdTime
||
'
createdTime
'
)
+
'
'
}}
</span>
<span
style=
"float:right;color:#515a6e;margin-right:20px"
>
{{
item
.
operator
||
'
operator
'
}}
</span>
<span
style=
"color:#2b85e4"
>
{{
item
.
procInstName
+
'
'
}}
</span>
<span
style=
"color:#515a6e"
>
{{
item
.
entityDisplayName
+
'
'
}}
</span>
<span
style=
"color:#ccc;float:right"
>
{{
(
item
.
createdTime
||
'
createdTime
'
)
+
'
'
}}
</span>
<span
style=
"float:right;color:#515a6e;margin-right:20px"
>
{{
item
.
operator
||
'
operator
'
}}
</span>
</span>
</Option>
</Select>
<Button
type=
"info"
@
click=
"queryHandler"
>
{{
$t
(
'
query_orch
'
)
}}
</Button>
<Button
type=
"info"
@
click=
"queryHandler"
>
{{
$t
(
'
query_orch
'
)
}}
</Button>
</FormItem>
</Form>
</Col>
<Col
span=
"4"
style=
"text-align: right;margin-bottom:8px;padding-right:40px;float:right;"
>
<Button
type=
"info"
v-if=
"!isEnqueryPage"
@
click=
"queryHistory"
>
{{
$t
(
'
enquery_new_workflow_job
'
)
}}
</Button>
<Button
type=
"success"
v-if=
"isEnqueryPage"
@
click=
"createHandler"
>
{{
$t
(
'
create_new_workflow_job
'
)
}}
</Button>
<Button
type=
"info"
v-if=
"!isEnqueryPage"
@
click=
"queryHistory"
>
{{
$t
(
'
enquery_new_workflow_job
'
)
}}
</Button>
<Button
type=
"success"
v-if=
"isEnqueryPage"
@
click=
"createHandler"
>
{{
$t
(
'
create_new_workflow_job
'
)
}}
</Button>
</Col>
</Row>
<Row>
...
...
@@ -65,9 +53,9 @@
@
on-open-change=
"getAllFlow"
filterable
>
<Option
v-for=
"item in allFlows"
:value=
"item.procDefId"
:key=
"item.procDefId"
>
{{
item
.
procDefName
+
'
'
+
item
.
createdTime
}}
</Option>
<Option
v-for=
"item in allFlows"
:value=
"item.procDefId"
:key=
"item.procDefId"
>
{{
item
.
procDefName
+
'
'
+
item
.
createdTime
}}
</Option>
</Select>
</FormItem>
</Form>
...
...
@@ -102,9 +90,9 @@
</Row>
</Row>
<div
style=
"text-align: right;margin-top: 6px;margin-right:40px"
>
<Button
v-if=
"showExcution"
:disabled=
"isExecuteActive"
style=
"width:120px"
type=
"info"
@
click=
"excutionFlow"
>
{{
$t
(
'
execute
'
)
}}
</Button>
<Button
v-if=
"showExcution"
:disabled=
"isExecuteActive"
style=
"width:120px"
type=
"info"
@
click=
"excutionFlow"
>
{{
$t
(
'
execute
'
)
}}
</Button>
</div>
</Card>
<Modal
...
...
@@ -672,12 +660,13 @@ export default {
.
filter
(
i
=>
i
.
status
!==
'
predeploy
'
)
.
map
((
_
,
index
)
=>
{
if
(
_
.
nodeType
===
'
startEvent
'
||
_
.
nodeType
===
'
endEvent
'
)
{
return
`
${
_
.
nodeId
}
[label="
${
_
.
nodeName
||
_
.
nodeType
}
", fontsize="10", class="flow",style="
${
const
defaultLabel
=
_
.
nodeType
===
'
startEvent
'
?
'
start
'
:
'
end
'
return
`
${
_
.
nodeId
}
[label="
${
_
.
nodeName
||
defaultLabel
}
", fontsize="10", class="flow",style="
${
excution
?
'
filled
'
:
'
none
'
}
" color="
${
excution
?
statusColor
[
_
.
status
]
:
'
#7F8A96
'
}
" shape="circle", id="
${
_
.
nodeId
}
"]`
}
else
{
const
className
=
_
.
status
===
'
Faulted
'
||
_
.
status
===
'
Timeouted
'
?
'
retry
'
:
''
return
`
${
_
.
nodeId
}
[fixedsize=false label="
${(
_
.
orderedNo
?
_
.
orderedNo
+
'
、
'
:
''
)
+
return
`
${
_
.
nodeId
}
[fixedsize=false label="
${(
_
.
orderedNo
?
_
.
orderedNo
+
'
'
:
''
)
+
_
.
nodeName
}
" class="flow
${
className
}
" style="
${
excution
?
'
filled
'
:
'
none
'
}
" color="
${
excution
?
statusColor
[
_
.
status
]
:
_
.
nodeId
===
this
.
currentFlowNodeId
?
'
#5DB400
'
:
'
#7F8A96
'
}
" shape="box" id="
${
_
.
nodeId
}
" ]`
...
...
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
Menu
Projects
Groups
Snippets
Help