diff --git a/src/api/api.js b/src/api/api.js index 4a7c785..a40acd0 100644 --- a/src/api/api.js +++ b/src/api/api.js @@ -2,6 +2,7 @@ import axios from 'axios'; import router from '../router'; // 创建axios实例 const service = axios.create({ + // baseURL: "http://124.71.12.62:9000",//线上 baseURL: "http://39.108.250.202:9000/", // 中台测试服 // baseURL: "http://192.168.31.137:9000/", // 赓 // baseURL: "http://192.168.31.151:9000/", // 榕 diff --git a/src/components/case/index.vue b/src/components/case/index.vue index 76d2879..07ffd78 100644 --- a/src/components/case/index.vue +++ b/src/components/case/index.vue @@ -424,7 +424,11 @@ export default { this.projectName = data.data.projectManage.projectName; this.projectManage = data.data.projectManage; this.requires = data.data.projectJudgmentVos; + //线上 + // location.href = 'http://124.71.12.62/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 } }).catch((error)=>{ @@ -611,7 +615,11 @@ export default { this.minutes = "00"; this.hour = "00"; this.grade = '00' + //线上 + // location.href = 'http://124.71.12.62/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 }, checkVer() { diff --git a/src/layouts/header/index.vue b/src/layouts/header/index.vue index 0ce171f..79c56ce 100644 --- a/src/layouts/header/index.vue +++ b/src/layouts/header/index.vue @@ -34,12 +34,13 @@ export default { }, exit(){ let assessmentId = sessionStorage.getItem('assessmentId') - console.log(assessmentId) if (assessmentId != 'null' && assessmentId != null && assessmentId != ''){ window.location = 'http://39.108.250.202/student/#/ass/list' + // window.location = 'http://www.occupationlab.com/student/#/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/student/#/station/preview?courseId='+cid+'&curriculumName=银行项目' } }, }, diff --git a/src/pages/lobbyManager/list/index.vue b/src/pages/lobbyManager/list/index.vue index e0f05b0..9f88bc3 100644 --- a/src/pages/lobbyManager/list/index.vue +++ b/src/pages/lobbyManager/list/index.vue @@ -179,10 +179,18 @@ export default { let assessmentId = sessionStorage.getItem('assessmentId') let classId = sessionStorage.getItem('classId') if (projectId){ + //线上 + // location.href = 'http://124.71.12.62/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://124.71.12.62/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 } },