From 45a5c577287cbddecc126ef72bd7c4d63e607c7f Mon Sep 17 00:00:00 2001 From: hwj Date: Fri, 23 Jan 2026 16:12:16 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E9=87=87=E9=9B=86=E8=AE=BE?= =?UTF-8?q?=E5=A4=87-=E6=B7=BB=E5=8A=A0=E8=BF=90=E8=A1=8C=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E3=80=81=E9=87=87=E9=9B=86=E6=97=B6=E9=97=B4=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/iot/device/index.ts | 2 + src/views/iot/device/index.vue | 80 ++++++++++++++++++++++++++++++---- 2 files changed, 74 insertions(+), 8 deletions(-) diff --git a/src/api/iot/device/index.ts b/src/api/iot/device/index.ts index dac795b3..4d5a2cd3 100644 --- a/src/api/iot/device/index.ts +++ b/src/api/iot/device/index.ts @@ -8,6 +8,7 @@ export interface DeviceVO { deviceType: string // 设备类型 status: string // 状态 isConnect?: string | number + operatingStatus?: string | number readTopic: string // 读主题 writeTopic: string // 写主题 gatewayId: number // 网关id @@ -24,6 +25,7 @@ export interface DeviceVO { password: string // 密码 certificate?: string // 证书 secretKey?: string // 秘钥 + collectionTime?: string | number } export interface DeviceConnectParams { diff --git a/src/views/iot/device/index.vue b/src/views/iot/device/index.vue index 3f02b108..073f642d 100644 --- a/src/views/iot/device/index.vue +++ b/src/views/iot/device/index.vue @@ -70,22 +70,32 @@ ref="tableRef" v-loading="loading" :data="list" :stripe="true" :show-overflow-to + + + - + - + - + - + +