refactor(sj_1.1.0-beta1): 页面路径修改 notify/scene => notify/config
This commit is contained in:
parent
121ac94cff
commit
79b5c588cd
@ -303,7 +303,7 @@ const local: App.I18n.Schema = {
|
|||||||
namespace: 'Namespace',
|
namespace: 'Namespace',
|
||||||
notify: 'Notify',
|
notify: 'Notify',
|
||||||
notify_recipient: 'Notify Recipient',
|
notify_recipient: 'Notify Recipient',
|
||||||
notify_scene: 'Notify Scene',
|
notify_config: 'Notify Config',
|
||||||
retry: 'Retry Task',
|
retry: 'Retry Task',
|
||||||
retry_task: 'Retry Task',
|
retry_task: 'Retry Task',
|
||||||
retry_scene: 'Retry Scene',
|
retry_scene: 'Retry Scene',
|
||||||
|
@ -304,7 +304,7 @@ const local: App.I18n.Schema = {
|
|||||||
group: '组管理',
|
group: '组管理',
|
||||||
notify: '告警通知',
|
notify: '告警通知',
|
||||||
notify_recipient: '通知人',
|
notify_recipient: '通知人',
|
||||||
notify_scene: '通知场景',
|
notify_config: '通知配置',
|
||||||
retry: '重试任务',
|
retry: '重试任务',
|
||||||
retry_task: '任务管理',
|
retry_task: '任务管理',
|
||||||
'retry_dead-letter': '死信任务',
|
'retry_dead-letter': '死信任务',
|
||||||
|
@ -26,8 +26,8 @@ export const views: Record<LastLevelRouteKey, RouteComponent | (() => Promise<Ro
|
|||||||
job_batch: () => import("@/views/job/batch/index.vue"),
|
job_batch: () => import("@/views/job/batch/index.vue"),
|
||||||
job_task: () => import("@/views/job/task/index.vue"),
|
job_task: () => import("@/views/job/task/index.vue"),
|
||||||
namespace: () => import("@/views/namespace/index.vue"),
|
namespace: () => import("@/views/namespace/index.vue"),
|
||||||
|
notify_config: () => import("@/views/notify/config/index.vue"),
|
||||||
notify_recipient: () => import("@/views/notify/recipient/index.vue"),
|
notify_recipient: () => import("@/views/notify/recipient/index.vue"),
|
||||||
notify_scene: () => import("@/views/notify/scene/index.vue"),
|
|
||||||
pods: () => import("@/views/pods/index.vue"),
|
pods: () => import("@/views/pods/index.vue"),
|
||||||
"retry_dead-letter": () => import("@/views/retry/dead-letter/index.vue"),
|
"retry_dead-letter": () => import("@/views/retry/dead-letter/index.vue"),
|
||||||
retry_log: () => import("@/views/retry/log/index.vue"),
|
retry_log: () => import("@/views/retry/log/index.vue"),
|
||||||
|
@ -155,6 +155,16 @@ export const generatedRoutes: GeneratedRoute[] = [
|
|||||||
icon: 'material-symbols:notifications-active-outline-rounded'
|
icon: 'material-symbols:notifications-active-outline-rounded'
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
|
{
|
||||||
|
name: 'notify_config',
|
||||||
|
path: '/notify/config',
|
||||||
|
component: 'view.notify_config',
|
||||||
|
meta: {
|
||||||
|
title: 'notify_config',
|
||||||
|
i18nKey: 'route.notify_config',
|
||||||
|
icon: 'cbi:scene-dynamic'
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'notify_recipient',
|
name: 'notify_recipient',
|
||||||
path: '/notify/recipient',
|
path: '/notify/recipient',
|
||||||
@ -164,16 +174,6 @@ export const generatedRoutes: GeneratedRoute[] = [
|
|||||||
i18nKey: 'route.notify_recipient',
|
i18nKey: 'route.notify_recipient',
|
||||||
icon: 'fluent:people-call-20-filled'
|
icon: 'fluent:people-call-20-filled'
|
||||||
}
|
}
|
||||||
},
|
|
||||||
{
|
|
||||||
name: 'notify_scene',
|
|
||||||
path: '/notify/scene',
|
|
||||||
component: 'view.notify_scene',
|
|
||||||
meta: {
|
|
||||||
title: 'notify_scene',
|
|
||||||
i18nKey: 'route.notify_scene',
|
|
||||||
icon: 'cbi:scene-dynamic'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -6,9 +6,9 @@ import { fetchBatchDeleteNotify, fetchGetNotifyConfigList, fetchUpdateNotifyStat
|
|||||||
import { $t } from '@/locales';
|
import { $t } from '@/locales';
|
||||||
import { useAppStore } from '@/store/modules/app';
|
import { useAppStore } from '@/store/modules/app';
|
||||||
import { useTable, useTableOperate } from '@/hooks/common/table';
|
import { useTable, useTableOperate } from '@/hooks/common/table';
|
||||||
import NotifyConfigOperateDrawer from '@/views/notify/scene/modules/notify-config-operate-drawer.vue';
|
import NotifyConfigOperateDrawer from '@/views/notify/config/modules/notify-config-operate-drawer.vue';
|
||||||
import NotifyConfigSearch from '@/views/notify/scene/modules/notify-config-search.vue';
|
import NotifyConfigSearch from '@/views/notify/config/modules/notify-config-search.vue';
|
||||||
import NotifyConfigDetailDrawer from '@/views/notify/scene/modules/notify-config-detail-drawer.vue';
|
import NotifyConfigDetailDrawer from '@/views/notify/config/modules/notify-config-detail-drawer.vue';
|
||||||
import StatusSwitch from '@/components/common/status-switch.vue';
|
import StatusSwitch from '@/components/common/status-switch.vue';
|
||||||
import { jobNotifyScene, retryNotifyScene, systemTaskType, workflowNotifyScene } from '@/constants/business';
|
import { jobNotifyScene, retryNotifyScene, systemTaskType, workflowNotifyScene } from '@/constants/business';
|
||||||
import { tagColor } from '@/utils/common';
|
import { tagColor } from '@/utils/common';
|
Loading…
Reference in New Issue
Block a user