Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
b72768ab
authored
Feb 27, 2025
by
alwayssuper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: home 1
parent
dd1eb5de
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
3 deletions
+14
-3
src/api/iot/statistics/index.ts
+11
-0
src/views/iot/device/device/detail/DeviceDetailConfig.vue
+1
-1
src/views/iot/device/device/detail/index.vue
+2
-2
src/views/iot/home/index.vue
+0
-0
No files found.
src/api/iot/statistics/index.ts
0 → 100644
View file @
b72768ab
import
request
from
'@/config/axios'
// IoT 数据统计 API
export
const
ProductCategoryApi
=
{
// 查询首页所需数据统计信息
getIotMainStats
:
async
()
=>
{
return
await
request
.
get
({
url
:
`/iot/statistics/main`
})
}
}
\ No newline at end of file
src/views/iot/device/device/detail/DeviceDetailConfig.vue
View file @
b72768ab
...
...
@@ -39,7 +39,7 @@
<
script
lang=
"ts"
setup
>
import
{
ref
,
computed
}
from
'vue'
import
Vue3Jsoneditor
from
'v3-jsoneditor/src/Vue3Jsoneditor.vue'
//
import Vue3Jsoneditor from 'v3-jsoneditor/src/Vue3Jsoneditor.vue'
const
deviceConfig
=
ref
({
name
:
'dyla1n'
...
...
src/views/iot/device/device/detail/index.vue
View file @
b72768ab
...
...
@@ -26,9 +26,9 @@
:device=
"device"
/>
</el-tab-pane>
<el-tab-pane
label=
"设备配置"
name=
"config"
>
<
!--
<
el-tab-pane
label=
"设备配置"
name=
"config"
>
<DeviceDetailConfig
/>
</el-tab-pane>
</el-tab-pane>
-->
</el-tabs>
</el-col>
</
template
>
...
...
src/views/iot/home/index.vue
0 → 100644
View file @
b72768ab
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