From e3c019754f508ee7744493f108d58d1a4bacc163 Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期五, 02 八月 2024 14:54:50 +0800
Subject: [PATCH] fix bug 接口对接和样式调整
---
pages/user/supplier-user.vue | 22 +++++++++++++++-------
1 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/pages/user/supplier-user.vue b/pages/user/supplier-user.vue
index 712ec82..1f9cdfa 100644
--- a/pages/user/supplier-user.vue
+++ b/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 {
--
Gitblit v1.9.3