修改教师端我的授课记录查询和导出

This commit is contained in:
sunhonglai
2025-04-29 16:33:42 +08:00
parent a810da8978
commit 7a67aca620

View File

@@ -190,10 +190,13 @@ export default {
// link.click();
// document.body.removeChild(link);
// })
let teacherId = this.userInfo.sysId;
window.open(
`/manageApi/admin/export/exportInTeacherRecord?teacherId=${teacherId}`
);
// 取pageData记录第一条
if (this.pageData.length > 0) {
let teacherId = this.pageData[0].teacherId;
window.open(
`/manageApi/admin/export/exportInTeacherRecord?teacherId=${teacherId}`
);
}
},
// 导出课程下的学员信息