|
@@ -85,7 +85,7 @@
|
|
|
|
|
|
<el-table v-loading="loading" :data="scoretaskList" @selection-change="handleSelectionChange">
|
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
|
- <el-table-column label="编号" align="center" prop="id" />
|
|
|
+ <el-table-column label="任务编号" align="center" prop="id" />
|
|
|
<el-table-column label="任务名称" align="center" prop="taskName" />
|
|
|
<el-table-column label="状态" align="center" prop="taskStatus" />
|
|
|
<el-table-column label="任务数" align="center" prop="subtaskNum" />
|
|
@@ -507,7 +507,8 @@ export default {
|
|
|
console.log(res);
|
|
|
code = JSON.parse(res.data).code;
|
|
|
if (res.code === 200&&code===200) {
|
|
|
- this.verificationdataset = JSON.parse(res.data).dataSet;
|
|
|
+ this.verificationdataset = JSON.parse(res.data).data.dataSet;
|
|
|
+ console.log(this.verificationdataset)
|
|
|
//更新任务详情表
|
|
|
updateDetails(this.verificationdataset).then(res1=>{
|
|
|
console.log(res1.msg)
|
|
@@ -536,7 +537,7 @@ export default {
|
|
|
this.$set(this.ProgressMap, idx, this.ProgressMap[idx] + 1);
|
|
|
if(code!==200&&code!==0){
|
|
|
clearInterval(intervalId);
|
|
|
- this.$message.error('任务' + taskId + '运行失败!');
|
|
|
+ this.$message.error('任务' + taskId + '运行失败!'+' '+'该任务导入的数据很可能不足!');
|
|
|
}
|
|
|
// 如果进度达到100%,清除定时器并调用后端算法
|
|
|
if (this.ProgressMap[idx] >= 100) {
|