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
1ed14dd3
Commit
1ed14dd3
authored
Jul 27, 2020
by
Wang Yuhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改我的任务页面显示bug
parent
c4de179e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
OngoingTaskDetail.vue
DAPlatform-front/src/components/OngoingTaskDetail.vue
+8
-8
Task.cpython-36.pyc
DAPlatform/Dao/__pycache__/Task.cpython-36.pyc
+0
-0
User.cpython-36.pyc
DAPlatform/Dao/__pycache__/User.cpython-36.pyc
+0
-0
No files found.
DAPlatform-front/src/components/OngoingTaskDetail.vue
View file @
1ed14dd3
...
@@ -22,11 +22,11 @@
...
@@ -22,11 +22,11 @@
</pieces-table>
</pieces-table>
</div>
</div>
<el-dialog
title=
"选择导出类型"
:visible
.
sync=
"dialogVisible"
width=
"40%"
>
<el-dialog
title=
"选择导出类型"
:visible
.
sync=
"dialogVisible"
width=
"40%"
>
<el-button
v-show=
"piece.type !== '文本'"
type=
"primary"
size=
"mini"
plain
@
click=
"exportOriginal"
>
原始图片
</el-button>
<el-button
v-show=
"
dialogVisible &&
piece.type !== '文本'"
type=
"primary"
size=
"mini"
plain
@
click=
"exportOriginal"
>
原始图片
</el-button>
<el-button
v-show=
"piece.type !== '文本'"
type=
"primary"
size=
"mini"
plain
@
click=
"exportJson"
>
JSON文件
</el-button>
<el-button
v-show=
"
dialogVisible &&
piece.type !== '文本'"
type=
"primary"
size=
"mini"
plain
@
click=
"exportJson"
>
JSON文件
</el-button>
<el-button
v-show=
"piece.type !== '文本'"
type=
"primary"
size=
"mini"
plain
@
click=
"exportLabel"
>
标注后的图片
</el-button>
<el-button
v-show=
"
dialogVisible &&
piece.type !== '文本'"
type=
"primary"
size=
"mini"
plain
@
click=
"exportLabel"
>
标注后的图片
</el-button>
<el-button
v-show=
"piece.type === '文本'"
type=
"primary"
size=
"mini"
plain
@
click=
"exportText"
>
文本文件
</el-button>
<el-button
v-show=
"
dialogVisible &&
piece.type === '文本'"
type=
"primary"
size=
"mini"
plain
@
click=
"exportText"
>
文本文件
</el-button>
<el-button
v-show=
"piece.type === '文本'"
type=
"primary"
size=
"mini"
plain
@
click=
"exportLabelText"
>
标注文件
</el-button>
<el-button
v-show=
"
dialogVisible &&
piece.type === '文本'"
type=
"primary"
size=
"mini"
plain
@
click=
"exportLabelText"
>
标注文件
</el-button>
</el-dialog>
</el-dialog>
</div>
</div>
</template>
</template>
...
@@ -85,15 +85,15 @@ export default {
...
@@ -85,15 +85,15 @@ export default {
this
.
piece
=
piece
this
.
piece
=
piece
},
},
exportOriginal
()
{
exportOriginal
()
{
var
relationId
=
this
.
exportInfo
.
relation_id
var
relationId
=
this
.
file
.
relation_id
download
(
`http://localhost:9100/api/image/export/original/
${
relationId
}
`
)
download
(
`http://localhost:9100/api/image/export/original/
${
relationId
}
`
)
},
},
exportJson
()
{
exportJson
()
{
var
relationId
=
this
.
exportInfo
.
relation_id
var
relationId
=
this
.
file
.
relation_id
download
(
`http://localhost:9100/api/image/export/json/
${
relationId
}
`
)
download
(
`http://localhost:9100/api/image/export/json/
${
relationId
}
`
)
},
},
exportLabel
()
{
exportLabel
()
{
var
relationId
=
this
.
exportInfo
.
relation_id
var
relationId
=
this
.
file
.
relation_id
download
(
`http://localhost:9100/api/image/export/label/
${
relationId
}
`
)
download
(
`http://localhost:9100/api/image/export/label/
${
relationId
}
`
)
},
},
// 文本组的下载参数比较复杂,放在这里更方便设置参数
// 文本组的下载参数比较复杂,放在这里更方便设置参数
...
...
DAPlatform/Dao/__pycache__/Task.cpython-36.pyc
View file @
1ed14dd3
No preview for this file type
DAPlatform/Dao/__pycache__/User.cpython-36.pyc
View file @
1ed14dd3
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