增加MME-EVENT事件

This commit is contained in:
lai
2024-07-23 10:03:34 +08:00
parent 1e8da20c44
commit ef9db9ddf6
2 changed files with 715 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ import { parseDateToStr } from '@/utils/date-utils';
import { OptionsType, WS } from '@/plugins/ws-websocket';
import saveAs from 'file-saver';
import PQueue from 'p-queue';
const { t } = useI18n();
const { getDict } = useDictStore();
const ws = new WS();
@@ -45,6 +46,7 @@ let queryParams = reactive({
neId: '001',
eventType: 'auth-result',
imsi: '',
tenantName: '',
sortField: 'timestamp',
sortOrder: 'desc',
/**开始时间 */
@@ -63,6 +65,7 @@ function fnQueryReset() {
queryParams = Object.assign(queryParams, {
eventType: 'auth-result',
imsi: '',
tenantName: '',
startTime: '',
endTime: '',
pageNum: 1,
@@ -149,6 +152,13 @@ let tableColumns: ColumnsType = [
return parseDateToStr(+cdrJSON.timestamp * 1000);
},
},
{
title: t('views.dashboard.cdr.tenantName'),
dataIndex: 'tenantName',
align: 'center',
key: 'tenantName',
width: 150,
},
{
title: t('common.operate'),
key: 'id',
@@ -461,6 +471,17 @@ onBeforeUnmount(() => {
></a-input>
</a-form-item>
</a-col>
<a-col :lg="6" :md="12" :xs="24">
<a-form-item
:label="t('views.neUser.sub.tenantName')"
name="tenantName "
>
<a-input
allow-clear
v-model:value="queryParams.tenantName"
></a-input>
</a-form-item>
</a-col>
<a-col :lg="8" :md="12" :xs="24">
<a-form-item
:label="t('views.dashboard.cdr.time')"