文档服务地址:http://47.92.0.57:3000/ 周报索引地址:http://47.92.0.57:3000/s/NruNXRYmV

Commit be78001d by 李严凡

提交标注

parent 136c4579
......@@ -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:"提交任务失败,有未完成标注分片"
})
}
})
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment