|
|
@ -113,7 +113,6 @@ export default { |
|
|
|
? parseInt(sessionStorage.getItem("timer")) |
|
|
|
? parseInt(sessionStorage.getItem("timer")) |
|
|
|
: 0, |
|
|
|
: 0, |
|
|
|
codeKey: 1, |
|
|
|
codeKey: 1, |
|
|
|
host: this.$config.host |
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
components: { |
|
|
|
components: { |
|
|
@ -189,9 +188,23 @@ export default { |
|
|
|
back() { |
|
|
|
back() { |
|
|
|
this.leavePage() |
|
|
|
this.leavePage() |
|
|
|
if(this.projectPermissions){ |
|
|
|
if(this.projectPermissions){ |
|
|
|
location.href = `${this.host}#/dashboard#2` |
|
|
|
// 返回到考核列表 |
|
|
|
|
|
|
|
if(location.host.includes('10.196.131.73')) { // 判断是否是河海 |
|
|
|
|
|
|
|
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 { |
|
|
|
} else { |
|
|
|
location.href = `${this.host}#/dashboard#1` |
|
|
|
location.href = `http://www.occupationlab.com/#/ass/list` |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}else{ |
|
|
|
|
|
|
|
// 返回到实验台 |
|
|
|
|
|
|
|
if(location.host.includes('10.196.131.73')) { |
|
|
|
|
|
|
|
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` |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
location.href = `http://www.occupationlab.com/#/station/list` |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
this.$refs.mainindex.getClearTime(); |
|
|
|
this.$refs.mainindex.getClearTime(); |
|
|
|
}, |
|
|
|
}, |
|
|
|