|
|
@ -187,17 +187,19 @@ export default { |
|
|
|
this.leavePage() |
|
|
|
this.leavePage() |
|
|
|
if(this.projectPermissions){ |
|
|
|
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` |
|
|
|
location.href = `http://120.78.198.231/#/ass/list` |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
location.href = `http://www.occupationlab.com/#/ass/list` |
|
|
|
// 职站生产服 |
|
|
|
|
|
|
|
location.href = `http://www.occupationlab.com/#/dashboard#2` |
|
|
|
} |
|
|
|
} |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
// 返回到实验台 |
|
|
|
// 返回到实验台 |
|
|
|
if(location.host.includes('120.78.198.231')){ |
|
|
|
if(location.host.includes('120.78.198.231')){ |
|
|
|
location.href = `http://120.78.198.231/#/station/list` |
|
|
|
location.href = `http://120.78.198.231/#/station/list` |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
location.href = `http://www.occupationlab.com/#/station/list` |
|
|
|
location.href = `http://www.occupationlab.com/#/dashboard#1` |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
this.$refs.mainindex.getClearTime(); |
|
|
|
this.$refs.mainindex.getClearTime(); |
|
|
|