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 8cc1fe18
authored
Jul 27, 2023
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加传值渠道
1 parent
de2f5fc7
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
30 additions
and
24 deletions
src/store/modules/app.js
src/views/boutique/rightCompoments/MerchantsRanking.vue
src/views/boutique/rightCompoments/StaffRanking.vue
src/views/boutiqueDetail/BoutiqueDetailLeft.vue
src/views/boutiqueDetail/BusinessDetailTrends.vue
src/views/boutiqueDetail/GoodsPayPropertion.vue
src/views/boutiqueDetail/GoodsRanking.vue
src/views/boutiqueDetail/GoodsSupplierPropertion.vue
src/views/boutiqueDetail/index.vue
src/store/modules/app.js
View file @
8cc1fe1
...
...
@@ -16,8 +16,8 @@ const state = {
boutique
:
{
year
:
''
,
channel
:
{
label
:
''
,
value
:
''
label
:
'
全部渠道
'
,
value
:
'
all
'
}
}
}
...
...
src/views/boutique/rightCompoments/MerchantsRanking.vue
View file @
8cc1fe1
...
...
@@ -94,13 +94,16 @@ export default {
methods
:
{
init
()
{
const
_year
=
this
.
$store
.
state
.
app
.
solarYear
this
.
getAllMerchantRank
(
_year
)
const
{
boutique
}
=
this
.
$store
.
state
.
app
const
params
=
{
year
:
boutique
.
year
,
channelName
:
boutique
.
channel
.
value
}
this
.
getAllMerchantRank
(
params
)
},
// 获取门店总产值、客单价、转化率排行
async
getAllMerchantRank
(
year
)
{
const
_data
=
await
this
.
api
.
boutique
.
getAllMerchantRank
({
year
})
console
.
log
(
_data
);
async
getAllMerchantRank
(
params
)
{
const
_data
=
await
this
.
api
.
boutique
.
getAllMerchantRank
(
params
)
const
{
conversionRateRank
,
outputvalueRank
,
perCusTransRank
}
=
_data
.
data
.
dataList
[
0
]
this
.
storeOutputList
=
outputvalueRank
this
.
storePriceList
=
perCusTransRank
...
...
src/views/boutique/rightCompoments/StaffRanking.vue
View file @
8cc1fe1
...
...
@@ -75,13 +75,16 @@ export default {
methods
:
{
init
()
{
const
_year
=
this
.
$store
.
state
.
app
.
solarYear
this
.
getAllStaffRank
(
_year
)
const
{
boutique
}
=
this
.
$store
.
state
.
app
const
params
=
{
year
:
boutique
.
year
,
channelName
:
boutique
.
channel
.
value
}
this
.
getAllStaffRank
(
params
)
},
// 获取门店员工业绩、客单价、转化率排行
async
getAllStaffRank
(
year
)
{
const
_data
=
await
this
.
api
.
boutique
.
getAllStaffRank
({
year
})
console
.
log
(
_data
);
async
getAllStaffRank
(
params
)
{
const
_data
=
await
this
.
api
.
boutique
.
getAllStaffRank
(
params
)
const
{
performanceRank
,
perCusTransRank
,
conversionRateRank
}
=
_data
.
data
.
dataList
[
0
]
this
.
staffOutputList
=
performanceRank
this
.
staffPriceList
=
perCusTransRank
...
...
src/views/boutiqueDetail/BoutiqueDetailLeft.vue
View file @
8cc1fe1
...
...
@@ -6,11 +6,11 @@
</
template
>
<
script
>
import
{
chang
eMixin
}
from
'@/mixins'
import
{
boutiqu
eMixin
}
from
'@/mixins'
import
BusinessDetailTrends
from
'./BusinessDetailTrends.vue'
export
default
{
name
:
'BoutiqueDetailLeft'
,
mixins
:
[
chang
eMixin
],
mixins
:
[
boutiqu
eMixin
],
components
:
{
BusinessDetailTrends
},
...
...
src/views/boutiqueDetail/BusinessDetailTrends.vue
View file @
8cc1fe1
...
...
@@ -33,13 +33,13 @@
<
script
>
import
BarLineChart
from
'../boutique/BarLineChart.vue'
import
{
chang
eMixin
}
from
'@/mixins'
import
{
boutiqu
eMixin
}
from
'@/mixins'
export
default
{
name
:
'BusinessDetailTrends'
,
components
:
{
BarLineChart
},
mixins
:
[
chang
eMixin
],
mixins
:
[
boutiqu
eMixin
],
props
:
{
merchantid
:
String
},
...
...
src/views/boutiqueDetail/GoodsPayPropertion.vue
View file @
8cc1fe1
...
...
@@ -16,11 +16,11 @@
</
template
>
<
script
>
import
{
chang
eMixin
}
from
'@/mixins'
import
{
boutiqu
eMixin
}
from
'@/mixins'
import
RightViewContent
from
'../solar/RightViewContent.vue'
export
default
{
name
:
'GoodsPayPropertion'
,
mixins
:
[
chang
eMixin
],
mixins
:
[
boutiqu
eMixin
],
components
:
{
RightViewContent
},
...
...
src/views/boutiqueDetail/GoodsRanking.vue
View file @
8cc1fe1
...
...
@@ -11,10 +11,10 @@
</
template
>
<
script
>
import
{
chang
eMixin
}
from
'@/mixins'
import
{
boutiqu
eMixin
}
from
'@/mixins'
export
default
{
name
:
'GoodsRanking'
,
mixins
:
[
chang
eMixin
],
mixins
:
[
boutiqu
eMixin
],
props
:
{
merchantid
:
String
},
...
...
src/views/boutiqueDetail/GoodsSupplierPropertion.vue
View file @
8cc1fe1
...
...
@@ -16,11 +16,11 @@
</
template
>
<
script
>
import
{
chang
eMixin
}
from
'@/mixins'
import
{
boutiqu
eMixin
}
from
'@/mixins'
import
RightViewContent
from
'../solar/RightViewContent.vue'
export
default
{
name
:
'GoodsSupplierPropertion'
,
mixins
:
[
chang
eMixin
],
mixins
:
[
boutiqu
eMixin
],
components
:
{
RightViewContent
},
...
...
src/views/boutiqueDetail/index.vue
View file @
8cc1fe1
...
...
@@ -18,13 +18,13 @@
</template>
<
script
>
import
{
chang
eMixin
}
from
'@/mixins'
import
{
boutiqu
eMixin
}
from
'@/mixins'
import
BoutiqueDetailLeft
from
'./BoutiqueDetailLeft.vue'
import
BoutiqueDetailRight
from
'./BoutiqueDetailRight.vue'
import
BoutiqueDetailDate
from
'./BoutiqueDetailDate.vue'
export
default
{
name
:
'BoutiqueDetail'
,
mixins
:
[
chang
eMixin
],
mixins
:
[
boutiqu
eMixin
],
components
:
{
BoutiqueDetailLeft
,
BoutiqueDetailRight
,
...
...
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