Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DA-Platform
Overview
Overview
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
文档服务地址:
http://47.92.0.57:3000/
周报索引地址:
http://47.92.0.57:3000/s/NruNXRYmV
Open sidebar
Berlin
DA-Platform
Commits
a217e902
Commit
a217e902
authored
May 15, 2020
by
李景熙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update completedtask,add publishtask
parent
472472ef
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
217 additions
and
13 deletions
+217
-13
CompletedTask.vue
DAPlatform/src/components/CompletedTask.vue
+20
-12
NavHeader.vue
DAPlatform/src/components/NavHeader.vue
+1
-1
PublishTask.vue
DAPlatform/src/components/PublishTask.vue
+190
-0
index.js
DAPlatform/src/router/index.js
+6
-0
No files found.
DAPlatform/src/components/CompletedTask.vue
View file @
a217e902
<
template
>
<div
class=
"taskhall"
>
<el-container>
<el-main>
<el-main
style=
"background-color: #FFFFFF"
>
<el-table
:data=
"tableData"
:header-cell-style=
"
{color:'#409EFF'}"
height="570"
border
style="width: 100%">
...
...
@@ -55,7 +56,7 @@
</el-main>
</el-container>
</div>
</template>
<
script
>
export
default
{
...
...
@@ -131,14 +132,14 @@
date
:
'2016-05-03'
,
name
:
'图片属性标注'
,
status
:
'已完成'
},
{
},
{
taskId
:
'1'
,
author
:
'小明'
,
splitNum
:
'3'
,
date
:
'2016-05-03'
,
name
:
'图片属性标注'
,
status
:
'已完成'
},
{
},
{
taskId
:
'1'
,
author
:
'小明'
,
splitNum
:
'3'
,
...
...
@@ -152,40 +153,48 @@
</
script
>
<
style
>
.taskhall
{
width
:
90vw
;
min-width
:
800px
;
/* border: solid; */
margin-left
:
auto
;
margin-right
:
auto
;
margin-top
:
0px
;
}
.el-header
,
.el-footer
{
background-color
:
#B3C0D1
;
color
:
#333
;
text-align
:
center
;
line-height
:
60px
;
}
.el-aside
{
background-color
:
#D3DCE6
;
color
:
#333
;
text-align
:
center
;
line-height
:
200px
;
}
.el-main
{
background-color
:
#E9EEF3
;
color
:
#333
;
text-align
:
center
;
line-height
:
36px
;
}
body
>
.el-container
{
margin-bottom
:
40px
;
}
.el-container
:nth-child
(
5
)
.el-aside
,
.el-container
:nth-child
(
6
)
.el-aside
{
line-height
:
260px
;
}
.el-container
:nth-child
(
7
)
.el-aside
{
line-height
:
320px
;
}
</
style
>
\ No newline at end of file
</
style
>
DAPlatform/src/components/NavHeader.vue
View file @
a217e902
...
...
@@ -14,7 +14,7 @@
<el-menu-item
index=
"/releasetask"
>
发布任务
</el-menu-item>
<el-menu-item
index=
"/completed"
>
已完成任务
</el-menu-item>
<el-menu-item
index=
"/check"
>
待审核任务
</el-menu-item>
<el-menu-item
index=
"
6
"
>
我的发布
</el-menu-item>
<el-menu-item
index=
"
/publishtask
"
>
我的发布
</el-menu-item>
<el-menu-item
index=
"/userhome"
>
个人中心
</el-menu-item>
<el-menu-item
class=
"logout-btn"
index=
"/"
>
退出登录
</el-menu-item>
</el-menu>
...
...
DAPlatform/src/components/PublishTask.vue
0 → 100644
View file @
a217e902
<
template
>
<div
class=
"taskhall"
>
<el-container>
<el-main
style=
"background-color: #FFFFFF"
>
<el-table
:data=
"tableData"
:header-cell-style=
"
{color:'#409EFF'}"
height="570"
border
style="width: 100%">
<el-table-column
prop=
"taskId"
label=
"任务ID"
width=
"180"
>
</el-table-column>
<el-table-column
prop=
"splitNum"
label=
"分片数量"
width=
"180"
>
</el-table-column>
<el-table-column
prop=
"date"
label=
"发布时间"
width=
"180"
>
<template
slot-scope=
"scope"
>
<i
class=
"el-icon-time"
></i>
<span
style=
"margin-left: 10px"
>
{{
scope
.
row
.
date
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"name"
label=
"任务名称"
>
</el-table-column>
<el-table-column
prop=
"status"
label=
"任务状态"
width=
"180"
>
</el-table-column>
<el-table-column
fixed=
"right"
label=
"操作"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<el-button
@
click=
"handleClick(scope.row)"
type=
"text"
size=
"small"
>
修改
</el-button>
<el-button
@
click
.
native
.
prevent=
"deleteRow(scope.$index, tableData)"
type=
"text"
size=
"small"
>
删除
</el-button>
</
template
>
</el-table-column>
</el-table>
</el-main>
</el-container>
</div>
</template>
<
script
>
export
default
{
data
()
{
return
{
tableData
:
[{
taskId
:
'1'
,
author
:
'小明'
,
splitNum
:
'3'
,
date
:
'2016-05-03'
,
name
:
'单物体语义分割'
,
status
:
'已发布'
},
{
taskId
:
'1'
,
author
:
'小明'
,
splitNum
:
'3'
,
date
:
'2016-05-03'
,
name
:
'人脸质量判断'
,
status
:
'已发布'
},
{
taskId
:
'1'
,
author
:
'小明'
,
splitNum
:
'3'
,
date
:
'2016-05-03'
,
name
:
'图片属性标注'
,
status
:
'已发布'
},
{
taskId
:
'1'
,
author
:
'小明'
,
splitNum
:
'3'
,
date
:
'2016-05-03'
,
name
:
'图片属性标注'
,
status
:
'已发布'
},
{
taskId
:
'1'
,
author
:
'小明'
,
splitNum
:
'3'
,
date
:
'2016-05-03'
,
name
:
'图片属性标注'
,
status
:
'已发布'
},
{
taskId
:
'1'
,
author
:
'小明'
,
splitNum
:
'3'
,
date
:
'2016-05-03'
,
name
:
'图片属性标注'
,
status
:
'已发布'
},
{
taskId
:
'1'
,
author
:
'小明'
,
splitNum
:
'3'
,
date
:
'2016-05-03'
,
name
:
'图片属性标注'
,
status
:
'已发布'
},
{
taskId
:
'1'
,
author
:
'小明'
,
splitNum
:
'3'
,
date
:
'2016-05-03'
,
name
:
'图片属性标注'
,
status
:
'已发布'
},
{
taskId
:
'1'
,
author
:
'小明'
,
splitNum
:
'3'
,
date
:
'2016-05-03'
,
name
:
'图片属性标注'
,
status
:
'已发布'
},
{
taskId
:
'1'
,
author
:
'小明'
,
splitNum
:
'3'
,
date
:
'2016-05-03'
,
name
:
'图片属性标注'
,
status
:
'已发布'
},
{
taskId
:
'1'
,
author
:
'小明'
,
splitNum
:
'3'
,
date
:
'2016-05-03'
,
name
:
'图片属性标注'
,
status
:
'已发布'
},
{
taskId
:
'1'
,
author
:
'小明'
,
splitNum
:
'3'
,
date
:
'2016-05-03'
,
name
:
'图片属性标注'
,
status
:
'已发布'
}]
}
},
methods
:
{
deleteRow
(
index
,
rows
)
{
//删除改行
rows
.
splice
(
index
,
1
);
},
}
}
</
script
>
<
style
>
.el-header
,
.el-footer
{
background-color
:
#B3C0D1
;
color
:
#333
;
text-align
:
center
;
line-height
:
60px
;
}
.el-aside
{
background-color
:
#D3DCE6
;
color
:
#333
;
text-align
:
center
;
line-height
:
200px
;
}
.el-main
{
background-color
:
#E9EEF3
;
color
:
#333
;
text-align
:
center
;
line-height
:
36px
;
}
body
>
.el-container
{
margin-bottom
:
40px
;
}
.el-container
:nth-child
(
5
)
.el-aside
,
.el-container
:nth-child
(
6
)
.el-aside
{
line-height
:
260px
;
}
.el-container
:nth-child
(
7
)
.el-aside
{
line-height
:
320px
;
}
</
style
>
DAPlatform/src/router/index.js
View file @
a217e902
...
...
@@ -7,6 +7,7 @@ import Index from '../components/Index'
import
completed
from
'../components/CompletedTask'
import
check
from
'../components/CheckTask'
import
release
from
'../components/ReleaseTask'
import
publishtask
from
'../components/PublishTask'
Vue
.
use
(
Router
)
...
...
@@ -41,6 +42,11 @@ export default new Router({
path
:
'/releasetask'
,
name
:
'release'
,
component
:
release
},
{
path
:
'/publishtask'
,
name
:
publishtask
,
component
:
publishtask
}
]
},
...
...
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