|
|
|
@ -71,18 +71,36 @@ export default { |
|
|
|
|
this.accessNum() |
|
|
|
|
}, |
|
|
|
|
methods:{ |
|
|
|
|
|
|
|
|
|
//校内人员认证 |
|
|
|
|
async userAuth(){ |
|
|
|
|
axios.interceptors.response.use(response => { |
|
|
|
|
this.responseUrl = response.request.responseURL |
|
|
|
|
return response; |
|
|
|
|
}, error => { |
|
|
|
|
return Promise.reject(error); |
|
|
|
|
}) |
|
|
|
|
let rest = await this.$get(this.api.loginSchoolPerson) |
|
|
|
|
window.location.href = this.responseUrl |
|
|
|
|
console.log('res1=>',rest); |
|
|
|
|
userAuth(){ |
|
|
|
|
location.href = 'https://finance.uestc.cn/liuwanr/userInfo/loginSchoolPerson' |
|
|
|
|
// axios.interceptors.response.use(response => { |
|
|
|
|
|
|
|
|
|
// // let res = JSON.parse(response.request.response) |
|
|
|
|
// console.log('相应值=>',response.request) |
|
|
|
|
|
|
|
|
|
// // window.location.href = res.url |
|
|
|
|
// return response; |
|
|
|
|
// }, error => { |
|
|
|
|
// return Promise.reject(error); |
|
|
|
|
// }) |
|
|
|
|
// axios({ |
|
|
|
|
// url:'https://finance.uestc.cn/liuwanr/userInfo/loginSchoolPerson', |
|
|
|
|
// method:'get', |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// }) |
|
|
|
|
// this.$get(this.api.loginSchoolPerson).then(res =>{ |
|
|
|
|
// // window.location.href = res.url |
|
|
|
|
// }).catch(err=>{}) |
|
|
|
|
}, |
|
|
|
|
//校内人员认证 |
|
|
|
|
// async userAuth(){ |
|
|
|
|
// let rest = await this.$get(this.api.loginSchoolPerson) |
|
|
|
|
// window.location.href = rest.url |
|
|
|
|
// // console.log('res1=>',rest); |
|
|
|
|
// }, |
|
|
|
|
accessNum(){ |
|
|
|
|
this.$get(this.api.getAccessNum).then(res =>{ |
|
|
|
|
this.proAccessNum.currentNum = res.currentNum, |
|
|
|
@ -91,7 +109,8 @@ export default { |
|
|
|
|
}).catch(err=>{}) |
|
|
|
|
}, |
|
|
|
|
toClient(){ |
|
|
|
|
location.href = location.host.includes('116.63.168.79') ? 'http://116.63.168.79/kdclient/#/clientLogin' : 'https://finance.uestc.cn/kdclient/#/clientLogin' |
|
|
|
|
// location.href = location.host.includes('116.63.168.79') ? 'http://116.63.168.79/kdclient/#/clientLogin?type=0' : 'https://finance.uestc.cn/kdclient/#/clientLogin?type=0' |
|
|
|
|
this.$router.push(`/clientLogin?type=1&account=2017000000013`) |
|
|
|
|
this.visiteShow = false |
|
|
|
|
}, |
|
|
|
|
toMang(){ |
|
|
|
|