diff --git a/src/api/neUser/base5G.ts b/src/api/neUser/base5G.ts index 95317280..d8f4150e 100644 --- a/src/api/neUser/base5G.ts +++ b/src/api/neUser/base5G.ts @@ -26,5 +26,8 @@ export async function listBase5G(query: Record) { data.total = rows.length; data.rows = rows; } + // 模拟数据 + // data.rows =[{"address":"192.168.1.137:38412","id":"217","name":"","ueNum":0}] + return data; } diff --git a/src/views/neUser/auth/index.vue b/src/views/neUser/auth/index.vue index 83a9cce5..ee5e5c08 100644 --- a/src/views/neUser/auth/index.vue +++ b/src/views/neUser/auth/index.vue @@ -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', }, ]; diff --git a/src/views/neUser/base5G/index.vue b/src/views/neUser/base5G/index.vue index c76d4e12..323914ee 100644 --- a/src/views/neUser/base5G/index.vue +++ b/src/views/neUser/base5G/index.vue @@ -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 }" > diff --git a/src/views/neUser/sub/index.vue b/src/views/neUser/sub/index.vue index bf29cd81..797824de 100644 --- a/src/views/neUser/sub/index.vue +++ b/src/views/neUser/sub/index.vue @@ -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, },