mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-07 09:56: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_PUBLIC_PATH='/pc'
|
||||||
VUE_APP_MANAGER_PATH='/manage'
|
VUE_APP_MANAGER_PATH='/manage'
|
||||||
VUE_APP_STUDENT_PATH='/fe-student'
|
VUE_APP_STUDENT_PATH='/fe-student'
|
||||||
|
VUE_APP_MANAGER_API_PATH='/manageApi'
|
||||||
|
|
||||||
# 路由懒加载
|
# 路由懒加载
|
||||||
VUE_CLI_BABEL_TRANSPILE_MODULES = true
|
VUE_CLI_BABEL_TRANSPILE_MODULES = true
|
||||||
|
|||||||
@@ -31,6 +31,7 @@ VUE_APP_FILE_RELATIVE_PATH = '/upload'
|
|||||||
VUE_APP_PUBLIC_PATH='/pc-release'
|
VUE_APP_PUBLIC_PATH='/pc-release'
|
||||||
VUE_APP_MANAGER_PATH='/manage-release'
|
VUE_APP_MANAGER_PATH='/manage-release'
|
||||||
VUE_APP_STUDENT_PATH='/fe-student-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/'
|
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_PUBLIC_PATH='/pc'
|
||||||
VUE_APP_MANAGER_PATH='/manage'
|
VUE_APP_MANAGER_PATH='/manage'
|
||||||
VUE_APP_STUDENT_PATH='/fe-student'
|
VUE_APP_STUDENT_PATH='/fe-student'
|
||||||
|
VUE_APP_MANAGER_API_PATH='/manageApi'
|
||||||
|
|
||||||
# 登录地址
|
# 登录地址
|
||||||
VUE_APP_LOGIN_URL='https://u.boe.com/web/'
|
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_PUBLIC_PATH='/pc'
|
||||||
VUE_APP_MANAGER_PATH='/manage'
|
VUE_APP_MANAGER_PATH='/manage'
|
||||||
VUE_APP_STUDENT_PATH='/fe-student'
|
VUE_APP_STUDENT_PATH='/fe-student'
|
||||||
|
VUE_APP_MANAGER_API_PATH='/manageApi'
|
||||||
|
|
||||||
# 登录地址
|
# 登录地址
|
||||||
VUE_APP_LOGIN_URL='https://u-pre.boe.com/web/'
|
VUE_APP_LOGIN_URL='https://u-pre.boe.com/web/'
|
||||||
|
|||||||
@@ -431,6 +431,11 @@ export default {
|
|||||||
// if(this.resOwnerListMap.length == 0) {
|
// if(this.resOwnerListMap.length == 0) {
|
||||||
// this.$store.dispatch("getList");
|
// this.$store.dispatch("getList");
|
||||||
// }
|
// }
|
||||||
|
//检查是否存在
|
||||||
|
let addnew=this.$route.query.addnew;
|
||||||
|
if(addnew){
|
||||||
|
this.addPaper();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
showEditPaper(row){
|
showEditPaper(row){
|
||||||
|
|||||||
@@ -732,12 +732,15 @@ export default {
|
|||||||
//window.open(`${this.webBaseUrl}/course/boeframe?id=${item.id}&type=${item.type}`);
|
//window.open(`${this.webBaseUrl}/course/boeframe?id=${item.id}&type=${item.type}`);
|
||||||
}else if(item.source == 3){
|
}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){ //线下课,面授课
|
if (item.type == 30){ //线下课,面授课
|
||||||
let params=encodeURIComponent('courseId='+courseId);
|
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){ //学习项目
|
}else if(item.type==40){ //学习项目
|
||||||
let params=encodeURIComponent('projectId='+courseId);
|
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 {
|
} else {
|
||||||
if (item.type == 10) {
|
if (item.type == 10) {
|
||||||
|
|||||||
Reference in New Issue
Block a user