|
|
@ -190,22 +190,16 @@ export default { |
|
|
|
this.leavePage() |
|
|
|
this.leavePage() |
|
|
|
if(this.projectPermissions){ |
|
|
|
if(this.projectPermissions){ |
|
|
|
// 返回到考核列表 |
|
|
|
// 返回到考核列表 |
|
|
|
if(location.host.includes('10.196.131.73')) { // 判断是否是河海 |
|
|
|
if (this.$config.isBeta) { // 判断是否是职站测试服 |
|
|
|
location.href = `http://120.78.198.231/#/ass/list` |
|
|
|
location.href = `http://120.78.198.231/#/ass/list` |
|
|
|
} else 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 = `${this.$config.host}#/dashboard#2` |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
// 返回到实验台 |
|
|
|
// 返回到实验台 |
|
|
|
if(location.host.includes('10.196.131.73')) { |
|
|
|
if (this.$config.isBeta) { |
|
|
|
location.href = `http://120.78.198.231/#/ass/list` |
|
|
|
|
|
|
|
} else 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 { |
|
|
|
|
|
|
|
location.href = `http://www.occupationlab.com/#/station/list` |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
location.href = `${this.$config.host}#/dashboard#1` |
|
|
|
} |
|
|
|
} |
|
|
|
this.$refs.mainindex.getClearTime(); |
|
|
|
this.$refs.mainindex.getClearTime(); |
|
|
|
}, |
|
|
|
}, |
|
|
|