mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-06 17:36:42 +08:00
fix:成绩下载按钮逻辑优化
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user