feat:修改二维码id

This commit is contained in:
lixg
2023-02-28 19:26:17 +08:00
parent 6248f5869f
commit 5974c98ec3
2 changed files with 18 additions and 15 deletions

View File

@@ -2626,7 +2626,7 @@ export default {
"/homeworkpage?courseId=" +
item.courseId +
"&type=2&id=" +
item.routerTaskId;
item.id;
}
// 考试 停用
if (item.type == 5) {
@@ -2657,7 +2657,7 @@ export default {
"/livebroadcast?courseId=" +
item.courseId +
"&type=2&id=" +
item.routerTaskId;
item.id;
}
// 外链
if (item.type == 7) {
@@ -2667,7 +2667,7 @@ export default {
"/outerchain?courseId=" +
item.courseId +
"&type=2&id=" +
item.routerTaskId +
item.id +
"&chapterOrStageId=" +
item.chapterId +
"&infoId=" +
@@ -2681,7 +2681,7 @@ export default {
"/discusspage?courseId=" +
item.courseId +
"&type=2&id=" +
item.routerTaskId;
item.id;
}
//活动
if (item.type == 9) {
@@ -2694,7 +2694,7 @@ export default {
"/activitiespage?courseId=" +
item.courseId +
"&type=2&id=" +
item.routerTaskId;
item.id;
}
//活动
if (item.type == 10) {
@@ -2713,13 +2713,14 @@ export default {
if (item.type == 11) {
if (item.taskStatus == 1 || item.taskStatus == 2)
return message.error("该任务无法学习,请联系管理员进行替换。");
console.log("item", item);
codeUrl =
window.location.protocol +
process.env.VUE_APP_H5 +
"/investigatage?courseId=" +
item.courseId +
"&type=2&id=" +
item.routerTaskId +
item.id +
"&chapterOrStageId=" +
item.chapterId +
"&infoId=" +
@@ -2733,7 +2734,7 @@ export default {
"/ballotpage?courseId=" +
item.courseId +
"&btype=2&id=" +
item.routerTaskId +
item.id +
"&chapterOrStageId=" +
item.chapterId +
"&infoId=" +