Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7ae1b7a8
authored
Dec 13, 2021
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复概览
1 parent
fcefed21
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
31 deletions
src/views/home/components/pieChart.vue
src/views/home/index.vue
src/views/home/components/pieChart.vue
View file @
7ae1b7a
...
@@ -29,7 +29,7 @@ export default {
...
@@ -29,7 +29,7 @@ export default {
{
{
name
:
'券类营销'
,
name
:
'券类营销'
,
type
:
'pie'
,
type
:
'pie'
,
radius
:
'
7
0%'
,
radius
:
'
6
0%'
,
label
:
{
label
:
{
formatter
:
'{b}\n \n{c} 张'
formatter
:
'{b}\n \n{c} 张'
},
},
...
...
src/views/home/index.vue
View file @
7ae1b7a
...
@@ -34,36 +34,34 @@
...
@@ -34,36 +34,34 @@
<div
class=
"customer-content"
>
<div
class=
"customer-content"
>
<!-- 券类营销 -->
<!-- 券类营销 -->
<div
class=
"border coupons"
>
<div
class=
"border coupons"
>
<div
class=
"name"
>
券类营销
</div>
<div
class=
"name"
>
优惠券数据
</div>
<div
class=
"coupons-content"
>
<div
class=
"coupons-content"
>
<div
class=
"coupons-left"
>
<div
class=
"coupons-left"
>
<div
class=
"data-item"
>
<div
class=
"data-item"
>
<span
class=
"data-title w-90"
>
<span
class=
"data-title w-90"
>
优惠券总数
总发放量
<el-popover
<el-popover
placement=
"top-start"
placement=
"top-start"
title=
"优惠券总数"
width=
"200"
width=
"200"
trigger=
"hover"
trigger=
"hover"
content=
"
营销工具中优惠券类配置的所有类型的券总数量
。"
content=
"
配置优惠券的总张数
。"
>
>
<img
slot=
"reference"
:src=
"iconUrl"
alt
/>
<img
slot=
"reference"
:src=
"iconUrl"
alt
/>
</el-popover>
</el-popover>
<!--
<img
:src=
"iconUrl"
alt
/>
-->
<!--
<img
:src=
"iconUrl"
alt
/>
-->
</span>
</span>
<span
class=
"date-content"
>
<span
class=
"date-content"
>
<span
class=
"data-num"
>
{{
coupon
.
total
Issue
}}
</span>
张
<span
class=
"data-num"
>
{{
coupon
.
total
Stock
?
coupon
.
totalStock
:
'--'
}}
</span>
张
</span>
</span>
</div>
</div>
<div
class=
"data-item"
>
<div
class=
"data-item"
>
<span
class=
"data-title w-90"
>
<span
class=
"data-title w-90"
>
发放总数
领取量
<el-popover
<el-popover
placement=
"top-start"
placement=
"top-start"
title=
"发放总数"
width=
"300"
width=
"200"
trigger=
"hover"
trigger=
"hover"
content=
"
配置的优惠券中已发放给客户的数量
。"
content=
"
发放给用户且已被领取的优惠券总张数
。"
>
>
<img
slot=
"reference"
:src=
"iconUrl"
alt
/>
<img
slot=
"reference"
:src=
"iconUrl"
alt
/>
</el-popover>
</el-popover>
...
@@ -75,13 +73,12 @@
...
@@ -75,13 +73,12 @@
</div>
</div>
<div
class=
"data-item"
>
<div
class=
"data-item"
>
<span
class=
"data-title w-90"
>
<span
class=
"data-title w-90"
>
核销
总数
核销
量
<el-popover
<el-popover
placement=
"top-start"
placement=
"top-start"
title=
"核销总数"
width=
"220"
width=
"200"
trigger=
"hover"
trigger=
"hover"
content=
"
已发放给客户的券被核销的数量
。"
content=
"
核销用户优惠券的总张数
。"
>
>
<img
slot=
"reference"
:src=
"iconUrl"
alt
/>
<img
slot=
"reference"
:src=
"iconUrl"
alt
/>
</el-popover>
</el-popover>
...
@@ -114,10 +111,9 @@
...
@@ -114,10 +111,9 @@
参与活动总人数
参与活动总人数
<el-popover
<el-popover
placement=
"top-start"
placement=
"top-start"
title=
"参与活动总人数"
width=
"270"
width=
"200"
trigger=
"hover"
trigger=
"hover"
content=
"
购买活动商品的账号数量
。"
content=
"
参与活动且购买活动商品的总人数
。"
>
>
<img
slot=
"reference"
:src=
"iconUrl"
alt
/>
<img
slot=
"reference"
:src=
"iconUrl"
alt
/>
</el-popover>
</el-popover>
...
@@ -132,10 +128,9 @@
...
@@ -132,10 +128,9 @@
浏览量
浏览量
<el-popover
<el-popover
placement=
"top-start"
placement=
"top-start"
title=
"浏览量"
width=
"255"
width=
"200"
trigger=
"hover"
trigger=
"hover"
content=
"
进入活动页面但未购买商品的账号数量+购买活动商品的账号数量
。"
content=
"
用户进入活动页面的总浏览次数
。"
>
>
<img
slot=
"reference"
:src=
"iconUrl"
alt
/>
<img
slot=
"reference"
:src=
"iconUrl"
alt
/>
</el-popover>
</el-popover>
...
@@ -147,13 +142,12 @@
...
@@ -147,13 +142,12 @@
</div>
</div>
<div
class=
"data-item"
>
<div
class=
"data-item"
>
<span
class=
"data-title w-118"
>
<span
class=
"data-title w-118"
>
累计销
量
累计销
售额
<el-popover
<el-popover
placement=
"top-start"
placement=
"top-start"
title=
"累计销量"
width=
"240"
width=
"200"
trigger=
"hover"
trigger=
"hover"
content=
"
购买活动商品付款金额的累加
。"
content=
"
用户购买活动商品的总销售额
。"
>
>
<img
slot=
"reference"
:src=
"iconUrl"
alt
/>
<img
slot=
"reference"
:src=
"iconUrl"
alt
/>
</el-popover>
</el-popover>
...
@@ -214,7 +208,7 @@
...
@@ -214,7 +208,7 @@
</div>
</div>
<div
class=
"bar-box"
>
<div
class=
"bar-box"
>
<BarChart
:list
.
sync=
"equity.countMerchantOrderList"
></BarChart>
<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>
<div>
<div>
...
@@ -342,7 +336,7 @@ export default {
...
@@ -342,7 +336,7 @@ export default {
title
:
'商品销售'
,
title
:
'商品销售'
,
content
:
'商品管理可对门店创建的商品进行自主上下架,管理商品的销售订单。'
,
content
:
'商品管理可对门店创建的商品进行自主上下架,管理商品的销售订单。'
,
linkName
:
'上架商品'
,
linkName
:
'上架商品'
,
path
:
'/product
Group
/index'
path
:
'/product
Store
/index'
}
}
],
],
date
:
[],
date
:
[],
...
@@ -434,11 +428,16 @@ export default {
...
@@ -434,11 +428,16 @@ export default {
})
})
},
},
equityStatistical
()
{
equityStatistical
()
{
this
.
$apis
.
home
.
equityStatistical
({}).
then
(
res
=>
{
this
.
$apis
.
home
this
.
equity
=
res
.
equityStatistical
({})
this
.
equity
.
weekFlag
=
this
.
equity
.
lastWeekDayMemberShipCompared
.
indexOf
(
'-'
)
==
-
1
.
then
(
res
=>
{
this
.
equity
.
dayFlag
=
this
.
equity
.
yesterdayMembershipSequential
.
indexOf
(
'-'
)
==
-
1
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
()
{
merchantStatistical
()
{
this
.
$apis
.
home
.
merchantStatistical
({}).
then
(
res
=>
{
this
.
$apis
.
home
.
merchantStatistical
({}).
then
(
res
=>
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment