|
|
|
@ -111,7 +111,6 @@ export default { |
|
|
|
|
? parseInt(sessionStorage.getItem("timer")) |
|
|
|
|
: 0, |
|
|
|
|
codeKey: 1, |
|
|
|
|
host: location.host.includes('liuwanr.cn') ? 'http://www.liuwanr.cn/' : 'http://www.occupationlab.com/' |
|
|
|
|
}; |
|
|
|
|
}, |
|
|
|
|
components: { |
|
|
|
@ -187,16 +186,18 @@ export default { |
|
|
|
|
back() { |
|
|
|
|
this.leavePage() |
|
|
|
|
if(this.projectPermissions){ |
|
|
|
|
if(location.host.includes('liuwanr.cn')){ |
|
|
|
|
location.href = `http://www.liuwanr.cn/#/dashboard#2` |
|
|
|
|
// 返回到考核列表 |
|
|
|
|
if(location.host.includes('120.78.198.231')){ // 判断是否是职站测试服 |
|
|
|
|
location.href = `http://120.78.198.231/#/ass/list` |
|
|
|
|
}else{ |
|
|
|
|
location.href = `http://www.occupationlab.com/#/dashboard#2` |
|
|
|
|
location.href = `http://www.occupationlab.com/#/ass/list` |
|
|
|
|
} |
|
|
|
|
}else{ |
|
|
|
|
if(location.host.includes('liuwanr.cn')){ |
|
|
|
|
location.href = `http://www.liuwanr.cn/#/dashboard#1` |
|
|
|
|
// 返回到实验台 |
|
|
|
|
if(location.host.includes('120.78.198.231')){ |
|
|
|
|
location.href = `http://120.78.198.231/#/station/list` |
|
|
|
|
}else{ |
|
|
|
|
location.href = `http://www.occupationlab.com/#/dashboard#1` |
|
|
|
|
location.href = `http://www.occupationlab.com/#/station/list` |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
this.$refs.mainindex.getClearTime(); |
|
|
|
|