diff --git a/packages/plugins/plugin-lib/src/cert/dns-provider/api.ts b/packages/plugins/plugin-lib/src/cert/dns-provider/api.ts index 17b8b8d16..d691c6ab5 100644 --- a/packages/plugins/plugin-lib/src/cert/dns-provider/api.ts +++ b/packages/plugins/plugin-lib/src/cert/dns-provider/api.ts @@ -31,8 +31,6 @@ export type DnsProviderContext = { export type DomainRecord = { id: string; domain: string; - registrationDate: number; - expirationDate: number; }; export interface IDnsProvider { diff --git a/packages/ui/certd-client/.env b/packages/ui/certd-client/.env index 8d6dd6597..ef8d2df55 100644 --- a/packages/ui/certd-client/.env +++ b/packages/ui/certd-client/.env @@ -3,7 +3,7 @@ VITE_APP_API=api VITE_APP_PM_ENABLED=true VITE_APP_TITLE=Certd VITE_APP_SLOGAN=让你的证书永不过期 -VITE_APP_COPYRIGHT_YEAR=2021-2025 +VITE_APP_COPYRIGHT_YEAR=2021-2026 VITE_APP_COPYRIGHT_NAME=handsfree.work VITE_APP_COPYRIGHT_URL=https://certd.handsfree.work VITE_APP_LOGO=static/images/logo/logo.svg diff --git a/packages/ui/certd-client/src/components/plugins/lib/dicts.ts b/packages/ui/certd-client/src/components/plugins/lib/dicts.ts index c01a974b0..28a3902f0 100644 --- a/packages/ui/certd-client/src/components/plugins/lib/dicts.ts +++ b/packages/ui/certd-client/src/components/plugins/lib/dicts.ts @@ -28,4 +28,10 @@ export const Dicts = { { label: "SSH(已废弃,请选择SFTP方式)", value: "ssh", disabled: true }, ], }), + domainFromTypeDict: dict({ + data: [ + { value: "manual", label: "手动" }, + { value: "auto", label: "自动" }, + ], + }), }; diff --git a/packages/ui/certd-client/src/locales/langs/en-US/certd.ts b/packages/ui/certd-client/src/locales/langs/en-US/certd.ts index 704927e8e..48043de9f 100644 --- a/packages/ui/certd-client/src/locales/langs/en-US/certd.ts +++ b/packages/ui/certd-client/src/locales/langs/en-US/certd.ts @@ -13,6 +13,12 @@ export default { title: "Operation", }, }, + pipelinePage: { + addMore: "Add More Pipelines", + aliyunSubscriptionPipeline: "Aliyun Subscription Pipeline", + legoCertPipeline: "Lego Certificate Pipeline", + customPipeline: "Custom Pipeline", + }, order: { confirmTitle: "Order Confirmation", package: "Package", @@ -833,6 +839,8 @@ export default { disabled: "Disabled", challengeSetting: "Challenge Setting", gotoCnameTip: "Please go to CNAME Record Page", + fromType: "From Type", + expirationDate: "Expiration Date", }, addonSelector: { select: "Select", diff --git a/packages/ui/certd-client/src/locales/langs/zh-CN/certd.ts b/packages/ui/certd-client/src/locales/langs/zh-CN/certd.ts index 102a8cdcf..231460e40 100644 --- a/packages/ui/certd-client/src/locales/langs/zh-CN/certd.ts +++ b/packages/ui/certd-client/src/locales/langs/zh-CN/certd.ts @@ -17,6 +17,12 @@ export default { title: "操作列", }, }, + pipelinePage: { + addMore: "添加更多流水线", + aliyunSubscriptionPipeline: "阿里云订阅流水线", + legoCertPipeline: "Lego证书流水线", + customPipeline: "自定义流水线", + }, order: { confirmTitle: "订单确认", package: "套餐", @@ -846,6 +852,8 @@ export default { disabled: "禁用/启用", challengeSetting: "校验配置", gotoCnameTip: "CNAME域名配置请前往CNAME记录页面添加", + fromType: "来源类型", + expirationDate: "到期时间", }, addonSelector: { select: "选择", diff --git a/packages/ui/certd-client/src/views/certd/cert/domain/crud.tsx b/packages/ui/certd-client/src/views/certd/cert/domain/crud.tsx index 291111159..7178ab718 100644 --- a/packages/ui/certd-client/src/views/certd/cert/domain/crud.tsx +++ b/packages/ui/certd-client/src/views/certd/cert/domain/crud.tsx @@ -134,6 +134,10 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat sorter: true, }, }, + expirationDate: { + title: t("certd.domain.expirationDate"), + type: "date", + }, challengeType: { title: t("certd.domain.challengeType"), type: "dict-select", @@ -300,6 +304,16 @@ export default function ({ crudExpose, context }: CreateCrudOptionsProps): Creat }, }, }, + fromType: { + title: t("certd.domain.fromType"), + type: "dict-select", + dict: Dicts.domainFromTypeDict, + column: { + component: { + color: "auto", + }, + }, + }, disabled: { title: t("certd.domain.disabled"), type: "dict-switch", diff --git a/packages/ui/certd-client/src/views/certd/pipeline/index.vue b/packages/ui/certd-client/src/views/certd/pipeline/index.vue index 2767ec459..172b4b814 100644 --- a/packages/ui/certd-client/src/views/certd/pipeline/index.vue +++ b/packages/ui/certd-client/src/views/certd/pipeline/index.vue @@ -9,34 +9,22 @@ --> -