阅片页面跳过阅片任务,阅片任务的跳过状态,只在当前阅片回合生效
parent
15113fb976
commit
379bcc883c
|
@ -240,3 +240,11 @@ export function resetReadingTask(param) {
|
||||||
data: param
|
data: param
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function clearSkipReadingCache(param) {
|
||||||
|
return request({
|
||||||
|
url: `/ReadingImageTask/clearSkipReadingCache`,
|
||||||
|
method: 'post',
|
||||||
|
data: param
|
||||||
|
})
|
||||||
|
}
|
|
@ -164,7 +164,7 @@ import {
|
||||||
getIRUnReadSubjectTaskList,
|
getIRUnReadSubjectTaskList,
|
||||||
verifyReadingRestTime,
|
verifyReadingRestTime,
|
||||||
} from "@/api/trials";
|
} from "@/api/trials";
|
||||||
import { claimOrCancelSubject } from "@/api/reading";
|
import { claimOrCancelSubject, clearSkipReadingCache } from "@/api/reading";
|
||||||
import BaseContainer from "@/components/BaseContainer";
|
import BaseContainer from "@/components/BaseContainer";
|
||||||
import Pagination from "@/components/Pagination";
|
import Pagination from "@/components/Pagination";
|
||||||
import { getToken } from "@/utils/auth";
|
import { getToken } from "@/utils/auth";
|
||||||
|
@ -272,11 +272,12 @@ export default {
|
||||||
this.searchData = searchDataDefault();
|
this.searchData = searchDataDefault();
|
||||||
this.getList();
|
this.getList();
|
||||||
},
|
},
|
||||||
handleReadImage(row) {
|
async handleReadImage(row) {
|
||||||
if (this.openWindow) {
|
if (this.openWindow) {
|
||||||
this.openWindow.close();
|
this.openWindow.close();
|
||||||
}
|
}
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
|
await clearSkipReadingCache()
|
||||||
verifyReadingRestTime()
|
verifyReadingRestTime()
|
||||||
.then((_) => {
|
.then((_) => {
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
|
@ -302,11 +303,12 @@ export default {
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
handleOutOfOrderReading() {
|
async handleOutOfOrderReading() {
|
||||||
if (this.openWindow) {
|
if (this.openWindow) {
|
||||||
this.openWindow.close();
|
this.openWindow.close();
|
||||||
}
|
}
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
|
await clearSkipReadingCache()
|
||||||
verifyReadingRestTime()
|
verifyReadingRestTime()
|
||||||
.then((_) => {
|
.then((_) => {
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
|
|
Loading…
Reference in New Issue