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 4cc91b55
authored
Sep 08, 2023
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v2.2.0' of
http://192.168.3.233:8090/h5/glsk-data-view-pd
into v2.2.0
2 parents
ef2ed7f4
a157a4eb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
0 deletions
src/views/internal/components/ViewEdun.vue
src/views/internal/components/ViewIntersts.vue
src/views/internal/components/ViewEdun.vue
View file @
4cc91b5
...
...
@@ -68,6 +68,13 @@ export default {
}
},
created
()
{
// 按年统计客户销售金额的合理性
this
.
getManageESalesAmountRationality
()
// 月收入趋势
this
.
getManageETrend
()
},
mounted
()
{
this
.
$refs
.
edunChartRef
.
drawBar
()
this
.
$refs
.
edunLineChartRef
.
drawLine
()
...
...
@@ -76,6 +83,19 @@ export default {
methods
:
{
changeTab
(
val
)
{
console
.
log
(
val
)
},
async
getManageESalesAmountRationality
()
{
const
params
=
{
endPrice
:
''
,
startPrice
:
''
,
queryItem
:
'brandnum'
}
const
_data
=
await
this
.
api
.
internal
.
getManageESalesAmountRationality
(
params
)
const
_dataList
=
_data
.
data
.
dataList
[
0
]
},
async
getManageETrend
()
{
const
_data
=
await
this
.
api
.
internal
.
getManageETrend
()
const
_dataList
=
_data
.
data
.
dataList
}
}
}
...
...
src/views/internal/components/ViewIntersts.vue
View file @
4cc91b5
...
...
@@ -68,6 +68,13 @@ export default {
}
},
created
()
{
// 按年统计客户销售金额的合理性
this
.
getManageMemberSalesAmountRationality
()
// 月收入趋势
this
.
getManageMemberTrend
()
},
mounted
()
{
this
.
$refs
.
equityChartRef
.
drawBar
()
this
.
$refs
.
equityLineChartRef
.
drawLine
()
...
...
@@ -76,6 +83,19 @@ export default {
methods
:
{
changeTab
(
val
)
{
console
.
log
(
val
)
},
async
getManageMemberSalesAmountRationality
()
{
const
params
=
{
endPrice
:
''
,
startPrice
:
''
,
queryItem
:
'num'
}
const
_data
=
await
this
.
api
.
internal
.
getManageMemberSalesAmountRationality
(
params
)
const
_dataList
=
_data
.
data
.
dataList
[
0
]
},
async
getManageMemberTrend
()
{
const
_data
=
await
this
.
api
.
internal
.
getManageMemberTrend
()
const
_dataList
=
_data
.
data
.
dataList
}
}
}
...
...
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