mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/student-h5.git
synced 2025-12-11 11:56:48 +08:00
feat:修改测评跳转等
This commit is contained in:
@@ -314,7 +314,7 @@
|
||||
name="third"
|
||||
:disabed="dayjs().isBefore(dayjs(data.planDto?.beginTime))"
|
||||
>
|
||||
<div class="work" v-if="data.examinationDto?.examinationTestName">
|
||||
<div class="work" v-if="data.examinationDto">
|
||||
<div class="question">
|
||||
{{ data.examinationDto?.examinationName }}
|
||||
</div>
|
||||
@@ -559,9 +559,9 @@ function toWork() {
|
||||
router.push({
|
||||
path: "/homeworkpage",
|
||||
query: {
|
||||
courseId: data.value.workDto.workId,
|
||||
courseId: data.value.planDto.homeWorkId,
|
||||
id: taskId,
|
||||
infoId: data.value.offcourseDto.offcourseId,
|
||||
infoId: data.value.planDto.id,
|
||||
chapterOrStageId: 0,
|
||||
type,
|
||||
pName: "面授课",
|
||||
@@ -579,14 +579,23 @@ function toExamItem(obj) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
console.log("obj", obj.examinationTestId);
|
||||
window.open(
|
||||
window.location.protocol +
|
||||
import.meta.env.VITE_BOE_EXAM_DETAIL_URL +
|
||||
"/mobile/pages/exam/exam?id=" +
|
||||
obj.examinationTestId,
|
||||
"_top"
|
||||
); //测评
|
||||
console.log("obj", obj);
|
||||
if (obj.examType === 2) {
|
||||
router.push({
|
||||
path: "/externalexam",
|
||||
query: {
|
||||
courseId: obj.id,
|
||||
},
|
||||
});
|
||||
} else {
|
||||
window.open(
|
||||
window.location.protocol +
|
||||
import.meta.env.VITE_BOE_EXAM_DETAIL_URL +
|
||||
obj.id,
|
||||
"_top"
|
||||
);
|
||||
}
|
||||
|
||||
// router.push({ path: import.meta.env.VITE_BOE_EXAM_DETAIL_URL+ obj.examinationTestId });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user