Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
super-hive-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SuperHive
front-end
super-hive-web
Commits
817fc078
Commit
817fc078
authored
Aug 13, 2020
by
wends
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update 历史数据
parent
d064713f
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
284 additions
and
60 deletions
+284
-60
history-data.js
src/api/device-management/history-data.js
+9
-0
index.vue
src/views/device-management/history-data/index.vue
+275
-60
No files found.
src/api/device-management/history-data.js
View file @
817fc078
...
...
@@ -9,3 +9,12 @@ export function getTableData(data) {
data
})
}
// 获取图表历史
export
function
getModelHistory
(
data
)
{
return
request
({
url
:
`
${
baseURL
}
/iot/dashboard/modelHistory`
,
method
:
'
post
'
,
data
})
}
src/views/device-management/history-data/index.vue
View file @
817fc078
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment