feat:修改重新报名

This commit is contained in:
lixg
2023-03-09 11:56:33 +08:00
parent 4c99334e3c
commit daa85bad28
10 changed files with 79 additions and 48 deletions

View File

@@ -400,7 +400,11 @@ const returnclick = () => {
const {
query: { courseId, type, id: taskId, projectStatus, projectEndTime },
} = useRoute();
onUnmounted(() => {
if (timer) {
clearInterval(timer);
}
});
const { data } = useRequest(STU_OFFCOURSE_DETAIL, { courseId });
console.log("datadatadatadatadatadatadata", data);
// console.log("项目状态字段传递", projectStatus, projectEndTime);
@@ -606,12 +610,6 @@ function toExamItem(obj) {
// router.push({ path: import.meta.env.VITE_BOE_EXAM_DETAIL_URL+ obj.examinationTestId });
}
onUnmounted(() => {
if (timer) {
clearInterval(timer);
}
});
</script>
<!-- Add "scoped" attribute to limit CSS to this component only -->