mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-06 17:36:42 +08:00
提交修改
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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/'
|
||||
|
||||
@@ -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/'
|
||||
|
||||
@@ -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/'
|
||||
|
||||
@@ -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){
|
||||
|
||||
@@ -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¶ms='+params);
|
||||
this.$router.push('/forward?to='+manageApi+'/stu/project/redirectDetail¶ms='+params);
|
||||
}else if(item.type==40){ //学习项目
|
||||
let params=encodeURIComponent('projectId='+courseId);
|
||||
this.$router.push('/forward?to=/fe-student/projectdetails¶ms='+params);
|
||||
this.$router.push('/forward?to='+studentPath+'/projectdetails¶ms='+params);
|
||||
//this.$router.push('/forward?to='+manageApi+'/stu/project/redirectDetail¶ms='+params);
|
||||
}
|
||||
} else {
|
||||
if (item.type == 10) {
|
||||
|
||||
Reference in New Issue
Block a user