diff --git a/src/api/iot/statistics/index.ts b/src/api/iot/statistics/index.ts new file mode 100644 index 000000000..2f9c70247 --- /dev/null +++ b/src/api/iot/statistics/index.ts @@ -0,0 +1,10 @@ +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 diff --git a/src/views/iot/device/device/detail/DeviceDetailConfig.vue b/src/views/iot/device/device/detail/DeviceDetailConfig.vue index 4980c69fc..18067ebb8 100644 --- a/src/views/iot/device/device/detail/DeviceDetailConfig.vue +++ b/src/views/iot/device/device/detail/DeviceDetailConfig.vue @@ -39,7 +39,7 @@ + +