|
|
@ -582,6 +582,16 @@ export default { |
|
|
|
}).catch((error)=>{ |
|
|
|
}).catch((error)=>{ |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
// 跳转 |
|
|
|
|
|
|
|
toPage(token, cid, systemId) { |
|
|
|
|
|
|
|
const url = location.href |
|
|
|
|
|
|
|
const host = url.includes('occupationlab.com') ? |
|
|
|
|
|
|
|
`http://www.huorantech.cn/banksystem` : |
|
|
|
|
|
|
|
process.env.NODE_ENV === 'development' ? |
|
|
|
|
|
|
|
`http://192.168.31.155:8093` : |
|
|
|
|
|
|
|
`http://39.108.250.202:9000` |
|
|
|
|
|
|
|
location.href = `${host}/#/index/list?token=${token}&cid=${cid}&systemId=${systemId}` |
|
|
|
|
|
|
|
}, |
|
|
|
//选择好题目 |
|
|
|
//选择好题目 |
|
|
|
selectProject(){ |
|
|
|
selectProject(){ |
|
|
|
this.lockIt = false |
|
|
|
this.lockIt = false |
|
|
@ -632,19 +642,7 @@ export default { |
|
|
|
this.projectId = data.data.projectManage.projectId; |
|
|
|
this.projectId = data.data.projectManage.projectId; |
|
|
|
this.projectManage = data.data.projectManage; |
|
|
|
this.projectManage = data.data.projectManage; |
|
|
|
this.requires = data.data.projectJudgmentVos; |
|
|
|
this.requires = data.data.projectJudgmentVos; |
|
|
|
//线上 |
|
|
|
this.toPage(token, cid, systemId) |
|
|
|
// location.href = 'http://124.71.12.62/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId |
|
|
|
|
|
|
|
// location.href = 'http://www.huorantech.cn/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId |
|
|
|
|
|
|
|
//测试服 |
|
|
|
|
|
|
|
if(process.env.NODE_ENV === 'development') { |
|
|
|
|
|
|
|
location.href = "http://192.168.31.155:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}else { |
|
|
|
|
|
|
|
location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//本地 |
|
|
|
|
|
|
|
// location.href = "http://192.168.31.155:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
}).catch((error)=>{ |
|
|
|
}).catch((error)=>{ |
|
|
|
}) |
|
|
|
}) |
|
|
@ -871,19 +869,7 @@ export default { |
|
|
|
this.grade = '00' |
|
|
|
this.grade = '00' |
|
|
|
this.$router.push('/index/list') |
|
|
|
this.$router.push('/index/list') |
|
|
|
this.getBeginTime() |
|
|
|
this.getBeginTime() |
|
|
|
//线上git sta |
|
|
|
this.toPage(token, cid, systemId) |
|
|
|
// location.href = 'http://124.71.12.62/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId |
|
|
|
|
|
|
|
// location.href = 'http://www.huorantech.cn/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId |
|
|
|
|
|
|
|
//测试服 |
|
|
|
|
|
|
|
if(process.env.NODE_ENV === 'development') { |
|
|
|
|
|
|
|
location.href = "http://192.168.31.155:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId |
|
|
|
|
|
|
|
}else { |
|
|
|
|
|
|
|
location.href = 'http://39.108.250.202/banksystem/#/index/list?'+'token='+token+'&cid='+cid+'&systemId='+systemId |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//本地 |
|
|
|
|
|
|
|
// location.href = "http://192.168.31.155:8093/#/index/list?"+'token='+token+'&cid='+cid+'&systemId='+systemId |
|
|
|
|
|
|
|
console.log(process.env.NODE_ENV) |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
checkVer() { |
|
|
|
checkVer() { |
|
|
|