fix: 记录查询列表显示 ICCID、设备号、套餐名称、运营商名称与操作人,不再显示内部 ID
Some checks failed
构建并部署前端到测试环境 / deploy (push) Has been cancelled

- 卡 / 设备列优先显示 ICCID、设备号(IMEI),后端未返回时才退回内部 ID
- 运营商账户筛选改为按名称搜索
This commit is contained in:
邹进
2026-11-07 17:07:31 +09:00
parent 984db9889c
commit 3411b66c71
9 changed files with 163 additions and 43 deletions

View File

@@ -37,7 +37,15 @@
<ElTableColumn label="资产" min-width="200">
<template #default="{ row }">
{{ row.asset_type === 'device' ? '设备' : '单卡' }}
{{ row.iccid || row.asset_id || '' }}
{{
row.asset_type === 'device'
? assetDisplay({
device_id: row.asset_id,
device_virtual_no: row.device_virtual_no,
device_imei: row.device_imei
})
: assetDisplay({ iot_card_id: row.asset_id, iccid: row.iccid })
}}
</template>
</ElTableColumn>
<ElTableColumn label="第几次" prop="attempt" width="80" />
@@ -94,6 +102,7 @@
} from '@/config/constants/trafficRecords'
import {
compactQuery,
assetDisplay,
isPlatformAccount,
optionalPositiveInt,
recentTimeRange,