diff --git a/src/api/api.js b/src/api/api.js index 290e485..60da40a 100644 --- a/src/api/api.js +++ b/src/api/api.js @@ -2,8 +2,8 @@ import axios from 'axios'; import router from '../router'; // 创建axios实例 const service = axios.create({ - baseURL: "http://www.huorantech.cn:9000",//线上 - // baseURL: "http://39.108.250.202:9000/", // 中台测试服 + // baseURL: "http://www.huorantech.cn:9000",//线上 + baseURL: "http://39.108.250.202:9000/", // 中台测试服 // baseURL: "http://192.168.31.137:9000/", // 赓 // baseURL: "http://192.168.31.151:9000/", // 榕 // baseURL: "http://192.168.31.125:9000/", // 坤 diff --git a/src/components/case/index.vue b/src/components/case/index.vue index 4d3c372..c14f4bc 100644 --- a/src/components/case/index.vue +++ b/src/components/case/index.vue @@ -465,9 +465,9 @@ export default { this.projectManage = data.data.projectManage; this.requires = data.data.projectJudgmentVos; //线上 - location.href = 'http://www.huorantech.cn/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId + // location.href = 'http://www.huorantech.cn/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId //测试服 - // location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId + location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId //本地 // location.href = "http://192.168.31.254:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId } @@ -664,9 +664,9 @@ export default { this.hour = "00"; this.grade = '00' //线上 - location.href = 'http://www.huorantech.cn/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId + // location.href = 'http://www.huorantech.cn/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId //测试服 - // location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId + location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId //本地 // location.href = "http://192.168.31.254:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId }, diff --git a/src/layouts/header/index.vue b/src/layouts/header/index.vue index 2f3c9eb..c221eb9 100644 --- a/src/layouts/header/index.vue +++ b/src/layouts/header/index.vue @@ -35,12 +35,12 @@ export default { exit(){ let assessmentId = sessionStorage.getItem('assessmentId') if (assessmentId != 'null' && assessmentId != null && assessmentId != ''){ - // window.location = 'http://39.108.250.202/student/#/ass/list' - window.location = 'http://www.occupationlab.com/#/ass/list' + window.location = 'http://39.108.250.202/student/#/ass/list' + // window.location = 'http://www.occupationlab.com/#/ass/list' }else{ let cid = sessionStorage.getItem('cid') - // window.location = 'http://39.108.250.202/student/#/station/preview?courseId='+cid+'&curriculumName=银行项目' - window.location = 'http://www.occupationlab.com/#/station/preview?courseId='+cid+'&curriculumName=银行项目' + window.location = 'http://39.108.250.202/student/#/station/preview?courseId='+cid+'&curriculumName=银行项目' + // window.location = 'http://www.occupationlab.com/#/station/preview?courseId='+cid+'&curriculumName=银行项目' } }, }, diff --git a/src/pages/lobbyManager/list/index.vue b/src/pages/lobbyManager/list/index.vue index 9c15b91..f833146 100644 --- a/src/pages/lobbyManager/list/index.vue +++ b/src/pages/lobbyManager/list/index.vue @@ -180,16 +180,16 @@ export default { let classId = sessionStorage.getItem('classId') if (projectId){ //线上 - location.href = 'http://www.huorantech.cn/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId+'&projectId='+projectId+'&assessmentId='+assessmentId+'&classId='+classId + // location.href = 'http://www.huorantech.cn/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId+'&projectId='+projectId+'&assessmentId='+assessmentId+'&classId='+classId //测试服 - // location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId+'&projectId='+projectId+'&assessmentId='+assessmentId+'&classId='+classId + location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId+'&projectId='+projectId+'&assessmentId='+assessmentId+'&classId='+classId //本地 // location.href = "http://192.168.31.254:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId+'&projectId='+projectId+'&assessmentId='+assessmentId+'&classId='+classId }else{ //线上 - location.href = 'http://www.huorantech.cn/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId + // location.href = 'http://www.huorantech.cn/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId //测试服 - // location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId + location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId // 本地 // location.href = "http://192.168.31.254:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId }