fix: 根据配置隐藏多语言选择

This commit is contained in:
TsMask
2023-11-29 19:27:49 +08:00
parent 1784941670
commit 95fbce6b0e
9 changed files with 78 additions and 39 deletions

View File

@@ -861,7 +861,7 @@ onMounted(() => {
:size="tableState.size"
:row-class-name="fnTableStriped"
:pagination="tablePagination"
:scroll="{ y: 450 }"
:scroll="{ y: 'calc(100vh - 480px)' }"
@change="fnTableChange"
@resizeColumn="(w:number, col:any) => (col.width = w)"
>
@@ -1293,4 +1293,8 @@ onMounted(() => {
.table :deep(.table-striped) td {
background-color: #fafafa;
}
.table :deep(.ant-pagination) {
padding: 0 24px;
}
</style>

View File

@@ -69,26 +69,26 @@ let tableColumns: ColumnsType = [
{
title: 'NodeB ID',
dataIndex: 'id',
align: 'center',
width: 2,
align: 'left',
width: 150,
},
{
title: 'NodeB Address',
dataIndex: 'address',
align: 'center',
width: 3,
title: 'UE Number',
dataIndex: 'ueNum',
align: 'left',
width: 150,
},
{
title: 'NodeB Name',
dataIndex: 'name',
align: 'left',
width: 2,
width: 150,
},
{
title: 'UE Number',
dataIndex: 'ueNum',
align: 'center',
width: 2,
title: 'NodeB Address',
dataIndex: 'address',
align: 'left',
minWidth: 150,
},
];

View File

@@ -72,38 +72,38 @@ let tableColumns: ColumnsType = [
{
title: 'IMSI',
dataIndex: 'imsi',
align: 'center',
width: 3,
align: 'left',
width: 150,
},
{
title: 'MSISDN',
dataIndex: 'msisdn',
align: 'center',
width: 3,
},
{
title: 'IMPU',
dataIndex: 'impu',
align: 'center',
width: 5,
align: 'left',
width: 150,
},
{
title: 'Barring',
dataIndex: 'barring',
align: 'center',
width: 2,
align: 'left',
width: 150,
},
{
title: 'Registration State',
dataIndex: 'regState',
align: 'center',
width: 2,
align: 'left',
width: 150,
},
{
title: 'Active Time',
dataIndex: 'activeTime',
align: 'center',
width: 3,
align: 'left',
width: 150,
},
{
title: 'IMPU',
dataIndex: 'impu',
align: 'left',
},
];

View File

@@ -1100,7 +1100,7 @@ onMounted(() => {
:size="tableState.size"
:row-class-name="fnTableStriped"
:pagination="tablePagination"
:scroll="{ x: tableColumnsDnd.length * 200, y: 450 }"
:scroll="{ x: tableColumnsDnd.length * 200, y: 'calc(100vh - 480px)' }"
@change="fnTableChange"
@resizeColumn="(w:number, col:any) => (col.width = w)"
>