Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
glsk-data-view-pd
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 a2f0c404
authored
Sep 06, 2023
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v2.2.0' of
http://192.168.3.233:8090/h5/glsk-data-view-pd
into v2.2.0
2 parents
f202bd7e
b2e5d42a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
138 additions
and
4 deletions
src/api/modules/internal.js
src/views/internal/components/ViewEdun.vue
src/views/internal/components/ViewIntersts.vue
src/api/modules/internal.js
0 → 100644
View file @
a2f0c40
// 总览数据:核心指标、数字化连接、数字化管理(线索服务/会员权益/虎哥E盾)、数字化营销(1.1精品升级/1.3售后众筹)
const
getAllOverview
=
params
=>
{
return
window
.
$HTTP
.
get
(
'inner/getAllOverview'
,
params
)
}
// 核心指标:门店活跃统计
const
getCoreActiveMerchant
=
params
=>
{
return
window
.
$HTTP
.
get
(
'inner/getCoreActiveMerchant'
,
params
)
}
// 数字化链接:成品设备激活趋势
const
getLinkFinishedProductTrend
=
params
=>
{
return
window
.
$HTTP
.
get
(
'inner/getLinkFinishedProductTrend'
,
params
)
}
// 数字化管理(线索服务):设备订阅数量和线索相关性分析
const
getManageClueAnalysis
=
params
=>
{
return
window
.
$HTTP
.
get
(
'inner/getManageClueAnalysis'
,
params
)
}
// 数字化管理(线索服务):按年统计销售金额的合理性
const
getManageClueSalesAmountRationality
=
params
=>
{
return
window
.
$HTTP
.
get
(
'inner/getManageClueSalesAmountRationality'
,
params
)
}
// 数字化管理(线索服务):注册门店趋势 && 活跃门店势 && 月收入趋势 && 销售渠道趋势
const
getManageClueTrend
=
params
=>
{
return
window
.
$HTTP
.
get
(
'inner/getManageClueTrend'
,
params
)
}
// 数字化管理(虎哥E盾):按年统计客户销售金额的合理性
const
getManageESalesAmountRationality
=
params
=>
{
return
window
.
$HTTP
.
get
(
'inner/getManageESalesAmountRationality'
,
params
)
}
// 数字化管理(虎哥E盾):月收入趋势
const
getManageETrend
=
params
=>
{
return
window
.
$HTTP
.
get
(
'inner/getManageETrend'
,
params
)
}
// 数字化管理(会员权益):按年统计客户销售金额的合理性
const
getManageMemberSalesAmountRationality
=
params
=>
{
return
window
.
$HTTP
.
get
(
'inner/getManageMemberSalesAmountRationality'
,
params
)
}
// 数字化管理(会员权益):月收入趋势
const
getManageMemberTrend
=
params
=>
{
return
window
.
$HTTP
.
get
(
'inner/getManageMemberTrend'
,
params
)
}
// 数字化营销(1.3售后众筹): 活动订单分布
const
getMarketingCrowdFundingActivityDistr
=
params
=>
{
return
window
.
$HTTP
.
get
(
'inner/getMarketingCrowdFundingActivityDistr'
,
params
)
}
// 数字化营销(1.3售后众筹):活动订单金额分布
const
getMarketingCrowdFundingActivityMoneyDistr
=
params
=>
{
return
window
.
$HTTP
.
get
(
'inner/getMarketingCrowdFundingActivityMoneyDistr'
,
params
)
}
// 数字化营销(1.3售后众筹):门店订单分布
const
getMarketingCrowdFundingMerDistr
=
params
=>
{
return
window
.
$HTTP
.
get
(
'inner/getMarketingCrowdFundingMerDistr'
,
params
)
}
// 数字化营销(1.3售后众筹):活动趋势 && 订单趋势 && 客单价趋势
const
getMarketingCrowdFundingTrend
=
params
=>
{
return
window
.
$HTTP
.
get
(
'inner/getMarketingCrowdFundingTrend'
,
params
)
}
// 数字化营销(1.1精品升级):门店订单金额分布 && 门店订单量分布
const
getMarketingDistribution
=
params
=>
{
return
window
.
$HTTP
.
get
(
'inner/getMarketingDistribution'
,
params
)
}
// 数字化营销(1.1精品升级):注册门店/活跃门店/月订单量收入趋势
const
getMarketingTrend
=
params
=>
{
return
window
.
$HTTP
.
get
(
'inner/getMarketingTrend'
,
params
)
}
export
default
{
getAllOverview
,
getCoreActiveMerchant
,
getLinkFinishedProductTrend
,
getManageClueAnalysis
,
getManageClueSalesAmountRationality
,
getManageClueTrend
,
getManageESalesAmountRationality
,
getManageETrend
,
getManageMemberSalesAmountRationality
,
getManageMemberTrend
,
getMarketingCrowdFundingActivityDistr
,
getMarketingCrowdFundingActivityMoneyDistr
,
getMarketingCrowdFundingMerDistr
,
getMarketingCrowdFundingTrend
,
getMarketingDistribution
,
getMarketingTrend
}
src/views/internal/components/ViewEdun.vue
View file @
a2f0c40
...
...
@@ -12,6 +12,7 @@
</div>
<div
class=
"income-box"
>
<div
class=
"patch-title title"
>
月收入趋势
</div>
<LineChart
ref=
"edunLineChartRef"
domId=
"edunLineChart"
:height=
"'28vh'"
:dataList
.
sync=
"lineDataList"
:tooltipFormatterObj=
"tooltips"
:valName=
"tooltips.attrName"
></LineChart>
</div>
</div>
</
template
>
...
...
@@ -19,12 +20,14 @@
<
script
>
import
BarChart
from
'./BarChart.vue'
import
PriceSwitch
from
'./PriceSwitch.vue'
import
LineChart
from
'./LineCharts.vue'
import
{
edunPriceList
}
from
'./constant'
export
default
{
name
:
'ViewEdun'
,
components
:
{
BarChart
,
PriceSwitch
PriceSwitch
,
LineChart
},
data
()
{
return
{
...
...
@@ -78,12 +81,27 @@ export default {
tooltips
:
{
label
:
'场次'
,
attrName
:
'actiNum'
}
},
lineDataList
:
[
{
statMonth
:
'2021'
,
actiNum
:
400
},
{
statMonth
:
'2022'
,
actiNum
:
600
},
{
statMonth
:
'2023'
,
actiNum
:
800
}
],
}
},
mounted
()
{
this
.
$refs
.
edunChartRef
.
drawBar
()
this
.
$refs
.
edunLineChartRef
.
drawLine
()
},
methods
:
{
...
...
src/views/internal/components/ViewIntersts.vue
View file @
a2f0c40
...
...
@@ -12,6 +12,7 @@
</div>
<div
class=
"income-box"
>
<div
class=
"patch-title title"
>
月收入趋势
</div>
<LineChart
ref=
"equityLineChartRef"
domId=
"equityLineChart"
:height=
"'28vh'"
:dataList
.
sync=
"lineDataList"
:tooltipFormatterObj=
"tooltips"
:valName=
"tooltips.attrName"
></LineChart>
</div>
</div>
</
template
>
...
...
@@ -19,12 +20,14 @@
<
script
>
import
BarChart
from
'./BarChart.vue'
import
PriceSwitch
from
'./PriceSwitch.vue'
import
LineChart
from
'./LineCharts.vue'
import
{
equityPriceList
}
from
'./constant'
export
default
{
name
:
'Viewequity'
,
components
:
{
BarChart
,
PriceSwitch
PriceSwitch
,
LineChart
},
data
()
{
return
{
...
...
@@ -92,12 +95,27 @@ export default {
tooltips
:
{
label
:
'场次'
,
attrName
:
'actiNum'
}
},
lineDataList
:
[
{
statMonth
:
'2021'
,
actiNum
:
400
},
{
statMonth
:
'2022'
,
actiNum
:
600
},
{
statMonth
:
'2023'
,
actiNum
:
800
}
],
}
},
mounted
()
{
this
.
$refs
.
equityChartRef
.
drawBar
()
this
.
$refs
.
equityLineChartRef
.
drawLine
()
},
methods
:
{
...
...
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