From 79830b752ab8b8163f91e1283a4837eadc39eab4 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Sun, 28 Sep 2025 18:16:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20SMSC-CDR=E6=B7=BB=E5=8A=A0=E7=BB=93?= =?UTF-8?q?=E6=9E=9C=E5=8E=9F=E5=9B=A0=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/dashboard/smscCDR/index.vue | 54 +++++++++++++++------------ 1 file changed, 30 insertions(+), 24 deletions(-) diff --git a/src/views/dashboard/smscCDR/index.vue b/src/views/dashboard/smscCDR/index.vue index 34867415..4b78c088 100644 --- a/src/views/dashboard/smscCDR/index.vue +++ b/src/views/dashboard/smscCDR/index.vue @@ -34,10 +34,10 @@ const queue = new PQueue({ concurrency: 1, autoStart: true }); /**字典数据 */ let dict: { - /**CDR 响应原因代码类别类型 */ - cdrCauseCode: DictType[]; + /**CDR SMSC 响应原因代码类别类型 */ + cdrSMSCCauseCode: DictType[]; } = reactive({ - cdrCauseCode: [], + cdrSMSCCauseCode: [], }); /**网元可选 */ @@ -177,12 +177,19 @@ let tableColumns: ColumnsType = [ }, { - title: t('views.dashboard.cdr.result'), + title: t('views.dashboard.cdr.resultCode'), dataIndex: 'cdrJSON', key: 'cause', align: 'left', width: 200, }, + { + title: t('views.dashboard.cdr.resultCause'), + dataIndex: 'cdrJSON', + key: 'result', + align: 'left', + width: 200, + }, { title: t('views.dashboard.cdr.time'), dataIndex: 'cdrJSON', @@ -475,9 +482,9 @@ function wsMessage(res: Record) { onMounted(() => { // 初始字典数据 - Promise.allSettled([getDict('cdr_cause_code')]).then(resArr => { + Promise.allSettled([getDict('cdr_cause_smsc')]).then(resArr => { if (resArr[0].status === 'fulfilled') { - dict.cdrCauseCode = resArr[0].value; + dict.cdrSMSCCauseCode = resArr[0].value; } }); // 获取网元网元列表 @@ -744,17 +751,15 @@ onBeforeUnmount(() => { >