From a658852772d8e209561ae989d6daf89fdce889e3 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Thu, 23 Oct 2025 14:15:46 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=9F=BA=E7=AB=99=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E8=A1=A5=E5=85=85randId=E5=88=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/locales/en-US.ts | 1 + src/i18n/locales/zh-CN.ts | 1 + .../base-station/components/history.vue | 85 +++---- src/views/neData/base-station/list.vue | 230 ++++++------------ src/views/neData/base-station/topology.vue | 22 +- 5 files changed, 122 insertions(+), 217 deletions(-) diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index 8b737b2c..3c9dac70 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -875,6 +875,7 @@ export default { list: "List", topology: "Topology", nbName: "RAN Node Name", + nbId: "RAN Node ID", ueNum: "UE Number", topologyTitle: "Radio State Graph", name: "Name", diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts index 62735333..8540c7ba 100644 --- a/src/i18n/locales/zh-CN.ts +++ b/src/i18n/locales/zh-CN.ts @@ -875,6 +875,7 @@ export default { list: "列表", topology: "拓扑图", nbName: "设备名称", + nbId: "设备ID", ueNum: "在线用户数", topologyTitle: "基站状态关系图", name: "基站名称", diff --git a/src/views/neData/base-station/components/history.vue b/src/views/neData/base-station/components/history.vue index 5f0ffeeb..8589462c 100644 --- a/src/views/neData/base-station/components/history.vue +++ b/src/views/neData/base-station/components/history.vue @@ -150,6 +150,15 @@ let tableColumns = ref([ minWidth: 100, maxWidth: 200, }, + { + title: t('views.neData.baseStation.nbId'), + dataIndex: 'nbId', + align: 'left', + resizable: true, + width: 100, + minWidth: 100, + maxWidth: 200, + }, { title: t('views.neData.baseStation.state'), dataIndex: 'state', @@ -247,7 +256,7 @@ function fnGetList(pageNum?: number) { } listNBState(toRaw(queryParams)).then(res => { - if (res.code === RESULT_CODE_SUCCESS) { + if (res.code === RESULT_CODE_SUCCESS) { // 取消勾选 if (tableState.selectedRowKeys.length > 0) { tableState.selectedRowKeys = []; @@ -258,7 +267,7 @@ function fnGetList(pageNum?: number) { tableState.data = rows; if ( tablePagination.total <= - (queryParams.pageNum - 1) * tablePagination.pageSize && + (queryParams.pageNum - 1) * tablePagination.pageSize && queryParams.pageNum !== 1 ) { tableState.loading = false; @@ -290,62 +299,43 @@ watch(