diff --git a/inlong-dashboard/src/ui/locales/cn.json b/inlong-dashboard/src/ui/locales/cn.json index f8fae84023f..23f83e31aa6 100644 --- a/inlong-dashboard/src/ui/locales/cn.json +++ b/inlong-dashboard/src/ui/locales/cn.json @@ -781,6 +781,7 @@ "pages.Approvals.MyApproval": "我的审批", "pages.Approvals.Type.Group": "申请数据流组", "pages.Approvals.Type.Consume": "申请订阅", + "pages.Approvals.Copy": "复制审批地址", "pages.ConsumeCreate.SubscriptionInformation": "订阅信息", "pages.ConsumeCreate.Prev": "上一步", "pages.ConsumeCreate.Next": "下一步", diff --git a/inlong-dashboard/src/ui/locales/en.json b/inlong-dashboard/src/ui/locales/en.json index df05a266292..89f3af4be20 100644 --- a/inlong-dashboard/src/ui/locales/en.json +++ b/inlong-dashboard/src/ui/locales/en.json @@ -781,6 +781,7 @@ "pages.Approvals.MyApproval": "My approval", "pages.Approvals.Type.Group": "Apply group", "pages.Approvals.Type.Consume": "Apply subscription", + "pages.Approvals.Copy": "Copy Approval Address", "pages.ConsumeCreate.SubscriptionInformation": "Subscription information", "pages.ConsumeCreate.Prev": "Prev", "pages.ConsumeCreate.Next": "Next", diff --git a/inlong-dashboard/src/ui/pages/Process/Applies/config.tsx b/inlong-dashboard/src/ui/pages/Process/Applies/config.tsx index 114a066c60b..b8a5c6488ab 100644 --- a/inlong-dashboard/src/ui/pages/Process/Applies/config.tsx +++ b/inlong-dashboard/src/ui/pages/Process/Applies/config.tsx @@ -23,6 +23,7 @@ import i18n from '@/i18n'; import { statusList, genStatusTag } from './status'; import { timestampFormat } from '@/core/utils'; import StatusTag from '@/ui/components/StatusTag'; +import { Button } from 'antd'; export const getFilterFormContent = defaultValues => [ { @@ -130,11 +131,32 @@ export const getColumns = activedName => [ dataIndex: 'action', width: 100, render: (text, record) => ( - - {i18n.t('basic.Detail')} - + <> + + {i18n.t('basic.Detail')} + + {record.currentTasks.length > 0 && ( + + )} + ), }, ];