Skip to content

Commit b72768a

Browse files
committed
feat: home 1
1 parent dd1eb5d commit b72768a

File tree

4 files changed

+415
-3
lines changed

4 files changed

+415
-3
lines changed

src/api/iot/statistics/index.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import request from '@/config/axios'
2+
3+
// IoT 数据统计 API
4+
export const ProductCategoryApi = {
5+
// 查询首页所需数据统计信息
6+
getIotMainStats: async () => {
7+
return await request.get({ url: `/iot/statistics/main`})
8+
}
9+
10+
}

src/views/iot/device/device/detail/DeviceDetailConfig.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939

4040
<script lang="ts" setup>
4141
import { ref, computed } from 'vue'
42-
import Vue3Jsoneditor from 'v3-jsoneditor/src/Vue3Jsoneditor.vue'
42+
// import Vue3Jsoneditor from 'v3-jsoneditor/src/Vue3Jsoneditor.vue'
4343
4444
const deviceConfig = ref({
4545
name: 'dyla1n'

src/views/iot/device/device/detail/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
:device="device"
2727
/>
2828
</el-tab-pane>
29-
<el-tab-pane label="设备配置" name="config">
29+
<!-- <el-tab-pane label="设备配置" name="config">
3030
<DeviceDetailConfig />
31-
</el-tab-pane>
31+
</el-tab-pane> -->
3232
</el-tabs>
3333
</el-col>
3434
</template>

0 commit comments

Comments
 (0)