|
|
@ -141,7 +141,7 @@ export function useDataList() { |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: t('menu.file_manage'), |
|
|
|
label: t('menu.file_manage'), |
|
|
|
key: `/resource/file-manage`, |
|
|
|
key: '/resource/file-manage', |
|
|
|
icon: renderIcon(FileSearchOutlined) |
|
|
|
icon: renderIcon(FileSearchOutlined) |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
@ -151,11 +151,11 @@ export function useDataList() { |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: t('menu.resource_manage'), |
|
|
|
label: t('menu.resource_manage'), |
|
|
|
key: `/resource/resource-manage` |
|
|
|
key: '/resource/resource-manage' |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: t('menu.function_manage'), |
|
|
|
label: t('menu.function_manage'), |
|
|
|
key: `/resource/function-manage` |
|
|
|
key: '/resource/function-manage' |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
|
}, |
|
|
|
}, |
|
|
@ -183,12 +183,12 @@ export function useDataList() { |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: t('menu.task_result'), |
|
|
|
label: t('menu.task_result'), |
|
|
|
key: `/data-quality/task-result`, |
|
|
|
key: '/data-quality/task-result', |
|
|
|
icon: renderIcon(ApartmentOutlined) |
|
|
|
icon: renderIcon(ApartmentOutlined) |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: t('menu.rule'), |
|
|
|
label: t('menu.rule'), |
|
|
|
key: `/data-quality/rule`, |
|
|
|
key: '/data-quality/rule', |
|
|
|
icon: renderIcon(BarsOutlined) |
|
|
|
icon: renderIcon(BarsOutlined) |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
@ -211,15 +211,15 @@ export function useDataList() { |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: t('menu.master'), |
|
|
|
label: t('menu.master'), |
|
|
|
key: `/monitor/master` |
|
|
|
key: '/monitor/master' |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: t('menu.worker'), |
|
|
|
label: t('menu.worker'), |
|
|
|
key: `/monitor/worker` |
|
|
|
key: '/monitor/worker' |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: t('menu.db'), |
|
|
|
label: t('menu.db'), |
|
|
|
key: `/monitor/db` |
|
|
|
key: '/monitor/db' |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
|
}, |
|
|
|
}, |
|
|
@ -230,11 +230,11 @@ export function useDataList() { |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: t('menu.statistics'), |
|
|
|
label: t('menu.statistics'), |
|
|
|
key: `/monitor/statistics` |
|
|
|
key: '/monitor/statistics' |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: t('menu.audit_log'), |
|
|
|
label: t('menu.audit_log'), |
|
|
|
key: `/monitor/audit-log` |
|
|
|
key: '/monitor/audit-log' |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
|
} |
|
|
|
} |
|
|
@ -249,54 +249,54 @@ export function useDataList() { |
|
|
|
? [ |
|
|
|
? [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: t('menu.tenant_manage'), |
|
|
|
label: t('menu.tenant_manage'), |
|
|
|
key: `/security/tenant-manage`, |
|
|
|
key: '/security/tenant-manage', |
|
|
|
icon: renderIcon(UsergroupAddOutlined) |
|
|
|
icon: renderIcon(UsergroupAddOutlined) |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: t('menu.user_manage'), |
|
|
|
label: t('menu.user_manage'), |
|
|
|
key: `/security/user-manage`, |
|
|
|
key: '/security/user-manage', |
|
|
|
icon: renderIcon(UserAddOutlined) |
|
|
|
icon: renderIcon(UserAddOutlined) |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: t('menu.alarm_group_manage'), |
|
|
|
label: t('menu.alarm_group_manage'), |
|
|
|
key: `/security/alarm-group-manage`, |
|
|
|
key: '/security/alarm-group-manage', |
|
|
|
icon: renderIcon(WarningOutlined) |
|
|
|
icon: renderIcon(WarningOutlined) |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: t('menu.alarm_instance_manage'), |
|
|
|
label: t('menu.alarm_instance_manage'), |
|
|
|
key: `/security/alarm-instance-manage`, |
|
|
|
key: '/security/alarm-instance-manage', |
|
|
|
icon: renderIcon(InfoCircleOutlined) |
|
|
|
icon: renderIcon(InfoCircleOutlined) |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: t('menu.worker_group_manage'), |
|
|
|
label: t('menu.worker_group_manage'), |
|
|
|
key: `/security/worker-group-manage`, |
|
|
|
key: '/security/worker-group-manage', |
|
|
|
icon: renderIcon(ControlOutlined) |
|
|
|
icon: renderIcon(ControlOutlined) |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: t('menu.yarn_queue_manage'), |
|
|
|
label: t('menu.yarn_queue_manage'), |
|
|
|
key: `/security/yarn-queue-manage`, |
|
|
|
key: '/security/yarn-queue-manage', |
|
|
|
icon: renderIcon(SlackOutlined) |
|
|
|
icon: renderIcon(SlackOutlined) |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: t('menu.environment_manage'), |
|
|
|
label: t('menu.environment_manage'), |
|
|
|
key: `/security/environment-manage`, |
|
|
|
key: '/security/environment-manage', |
|
|
|
icon: renderIcon(EnvironmentOutlined) |
|
|
|
icon: renderIcon(EnvironmentOutlined) |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: t('menu.k8s_namespace_manage'), |
|
|
|
label: t('menu.k8s_namespace_manage'), |
|
|
|
key: `/security/k8s-namespace-manage`, |
|
|
|
key: '/security/k8s-namespace-manage', |
|
|
|
icon: renderIcon(CloudServerOutlined) |
|
|
|
icon: renderIcon(CloudServerOutlined) |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: t('menu.token_manage'), |
|
|
|
label: t('menu.token_manage'), |
|
|
|
key: `/security/token-manage`, |
|
|
|
key: '/security/token-manage', |
|
|
|
icon: renderIcon(SafetyOutlined) |
|
|
|
icon: renderIcon(SafetyOutlined) |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
|
: [ |
|
|
|
: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
label: t('menu.token_manage'), |
|
|
|
label: t('menu.token_manage'), |
|
|
|
key: `/security/token-manage`, |
|
|
|
key: '/security/token-manage', |
|
|
|
icon: renderIcon(SafetyOutlined) |
|
|
|
icon: renderIcon(SafetyOutlined) |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
|