添加弹窗

This commit is contained in:
zhangsir
2024-02-23 09:11:38 +08:00
parent fae88900fb
commit 66f684b42c
2 changed files with 6 additions and 1 deletions

View File

@@ -398,6 +398,7 @@ function toSurvery() {
chapterOrStageId: 0,
sName: data.value.planDto.name,
type: 3,
isSubmitTrue:data.value.isSurvery
},
});
}

View File

@@ -227,7 +227,7 @@ import dayjs from "dayjs";
import {useTaskPage} from "@/api/useCommon";
const {
query: { courseId, id: taskId, infoId, type, pName, sName, chapterOrStageId, projectStatus, projectEndTime },
query: { courseId, id: taskId, infoId, type, pName, sName, chapterOrStageId, projectStatus, projectEndTime,isSubmitTrue },
} = useRoute();
const router = useRouter();
const returnclick = () => {
@@ -280,6 +280,10 @@ function orderArr(a, b) {
return arrs;
}
onMounted(() => {
if(isSubmitTrue){
open();
return
}
useRequest(ASSESSMENT_QUERY(courseId), {
id: courseId,
type,