Commit 7ae1b7a8 by 胡悦

修复概览

1 parent fcefed21
......@@ -29,7 +29,7 @@ export default {
{
name: '券类营销',
type: 'pie',
radius: '70%',
radius: '60%',
label: {
formatter: '{b}\n \n{c} 张'
},
......
......@@ -34,36 +34,34 @@
<div class="customer-content">
<!-- 券类营销 -->
<div class="border coupons">
<div class="name">券类营销</div>
<div class="name">优惠券数据</div>
<div class="coupons-content">
<div class="coupons-left">
<div class="data-item">
<span class="data-title w-90">
优惠券总数
总发放量
<el-popover
placement="top-start"
title="优惠券总数"
width="200"
trigger="hover"
content="营销工具中优惠券类配置的所有类型的券总数量。"
content="配置优惠券的总张数。"
>
<img slot="reference" :src="iconUrl" alt />
</el-popover>
<!-- <img :src="iconUrl" alt /> -->
</span>
<span class="date-content">
<span class="data-num">{{coupon.totalIssue}}</span>张
<span class="data-num">{{coupon.totalStock ? coupon.totalStock : '--'}}</span>张
</span>
</div>
<div class="data-item">
<span class="data-title w-90">
发放总数
领取量
<el-popover
placement="top-start"
title="发放总数"
width="200"
width="300"
trigger="hover"
content="配置的优惠券中已发放给客户的数量。"
content="发放给用户且已被领取的优惠券总张数。"
>
<img slot="reference" :src="iconUrl" alt />
</el-popover>
......@@ -75,13 +73,12 @@
</div>
<div class="data-item">
<span class="data-title w-90">
核销总数
核销量
<el-popover
placement="top-start"
title="核销总数"
width="200"
width="220"
trigger="hover"
content="已发放给客户的券被核销的数量。"
content="核销用户优惠券的总张数。"
>
<img slot="reference" :src="iconUrl" alt />
</el-popover>
......@@ -114,10 +111,9 @@
参与活动总人数
<el-popover
placement="top-start"
title="参与活动总人数"
width="200"
width="270"
trigger="hover"
content="购买活动商品的账号数量。"
content="参与活动且购买活动商品的总人数。"
>
<img slot="reference" :src="iconUrl" alt />
</el-popover>
......@@ -132,10 +128,9 @@
浏览量
<el-popover
placement="top-start"
title="浏览量"
width="200"
width="255"
trigger="hover"
content="进入活动页面但未购买商品的账号数量+购买活动商品的账号数量。"
content="用户进入活动页面的总浏览次数。"
>
<img slot="reference" :src="iconUrl" alt />
</el-popover>
......@@ -147,13 +142,12 @@
</div>
<div class="data-item">
<span class="data-title w-118">
累计销量
累计销售额
<el-popover
placement="top-start"
title="累计销量"
width="200"
width="240"
trigger="hover"
content="购买活动商品付款金额的累加。"
content="用户购买活动商品的总销售额。"
>
<img slot="reference" :src="iconUrl" alt />
</el-popover>
......@@ -214,7 +208,7 @@
</div>
<div class="bar-box">
<BarChart :list.sync="equity.countMerchantOrderList"></BarChart>
<div class="no-data" v-if="!equity.countMerchantOrderList">暂无数据</div>
<div class="no-data" v-show="!equity.countMerchantOrderList">暂无数据</div>
</div>
<div>
......@@ -342,7 +336,7 @@ export default {
title: '商品销售',
content: '商品管理可对门店创建的商品进行自主上下架,管理商品的销售订单。',
linkName: '上架商品',
path: '/productGroup/index'
path: '/productStore/index'
}
],
date: [],
......@@ -434,11 +428,16 @@ export default {
})
},
equityStatistical() {
this.$apis.home.equityStatistical({}).then(res => {
this.equity = res
this.equity.weekFlag = this.equity.lastWeekDayMemberShipCompared.indexOf('-') == -1
this.equity.dayFlag = this.equity.yesterdayMembershipSequential.indexOf('-') == -1
})
this.$apis.home
.equityStatistical({})
.then(res => {
this.equity = res
this.equity.weekFlag = this.equity.lastWeekDayMemberShipCompared.indexOf('-') == -1
this.equity.dayFlag = this.equity.yesterdayMembershipSequential.indexOf('-') == -1
})
.catch(err => {
this.equity.countMerchantOrderList = ''
})
},
merchantStatistical() {
this.$apis.home.merchantStatistical({}).then(res => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!