From 936a4f06567faf5622b2fa1113fe9535981e9de6 Mon Sep 17 00:00:00 2001
From: sexygoat <1538832180@qq.com>
Date: Mon, 20 Apr 2026 17:51:03 +0800
Subject: [PATCH] fix: req:bug
---
src/components/device/SwitchCardDialog.vue | 7 +-
src/types/api/card.ts | 5 +-
.../components/BasicInfoCard.vue | 74 +++++--
.../asset-information/index.vue | 5 +-
.../asset-management/device-list/index.vue | 198 ++++++------------
.../iot-card-management/index.vue | 117 ++---------
6 files changed, 150 insertions(+), 256 deletions(-)
diff --git a/src/components/device/SwitchCardDialog.vue b/src/components/device/SwitchCardDialog.vue
index 4b65b70..2f06543 100644
--- a/src/components/device/SwitchCardDialog.vue
+++ b/src/components/device/SwitchCardDialog.vue
@@ -42,9 +42,12 @@
:label="`${card.iccid} - 插槽${card.slot_position} - ${card.carrier_name}`"
:value="card.iccid"
>
-
+
{{ card.iccid }}
-
插槽{{ card.slot_position }}
+
+ 插槽{{ card.slot_position }}
+ {{ card.carrier_name }}
+
diff --git a/src/types/api/card.ts b/src/types/api/card.ts
index 7ed4c09..681f185 100644
--- a/src/types/api/card.ts
+++ b/src/types/api/card.ts
@@ -374,8 +374,9 @@ export interface StandaloneIotCard {
activated_at?: string | null // 激活时间 (可选)
created_at: string // 创建时间
updated_at: string // 更新时间
- series_id?: number | null // 套餐系列ID
- series_name?: string // 套餐系列名称
+ series_id: number | null // 套餐系列ID
+ series_name: string // 套餐系列名称
+ realname_policy: string // 实名制策略
}
// ========== 单卡批量分配和回收相关 ==========
diff --git a/src/views/asset-management/asset-information/components/BasicInfoCard.vue b/src/views/asset-management/asset-information/components/BasicInfoCard.vue
index 929a872..705b195 100644
--- a/src/views/asset-management/asset-information/components/BasicInfoCard.vue
+++ b/src/views/asset-management/asset-information/components/BasicInfoCard.vue
@@ -10,7 +10,7 @@