| | |
| | | getNowDate().then(res => { |
| | | var num = 24 * 3600 * 1000; |
| | | if (this.userInfo.role_name == "培训公司管理员") { |
| | | if (res.data.data - longtime <= num) { |
| | | // if (res.data.data - longtime <= num) { |
| | | this.form = { |
| | | id: null, |
| | | examScoreId: row.id, |
| | |
| | | allGrade: row.allGrade |
| | | }; |
| | | this.gradeBoxVisible = true; |
| | | } else { |
| | | //提示 |
| | | that.$message({ |
| | | type: "warning", |
| | | message: "成绩修改申请只能在考试截止时间后的24小内提交!" |
| | | }); |
| | | } |
| | | // } else { |
| | | // //提示 |
| | | // that.$message({ |
| | | // type: "warning", |
| | | // message: "成绩修改申请只能在考试截止时间后的24小内提交!" |
| | | // }); |
| | | // } |
| | | } else { |
| | | this.form = { |
| | | id: null, |