| | |
| | | // } |
| | | // } |
| | | // }, |
| | | onShow() {}, |
| | | onShow() { |
| | | this.getHotLineConfig() |
| | | }, |
| | | onLoad(options) { |
| | | // const url = options.q ? decodeURIComponent(options.q) : ''; |
| | | // const urlcode = options.url && decodeURIComponent(options.url) || '' |
| | |
| | | }, |
| | | methods: { |
| | | |
| | | async getHotLineConfig() { |
| | | this.$message.showLoading() |
| | | const { |
| | | code, |
| | | data |
| | | } = await this.$http.request('get', `/v2/config-param/base/getBaseString`, { |
| | | params: { |
| | | paramGroup: "servicehotline", |
| | | paramKey: "hotline_tel" |
| | | |
| | | } |
| | | }) |
| | | this.$message.hideLoading() |
| | | |
| | | if (code === 0) { |
| | | // 电话 |
| | | console.log(data) |
| | | this.tel =data |
| | | } |
| | | }, |
| | | |
| | | async clearlogout() { |
| | | await this.$message.confirm('是否退出登录?') |