任务记录 查看任务进度 修改

master
wanglei 1 year ago
parent a5f9992388
commit 5fe85dba25

@ -148,7 +148,7 @@
</template>
<script>
import { listTask, listByIds } from "@/api/dangan/task";
import { listTask, listByIds, getTask } from "@/api/dangan/task";
import { reRecongnize } from "@/api/dangan/collection";
import axios from "axios";
@ -250,11 +250,18 @@
},
/** 修改按钮操作 */
handleUpdate(row) {
this.percentage = 0
this.form = row;
this.getProgress();
this.percentage = 0;
getTask(row.id).then(response => {
this.form = response.data;
if(this.form.status==='2'){
this.$modal.msgSuccess("识别已结束");
this.getList()
}else {
this.open = true;
this.getProgress();
this.title = "任务进度";
}
});
},
handleUpdate1(row) {
this.form = row;

Loading…
Cancel
Save