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