From f2bd1df8794a730c5c99b0e4ccd251214dc14cd9 Mon Sep 17 00:00:00 2001
From: wyx <51903@qq.com>
Date: Thu, 23 Mar 2023 20:34:13 +0800
Subject: [PATCH] =?UTF-8?q?fix:=E7=AD=BE=E5=88=B0=E5=8F=8A=E5=BC=80?=
=?UTF-8?q?=E8=AF=BE=E4=BA=8C=E7=BB=B4=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../drawers/router/RouterFaceStu.vue | 20 +++++++++++++++++--
1 file changed, 18 insertions(+), 2 deletions(-)
diff --git a/src/components/drawers/router/RouterFaceStu.vue b/src/components/drawers/router/RouterFaceStu.vue
index a6e35ff7..498ff640 100644
--- a/src/components/drawers/router/RouterFaceStu.vue
+++ b/src/components/drawers/router/RouterFaceStu.vue
@@ -85,10 +85,17 @@
+
{
qrCode({
- title: "【签到】二维码",
+ title: "【开课】二维码",
name: props.datasource?.name,
// url: `${location.protocol}//${location.host}${process.env.VUE_APP_BASE_API}/admin/student/studentSign?taskId=${props.datasource.id}&taskType=${props.datasource.type}&type=${props.type}`,
url: `${location.protocol}//${location.host}${process.env.VUE_APP_BASE_API}/stu/project/redirectDetail?courseId=${data.value[coursePlanIndex.value]?.id}`,
});
};
+// 签到二维码
+const qrcodeVisibleSign = () => {
+ qrCode({
+ title: "【签到】二维码",
+ name: props.datasource?.name,
+ // url: `${location.protocol}//${location.host}${process.env.VUE_APP_BASE_API}/admin/student/studentSign?taskId=${props.datasource.id}&taskType=${props.datasource.type}&type=${props.type}`,
+ url: `${location.protocol}//${location.host}${process.env.VUE_APP_BASE_API}/admin/student/studentSign?taskId=${data.value[coursePlanIndex.value]?.id}&taskType=${2}&type=${3}`,
+ });
+};
const change = (e) => {
console.log(e)