diff --git a/src/types/api/asset.ts b/src/types/api/asset.ts
index 0686aa7..c7e69ec 100644
--- a/src/types/api/asset.ts
+++ b/src/types/api/asset.ts
@@ -136,6 +136,7 @@ export interface DeviceGatewayInfo {
run_time?: string // 本次开机时长(秒)
connect_time?: string // 本次联网时长(秒)
last_online_time?: string // 设备最后在线时间
+ last_sync_time?: string // 最后同步时间
last_update_time?: string // 信息最后更新时间
signal_quality?: string // 信号综合判断
signal_bad_reason?: string // 信号较弱原因提示
diff --git a/src/views/asset-management/asset-information/components/BasicInfoCard.vue b/src/views/asset-management/asset-information/components/BasicInfoCard.vue
index a041ef3..f2204a2 100644
--- a/src/views/asset-management/asset-information/components/BasicInfoCard.vue
+++ b/src/views/asset-management/asset-information/components/BasicInfoCard.vue
@@ -136,7 +136,7 @@
formatDateTime(cardInfo?.last_online_time) || '-'
}}
{{
- formatDateTime(cardInfo?.last_gateway_sync_at) || '-'
+ formatDateTime(deviceRealtime?.last_sync_time) || '-'
}}
{{ cardInfo?.sn || '-' }}
@@ -487,7 +487,6 @@
software_version?: string
switch_mode?: string
last_online_time?: string
- last_gateway_sync_at?: string
manufacturer?: string
}
@@ -517,6 +516,7 @@
switch_mode?: string
sync_interval?: number
device_id?: string
+ last_sync_time?: string
last_update_time?: string
}
diff --git a/src/views/asset-management/asset-information/types.ts b/src/views/asset-management/asset-information/types.ts
index c1d2640..1750ed0 100644
--- a/src/views/asset-management/asset-information/types.ts
+++ b/src/views/asset-management/asset-information/types.ts
@@ -92,6 +92,7 @@ export interface DeviceRealtimeInfo {
software_version?: string
firmware_version?: string
sync_interval?: number
+ last_sync_time?: string
last_update_time?: string
}