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 c2d70e6f
authored
Jul 18, 2023
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优化代码
1 parent
dcfb3847
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
src/views/solarDetail/index.vue
src/views/solarDetail/index.vue
View file @
c2d70e6
...
@@ -112,12 +112,11 @@ export default {
...
@@ -112,12 +112,11 @@ export default {
methods
:
{
methods
:
{
async
init
()
{
async
init
()
{
this
.
tabObject
=
this
.
$route
.
query
this
.
tabObject
=
this
.
$route
.
query
const
{
year
}
=
this
.
$route
.
query
const
{
merchantid
,
purchaseType
,
year
}
=
this
.
$route
.
query
this
.
defaultYear
=
year
const
{
merchantid
,
purchaseType
}
=
this
.
$route
.
query
const
_merchantList
=
await
this
.
getAllRanking
(
purchaseType
)
const
_merchantList
=
await
this
.
getAllRanking
(
purchaseType
)
this
.
merchantList
=
_merchantList
this
.
merchantList
=
_merchantList
this
.
purchaseType
=
purchaseType
this
.
purchaseType
=
purchaseType
this
.
defaultYear
=
year
this
.
getMerchantGoodsRatio
(
merchantid
)
this
.
getMerchantGoodsRatio
(
merchantid
)
this
.
getMerchantPurchase
(
merchantid
)
this
.
getMerchantPurchase
(
merchantid
)
this
.
getMerchantPurchaseTrend
(
merchantid
)
this
.
getMerchantPurchaseTrend
(
merchantid
)
...
...
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