feat:增加批量标注完成等

This commit is contained in:
lixg
2023-01-07 14:41:16 +08:00
parent 068415d23e
commit 8346807ce0
13 changed files with 177 additions and 84 deletions

View File

@@ -3309,6 +3309,7 @@ export default defineComponent({
addhomeworkvisible: false,
addtestvisible: false,
codevisible: false, //二维码弹窗
codeIndex: null,
codeInfo: null, //二维码内容
codeUrl: codeUrl,
@@ -5414,18 +5415,18 @@ export default defineComponent({
//二维码
const qrcodeVisible = (record, type) => {
console.log(
"record",
record,
process.env.VUE_APP_IFRAME_STUDENT_URL,
process.env.COURSE_STUDY
);
state.codevisible = true;
state.codeInfo = {
title: type == 1 ? "【课程】二维码" : "【签到】二维码",
name: record.name ? record.name : "",
url: process.env.COURSE_STUDY + record.offcourseId,
url:
type == 1
? process.env.VUE_APP_COURSE_STUDY + record.offcourseId
:process.env.VUE_APP_BOE_API_URL + `/admin/student/studentSign?taskId=${
record.offcoursePlanId
}&type=${3}`,
};
console.log("codeInfo", state.codeInfo);
state.codeIndex = type;
state.codeType = type;
};