diff --git a/src/security.js b/src/security.js index 6d70133c..5c4ab522 100644 --- a/src/security.js +++ b/src/security.js @@ -71,7 +71,8 @@ router.beforeEach((to, from, next) => { //console.log(location.href,'location.href'); //let urlPre=window.location.protocol+'//'+window.location.host; //let backUrl=location.href.substring(urlPre.length); - location.href=process.env.VUE_APP_LOGIN_URL+"?returnUrl="+location.href; + //location.href=process.env.VUE_APP_LOGIN_URL+"?returnUrl="+location.href; + location.href=process.env.VUE_APP_LOGIN_URL+"?returnUrl="+encodeURIComponent(location.href); NProgress.done() } diff --git a/src/views/course/WaitAudit.vue b/src/views/course/WaitAudit.vue index dedd1555..0e05a890 100644 --- a/src/views/course/WaitAudit.vue +++ b/src/views/course/WaitAudit.vue @@ -410,6 +410,7 @@ export default { this.examin.detailType = row.type; this.examin.examineId = row.id; this.examin.examineName = row.name; + this.auditInfo.pass=true;//审核状态重置回true this.auditInfo.remark = ''; this.dialogVisible = true; apiCourse.getAuditInfo({courseId:row.id}).then(res=>{ diff --git a/src/views/examine/NotApproved.vue b/src/views/examine/NotApproved.vue index ec486a15..9ea5a3c6 100644 --- a/src/views/examine/NotApproved.vue +++ b/src/views/examine/NotApproved.vue @@ -525,6 +525,7 @@ export default { this.examin.auditId=row.auditId; this.examin.examineId = row.id; this.examin.examineName = row.name; + this.auditInfo.pass=true;//审核状态重置回true this.auditInfo.remark = ''; this.dialogVisible = true; },