feat: 卡和设备实名状态筛选
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m40s

This commit is contained in:
luo
2026-07-22 15:44:48 +08:00
parent 68aa03b538
commit 8de4339505
10 changed files with 281 additions and 7 deletions

View File

@@ -1337,6 +1337,7 @@
device_name: '',
status: undefined as DeviceStatus | undefined,
activation_status: undefined as number | undefined,
real_name_status: undefined as 0 | 1 | undefined,
batch_no: '',
device_type: '',
manufacturer: '',
@@ -1447,6 +1448,19 @@
{ label: '已激活', value: 1 }
]
},
{
label: '实名状态',
prop: 'real_name_status',
type: 'select',
config: {
clearable: true,
placeholder: '全部'
},
options: () => [
{ label: '已实名', value: 1 },
{ label: '未实名', value: 0 }
]
},
{
label: '批次号',
prop: 'batch_no',
@@ -1599,6 +1613,7 @@
{ label: '资产世代', prop: 'generation' },
{ label: '业务状态', prop: 'asset_status' },
{ label: '激活状态', prop: 'activation_status_name' },
{ label: '实名状态', prop: 'real_name_status_name' },
{ label: '在线状态', prop: 'online_status' },
{ label: '实名策略', prop: 'realname_policy' },
{ label: '切卡模式', prop: 'switch_mode' },
@@ -1934,6 +1949,12 @@
width: 120,
formatter: (row: Device) => row.activation_status_name || '-'
},
{
prop: 'real_name_status_name',
label: '实名状态',
width: 100,
formatter: (row: Device) => row.real_name_status_name || '-'
},
{
prop: 'online_status',
label: '在线状态',
@@ -2126,6 +2147,7 @@
device_name: searchForm.device_name || undefined,
status: searchForm.status,
activation_status: searchForm.activation_status ?? undefined,
real_name_status: searchForm.real_name_status ?? undefined,
batch_no: searchForm.batch_no || undefined,
device_type: searchForm.device_type || undefined,
manufacturer: searchForm.manufacturer || undefined,
@@ -2156,6 +2178,7 @@
device_name: searchForm.device_name || undefined,
status: searchForm.status,
activation_status: searchForm.activation_status ?? undefined,
real_name_status: searchForm.real_name_status ?? undefined,
batch_no: searchForm.batch_no || undefined,
device_type: searchForm.device_type || undefined,
manufacturer: searchForm.manufacturer || undefined,