|
|
@ -33,15 +33,21 @@ export default { |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
exit(){ |
|
|
|
exit(){ |
|
|
|
|
|
|
|
let href = '' |
|
|
|
|
|
|
|
const url = location.href |
|
|
|
|
|
|
|
const host = url.includes('huorantech.cn') ? |
|
|
|
|
|
|
|
`http://www.occupationlab.com` : |
|
|
|
|
|
|
|
process.env.NODE_ENV === 'development' ? |
|
|
|
|
|
|
|
`http://192.168.31.155:8082` : |
|
|
|
|
|
|
|
`http://39.108.250.202/student` |
|
|
|
let assessmentId = sessionStorage.getItem('assessmentId') |
|
|
|
let assessmentId = sessionStorage.getItem('assessmentId') |
|
|
|
if (assessmentId != 'null' && assessmentId != null && assessmentId != ''){ |
|
|
|
if (assessmentId != 'null' && assessmentId != null && assessmentId != ''){ |
|
|
|
window.location = 'http://39.108.250.202/student/#/ass/list' |
|
|
|
href = `${host}/#/ass/list` |
|
|
|
// window.location = 'http://www.occupationlab.com/#/ass/list' |
|
|
|
|
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
let cid = sessionStorage.getItem('cid') |
|
|
|
const cid = sessionStorage.getItem('cid') |
|
|
|
window.location = 'http://39.108.250.202/student/#/station/preview?courseId='+cid+'&curriculumName=银行项目' |
|
|
|
href = `${host}/#/station/preview?courseId=${cid}&curriculumName=银行项目` |
|
|
|
// window.location = 'http://www.occupationlab.com/#/station/preview?courseId='+cid+'&curriculumName=银行项目' |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
location.href = href |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}; |
|
|
|
}; |
|
|
|