mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-02-05 05:19:49 +08:00
【修复】修复分销商,代理商我的团队中【推荐人】信息显示错误的问题,修复分销商推广列表下级汇总数据为0的异常情况。
This commit is contained in:
@@ -13,13 +13,13 @@
|
|||||||
<u-sticky customNavHeight="48">
|
<u-sticky customNavHeight="48">
|
||||||
<view class="head_box coreshop-bg-blue coreshop-padding-top-10 coreshop-padding-bottom-10">
|
<view class="head_box coreshop-bg-blue coreshop-padding-top-10 coreshop-padding-bottom-10">
|
||||||
<!-- 推荐人 -->
|
<!-- 推荐人 -->
|
||||||
<view class="referrer-box coreshop-flex coreshop-align-center coreshop-padding-left-15 coreshop-padding-right-15" v-if="referrerInfo && referrerInfo.avatarImage">
|
<view class="referrer-box coreshop-flex coreshop-align-center coreshop-padding-left-15 coreshop-padding-right-15" v-if="referrerInfo">
|
||||||
上级推荐人:
|
推荐人:
|
||||||
<image class="referrer-avatarImage" :src="referrerInfo.avatarImage" mode=""></image>
|
<image class="referrer-avatarImage" :src="referrerInfo.avatar" mode="" v-if="referrerInfo.avatar"></image>
|
||||||
{{ referrerInfo.nickName }}
|
{{ referrerInfo.nickname }}
|
||||||
</view>
|
</view>
|
||||||
<view class="referrer-box coreshop-flex coreshop-align-center coreshop-padding-left-15 coreshop-padding-right-15" v-else>
|
<view class="referrer-box coreshop-flex coreshop-align-center coreshop-padding-left-15 coreshop-padding-right-15" v-else>
|
||||||
上级推荐人:无
|
推荐人:无
|
||||||
</view>
|
</view>
|
||||||
<!-- 团队数据总览 -->
|
<!-- 团队数据总览 -->
|
||||||
<view class="team-data-box coreshop-flex coreshop-justify-between">
|
<view class="team-data-box coreshop-flex coreshop-justify-between">
|
||||||
|
|||||||
@@ -13,10 +13,10 @@
|
|||||||
<u-sticky customNavHeight="48">
|
<u-sticky customNavHeight="48">
|
||||||
<view class="head_box coreshop-bg-red coreshop-padding-top-10 coreshop-padding-bottom-10">
|
<view class="head_box coreshop-bg-red coreshop-padding-top-10 coreshop-padding-bottom-10">
|
||||||
<!-- 推荐人 -->
|
<!-- 推荐人 -->
|
||||||
<view class="referrer-box coreshop-flex coreshop-align-center coreshop-padding-left-15 coreshop-padding-right-15" v-if="referrerInfo && referrerInfo.avatarImage">
|
<view class="referrer-box coreshop-flex coreshop-align-center coreshop-padding-left-15 coreshop-padding-right-15" v-if="referrerInfo">
|
||||||
推荐人:
|
推荐人:
|
||||||
<image class="referrer-avatarImage" :src="referrerInfo.avatarImage" mode=""></image>
|
<image class="referrer-avatarImage" :src="referrerInfo.avatar" mode="" v-if="referrerInfo.avatar"></image>
|
||||||
{{ referrerInfo.nickName }}
|
{{ referrerInfo.nickname }}
|
||||||
</view>
|
</view>
|
||||||
<view class="referrer-box coreshop-flex coreshop-align-center coreshop-padding-left-15 coreshop-padding-right-15" v-else>
|
<view class="referrer-box coreshop-flex coreshop-align-center coreshop-padding-left-15 coreshop-padding-right-15" v-else>
|
||||||
推荐人:无
|
推荐人:无
|
||||||
|
|||||||
@@ -2088,7 +2088,7 @@ namespace CoreCms.Net.Web.WebApi.Controllers
|
|||||||
p.avatarImage,
|
p.avatarImage,
|
||||||
mobile = UserHelper.FormatMobile(p.mobile),
|
mobile = UserHelper.FormatMobile(p.mobile),
|
||||||
p.createTime,
|
p.createTime,
|
||||||
childNum = _userServices.GetCount(p => p.parentId == p.id)
|
childNum = _userServices.GetCount(op => op.parentId == p.id)
|
||||||
});
|
});
|
||||||
jm.otherData = new
|
jm.otherData = new
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user