diff --git a/src/api/neUser/ue.ts b/src/api/neUser/ue.ts index 8dded509..759ae6e5 100644 --- a/src/api/neUser/ue.ts +++ b/src/api/neUser/ue.ts @@ -26,5 +26,38 @@ export async function listUE(query: Record) { data.total = rows.length; data.rows = rows; } + + // 模拟数据 + // data.rows = [ + // { + // imsi: 'imsi-460029004200044', + // msisdn: 'msisdn-12346002044', + // pduSessionInfo: [ + // { + // activeTime: '2023-11-29 18:39:06', + // dnn: 'ims', + // ipv4: '10.10.48.97', + // ipv6: '', + // pduSessionID: 6, + // ranN3IP: '192.168.8.223', + // sstSD: '1-000001', + // tai: '46000-0001', + // upfN3IP: '192.168.1.161', + // }, + // { + // activeTime: '2023-11-29 18:39:05', + // dnn: 'cmnet', + // ipv4: '10.10.48.62', + // ipv6: '', + // pduSessionID: 5, + // ranN3IP: '192.168.8.223', + // sstSD: '1-000001', + // tai: '46000-0001', + // upfN3IP: '192.168.1.163', + // }, + // ], + // ratType: 'EUTRAN', + // }, + // ]; return data; } diff --git a/src/views/neUser/auth/index.vue b/src/views/neUser/auth/index.vue index 8c7ebb8e..f74961e6 100644 --- a/src/views/neUser/auth/index.vue +++ b/src/views/neUser/auth/index.vue @@ -86,21 +86,21 @@ let tableColumns: ColumnsType = [ { title: 'IMSI', dataIndex: 'imsi', - align: 'left', + align: 'center', sorter: true, width: 150, }, { title: 'AMF', dataIndex: 'amf', - align: 'left', - width: 100, + align: 'center', + width: 80, }, { title: 'Status', dataIndex: 'status', - align: 'left', - width: 100, + align: 'center', + width: 80, }, // { // title: 'KI', @@ -117,7 +117,7 @@ let tableColumns: ColumnsType = [ { title: 'Algo Index', dataIndex: 'algoIndex', - align: 'left', + align: 'center', width: 100, }, { diff --git a/src/views/neUser/base5G/index.vue b/src/views/neUser/base5G/index.vue index 5f30c06a..afe2a529 100644 --- a/src/views/neUser/base5G/index.vue +++ b/src/views/neUser/base5G/index.vue @@ -69,26 +69,25 @@ let tableColumns: ColumnsType = [ { title: 'NodeB ID', dataIndex: 'id', - align: 'left', - width: 150, + align: 'center', + width: 100, }, { title: 'UE Number', dataIndex: 'ueNum', - align: 'left', - width: 150, + align: 'center', + width: 100, }, { title: 'NodeB Name', dataIndex: 'name', - align: 'left', + align: 'center', width: 150, }, { title: 'NodeB Address', dataIndex: 'address', align: 'left', - minWidth: 150, }, ]; diff --git a/src/views/neUser/ims/index.vue b/src/views/neUser/ims/index.vue index 7816ecb6..858b5a83 100644 --- a/src/views/neUser/ims/index.vue +++ b/src/views/neUser/ims/index.vue @@ -72,32 +72,32 @@ let tableColumns: ColumnsType = [ { title: 'IMSI', dataIndex: 'imsi', - align: 'left', + align: 'center', width: 150, }, { title: 'MSISDN', dataIndex: 'msisdn', - align: 'left', + align: 'center', width: 150, }, { title: 'Barring', dataIndex: 'barring', - align: 'left', - width: 150, + align: 'center', + width: 80, }, { title: 'Registration State', dataIndex: 'regState', - align: 'left', + align: 'center', width: 150, }, { title: 'Active Time', dataIndex: 'activeTime', - align: 'left', + align: 'center', width: 150, }, { diff --git a/src/views/neUser/n3iwf/index.vue b/src/views/neUser/n3iwf/index.vue index cefd2858..7421d53e 100644 --- a/src/views/neUser/n3iwf/index.vue +++ b/src/views/neUser/n3iwf/index.vue @@ -61,26 +61,26 @@ let tableColumns: ColumnsType = [ { title: 'IMSI', dataIndex: 'imsi', - align: 'left', + align: 'center', width: 150, }, { title: 'ActiveTime', dataIndex: 'activeTime', - align: 'left', + align: 'center', width: 150, }, { title: 'RegState', dataIndex: 'regState', - align: 'left', + align: 'center', width: 100, }, { title: 'Network Access Identity', dataIndex: 'nai', align: 'left', - minWidth: 100, + width: 500, }, ]; @@ -150,7 +150,7 @@ onMounted(() => { - + { :size="tableState.size" :row-class-name="fnTableStriped" :pagination="false" - :scroll="{ y: 450 }" + :scroll="{ y: 'calc(100vh - 480px)' }" > diff --git a/src/views/neUser/sub/index.vue b/src/views/neUser/sub/index.vue index edd77753..467ce8ac 100644 --- a/src/views/neUser/sub/index.vue +++ b/src/views/neUser/sub/index.vue @@ -89,7 +89,7 @@ let tableColumns: ColumnsType = [ { title: 'IMSI', dataIndex: 'imsi', - align: 'left', + align: 'center', fixed: 'left', sorter: true, resizable: true, @@ -100,60 +100,61 @@ let tableColumns: ColumnsType = [ { title: 'MSISDN', dataIndex: 'msisdn', - align: 'left', + align: 'center', fixed: 'left', sorter: true, - resizable: true, width: 150, - minWidth: 150, - maxWidth: 300, }, { - title: 'Subscribed AMBR Temp', + title: 'Subscribed AMBR', dataIndex: 'ambr', - align: 'left', - width: 200, + align: 'center', + width: 100, }, { - title: 'Subscribed SNSSAIs Temp', + title: 'Subscribed SNSSAIs', dataIndex: 'sar', - align: 'left', - width: 200, + align: 'center', + width: 100, }, { - title: 'RAT Restriction', + title: 'RAT', dataIndex: 'rat', - align: 'left', - width: 200, + align: 'center', + width: 50, }, { - title: 'Forbidden Areas Temp', + title: 'Forbidden Areas', dataIndex: 'arfb', - align: 'left', - width: 200, + align: 'center', + width: 100, }, { - title: 'Service Area Restrict Temp', + title: 'Service Area Restrict', dataIndex: 'nssai', - align: 'left', - width: 200, + align: 'center', + width: 100, }, { - title: 'CN Type Restriction', + title: 'CN Type', dataIndex: 'cn', - align: 'left', - width: 200, + align: 'center', + width: 100, }, { - title: 'EPS Flag', + title: 'EPS', dataIndex: 'epsFlag', - align: 'left', + align: 'center', width: 100, }, { title: 'Subscribed Data', dataIndex: 'smData', align: 'left', + resizable: true, + width: 500, + minWidth: 150, + maxWidth: 500, }, { title: t('common.operate'), @@ -1100,7 +1101,7 @@ onMounted(() => { :size="tableState.size" :row-class-name="fnTableStriped" :pagination="tablePagination" - :scroll="{ x: tableColumnsDnd.length * 200, y: 'calc(100vh - 480px)' }" + :scroll="{ y: 'calc(100vh - 480px)' }" @change="fnTableChange" @resizeColumn="(w:number, col:any) => (col.width = w)" > @@ -1137,6 +1138,7 @@ onMounted(() => { { {