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
ee184c90
Commit
ee184c90
authored
Aug 10, 2020
by
wends
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update 仪表盘
parent
768eb0e8
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
149 additions
and
102 deletions
+149
-102
dashboard.js
src/api/data-visible/dashboard.js
+9
-0
index.vue
src/views/data-visible/dashboard/index.vue
+140
-102
No files found.
src/api/data-visible/dashboard.js
View file @
ee184c90
...
...
@@ -36,3 +36,12 @@ export function getModelInstanceChart(data) {
data
})
}
// 根据设备类型ID获取所有设备实例
export
function
getAllInstanceByDeviceTypeId
(
data
)
{
return
request
({
url
:
`
${
baseURL
}
/iot/deviceModel/instance/getInstanceByDeviceTypeId`
,
method
:
'
post
'
,
data
})
}
src/views/data-visible/dashboard/index.vue
View file @
ee184c90
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