提交修改

This commit is contained in:
daihh
2022-12-27 18:13:17 +08:00
parent 9d950e1306
commit ec1511a09e
6 changed files with 18 additions and 6 deletions

View File

@@ -34,6 +34,7 @@ VUE_APP_LOGIN_URL='/pc/login'
VUE_APP_PUBLIC_PATH='/pc'
VUE_APP_MANAGER_PATH='/manage'
VUE_APP_STUDENT_PATH='/fe-student'
VUE_APP_MANAGER_API_PATH='/manageApi'
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true

View File

@@ -31,6 +31,7 @@ VUE_APP_FILE_RELATIVE_PATH = '/upload'
VUE_APP_PUBLIC_PATH='/pc-release'
VUE_APP_MANAGER_PATH='/manage-release'
VUE_APP_STUDENT_PATH='/fe-student-release'
VUE_APP_MANAGER_API_PATH='/manageApi-release'
# 登录地址
VUE_APP_LOGIN_URL='https://u.boe.com/web-release/'

View File

@@ -31,6 +31,7 @@ VUE_APP_FILE_RELATIVE_PATH = '/upload'
VUE_APP_PUBLIC_PATH='/pc'
VUE_APP_MANAGER_PATH='/manage'
VUE_APP_STUDENT_PATH='/fe-student'
VUE_APP_MANAGER_API_PATH='/manageApi'
# 登录地址
VUE_APP_LOGIN_URL='https://u.boe.com/web/'

View File

@@ -31,6 +31,7 @@ VUE_APP_FILE_RELATIVE_PATH = '/upload'
VUE_APP_PUBLIC_PATH='/pc'
VUE_APP_MANAGER_PATH='/manage'
VUE_APP_STUDENT_PATH='/fe-student'
VUE_APP_MANAGER_API_PATH='/manageApi'
# 登录地址
VUE_APP_LOGIN_URL='https://u-pre.boe.com/web/'

View File

@@ -431,6 +431,11 @@ export default {
// if(this.resOwnerListMap.length == 0) {
// this.$store.dispatch("getList");
// }
//检查是否存在
let addnew=this.$route.query.addnew;
if(addnew){
this.addPaper();
}
},
methods: {
showEditPaper(row){

View File

@@ -732,12 +732,15 @@ export default {
//window.open(`${this.webBaseUrl}/course/boeframe?id=${item.id}&type=${item.type}`);
}else if(item.source == 3){
//跳转到管理系统的页面
let manageApi=process.env.VUE_APP_MANAGER_API_PATH;
let studentPath=process.env.VUE_APP_STUDENT_PATH;
if (item.type == 30){ //线下课,面授课
let params=encodeURIComponent('courseId='+courseId);
this.$router.push('/forward?to=/fe-student/faceteach&params='+params);
this.$router.push('/forward?to='+manageApi+'/stu/project/redirectDetail&params='+params);
}else if(item.type==40){ //学习项目
let params=encodeURIComponent('projectId='+courseId);
this.$router.push('/forward?to=/fe-student/projectdetails&params='+params);
this.$router.push('/forward?to='+studentPath+'/projectdetails&params='+params);
//this.$router.push('/forward?to='+manageApi+'/stu/project/redirectDetail&params='+params);
}
} else {
if (item.type == 10) {