| | |
| | | onShow() { |
| | | this.cacheUserId = '' |
| | | this.getTj() |
| | | |
| | | this.getHotLineConfig() |
| | | |
| | | }, |
| | | onLoad(options) { |
| | |
| | | uni.stopPullDownRefresh() |
| | | }, |
| | | 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 bindPartnerUser(userId, name) { |
| | | // await this.$message.confirm(`确定要绑定${name}合伙人吗?`) |
| | | //调用接口绑定 |