mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-10 11:26:49 +08:00
-- 状态
This commit is contained in:
@@ -354,10 +354,7 @@ const types = ref({
|
|||||||
4: "/homeworkpage",
|
4: "/homeworkpage",
|
||||||
5: import.meta.env.VITE_BOE_EXAM_DETAIL_URL, //考试
|
5: import.meta.env.VITE_BOE_EXAM_DETAIL_URL, //考试
|
||||||
6: "/livebroadcast",
|
6: "/livebroadcast",
|
||||||
7: ({ courseId }) =>
|
7: ({ targetId }) => window.open(targetId, '_top'),
|
||||||
request(LINK_DETAILS(courseId), {}).then(({ data: { linkAddress } }) =>
|
|
||||||
window.open(linkAddress,'_top')
|
|
||||||
), //外联
|
|
||||||
8: "/discusspage",
|
8: "/discusspage",
|
||||||
9: "/moreactive",
|
9: "/moreactive",
|
||||||
10: ({ evaType, targetId }) =>
|
10: ({ evaType, targetId }) =>
|
||||||
@@ -491,7 +488,7 @@ function toFinish(d, sName, chapterOrStageId) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (d.type == 3 || d.type == 7) {
|
if (d.type == 3 || d.type == 7) {
|
||||||
d.status || request(STUDY_RECORD, {
|
d.status!==1 && request(STUDY_RECORD, {
|
||||||
studentId: data.value.userInfoBo.userId,
|
studentId: data.value.userInfoBo.userId,
|
||||||
targetId: data.value.routerId,
|
targetId: data.value.routerId,
|
||||||
logo: 2,
|
logo: 2,
|
||||||
|
|||||||
@@ -341,10 +341,7 @@ const types = ref({
|
|||||||
4: "/homeworkpage",
|
4: "/homeworkpage",
|
||||||
5: import.meta.env.VITE_BOE_EXAM_DETAIL_URL, //考试
|
5: import.meta.env.VITE_BOE_EXAM_DETAIL_URL, //考试
|
||||||
6: "/livebroadcast",
|
6: "/livebroadcast",
|
||||||
7: ({ courseId }) =>
|
7: ({ targetId }) => window.open(targetId, '_top'), //外联
|
||||||
request(LINK_DETAILS(courseId), {}).then(({ data: { linkAddress } }) =>
|
|
||||||
window.open(linkAddress, '_top')
|
|
||||||
), //外联
|
|
||||||
8: "/discusspage",
|
8: "/discusspage",
|
||||||
9: "/moreactive",
|
9: "/moreactive",
|
||||||
10: ({ evaType, targetId }) =>
|
10: ({ evaType, targetId }) =>
|
||||||
@@ -443,7 +440,7 @@ function toFinish(d) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (d.type === 3 || d.type === 7) {
|
if (d.type === 3 || d.type === 7) {
|
||||||
d.status || request(STUDY_RECORD, {
|
d.status!==1 && request(STUDY_RECORD, {
|
||||||
studentId: userInfo.value.id,
|
studentId: userInfo.value.id,
|
||||||
targetId: data.value.routerId,
|
targetId: data.value.routerId,
|
||||||
logo: 1,
|
logo: 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user