xuxueyang
2024-08-02 e3c019754f508ee7744493f108d58d1a4bacc163
pages/user/supplier-user.vue
@@ -179,7 +179,14 @@
            <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"
@@ -368,17 +375,18 @@
                           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 {