ref: v3变更,,完成整合,同步v2.2508.4 -250902
This commit is contained in:
@@ -23,6 +23,7 @@ import {
|
||||
} from '@/api/trace/packet';
|
||||
import { parseDateToStr } from '@/utils/date-utils';
|
||||
import { ColumnsType } from 'ant-design-vue/es/table';
|
||||
import { WS_GROUP_TRACE_PACKET } from '@/constants/ne-constants';
|
||||
const ws = new wsUtil.WS();
|
||||
const wk = new wkUtil.WK();
|
||||
const { t } = useI18n();
|
||||
@@ -196,7 +197,7 @@ function wsMessage(res: Record<string, any>) {
|
||||
return;
|
||||
}
|
||||
packetKeep(taskState.task.taskNo, 120);
|
||||
}, 90 * 1000);
|
||||
}, 90_000);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -222,9 +223,9 @@ function fnWS() {
|
||||
*
|
||||
* 信令跟踪Packet (GroupID:4_taskNo)
|
||||
*/
|
||||
subGroupID: `4_${taskState.task.taskNo}`,
|
||||
subGroupID: `${WS_GROUP_TRACE_PACKET}_${taskState.task.taskNo}`,
|
||||
},
|
||||
heartTimer: 30 * 1000,
|
||||
heartTimer: 30_000,
|
||||
onmessage: wsMessage,
|
||||
onerror: (ev: any) => {
|
||||
// 接收数据后回调
|
||||
@@ -271,7 +272,7 @@ const taskState = reactive<TaskStateType>({
|
||||
outputPCAP: false,
|
||||
},
|
||||
|
||||
filter: '',
|
||||
filter: 'greater 200 and less 2500 and tcp and port 33030',
|
||||
filterError: null,
|
||||
|
||||
keepTimer: null,
|
||||
@@ -330,7 +331,7 @@ function fnStop() {
|
||||
clearInterval(taskState.keepTimer);
|
||||
taskState.keepTimer = null;
|
||||
|
||||
taskState.filter = '';
|
||||
taskState.filter = 'greater 200 and less 2500 and tcp and port 33030';
|
||||
taskState.filterError = null;
|
||||
|
||||
taskState.stop = true;
|
||||
|
||||
Reference in New Issue
Block a user