style: 调整UDM用户数据表格靠左

This commit is contained in:
TsMask
2023-11-28 15:12:51 +08:00
parent 252ed66ff8
commit 55981f8936
4 changed files with 50 additions and 50 deletions

View File

@@ -26,5 +26,8 @@ export async function listBase5G(query: Record<string, any>) {
data.total = rows.length;
data.rows = rows;
}
// 模拟数据
// data.rows =[{"address":"192.168.1.137:38412","id":"217","name":"","ueNum":0}]
return data;
}

View File

@@ -75,7 +75,7 @@ type TabeStateType = {
/**表格状态 */
let tableState: TabeStateType = reactive({
loading: false,
size: 'middle',
size: 'small',
striped: false,
seached: true,
data: [],
@@ -88,19 +88,19 @@ let tableColumns: ColumnsType = [
dataIndex: 'imsi',
align: 'left',
sorter: true,
width: 200,
width: 150,
},
{
title: 'AMF',
dataIndex: 'amf',
align: 'center',
minWidth: 100,
align: 'left',
width: 100,
},
{
title: 'Status',
dataIndex: 'status',
align: 'center',
minWidth: 100,
align: 'left',
width: 100,
},
// {
// title: 'KI',
@@ -117,14 +117,13 @@ let tableColumns: ColumnsType = [
{
title: 'Algo Index',
dataIndex: 'algoIndex',
align: 'center',
minWidth: 100,
align: 'left',
width: 100,
},
{
title: t('common.operate'),
key: 'imsi',
align: 'center',
width: 100,
align: 'left',
},
];

View File

@@ -57,7 +57,7 @@ type TabeStateType = {
/**表格状态 */
let tableState: TabeStateType = reactive({
loading: false,
size: 'middle',
size: 'small',
striped: false,
seached: true,
data: [],
@@ -69,26 +69,25 @@ let tableColumns: ColumnsType = [
{
title: 'GNB ID',
dataIndex: 'id',
align: 'center',
width: 2,
},
{
title: 'GNB Address',
dataIndex: 'address',
align: 'center',
width: 3,
},
{
title: 'GNB Name',
dataIndex: 'name',
align: 'center',
width: 2,
align: 'left',
width: 100,
},
{
title: 'UE Number',
dataIndex: 'ueNum',
align: 'center',
width: 2,
align: 'left',
width: 100,
},
{
title: 'GNB Name',
dataIndex: 'name',
align: 'left',
width: 100,
},
{
title: 'GNB Address',
dataIndex: 'address',
align: 'left',
},
];
@@ -292,7 +291,7 @@ onMounted(() => {
:size="tableState.size"
:row-class-name="fnTableStriped"
:pagination="tablePagination"
:scroll="{ x: 1000, y: 400 }"
:scroll="{ y: 450 }"
>
</a-table>
</a-card>

View File

@@ -78,7 +78,7 @@ type TabeStateType = {
/**表格状态 */
let tableState: TabeStateType = reactive({
loading: false,
size: 'middle',
size: 'small',
striped: false,
seached: true,
data: [],
@@ -111,55 +111,54 @@ let tableColumns: ColumnsType = [
{
title: 'Subscribed AMBR Temp',
dataIndex: 'ambr',
align: 'center',
minWidth: 100,
align: 'left',
width: 200,
},
{
title: 'Subscribed SNSSAIs Temp',
dataIndex: 'sar',
align: 'center',
minWidth: 100,
align: 'left',
width: 200,
},
{
title: 'RAT Restriction',
dataIndex: 'rat',
align: 'center',
minWidth: 100,
align: 'left',
width: 200,
},
{
title: 'Forbidden Areas Temp',
dataIndex: 'arfb',
align: 'center',
minWidth: 100,
align: 'left',
width: 200,
},
{
title: 'Service Area Restrict Temp',
dataIndex: 'nssai',
align: 'center',
minWidth: 100,
align: 'left',
width: 200,
},
{
title: 'CN Type Restriction',
dataIndex: 'cn',
align: 'center',
minWidth: 100,
},
{
title: 'Subscribed Data',
dataIndex: 'smData',
align: 'center',
minWidth: 100,
align: 'left',
width: 200,
},
{
title: 'EPS Flag',
dataIndex: 'epsFlag',
align: 'center',
minWidth: 100,
align: 'left',
width: 100,
},
{
title: 'Subscribed Data',
dataIndex: 'smData',
align: 'left',
},
{
title: t('common.operate'),
key: 'imsi',
align: 'center',
align: 'left',
fixed: 'right',
width: 100,
},