diff --git a/src/api/neData/psap.ts b/src/api/neData/psap.ts new file mode 100644 index 00000000..b2630eb5 --- /dev/null +++ b/src/api/neData/psap.ts @@ -0,0 +1,43 @@ +import { request } from '@/plugins/http-fetch'; + +/** + * 查询IMS-CDR会话事件 + * @param query 查询参数 + * @returns object + */ +export function listPSAPDataCDR(query: Record) { + return request({ + url: '/neData/psap/cdr/list', + method: 'get', + params: query, + timeout: 60_000, + }); +} + +/** + * IMS-CDR会话删除 + * @param id 信息ID + * @returns object + */ +export function delPSAPDataCDR(cdrIds: string | number) { + return request({ + url: `/neData/psap/cdr/${cdrIds}`, + method: 'delete', + timeout: 60_000, + }); +} + +/** + * IMS-CDR会话列表导出 + * @param data 查询列表条件 + * @returns object + */ +export function exportPSAPDataCDR(data: Record) { + return request({ + url: '/neData/psap/cdr/export', + method: 'post', + data, + responseType: 'blob', + timeout: 60_000, + }); +} diff --git a/src/i18n/locales/en-US.ts b/src/i18n/locales/en-US.ts index 119c4a3c..43d336f2 100644 --- a/src/i18n/locales/en-US.ts +++ b/src/i18n/locales/en-US.ts @@ -433,6 +433,8 @@ export default { sgwcServedMSISDN: 'MSISDN', sgwcVolumeGPRSUplink: 'GPRS Uplink', sgwcVolumeGPRSDownlink: 'GPRS Downlink', + recordPath:'Record Path', + msd:'MSD', }, ue: { eventType: "Event Type", diff --git a/src/i18n/locales/zh-CN.ts b/src/i18n/locales/zh-CN.ts index e865ea0b..45c44fb2 100644 --- a/src/i18n/locales/zh-CN.ts +++ b/src/i18n/locales/zh-CN.ts @@ -433,6 +433,8 @@ export default { sgwcServedMSISDN: 'MSISDN', sgwcVolumeGPRSUplink: 'GPRS 上行链路', sgwcVolumeGPRSDownlink: 'GPRS 下行链路', + recordPath:'录音文件路径', + msd:'最小数据集', }, ue: { eventType: "事件类型", diff --git a/src/views/dashboard/overview/components/psapOverview/DashboardCards.vue b/src/views/dashboard/overview/components/psapOverview/DashboardCards.vue new file mode 100644 index 00000000..173ec4d8 --- /dev/null +++ b/src/views/dashboard/overview/components/psapOverview/DashboardCards.vue @@ -0,0 +1,148 @@ + + + + + diff --git a/src/views/dashboard/overview/components/psapOverview/TrendChart.vue b/src/views/dashboard/overview/components/psapOverview/TrendChart.vue new file mode 100644 index 00000000..42845694 --- /dev/null +++ b/src/views/dashboard/overview/components/psapOverview/TrendChart.vue @@ -0,0 +1,107 @@ + + + + + diff --git a/src/views/dashboard/overview/index.vue b/src/views/dashboard/overview/index.vue index f955c4f3..e1400c18 100644 --- a/src/views/dashboard/overview/index.vue +++ b/src/views/dashboard/overview/index.vue @@ -1,684 +1,30 @@ diff --git a/src/views/dashboard/psapCDR/index.vue b/src/views/dashboard/psapCDR/index.vue new file mode 100644 index 00000000..801c423c --- /dev/null +++ b/src/views/dashboard/psapCDR/index.vue @@ -0,0 +1,835 @@ + + + + + diff --git a/src/views/ne/neInfo/components/EditModal.vue b/src/views/ne/neInfo/components/EditModal.vue index b8955ab7..07dbd0f3 100644 --- a/src/views/ne/neInfo/components/EditModal.vue +++ b/src/views/ne/neInfo/components/EditModal.vue @@ -104,12 +104,12 @@ let modalState: ModalStateType = reactive({ from: { id: undefined, neId: '001', - neType: 'AMF', + neType: 'PSAP', neName: '', ip: '', port: 33030, pvFlag: 'PNF', - rmUid: '4400HXAMF001', + rmUid: '4400HXPSAP001', neAddress: '', dn: '', vendorName: '', @@ -321,14 +321,14 @@ function fnNeTypeChange(v: any) { }); } - modalState.from.rmUid = `4400HX${v}${modalState.from.neId}`; // 4400HX1AMF001 + modalState.from.rmUid = `4400HX${v}${modalState.from.neId}`; // 4400HX1PSAP001 } /**表单修改网元neId */ function fnNeIdChange(e: any) { const v = e.target.value; if (v.length < 1) return; - modalState.from.rmUid = `4400HX${modalState.from.neType}${v}`; // 4400HX1AMF001 + modalState.from.rmUid = `4400HX${modalState.from.neType}${v}`; // 4400HX1PSAP001 } /**表单修改网元IP */