讲师管理bug

This commit is contained in:
zhangsir
2024-12-16 18:32:32 +08:00
parent 9de891eb78
commit c1d8b2256e
2 changed files with 14 additions and 6 deletions

View File

@@ -2757,6 +2757,7 @@ export default defineComponent({
completeType: "",
xjkkinputV1: "",
onceName: "",
scoreParams:'',
changeName:false,
xjkkinputV2: "",
duration: "",
@@ -3952,6 +3953,7 @@ function onFocusEnd(){
state.completeType = "";
// state.xjkkinputV1 = "";
state.onceName = "";
state.scoreParams = '';
state.xjkkinputV2 = "";
state.duration = "";
// state.xjkkinputV3 = [];
@@ -4025,6 +4027,7 @@ function onFocusEnd(){
examInfo: state.examInfo, //提交的考试信息
beforeStart: state.beforeValue, //考勤 开始前
afterStart: state.afterStartValue, //考勤 开始后
score: state.scoreParams,
};
console.log(postData);
if(!postData.name){
@@ -4143,6 +4146,7 @@ function onFocusEnd(){
state.EditWorkId = String(item.homeWorkId);
state.xjkkinputV1 = item.name;
state.onceName = item.name;
state.scoreParams = item.score;
state.beforeValue = item.beforeStart; //考勤 开始前
state.afterStartValue = item.afterStart; //考勤 开始后
state.xjkkradioVEndTime = item.autoGraduateDays;
@@ -5277,7 +5281,7 @@ function onFocusEnd(){
const qrcodeVisible = (record, type) => {
// `${location.protocol}//${location.host}${import.meta.env.VUE_APP_BASE_API}/stu/project/redirectDetail?courseId=${record.id}`
state.codevisible = true;
let teacherNames = record.offteachers?.filter(teacher => teacher.name !== null).map(teacher => teacher.name);
let teacherNames = record.offteachers?.filter(teacher => teacher.teacherName !== null).map(teacher => teacher.teacherName);
state.codeInfo = {
title: type == 1 ? "【课程】二维码" : type == 2 ? "【签到】二维码" : "【评估】二维码",
name: record.name,