Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
glsx-posters
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 0222d764
authored
May 17, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v4.38.0' into 'master'
上线合并 See merge request
!45
2 parents
b19458d3
f62b8670
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
116 additions
and
23 deletions
src/assets/styles/equity/storeReport.scss
src/views/equity/interface/report.ts
src/views/equity/storeReport.vue
src/assets/styles/equity/storeReport.scss
View file @
0222d76
...
@@ -139,6 +139,9 @@
...
@@ -139,6 +139,9 @@
position
:
relative
;
position
:
relative
;
width
:
100%
;
width
:
100%
;
height
:
408px
;
height
:
408px
;
&
.sale-transform
{
height
:
500px
;
}
.sale-funnel
{
.sale-funnel
{
position
:
absolute
;
position
:
absolute
;
left
:
50%
;
left
:
50%
;
...
@@ -176,8 +179,9 @@
...
@@ -176,8 +179,9 @@
}
}
.sale-rate
{
.sale-rate
{
position
:
absolute
;
position
:
absolute
;
right
:
64
px
;
right
:
40
px
;
top
:
50%
;
top
:
50%
;
width
:
100px
;
transform
:
translateY
(
-50%
);
transform
:
translateY
(
-50%
);
font-size
:
24px
;
font-size
:
24px
;
color
:
#E62F12
;
color
:
#E62F12
;
...
@@ -186,10 +190,50 @@
...
@@ -186,10 +190,50 @@
.sale-number
{
.sale-number
{
font-weight
:
700
;
font-weight
:
700
;
font-size
:
40px
;
font-size
:
40px
;
color
:
#
E62F12
;
color
:
#
FC4728
;
line-height
:
56px
;
line-height
:
56px
;
}
}
}
}
&
.sale-transform
{
padding
:
64px
12px
;
.sale-funnel
{
width
:
394px
;
height
:
376px
;
}
.sale-lable
{
left
:
30px
;
&
.sale-up
{
top
:
120px
;
}
&
.sale-down
{
bottom
:
90px
;
}
.sale-number
{
font-weight
:
700
;
font-size
:
40px
;
color
:
#FC4728
;
line-height
:
56px
;
margin-top
:
4px
;
}
}
.sale-value
{
text-align
:
center
;
font-size
:
24px
;
.label
{
font-weight
:
400
;
}
&
.sale-up
{
top
:
100px
;
}
&
.sale-down
{
bottom
:
90px
;
}
&
.sale-middle
{
top
:
220px
;
color
:
#E62F12
;
}
}
}
}
}
.output-content
{
.output-content
{
padding
:
48px
26px
56px
!
important
;
padding
:
48px
26px
56px
!
important
;
...
@@ -238,7 +282,7 @@
...
@@ -238,7 +282,7 @@
width
:
96px
;
width
:
96px
;
height
:
96px
;
height
:
96px
;
border-radius
:
50%
;
border-radius
:
50%
;
margin-left
:
30
px
;
margin-left
:
16
px
;
background-image
:
linear-gradient
(
180deg
,
#FFF0F0
0%
,
#FFDFDB
100%
);
background-image
:
linear-gradient
(
180deg
,
#FFF0F0
0%
,
#FFDFDB
100%
);
.avatar
{
.avatar
{
position
:
absolute
;
position
:
absolute
;
...
@@ -289,7 +333,7 @@
...
@@ -289,7 +333,7 @@
font-weight
:
700
;
font-weight
:
700
;
font-size
:
36px
;
font-size
:
36px
;
color
:
#FC4728
;
color
:
#FC4728
;
margin-right
:
20px
;
//
margin-right: 20px;
}
}
}
}
.ranking-list
{
.ranking-list
{
...
@@ -322,7 +366,7 @@
...
@@ -322,7 +366,7 @@
height
:
180px
;
height
:
180px
;
left
:
50%
;
left
:
50%
;
transform
:
translateX
(
-50%
);
transform
:
translateX
(
-50%
);
top
:
1558
px
;
top
:
-130
px
;
}
}
.bg-footer
{
.bg-footer
{
position
:
absolute
;
position
:
absolute
;
...
...
src/views/equity/interface/report.ts
View file @
0222d76
...
@@ -3,13 +3,15 @@
...
@@ -3,13 +3,15 @@
* @Author: huyue
* @Author: huyue
* @Date: 2023-05-16 16:24:07
* @Date: 2023-05-16 16:24:07
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 202
3-05-22 17:57:17
* @LastEditTime: 202
4-04-19 10:27:04
*/
*/
export
interface
Params
{
export
interface
Params
{
merchantId4s
?:
number
;
merchantId4s
?:
number
;
id
?:
number
;
id
?:
number
;
merchantName4s
?:
string
;
merchantName4s
?:
string
;
dataId
?:
number
;
dataId
?:
number
;
startTime
?:
string
;
endTime
?:
string
;
}
}
export
interface
DataInfo
{
export
interface
DataInfo
{
...
@@ -32,6 +34,19 @@ export interface ReportData {
...
@@ -32,6 +34,19 @@ export interface ReportData {
yesterdayOrderTotal
?:
number
;
yesterdayOrderTotal
?:
number
;
staffList
?:
StaffInfo
[];
staffList
?:
StaffInfo
[];
reportName
?:
string
;
reportName
?:
string
;
currentTimeFlag
?:
number
;
hwMerchantFlag
?:
number
;
yesterdayNewCarDelivery
?:
number
;
monthNewCarDelivery
?:
number
;
yesterdayCustomerTotal
?:
number
;
monthCustomerTotal
?:
number
;
yesterdaySuccessCustomerTotal
?:
number
yesterdayReachConversionRate
?:
string
;
yesterdayPenetrationRate
?:
string
;
yesterdayUpgradeConversionRate
?:
string
;
monthReachConversionRate
?:
string
;
monthPenetrationRate
?:
string
;
monthUpgradeConversionRate
?:
string
;
}
}
interface
StaffInfo
{
interface
StaffInfo
{
referrerId
?:
string
;
referrerId
?:
string
;
...
...
src/views/equity/storeReport.vue
View file @
0222d76
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Author: huyue
* @Date: 2023-05-12 15:26:33
* @Date: 2023-05-12 15:26:33
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 202
3-08-30 18:16:44
* @LastEditTime: 202
4-05-07 10:43:33
-->
-->
<
template
>
<
template
>
<div
class=
"store-report"
>
<div
class=
"store-report"
>
...
@@ -19,11 +19,11 @@
...
@@ -19,11 +19,11 @@
<div
class=
"wrapper-bg"
>
<div
class=
"wrapper-bg"
>
<div
class=
"market"
>
<div
class=
"market"
>
<div
class=
"market-item"
>
<div
class=
"market-item"
>
<div
class=
"market-label"
>
昨日
营业额
</div>
<div
class=
"market-label"
>
{{
data
.
reportInfo
!
.
currentTimeFlag
?
"今日"
:
"昨日"
}}
营业额
</div>
<div
class=
"market-value"
>
¥
<span
class=
"market-number"
>
{{
data
.
reportInfo
!
.
yesterdayTurnover
}}
</span></div>
<div
class=
"market-value"
>
¥
<span
class=
"market-number"
>
{{
data
.
reportInfo
!
.
yesterdayTurnover
}}
</span></div>
</div>
</div>
<div
class=
"market-item"
>
<div
class=
"market-item"
>
<div
class=
"market-label"
>
昨日
单量
</div>
<div
class=
"market-label"
>
{{
data
.
reportInfo
!
.
currentTimeFlag
?
"今日"
:
"昨日"
}}
单量
</div>
<div
class=
"market-value chinese-value"
><span
class=
"market-number"
>
{{
data
.
reportInfo
!
.
yesterdayOrderTotal
}}
</span>
单
</div>
<div
class=
"market-value chinese-value"
><span
class=
"market-number"
>
{{
data
.
reportInfo
!
.
yesterdayOrderTotal
}}
</span>
单
</div>
</div>
</div>
<div
class=
"market-item"
>
<div
class=
"market-item"
>
...
@@ -48,21 +48,56 @@
...
@@ -48,21 +48,56 @@
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"wrapper-content sales"
>
<template
v-if=
"data.reportInfo!.hwMerchantFlag"
>
<div
class=
"wrapper-title"
>
销售漏斗(本月)
</div>
<div
class=
"wrapper-content sales"
>
<div
class=
"wrapper-bg sales-content"
>
<div
class=
"wrapper-title"
>
销售漏斗(
{{
data
.
reportInfo
!
.
currentTimeFlag
?
"今日"
:
"昨日"
}}
)
</div>
<img
class=
"sale-funnel"
:src=
"getImageUrl('sale-funnel')"
alt=
""
>
<div
class=
"wrapper-bg sales-content sale-transform"
>
<div
class=
"sale-lable sale-up"
>
推荐客户量
</div>
<img
class=
"sale-funnel"
:src=
"getImageUrl('sale-day')"
alt=
""
>
<div
class=
"sale-value sale-up"
>
{{
data
.
reportInfo
!
.
customerTotal
}}
</div>
<div
class=
"sale-lable sale-up"
>
到店转化率
<div
class=
"sale-number"
>
{{
data
.
reportInfo
!
.
yesterdayReachConversionRate
}}
</div></div>
<div
class=
"sale-lable sale-down"
>
成交客户量
</div>
<div
class=
"sale-value sale-up"
><div
class=
"label"
>
新车交付量
</div>
{{
data
.
reportInfo
!
.
yesterdayNewCarDelivery
}}
</div>
<div
class=
"sale-value sale-down"
>
{{
data
.
reportInfo
!
.
successCustomerTotal
}}
</div>
<div
class=
"sale-value sale-middle"
><div
class=
"label"
>
到店客户量
</div>
{{
data
.
reportInfo
!
.
yesterdayCustomerTotal
}}
</div>
<div
class=
"sale-rate"
>
<div
class=
"sale-lable sale-down"
>
升级转化率
<div
class=
"sale-number"
>
{{
data
.
reportInfo
!
.
yesterdayUpgradeConversionRate
}}
</div></div>
转化率
<div
class=
"sale-value sale-down"
><div
class=
"label"
>
成交客户量
</div>
{{
data
.
reportInfo
!
.
yesterdaySuccessCustomerTotal
}}
</div>
<div
class=
"sale-number"
>
{{
data
.
reportInfo
!
.
conversionRate
}}
</div>
<div
class=
"sale-rate"
>
渗透率
<div
class=
"sale-number"
>
{{
data
.
reportInfo
!
.
yesterdayPenetrationRate
}}
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"wrapper-content sales"
>
<div
class=
"wrapper-content"
>
<div
class=
"wrapper-title"
>
销售漏斗(本月)
</div>
<div
class=
"wrapper-bg sales-content sale-transform"
>
<img
class=
"sale-funnel"
:src=
"getImageUrl('sale-day')"
alt=
""
>
<div
class=
"sale-lable sale-up"
>
到店转化率
<div
class=
"sale-number"
>
{{
data
.
reportInfo
!
.
monthReachConversionRate
}}
</div></div>
<div
class=
"sale-value sale-up"
><div
class=
"label"
>
新车交付量
</div>
{{
data
.
reportInfo
!
.
monthNewCarDelivery
}}
</div>
<div
class=
"sale-value sale-middle"
><div
class=
"label"
>
到店客户量
</div>
{{
data
.
reportInfo
!
.
monthCustomerTotal
}}
</div>
<div
class=
"sale-lable sale-down"
>
升级转化率
<div
class=
"sale-number"
>
{{
data
.
reportInfo
!
.
monthUpgradeConversionRate
}}
</div></div>
<div
class=
"sale-value sale-down"
><div
class=
"label"
>
成交客户量
</div>
{{
data
.
reportInfo
!
.
successCustomerTotal
}}
</div>
<div
class=
"sale-rate"
>
渗透率
<div
class=
"sale-number"
>
{{
data
.
reportInfo
!
.
monthPenetrationRate
}}
</div>
</div>
</div>
</div>
</
template
>
<
template
v-else
>
<div
class=
"wrapper-content sales"
>
<div
class=
"wrapper-title"
>
销售漏斗(本月)
</div>
<div
class=
"wrapper-bg sales-content"
>
<img
class=
"sale-funnel"
:src=
"getImageUrl('sale-funnel')"
alt=
""
>
<div
class=
"sale-lable sale-up"
>
推荐客户量
</div>
<div
class=
"sale-value sale-up"
>
{{
data
.
reportInfo
!
.
customerTotal
}}
</div>
<div
class=
"sale-lable sale-down"
>
成交客户量
</div>
<div
class=
"sale-value sale-down"
>
{{
data
.
reportInfo
!
.
successCustomerTotal
}}
</div>
<div
class=
"sale-rate"
>
转化率
<div
class=
"sale-number"
>
{{
data
.
reportInfo
!
.
conversionRate
}}
</div>
</div>
</div>
</div>
</
template
>
<div
class=
"wrapper-content"
style=
"position: relative;"
>
<img
class=
"firework"
:src=
"getImageUrl('store-firework')"
alt=
""
>
<div
class=
"wrapper-title"
>
产值排名(本月)
</div>
<div
class=
"wrapper-title"
>
产值排名(本月)
</div>
<div
v-if=
"data.reportInfo!.staffList && data.reportInfo!.staffList!.length > 0"
class=
"wrapper-bg output-content"
>
<div
v-if=
"data.reportInfo!.staffList && data.reportInfo!.staffList!.length > 0"
class=
"wrapper-bg output-content"
>
<div
class=
"output output-bg"
:class=
"data.classList![index]"
v-for=
"(item, index) in data.reportInfo!.staffList"
:key=
"index"
>
<div
class=
"output output-bg"
:class=
"data.classList![index]"
v-for=
"(item, index) in data.reportInfo!.staffList"
:key=
"index"
>
...
@@ -103,7 +138,6 @@
...
@@ -103,7 +138,6 @@
<div
class=
"no-data-text"
>
暂无数据
</div>
<div
class=
"no-data-text"
>
暂无数据
</div>
</div>
</div>
</div>
</div>
<img
class=
"firework"
:src=
"getImageUrl('store-firework')"
alt=
""
>
<img
class=
"bg-footer"
:src=
"getImageUrl('bg-footer')"
alt=
""
>
<img
class=
"bg-footer"
:src=
"getImageUrl('bg-footer')"
alt=
""
>
<img
class=
"logo"
:src=
"getImageUrl('logo')"
alt=
""
>
<img
class=
"logo"
:src=
"getImageUrl('logo')"
alt=
""
>
</div>
</div>
...
...
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