|
@@ -513,7 +513,7 @@ export default {
|
|
|
this.progressStatus = ''
|
|
|
this.dialogVisible = true
|
|
|
let taskids = this.ids;
|
|
|
- const dayjs = require('dayjs');
|
|
|
+
|
|
|
|
|
|
for (let taskid of taskids) {
|
|
|
let index = this.taskidToIndexMap.get(taskid)
|
|
@@ -559,7 +559,7 @@ export default {
|
|
|
let idx = this.taskidToIndexMap.get(taskId)
|
|
|
// this.ProgressMap[index] = this.ProgressMap[index] + 1
|
|
|
this.$set(this.ProgressMap, idx, this.ProgressMap[idx] + 1);
|
|
|
- if(code!==200){
|
|
|
+ if(code!==200&&code!==0){
|
|
|
clearInterval(intervalId);
|
|
|
this.$message.error('任务' + taskId + '运行失败!'+' '+'该任务导入的数据很可能不足!');
|
|
|
}
|