From dff69a4dc2d415ad35807e8af54b3e91347c15bb Mon Sep 17 00:00:00 2001 From: daihh Date: Sun, 16 Oct 2022 17:57:50 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=AE=A1=E6=A0=B8=E9=87=8D?= =?UTF-8?q?=E7=BD=AE=20=E5=92=8C=20url=E7=BC=96=E7=A0=81=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/security.js | 3 ++- src/views/course/WaitAudit.vue | 1 + src/views/examine/NotApproved.vue | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) 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; },