fix: 终端>IMS在线用户

This commit is contained in:
TsMask
2023-11-07 10:59:34 +08:00
parent 4acdbbb1f6
commit b69c0a7526

View File

@@ -70,36 +70,37 @@ let tableColumns: ColumnsType = [
title: 'IMSI',
dataIndex: 'imsi',
align: 'center',
width: 3,
},
{
title: 'MSISDN',
dataIndex: 'msisdn',
align: 'center',
width: 3,
},
{
title: 'IMPU',
dataIndex: 'impu',
align: 'center',
width: 5,
},
{
title: 'Barring',
dataIndex: 'barring',
align: 'center',
width: 2,
},
{
title: 'RegState',
dataIndex: 'regState',
align: 'center',
width: 2,
},
{
title: 'Active Time',
dataIndex: 'activeTime',
align: 'center',
},
{
title: t('common.operate'),
key: 'imsi',
align: 'center',
width: 3,
},
];
@@ -140,7 +141,7 @@ function fnTableSize({ key }: MenuInfo) {
function fnGetList(pageNum?: number) {
if (tableState.loading) return;
tableState.loading = true;
if(pageNum){
if (pageNum) {
queryParams.pageNum = pageNum;
}
listIMS(toRaw(queryParams)).then(res => {
@@ -304,7 +305,7 @@ onMounted(() => {
:data-source="tableState.data"
:size="tableState.size"
:pagination="tablePagination"
:scroll="{ x: true,y:400 }"
:scroll="{ x: 1200, y: 400 }"
>
</a-table>
</a-card>