Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-attachment-report
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
4
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 70864292
authored
Feb 28, 2022
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修改
1 parent
2542c74c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
6 deletions
src/components/GroupRanking.vue
src/components/Ranking.vue
src/store/modules/report.js
src/components/GroupRanking.vue
View file @
7086429
...
...
@@ -25,8 +25,8 @@
</
template
>
</template>
<
template
v-else
>
<template
v-if=
"
qyCustomerRatioMerchantTop && qyCustomerRatioMerchantTop.length
"
>
<div
class=
"group-inline flex"
v-for=
"(c, index) in
qyCustomerRatio
MerchantTop"
:key=
"c.id"
>
<template
v-if=
"
tabType.index == 0? qyCustomerRatioMerchantTop.length>0:qyTotalCountMerchantTop.length>0
"
>
<div
class=
"group-inline flex"
v-for=
"(c, index) in
tabType.index == 0 ? qyCustomerRatioMerchantTop : qyTotalCount
MerchantTop"
:key=
"c.id"
>
<div
:class=
"['group-type', index == 0 ? 'group-type-index' : '']"
>
{{
index
+
1
}}
<template
v-if=
"index == 0"
>
...
...
@@ -58,7 +58,9 @@ export default {
name
:
'GroupRanking'
,
data
()
{
return
{}
return
{
data
:
[]
}
},
computed
:
{
...
mapState
({
...
...
@@ -66,8 +68,8 @@ export default {
tabIndex
:
state
=>
state
.
report
.
tabIndex
,
tabType
:
state
=>
state
.
report
.
tabType
,
qyCustomerRatioMerchantTop
:
state
=>
state
.
report
.
qyCustomerRatioMerchantTop
,
//企微客户占比
productionReportList
:
state
=>
state
.
report
.
productionReportList
// qyTotalCountMerchantTop: state => state.report.productionReportList
productionReportList
:
state
=>
state
.
report
.
productionReportList
,
qyTotalCountMerchantTop
:
state
=>
state
.
report
.
qyTotalCountMerchantTop
//企微客户数排行
})
},
mounted
()
{},
...
...
src/components/Ranking.vue
View file @
7086429
...
...
@@ -86,7 +86,7 @@ export default {
{
text
:
'企微客户占比最高的门店:'
,
value
:
obj
=>
{
return
obj
.
newlyQy
FastestGrowthMerchant
?
obj
.
newlyQyFastestGrowth
Merchant
:
'-'
return
obj
.
newlyQy
HighestRatioMerchant
?
obj
.
newlyQyHighestRatio
Merchant
:
'-'
},
icon
:
'proportion'
},
...
...
src/store/modules/report.js
View file @
7086429
...
...
@@ -126,6 +126,7 @@ export default {
payload
.
reportData
.
applyDegree
=
payload
.
reportData
.
applyDegree
!=
null
&&
(
payload
.
reportData
.
applyDegree
*
100
).
toFixed
(
0
)
+
'%'
state
.
reportData
=
payload
.
reportData
state
.
qyCustomerRatioMerchantTop
=
payload
.
reportData
.
qyCustomerRatioMerchantTop
//企微客户占比
state
.
qyTotalCountMerchantTop
=
payload
.
reportData
.
qyTotalCountMerchantTop
//企微客户占比
state
.
staffDistributionVOList
=
payload
.
reportData
.
staffDistributionVOList
?
payload
.
reportData
.
staffDistributionVOList
:
[]
//客户分布
state
.
trendChartList
=
payload
.
reportData
.
trendChartList
?
payload
.
reportData
.
trendChartList
:
[]
},
...
...
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