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
Show 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 = {
...
@@ -16,8 +16,8 @@ const state = {
boutique
:
{
boutique
:
{
year
:
''
,
year
:
''
,
channel
:
{
channel
:
{
label
:
''
,
label
:
'
全部渠道
'
,
value
:
''
value
:
'
all
'
}
}
}
}
}
}
...
...
src/views/boutique/rightCompoments/MerchantsRanking.vue
View file @
8cc1fe1
...
@@ -94,13 +94,16 @@ export default {
...
@@ -94,13 +94,16 @@ export default {
methods
:
{
methods
:
{
init
()
{
init
()
{
const
_year
=
this
.
$store
.
state
.
app
.
solarYear
const
{
boutique
}
=
this
.
$store
.
state
.
app
this
.
getAllMerchantRank
(
_year
)
const
params
=
{
year
:
boutique
.
year
,
channelName
:
boutique
.
channel
.
value
}
this
.
getAllMerchantRank
(
params
)
},
},
// 获取门店总产值、客单价、转化率排行
// 获取门店总产值、客单价、转化率排行
async
getAllMerchantRank
(
year
)
{
async
getAllMerchantRank
(
params
)
{
const
_data
=
await
this
.
api
.
boutique
.
getAllMerchantRank
({
year
})
const
_data
=
await
this
.
api
.
boutique
.
getAllMerchantRank
(
params
)
console
.
log
(
_data
);
const
{
conversionRateRank
,
outputvalueRank
,
perCusTransRank
}
=
_data
.
data
.
dataList
[
0
]
const
{
conversionRateRank
,
outputvalueRank
,
perCusTransRank
}
=
_data
.
data
.
dataList
[
0
]
this
.
storeOutputList
=
outputvalueRank
this
.
storeOutputList
=
outputvalueRank
this
.
storePriceList
=
perCusTransRank
this
.
storePriceList
=
perCusTransRank
...
...
src/views/boutique/rightCompoments/StaffRanking.vue
View file @
8cc1fe1
...
@@ -75,13 +75,16 @@ export default {
...
@@ -75,13 +75,16 @@ export default {
methods
:
{
methods
:
{
init
()
{
init
()
{
const
_year
=
this
.
$store
.
state
.
app
.
solarYear
const
{
boutique
}
=
this
.
$store
.
state
.
app
this
.
getAllStaffRank
(
_year
)
const
params
=
{
year
:
boutique
.
year
,
channelName
:
boutique
.
channel
.
value
}
this
.
getAllStaffRank
(
params
)
},
},
// 获取门店员工业绩、客单价、转化率排行
// 获取门店员工业绩、客单价、转化率排行
async
getAllStaffRank
(
year
)
{
async
getAllStaffRank
(
params
)
{
const
_data
=
await
this
.
api
.
boutique
.
getAllStaffRank
({
year
})
const
_data
=
await
this
.
api
.
boutique
.
getAllStaffRank
(
params
)
console
.
log
(
_data
);
const
{
performanceRank
,
perCusTransRank
,
conversionRateRank
}
=
_data
.
data
.
dataList
[
0
]
const
{
performanceRank
,
perCusTransRank
,
conversionRateRank
}
=
_data
.
data
.
dataList
[
0
]
this
.
staffOutputList
=
performanceRank
this
.
staffOutputList
=
performanceRank
this
.
staffPriceList
=
perCusTransRank
this
.
staffPriceList
=
perCusTransRank
...
...
src/views/boutiqueDetail/BoutiqueDetailLeft.vue
View file @
8cc1fe1
...
@@ -6,11 +6,11 @@
...
@@ -6,11 +6,11 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
chang
eMixin
}
from
'@/mixins'
import
{
boutiqu
eMixin
}
from
'@/mixins'
import
BusinessDetailTrends
from
'./BusinessDetailTrends.vue'
import
BusinessDetailTrends
from
'./BusinessDetailTrends.vue'
export
default
{
export
default
{
name
:
'BoutiqueDetailLeft'
,
name
:
'BoutiqueDetailLeft'
,
mixins
:
[
chang
eMixin
],
mixins
:
[
boutiqu
eMixin
],
components
:
{
components
:
{
BusinessDetailTrends
BusinessDetailTrends
},
},
...
...
src/views/boutiqueDetail/BusinessDetailTrends.vue
View file @
8cc1fe1
...
@@ -33,13 +33,13 @@
...
@@ -33,13 +33,13 @@
<
script
>
<
script
>
import
BarLineChart
from
'../boutique/BarLineChart.vue'
import
BarLineChart
from
'../boutique/BarLineChart.vue'
import
{
chang
eMixin
}
from
'@/mixins'
import
{
boutiqu
eMixin
}
from
'@/mixins'
export
default
{
export
default
{
name
:
'BusinessDetailTrends'
,
name
:
'BusinessDetailTrends'
,
components
:
{
components
:
{
BarLineChart
BarLineChart
},
},
mixins
:
[
chang
eMixin
],
mixins
:
[
boutiqu
eMixin
],
props
:
{
props
:
{
merchantid
:
String
merchantid
:
String
},
},
...
...
src/views/boutiqueDetail/GoodsPayPropertion.vue
View file @
8cc1fe1
...
@@ -16,11 +16,11 @@
...
@@ -16,11 +16,11 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
chang
eMixin
}
from
'@/mixins'
import
{
boutiqu
eMixin
}
from
'@/mixins'
import
RightViewContent
from
'../solar/RightViewContent.vue'
import
RightViewContent
from
'../solar/RightViewContent.vue'
export
default
{
export
default
{
name
:
'GoodsPayPropertion'
,
name
:
'GoodsPayPropertion'
,
mixins
:
[
chang
eMixin
],
mixins
:
[
boutiqu
eMixin
],
components
:
{
components
:
{
RightViewContent
RightViewContent
},
},
...
...
src/views/boutiqueDetail/GoodsRanking.vue
View file @
8cc1fe1
...
@@ -11,10 +11,10 @@
...
@@ -11,10 +11,10 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
chang
eMixin
}
from
'@/mixins'
import
{
boutiqu
eMixin
}
from
'@/mixins'
export
default
{
export
default
{
name
:
'GoodsRanking'
,
name
:
'GoodsRanking'
,
mixins
:
[
chang
eMixin
],
mixins
:
[
boutiqu
eMixin
],
props
:
{
props
:
{
merchantid
:
String
merchantid
:
String
},
},
...
...
src/views/boutiqueDetail/GoodsSupplierPropertion.vue
View file @
8cc1fe1
...
@@ -16,11 +16,11 @@
...
@@ -16,11 +16,11 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
chang
eMixin
}
from
'@/mixins'
import
{
boutiqu
eMixin
}
from
'@/mixins'
import
RightViewContent
from
'../solar/RightViewContent.vue'
import
RightViewContent
from
'../solar/RightViewContent.vue'
export
default
{
export
default
{
name
:
'GoodsSupplierPropertion'
,
name
:
'GoodsSupplierPropertion'
,
mixins
:
[
chang
eMixin
],
mixins
:
[
boutiqu
eMixin
],
components
:
{
components
:
{
RightViewContent
RightViewContent
},
},
...
...
src/views/boutiqueDetail/index.vue
View file @
8cc1fe1
...
@@ -18,13 +18,13 @@
...
@@ -18,13 +18,13 @@
</template>
</template>
<
script
>
<
script
>
import
{
chang
eMixin
}
from
'@/mixins'
import
{
boutiqu
eMixin
}
from
'@/mixins'
import
BoutiqueDetailLeft
from
'./BoutiqueDetailLeft.vue'
import
BoutiqueDetailLeft
from
'./BoutiqueDetailLeft.vue'
import
BoutiqueDetailRight
from
'./BoutiqueDetailRight.vue'
import
BoutiqueDetailRight
from
'./BoutiqueDetailRight.vue'
import
BoutiqueDetailDate
from
'./BoutiqueDetailDate.vue'
import
BoutiqueDetailDate
from
'./BoutiqueDetailDate.vue'
export
default
{
export
default
{
name
:
'BoutiqueDetail'
,
name
:
'BoutiqueDetail'
,
mixins
:
[
chang
eMixin
],
mixins
:
[
boutiqu
eMixin
],
components
:
{
components
:
{
BoutiqueDetailLeft
,
BoutiqueDetailLeft
,
BoutiqueDetailRight
,
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