|
|
|
|
@ -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.open = true;
|
|
|
|
|
this.title = "任务进度";
|
|
|
|
|
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;
|
|
|
|
|
|