|
@@ -381,7 +381,6 @@ export default {
|
|
|
nodeId = 1;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
const lastYear = dayjs().subtract(1, 'year').format('YYYY');
|
|
|
|
|
|
this.searchFrom.year = lastYear;
|
|
@@ -525,7 +524,16 @@ export default {
|
|
|
this.$refs.taskDetailRef.getInfo(row.taskId);
|
|
|
});
|
|
|
},
|
|
|
- handleClose() {
|
|
|
+ async handleClose() {
|
|
|
+ const taskIds = this.pretreatmentInfo.available.map((item) => item.taskId);
|
|
|
+ if (this.pretreatmentInfo?.token?.token) {
|
|
|
+ const obj = {
|
|
|
+ taskIds: taskIds,
|
|
|
+ token: this.pretreatmentInfo.token.token,
|
|
|
+ nodeId: this.checkNodeId
|
|
|
+ };
|
|
|
+ await pretreatmentClearApi(obj);
|
|
|
+ }
|
|
|
this.reviewDialog = false;
|
|
|
this.taskForm = {
|
|
|
checkResult: '',
|
|
@@ -668,7 +676,7 @@ export default {
|
|
|
this.loading = false;
|
|
|
} catch (err) {
|
|
|
this.loading = false;
|
|
|
- q
|
|
|
+ q;
|
|
|
}
|
|
|
}
|
|
|
|