mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-06 09:26:46 +08:00
添加弹窗
This commit is contained in:
@@ -398,6 +398,7 @@ function toSurvery() {
|
||||
chapterOrStageId: 0,
|
||||
sName: data.value.planDto.name,
|
||||
type: 3,
|
||||
isSubmitTrue:data.value.isSurvery
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user