diff --git a/src/types/api/device.ts b/src/types/api/device.ts index c513bce..f006f92 100644 --- a/src/types/api/device.ts +++ b/src/types/api/device.ts @@ -45,6 +45,7 @@ export interface Device { created_at: string // 创建时间 updated_at: string // 更新时间 series_id?: number | null // 套餐系列ID + series_name?: string // 套餐系列名称 online_status?: DeviceOnlineStatus // 在线状态:0=未知, 1=在线, 2=离线 last_online_time?: string | null // 最后在线时间 software_version?: string // 固件版本号 diff --git a/src/views/asset-management/device-list/index.vue b/src/views/asset-management/device-list/index.vue index 502e5e2..cdcdc47 100644 --- a/src/views/asset-management/device-list/index.vue +++ b/src/views/asset-management/device-list/index.vue @@ -776,6 +776,8 @@ { label: '设备名称', prop: 'device_name' }, { label: '设备型号', prop: 'device_model' }, { label: '设备类型', prop: 'device_type' }, + { label: '店铺名称', prop: 'shop_name' }, + { label: '套餐系列', prop: 'series_name' }, { label: '制造商', prop: 'manufacturer' }, { label: '最大插槽数', prop: 'max_sim_slots' }, { label: '已绑定卡数', prop: 'bound_card_count' }, @@ -1037,6 +1039,16 @@ label: '设备类型', width: 120 }, + { + prop: 'shop_name', + label: '店铺名称', + minWidth: 120 + }, + { + prop: 'series_name', + label: '套餐系列', + minWidth: 120 + }, { prop: 'manufacturer', label: '制造商',