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:
@@ -123,13 +123,15 @@ export default {
|
||||
|
||||
jumpRouter(item) {
|
||||
//window.open(`${this.webBaseUrl}/course/boeframe?id=${item.cmtask_id}`,'_self' )
|
||||
location.href=`${this.webBaseUrl}/course/boeframe?id=${item.cmtask_id}`;
|
||||
let urlPre=window.location.protocol+'//'+window.location.host;
|
||||
//location.href=`${this.webBaseUrl}/course/boeframe?id=${item.cmtask_id}`;
|
||||
if(item.cmtask_type==1){ //学习路径图
|
||||
//let params=encodeURIComponent('projectId='+courseId);
|
||||
//this.$router.push('/forward?to='+studentPath+'/projectdetails¶ms='+params);
|
||||
location.href='https://u-pre.boe.com/student-h5/projectdetails?projectId='+item.id
|
||||
|
||||
location.href=urlPre+'/fe-student/pathdetails?routerId='+item.cmtask_code
|
||||
}else if(item.cmtask_type==2){ //学习项目
|
||||
location.href='https://u-pre.boe.com/student-h5/projectdetails?projectId='+item.id
|
||||
location.href=urlPre+'/fe-student/projectdetails?projectId='+item.cmtask_code
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@@ -117,6 +117,15 @@ module.exports = {
|
||||
// 114.115.162.187 测试环境
|
||||
// 192.168.0.107 晋宇
|
||||
proxy: {
|
||||
'/manageApi': {
|
||||
// 目标代理服务器地址
|
||||
target: 'https://u-pre.boe.com',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
pathRewrite: {
|
||||
'^/manageApi': '/manageApi'
|
||||
}
|
||||
},
|
||||
'/systemapi': {
|
||||
// 目标代理服务器地址
|
||||
target: 'http://127.0.0.1:9090',
|
||||
@@ -129,7 +138,7 @@ module.exports = {
|
||||
},
|
||||
'/uboeApi': {
|
||||
// 目标代理服务器地址
|
||||
target: 'https://u-pre.boe.com',
|
||||
target: 'https://u-pre.boe.comww',
|
||||
changeOrigin: true,
|
||||
secure: false,
|
||||
pathRewrite: {
|
||||
|
||||
Reference in New Issue
Block a user