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

Commit fb5bb46f by 李梓桢

审核传值

parent 1766d334
......@@ -1227,12 +1227,26 @@ export default {
// alert("请打分和填写准确率");
// return;
// }
// 2=>标注者标对的,1=>审查者后加的,0=>标错的
var yesAll = 0
var yesTmp = 0
this.canvasAllCheck.forEach(e =>{
if(e === 2) {
yesAll++;
yesTmp++;
}
else if(e === 1 || e === 0) {
yesAll++;
}
})
this.axios({
method: "get",
params: {
userId: this.$route.params.executor.id,
fileId: this.$route.params.file.id,
score: this.computeScore
score: this.computeScore,
num: yesAll,
correctnum: yesTmp
},
url: "task/gradePieces"
}).then(res => {
......
......@@ -1000,12 +1000,37 @@ export default {
// alert("请打分和填写准确率");
// return;
// }
// 2=>标注者标对的,1=>审查者后加的,0=>标错的
var yesAll = 0
var yesTmp = 0
// console.log(this.checkLayer)
// console.log(this.checkLand)
this.checkLayer.forEach(e =>{
if(e == 2) {
yesAll++;
yesTmp++;
}
else if(e == 1 || e === 0) {
yesAll++;
}
})
this.checkLand.forEach(e =>{
if(e == 2) {
yesAll++;
yesTmp++;
}
else if(e == 1 || e === 0) {
yesAll++;
}
})
this.axios({
method: "get",
params: {
userId: this.$route.params.executor.id,
fileId: this.$route.params.file.id,
score: this.computeScore
score: this.computeScore,
num: yesAll,
correctnum: yesTmp
},
url: "task/gradePieces"
}).then(res => {
......
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