解决审核重置 和 url编码问题

This commit is contained in:
daihh
2022-10-16 17:57:50 +08:00
parent 8f8baedefb
commit dff69a4dc2
3 changed files with 4 additions and 1 deletions

View File

@@ -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()
}

View File

@@ -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=>{

View File

@@ -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;
},