Commit 2844358513dbef859789778825873edb4f6c72a5
1 parent
631f9ce7
OA分销关系备注
Showing
2 changed files
with
8 additions
and
1 deletions
packageA/pages/distribution/myteam/myteam.js
| @@ -83,6 +83,7 @@ Page({ | @@ -83,6 +83,7 @@ Page({ | ||
| 83 | store_id: app.globalData.setting.stoid, | 83 | store_id: app.globalData.setting.stoid, |
| 84 | user_id: app.globalData.user_id, | 84 | user_id: app.globalData.user_id, |
| 85 | level: 1, | 85 | level: 1, |
| 86 | + isall: 1, | ||
| 86 | }); | 87 | }); |
| 87 | 88 | ||
| 88 | }; | 89 | }; |
| @@ -149,6 +150,7 @@ Page({ | @@ -149,6 +150,7 @@ Page({ | ||
| 149 | store_id: app.globalData.setting.stoid, | 150 | store_id: app.globalData.setting.stoid, |
| 150 | user_id: app.globalData.user_id, | 151 | user_id: app.globalData.user_id, |
| 151 | level: th.data.currentTabIndex + 1, | 152 | level: th.data.currentTabIndex + 1, |
| 153 | + isall: 1 | ||
| 152 | }); | 154 | }); |
| 153 | }, | 155 | }, |
| 154 | 156 | ||
| @@ -176,6 +178,7 @@ Page({ | @@ -176,6 +178,7 @@ Page({ | ||
| 176 | store_id: app.globalData.setting.stoid, | 178 | store_id: app.globalData.setting.stoid, |
| 177 | user_id: app.globalData.user_id, | 179 | user_id: app.globalData.user_id, |
| 178 | level: currentIndex + 1, | 180 | level: currentIndex + 1, |
| 181 | + isall: 1 | ||
| 179 | }); | 182 | }); |
| 180 | }, | 183 | }, |
| 181 | 184 |
packageA/pages/distribution/myteam/myteam.wxml
| @@ -9,7 +9,11 @@ | @@ -9,7 +9,11 @@ | ||
| 9 | <view class="flex ai-center"> | 9 | <view class="flex ai-center"> |
| 10 | <view class="pdr20"><image class="avatar" src="{{item.head_pic}}"/></view> | 10 | <view class="pdr20"><image class="avatar" src="{{item.head_pic}}"/></view> |
| 11 | <view> | 11 | <view> |
| 12 | - <view>{{item.nickname}}</view> | 12 | + <view> |
| 13 | + {{item.nickname}} | ||
| 14 | + <block wx:if="{{item.is_distribut == 1}}">分销会员</block> | ||
| 15 | + <block wx:else>普通会员</block> | ||
| 16 | + </view> | ||
| 13 | <view class="fs24 c-a">{{filter.format_time(item.reg_time)}}</view> | 17 | <view class="fs24 c-a">{{filter.format_time(item.reg_time)}}</view> |
| 14 | </view> | 18 | </view> |
| 15 | </view> | 19 | </view> |