diff --git a/src/router/routers.ts b/src/router/routers.ts index 523a82fb..4691b28e 100644 --- a/src/router/routers.ts +++ b/src/router/routers.ts @@ -58,7 +58,7 @@ export const constantRoutes: RouteRecordRaw[] = [ { path: '/trace-task-hlr', name: 'TraceTaskHLR', // 跟踪任务HLR - meta: { title: 'router.traceTaskHLR', neType: ['HLR'] }, + meta: { title: 'router.traceTaskHLR', neType: ['UDM','HLR'] }, component: () => import('@/views/traceManage/task-hlr/index.vue'), }, { diff --git a/src/views/traceManage/task-hlr/index.vue b/src/views/traceManage/task-hlr/index.vue index 581e618e..ffb51333 100644 --- a/src/views/traceManage/task-hlr/index.vue +++ b/src/views/traceManage/task-hlr/index.vue @@ -248,7 +248,7 @@ function fnRecordStop(id: string) { content: t('views.traceManage.task.stopTaskTip', { id }), onOk() { const hide = message.loading(t('common.loading'), 0); - stopTaskHLR({ id }) + stopTaskHLR({ id: `${id}` }) .then(res => { if (res.code === RESULT_CODE_SUCCESS) { message.success({