Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-business
/
develop-platform
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 a17225d6
authored
Dec 22, 2020
by
zhouzy
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
总览界面和接口
1 parent
522ce35c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
1 deletions
package.json
src/api/api.js
src/views/index/index.vue
package.json
View file @
a17225d
...
...
@@ -16,7 +16,8 @@
"better-scroll"
:
"^1.15.2"
,
"dayjs"
:
"^1.8.12"
,
"default-passive-events"
:
"^2.0.0"
,
"element-ui"
:
"^2.11.1"
,
"echarts"
:
"^5.0.0"
,
"element-ui"
:
"^2.14.1"
,
"file-saver"
:
"^2.0.2"
,
"flex.css"
:
"^1.1.7"
,
"fuse.js"
:
"^3.4.4"
,
...
...
src/api/api.js
View file @
a17225d
...
...
@@ -50,3 +50,27 @@ export function appMarketList(data) {
return
request
(
data
)
}
//获取顶部数据
export
function
getStatisticData
(
data
){
data
.
method
=
'index/getStatisticData'
return
request
(
data
)
}
//获取饼状图数据
export
function
getGraphData
(
data
){
data
.
method
=
'index/getGraphData'
return
request
(
data
)
}
//获取折线图数据
export
function
getPolylineData
(
data
){
data
.
method
=
'index/getPolylineData'
return
request
(
data
)
}
src/views/index/index.vue
View file @
a17225d
This diff is collapsed.
Click to expand it.
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