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
cd11ed22
Commit
cd11ed22
authored
Jul 17, 2020
by
Wang Yuhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口文档修改,获取任务多返回发布者id,获取文件和标注者时返回标注关系id
parent
b28011f9
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
18 deletions
+12
-18
CheckDetail.vue
DAPlatform-front/src/components/CheckDetail.vue
+3
-5
OngoingTaskDetail.vue
DAPlatform-front/src/components/OngoingTaskDetail.vue
+3
-6
PiecesTable.vue
DAPlatform-front/src/components/PiecesTable.vue
+1
-2
index.js
DAPlatform-front/src/router/index.js
+5
-5
通用功能组_接口文档.docx
文档/通用功能组_接口文档.docx
+0
-0
No files found.
DAPlatform-front/src/components/CheckDetail.vue
View file @
cd11ed22
...
...
@@ -18,7 +18,8 @@
<ul
v-loading=
"loading"
>
<li
v-for=
"item in executors"
:key=
"item.id"
>
<span>
{{item.nickname}}
</span>
<el-button
type=
"primary"
size=
"mini"
plain
@
click=
"goto(item)"
>
待审核
</el-button>
<el-button
v-if=
"!item.state"
type=
"primary"
size=
"mini"
plain
@
click=
"goto(item)"
>
待审核
</el-button>
<i
v-else
class=
"el-icon-success"
></i>
</li>
</ul>
</el-dialog>
...
...
@@ -67,10 +68,7 @@ export default {
},
goto
(
executor
)
{
var
{
file
,
type
}
=
this
,
self
=
this
var
params
=
{
file
:
encodeURIComponent
(
JSON
.
stringify
(
file
)),
executor
:
encodeURIComponent
(
JSON
.
stringify
(
executor
))
}
var
params
=
{
file
,
executor
}
function
goto
(
path
)
{
self
.
$router
.
push
({
name
:
path
,
params
})
}
...
...
DAPlatform-front/src/components/OngoingTaskDetail.vue
View file @
cd11ed22
...
...
@@ -7,9 +7,10 @@
<el-divider></el-divider>
<pieces-table
:task-id=
"task.id"
showProgress
>
<template
v-slot:option=
"slotProps"
>
<el-button
type=
"primary"
size=
"mini"
plain
<el-button
v-if=
"!slotProps.file.state"
type=
"primary"
size=
"mini"
plain
@
click=
"doOption(slotProps.file,slotProps.type)"
>
标注
</el-button>
<i
v-else
class=
"el-icon-success"
></i>
</
template
>
</pieces-table>
</div>
...
...
@@ -34,11 +35,7 @@ export default {
},
methods
:
{
doOption
(
file
,
type
)
{
var
params
=
{
file
:
encodeURIComponent
(
JSON
.
stringify
(
file
)),
task
:
encodeURIComponent
(
JSON
.
stringify
(
this
.
task
))
}
var
self
=
this
var
params
=
{
file
,
task
:
this
.
task
},
self
=
this
function
goto
(
path
)
{
self
.
$router
.
push
({
name
:
path
,
params
})
}
...
...
DAPlatform-front/src/components/PiecesTable.vue
View file @
cd11ed22
...
...
@@ -24,8 +24,7 @@
<div
class=
"file"
v-for=
"item in map[props.row.id]"
:key=
"item.id"
>
<i
class=
"el-icon-document"
></i>
<span
class=
"file-name"
>
{{
item
.
name
}}
</span>
{{
item
.
size
}}
<slot
v-if=
"!item.state"
name=
'option'
:file=
'item'
:type=
'props.row.type'
:pieceId=
'props.row.id'
></slot>
<i
v-else
class=
"el-icon-success"
></i>
<slot
name=
'option'
:file=
'item'
:type=
'props.row.type'
:pieceId=
'props.row.id'
></slot>
</div>
</div>
</
template
>
...
...
DAPlatform-front/src/router/index.js
View file @
cd11ed22
...
...
@@ -84,27 +84,27 @@ export default new Router({
component
:
checkdetail
},
{
path
:
'/select/:file'
,
path
:
'/select/:file
/:task
'
,
name
:
'SelectText'
,
component
:
SelectText
},
{
path
:
'/selected/:file'
,
path
:
'/selected/:file
/:task
'
,
name
:
'SelectedText'
,
component
:
SelectedText
},
{
path
:
'/table/:file'
,
path
:
'/table/:file
/:task
'
,
name
:
'table'
,
component
:
Table
},
{
path
:
'/image/:file'
,
path
:
'/image/:file
/:task
'
,
name
:
'image'
,
component
:
imageAnnotiation
},
{
path
:
'/layer/:file'
,
path
:
'/layer/:file
/:task
'
,
name
:
'layer'
,
component
:
layerAnnotation
}
...
...
文档/通用功能组_接口文档.docx
View file @
cd11ed22
No preview for this file type
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