| | |
| | | <view class="right-icon">
|
| | | <uni-icons type="right"></uni-icons>
|
| | | </view>
|
| | | </view>
|
| | | </view> |
| | | <!-- <view class="user-util m-t-12 flex" v-if="selftype==='partner'" |
| | | @click="goto('/sub_pages/partner/partner-info/partner-code-v2',true)"> |
| | | <view class="title">测试二维码</view> |
| | | <view class="right-icon"> |
| | | <uni-icons type="right"></uni-icons> |
| | | </view> |
| | | </view> -->
|
| | | <!-- #endif -->
|
| | | <!-- #ifdef PUB_CUSTOMER -->
|
| | | <view class="user-util m-t-12 flex"
|
| | |
| | | data
|
| | | } = await that.$http.request('post', '/api/customer/bind/partner', {
|
| | | data: {
|
| | | partnerId: partnerId
|
| | | partnerUserId: partnerId
|
| | | }
|
| | | })
|
| | | that.$message.hideLoading()
|
| | | if (code == 0) {
|
| | | that.$message.showToast(`绑定合伙人${partnerName}成功`)
|
| | | setTimeout(() => {
|
| | | that.$message.showLoading()
|
| | | await that.$store.dispatch('getCurrentInfo')
|
| | | that.$message.hideLoading()
|
| | | }, 300)
|
| | | await that.$store.dispatch('getCurrentInfo')
|
| | |
|
| | | // setTimeout(async () => {
|
| | | // that.$message.showLoading()
|
| | | // that.$message.hideLoading()
|
| | | // }, 1000)
|
| | |
|
| | | }
|
| | | } else {
|