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
be78001d
Commit
be78001d
authored
Aug 24, 2020
by
李严凡
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交标注
parent
136c4579
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
24 deletions
+24
-24
OngoingTaskDetail.vue
DAPlatform-front/src/components/OngoingTaskDetail.vue
+24
-24
No files found.
DAPlatform-front/src/components/OngoingTaskDetail.vue
View file @
be78001d
...
...
@@ -120,30 +120,30 @@ export default {
},
finsihTask
(){
// 判断分片完成度是否都为100%
console
.
log
(
"piece"
)
console
.
log
(
piece
)
//
this.axios({
//
method:'post',
//
url:'task/finsihTask',
//
params:{
//
userId:this.$store.state.userInfo.userId,
//
taskId:this.task.id
//
}
//
}).then(res=>{
//
if(res.code == 1){
//
this.$message({
//
type:'info',
//
message:"完成任务"
//
})
//
this.$router.push({ path: "/ongoing" });
//
}
//
else{
//
this.$message({
//
type:'info',
// message:"提交任务失败
"
//
})
//
}
//
})
//
console.log("piece")
//
console.log(piece)
this
.
axios
({
method
:
'post'
,
url
:
'task/finsihTask'
,
params
:{
userId
:
this
.
$store
.
state
.
userInfo
.
userId
,
taskId
:
this
.
task
.
id
}
}).
then
(
res
=>
{
if
(
res
.
code
==
1
){
this
.
$message
({
type
:
'info'
,
message
:
"完成任务"
})
this
.
$router
.
push
({
path
:
"/ongoing"
});
}
else
{
this
.
$message
({
type
:
'info'
,
message
:
"提交任务失败,有未完成标注分片
"
})
}
})
}
}
}
...
...
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