|
|
|
@ -187,17 +187,19 @@ export default { |
|
|
|
|
this.leavePage() |
|
|
|
|
if(this.projectPermissions){ |
|
|
|
|
// 返回到考核列表 |
|
|
|
|
if(location.host.includes('120.78.198.231')){ // 判断是否是职站测试服 |
|
|
|
|
if(location.host.includes('120.78.198.231')){ |
|
|
|
|
// 职站测试服 |
|
|
|
|
location.href = `http://120.78.198.231/#/ass/list` |
|
|
|
|
}else{ |
|
|
|
|
location.href = `http://www.occupationlab.com/#/ass/list` |
|
|
|
|
// 职站生产服 |
|
|
|
|
location.href = `http://www.occupationlab.com/#/dashboard#2` |
|
|
|
|
} |
|
|
|
|
}else{ |
|
|
|
|
// 返回到实验台 |
|
|
|
|
if(location.host.includes('120.78.198.231')){ |
|
|
|
|
location.href = `http://120.78.198.231/#/station/list` |
|
|
|
|
}else{ |
|
|
|
|
location.href = `http://www.occupationlab.com/#/station/list` |
|
|
|
|
location.href = `http://www.occupationlab.com/#/dashboard#1` |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
this.$refs.mainindex.getClearTime(); |
|
|
|
|