diff --git a/src/views/courselibrary/CoursewareManage.vue b/src/views/courselibrary/CoursewareManage.vue
index eb7d995e..d4366401 100644
--- a/src/views/courselibrary/CoursewareManage.vue
+++ b/src/views/courselibrary/CoursewareManage.vue
@@ -287,7 +287,11 @@
-
+
确定
@@ -846,10 +850,10 @@
>
删除
-
+
+ -->
@@ -1169,7 +1173,11 @@
-
+
确定
@@ -4867,21 +4875,21 @@ export default defineComponent({
//二维码
const qrcodeVisible = (record, type) => {
+ // `${location.protocol}//${location.host}${import.meta.env.VUE_APP_BASE_API}/stu/project/redirectDetail?courseId=${record.id}`
state.codevisible = true;
state.codeInfo = {
title: type == 1 ? "【课程】二维码" : "【签到】二维码",
name: record.name ? record.name : "",
url:
type == 1
- ? window.location.protocol +
- process.env.VUE_APP_COURSE_STUDY +
- record.offcourseId
+ ? process.env.VUE_APP_BASE_API +
+ `/stu/project/redirectDetail?courseId=${record.id}`
: process.env.VUE_APP_BASE_API +
`/admin/student/studentSign?taskId=${
record.id
}&taskType=${2}&type=${3}`,
};
- console.log("codeInfo", state.codeInfo);
+ console.log("codeInfo", state.codeInfo, record);
state.codeIndex = 0;
state.codeType = type;
};
diff --git a/src/views/learningpath/LevelAdd.vue b/src/views/learningpath/LevelAdd.vue
index d7dc1af8..f29c0a3d 100644
--- a/src/views/learningpath/LevelAdd.vue
+++ b/src/views/learningpath/LevelAdd.vue
@@ -2598,7 +2598,7 @@ export default {
codeUrl =
window.location.protocol +
process.env.VUE_APP_ONLINE_CLASS_URL +
- item.targetId;
+ item.courseId;
}
if (item.type == 2) {
let date1 = new Date(item.endTime).getTime();