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