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 4490e48f
authored
Jul 28, 2023
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
删除不必要打印
1 parent
a2f12f58
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1 additions
and
10 deletions
src/views/boutique/rightCompoments/MerchantsRanking.vue
src/views/boutiqueDetail/BoutiqueDetailLeft.vue
src/views/boutiqueDetail/BoutiqueDetailRight.vue
src/views/boutiqueDetail/GoodsPayPropertion.vue
src/views/boutiqueDetail/GoodsRanking.vue
src/views/boutiqueDetail/GoodsSupplierPropertion.vue
src/views/boutiqueDetail/index.vue
src/views/boutique/rightCompoments/MerchantsRanking.vue
View file @
4490e48
...
@@ -111,7 +111,6 @@ export default {
...
@@ -111,7 +111,6 @@ export default {
},
},
// 跳转精品升级二级页面
// 跳转精品升级二级页面
goDetailPage
(
item
)
{
goDetailPage
(
item
)
{
console
.
log
(
item
)
const
routeData
=
this
.
$router
.
resolve
({
const
routeData
=
this
.
$router
.
resolve
({
name
:
'boutiqueDetail'
,
name
:
'boutiqueDetail'
,
query
:
{
query
:
{
...
...
src/views/boutiqueDetail/BoutiqueDetailLeft.vue
View file @
4490e48
...
@@ -95,9 +95,6 @@ export default {
...
@@ -95,9 +95,6 @@ export default {
const
{
merchantid
}
=
this
.
$route
.
query
const
{
merchantid
}
=
this
.
$route
.
query
this
.
merchantid
=
merchantid
this
.
merchantid
=
merchantid
this
.
getMerchantOverview
(
merchantid
)
this
.
getMerchantOverview
(
merchantid
)
this
.
$bus
.
$on
(
'changeMerchant'
,
data
=>
{
console
.
log
(
data
);
})
},
},
methods
:
{
methods
:
{
...
...
src/views/boutiqueDetail/BoutiqueDetailRight.vue
View file @
4490e48
...
@@ -41,7 +41,6 @@ export default {
...
@@ -41,7 +41,6 @@ export default {
watch
:
{
watch
:
{
listenId
(
value
)
{
listenId
(
value
)
{
console
.
log
(
value
,
'-00000000000-'
);
this
.
merchantid
=
value
this
.
merchantid
=
value
this
.
$refs
.
supplyPropertion
.
getMerchantSupply
(
value
)
this
.
$refs
.
supplyPropertion
.
getMerchantSupply
(
value
)
this
.
$refs
.
payPropertion
.
getMerchantPay
(
value
)
this
.
$refs
.
payPropertion
.
getMerchantPay
(
value
)
...
...
src/views/boutiqueDetail/GoodsPayPropertion.vue
View file @
4490e48
...
@@ -66,7 +66,6 @@ export default {
...
@@ -66,7 +66,6 @@ export default {
// 获取门店支付方式占比
// 获取门店支付方式占比
async
getMerchantPay
(
merchantid
)
{
async
getMerchantPay
(
merchantid
)
{
const
_data
=
await
this
.
api
.
boutique
.
getMerchantPay
({
year
:
this
.
$store
.
state
.
app
.
boutique
.
year
,
MerchantId
:
merchantid
})
const
_data
=
await
this
.
api
.
boutique
.
getMerchantPay
({
year
:
this
.
$store
.
state
.
app
.
boutique
.
year
,
MerchantId
:
merchantid
})
console
.
log
(
_data
);
this
.
goodsPayData
=
_data
.
data
.
dataList
this
.
goodsPayData
=
_data
.
data
.
dataList
},
},
}
}
...
...
src/views/boutiqueDetail/GoodsRanking.vue
View file @
4490e48
...
@@ -58,7 +58,6 @@ export default {
...
@@ -58,7 +58,6 @@ export default {
// 获取门店商品销售排行
// 获取门店商品销售排行
async
getMerchantGoodsRank
(
merchantid
)
{
async
getMerchantGoodsRank
(
merchantid
)
{
const
_data
=
await
this
.
api
.
boutique
.
getMerchantGoodsRank
({
year
:
this
.
$store
.
state
.
app
.
boutique
.
year
,
MerchantId
:
merchantid
})
const
_data
=
await
this
.
api
.
boutique
.
getMerchantGoodsRank
({
year
:
this
.
$store
.
state
.
app
.
boutique
.
year
,
MerchantId
:
merchantid
})
console
.
log
(
_data
);
this
.
goodsRankingList
=
_data
.
data
.
dataList
this
.
goodsRankingList
=
_data
.
data
.
dataList
}
}
}
}
...
...
src/views/boutiqueDetail/GoodsSupplierPropertion.vue
View file @
4490e48
...
@@ -73,7 +73,6 @@ export default {
...
@@ -73,7 +73,6 @@ export default {
// 获取门店商品供应方占比
// 获取门店商品供应方占比
async
getMerchantSupply
(
merchantid
)
{
async
getMerchantSupply
(
merchantid
)
{
const
_data
=
await
this
.
api
.
boutique
.
getMerchantSupply
({
year
:
this
.
$store
.
state
.
app
.
boutique
.
year
,
MerchantId
:
merchantid
})
const
_data
=
await
this
.
api
.
boutique
.
getMerchantSupply
({
year
:
this
.
$store
.
state
.
app
.
boutique
.
year
,
MerchantId
:
merchantid
})
console
.
log
(
_data
);
this
.
propertionData
=
_data
.
data
.
dataList
this
.
propertionData
=
_data
.
data
.
dataList
},
},
}
}
...
...
src/views/boutiqueDetail/index.vue
View file @
4490e48
...
@@ -63,7 +63,6 @@ export default {
...
@@ -63,7 +63,6 @@ export default {
this
.
setBoutiqueMerchantid
(
data
.
merchantid
)
this
.
setBoutiqueMerchantid
(
data
.
merchantid
)
})
})
this
.
$bus
.
$on
(
'boutiqueDate'
,
data
=>
{
this
.
$bus
.
$on
(
'boutiqueDate'
,
data
=>
{
console
.
log
(
data
,
'--==-=-='
);
this
.
boutiqueDate
=
data
this
.
boutiqueDate
=
data
})
})
},
},
...
@@ -72,7 +71,7 @@ export default {
...
@@ -72,7 +71,7 @@ export default {
...
mapActions
([
'setBoutiqueMerchantid'
]),
...
mapActions
([
'setBoutiqueMerchantid'
]),
async
init
()
{
async
init
()
{
this
.
tabObject
=
this
.
$route
.
query
this
.
tabObject
=
this
.
$route
.
query
const
{
merchant
id
,
merchantName
,
year
}
=
this
.
$route
.
query
const
{
merchant
Name
}
=
this
.
$route
.
query
// 获取门店列表
// 获取门店列表
const
_merchantList
=
await
this
.
getMerchant
(
merchantName
)
const
_merchantList
=
await
this
.
getMerchant
(
merchantName
)
console
.
log
(
_merchantList
,
'====='
)
console
.
log
(
_merchantList
,
'====='
)
...
...
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