mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 12:26:44 +08:00
解决审核重置 和 url编码问题
This commit is contained in:
@@ -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()
|
||||
|
||||
}
|
||||
|
||||
@@ -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=>{
|
||||
|
||||
@@ -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;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user