diff --git a/src/views/new-employee/StudyPage.vue b/src/views/new-employee/StudyPage.vue index e0f2498c..8455300a 100644 --- a/src/views/new-employee/StudyPage.vue +++ b/src/views/new-employee/StudyPage.vue @@ -373,26 +373,6 @@ export default { ); }, async onDownload() { - // if (!this.projectId || !this.studentId) { - // this.$message.warning("缺少项目信息或学员信息"); - // return; - // } - if (this.approvalResults != 2) { - // this.$refs.customMessage.show( - // "您的报名正在审核中,无法下载成绩单,请审核通过后下载" - // ); - return; - } - if (this.approvalResults != 4) { - // this.$refs.customMessage.show( - // "请您重新报名,重新报名不影响当前学习进度,请在审核通过后下载成绩单" - // ); - return; - } - if (this.progressRing.total != 100) { - // this.$message.warning("请您完成学习课程后下载成绩单"); - return; - } try { const res = await downloadSocialRecruitReport( this.projectId,