|
|
|
@ -23,7 +23,7 @@ export default { |
|
|
|
|
name: 'backstage', |
|
|
|
|
data() { |
|
|
|
|
return { |
|
|
|
|
host: Setting.host, |
|
|
|
|
host: Setting.apiBaseURL, |
|
|
|
|
isHh: Setting.isHh, |
|
|
|
|
isBeta: Setting.isBeta, |
|
|
|
|
keyword: '', |
|
|
|
@ -147,17 +147,19 @@ export default { |
|
|
|
|
}, |
|
|
|
|
mounted() { |
|
|
|
|
util.getToken() |
|
|
|
|
console.log(this.host,'host'); |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
goSubSystem(item){ |
|
|
|
|
let host = this.host |
|
|
|
|
console.log(host,'kanxia'); |
|
|
|
|
let href = '' |
|
|
|
|
let roleId = this.roleId == 4 ? 0 : 1 |
|
|
|
|
let userName = window.btoa(encodeURIComponent(this.userName)) |
|
|
|
|
let type = item.id |
|
|
|
|
if(type == 1){ |
|
|
|
|
href = `${host}pyTrials/#/` |
|
|
|
|
if(process.env.NODE_ENV === 'development') href = 'http://192.168.31.154:8080/' |
|
|
|
|
// if(process.env.NODE_ENV === 'development') href = 'http://120.78.198.231/' |
|
|
|
|
}else if(type == 4){ |
|
|
|
|
href = `${host}pyFinance/#/` |
|
|
|
|
}else if(type == 5){ |
|
|
|
|