Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bkunyun
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bkunyun
Commits
cdef5978
Commit
cdef5978
authored
Jul 11, 2022
by
chenshouchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 任务详情页面的结果文件判断逻辑修改
parent
f1b5424e
Pipeline
#187
canceled with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
index.tsx
src/views/Project/ProjectJobDetail/index.tsx
+7
-3
No files found.
src/views/Project/ProjectJobDetail/index.tsx
View file @
cdef5978
...
@@ -377,7 +377,8 @@ const ProjectSubmitWork = observer(() => {
...
@@ -377,7 +377,8 @@ const ProjectSubmitWork = observer(() => {
{
!
activePatchId
&&
(
{
!
activePatchId
&&
(
<
div
className=
{
styles
.
taskInfo
}
>
<
div
className=
{
styles
.
taskInfo
}
>
<
div
className=
{
styles
.
title
}
>
任务结果
</
div
>
<
div
className=
{
styles
.
title
}
>
任务结果
</
div
>
{
workFlowJobInfo
?.
outputs
&&
(
{
workFlowJobInfo
?.
outputs
&&
Object
.
keys
(
workFlowJobInfo
?.
outputs
).
length
>
0
&&
(
<
div
className=
{
styles
.
taskResults
}
>
<
div
className=
{
styles
.
taskResults
}
>
{
randerOutputs1
.
map
((
item
,
index
)
=>
{
{
randerOutputs1
.
map
((
item
,
index
)
=>
{
return
(
return
(
...
@@ -395,7 +396,9 @@ const ProjectSubmitWork = observer(() => {
...
@@ -395,7 +396,9 @@ const ProjectSubmitWork = observer(() => {
e
,
e
,
"即将跳转至项目数据内该任务的结果目录,确认继续吗?"
"即将跳转至项目数据内该任务的结果目录,确认继续吗?"
);
);
setGoToProjectDataPath
(
getFolderPath
(
item
.
path
));
setGoToProjectDataPath
(
getFolderPath
(
item
.
path
)
);
}
}
}
}
>
>
<
img
<
img
...
@@ -416,7 +419,8 @@ const ProjectSubmitWork = observer(() => {
...
@@ -416,7 +419,8 @@ const ProjectSubmitWork = observer(() => {
})
}
})
}
</
div
>
</
div
>
)
}
)
}
{
!
workFlowJobInfo
?.
outputs
&&
(
{
workFlowJobInfo
?.
outputs
&&
Object
.
keys
(
workFlowJobInfo
?.
outputs
).
length
===
0
&&
(
<
div
className=
{
styles
.
notResults
}
>
暂无结果文件
</
div
>
<
div
className=
{
styles
.
notResults
}
>
暂无结果文件
</
div
>
)
}
)
}
<
div
className=
{
styles
.
title
}
>
任务信息
</
div
>
<
div
className=
{
styles
.
title
}
>
任务信息
</
div
>
...
...
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