From 2164ffc9b2725ce0d1f26d9fde95b2c169926cf2 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Fri, 17 Jan 2025 15:28:33 +0800 Subject: [PATCH 1/4] =?UTF-8?q?fix:=20SMF-CDR=E6=9F=A5=E8=AF=A2IMSI?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E7=BB=93=E6=9E=9C=E5=9B=BE=E4=BC=98=E5=8C=96?= =?UTF-8?q?=EF=BC=8C=E6=94=AF=E6=8C=81DNN=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dashboard/smfCDRByIMSI/index.vue | 72 +++++++++++++--------- 1 file changed, 43 insertions(+), 29 deletions(-) diff --git a/src/views/dashboard/smfCDRByIMSI/index.vue b/src/views/dashboard/smfCDRByIMSI/index.vue index 841bd578..f7a0939f 100644 --- a/src/views/dashboard/smfCDRByIMSI/index.vue +++ b/src/views/dashboard/smfCDRByIMSI/index.vue @@ -73,8 +73,8 @@ const option = { const downlinkValueF = parseSizeFromByte(downlinkValue); return `
${title}
-
Uplink: ${uplinkValueF}
Downlink: ${downlinkValueF}
+
Uplink: ${uplinkValueF}
`; }, }, @@ -95,7 +95,7 @@ const option = { }, dataZoom: [ { - show: true, + show: false, realtime: true, start: 0, end: 100, @@ -113,13 +113,13 @@ const option = { { left: '10%', right: 50, - height: '30%', + height: '40%', }, { left: '10%', right: 50, top: '50%', - height: '30%', + height: '40%', }, ], xAxis: [ @@ -129,7 +129,7 @@ const option = { axisLine: { onZero: true }, data: [], // x轴初始数据 axisLabel: { - show: true, // 显示标签 + show: false, // 显示标签 rotate: 15, // 设置倾斜角度(如15度) }, }, @@ -147,30 +147,30 @@ const option = { ], yAxis: [ { - name: 'Uplink (Byte)', + name: 'Downlink (Byte)', type: 'value', }, { gridIndex: 1, - name: 'Downlink (Byte)', + name: 'Uplink (Byte)', type: 'value', inverse: true, }, ], series: [ { - name: 'Uplink', + name: 'Downlink', type: 'line', data: [], // y轴初始数据 symbol: 'circle', // 数据点形状 symbolSize: 6, // 数据点大小 smooth: true, // 平滑曲线 - color: 'rgb(17, 178, 255)', + color: 'rgb(0, 190, 99)', areaStyle: { color: { colorStops: [ - { offset: 0, color: 'rgba(17, 178, 255, .5)' }, - { offset: 1, color: 'rgba(17, 178, 255, 0.5)' }, + { offset: 0, color: 'rgba(0, 190, 99, .5)' }, + { offset: 1, color: 'rgba(0, 190, 99, 0.5)' }, ], x: 0, y: 0, @@ -184,7 +184,7 @@ const option = { }, }, { - name: 'Downlink', + name: 'Uplink', type: 'line', xAxisIndex: 1, yAxisIndex: 1, @@ -192,12 +192,12 @@ const option = { symbol: 'circle', // 数据点形状 symbolSize: 6, // 数据点大小 smooth: true, // 平滑曲线 - color: 'rgb(0, 190, 99)', + color: 'rgb(17, 178, 255)', areaStyle: { color: { colorStops: [ - { offset: 0, color: 'rgba(0, 190, 99, .5)' }, - { offset: 1, color: 'rgba(0, 190, 99, 0.5)' }, + { offset: 0, color: 'rgba(17, 178, 255, .5)' }, + { offset: 1, color: 'rgba(17, 178, 255, 0.5)' }, ], x: 0, y: 0, @@ -267,6 +267,7 @@ let queryParams = reactive({ neType: 'SMF', neId: '001', subscriberID: '', + dnn: '', sortField: 'timestamp', sortOrder: 'desc', /**开始时间 */ @@ -281,6 +282,8 @@ let queryParams = reactive({ /**查询参数重置 */ function fnQueryReset() { + queryParams.subscriberID = ''; + queryParams.dnn = ''; queryRangePicker.value = [dayjs().startOf('hour'), dayjs().endOf('hour')]; fnGetList(1); } @@ -611,21 +614,15 @@ onBeforeUnmount(() => { > - - - + + + > @@ -650,6 +647,23 @@ onBeforeUnmount(() => { + + + + + From 8adf2a3dd0d31e21f5da5049ff29b20d682f76cc Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Fri, 17 Jan 2025 15:29:44 +0800 Subject: [PATCH 2/4] =?UTF-8?q?fix:=20=E5=9F=BA=E7=AB=99=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E6=9D=A1=E4=BB=B6=E6=9F=A5=E8=AF=A2=E6=97=B6=E5=8F=AA=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E5=BD=93=E5=89=8D=E7=8A=B6=E6=80=81=E6=95=B0=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ne-data/base-station/components/list.vue | 28 +++++++++++++++---- 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/src/views/ne-data/base-station/components/list.vue b/src/views/ne-data/base-station/components/list.vue index b7b130e3..1d829638 100644 --- a/src/views/ne-data/base-station/components/list.vue +++ b/src/views/ne-data/base-station/components/list.vue @@ -313,6 +313,7 @@ let modalState: ModalStateType = reactive({ address: '', name: '', position: '', + state: undefined, }, confirmLoading: false, }); @@ -481,6 +482,7 @@ onMounted(() => { v-model:value="queryParams.state" :options="nbState" :placeholder="t('common.selectPlease')" + @change="fnGetList" /> @@ -538,12 +540,25 @@ onMounted(() => {