Files
certd/packages/ui/certd-client/src/router/source/modules/certd.ts

306 lines
8.4 KiB
TypeScript
Raw Normal View History

2025-04-12 23:59:03 +08:00
import { useSettingStore } from "/@/store/settings";
import aboutResource from "/@/router/source/modules/about";
2025-06-28 23:57:01 +08:00
import i18n from "/@/locales/i18n";
2023-01-29 13:44:19 +08:00
export const certdResources = [
{
2025-06-28 23:57:01 +08:00
title: "certd.title",
name: "CertdRoot",
2023-01-29 13:44:19 +08:00
path: "/certd",
redirect: "/certd/pipeline",
meta: {
icon: "ion:key-outline",
auth: true,
2025-04-06 18:06:21 +08:00
order: 0,
2023-01-29 13:44:19 +08:00
},
children: [
{
2025-06-28 23:57:01 +08:00
title: "certd.pipeline",
name: "PipelineManager",
2023-01-29 13:44:19 +08:00
path: "/certd/pipeline",
component: "/certd/pipeline/index.vue",
meta: {
icon: "ion:analytics-sharp",
2025-04-08 23:31:25 +08:00
keepAlive: true,
2025-04-06 18:06:21 +08:00
},
2023-01-29 13:44:19 +08:00
},
{
2025-06-28 23:57:01 +08:00
title: "certd.pipelineEdit",
name: "PipelineEdit",
2023-01-29 13:44:19 +08:00
path: "/certd/pipeline/detail",
component: "/certd/pipeline/detail.vue",
meta: {
2025-04-06 18:06:21 +08:00
isMenu: false,
},
2023-01-29 13:44:19 +08:00
},
2025-06-23 18:20:49 +08:00
{
2025-06-28 23:57:01 +08:00
title: "certd.history",
2025-06-23 18:20:49 +08:00
name: "PipelineHistory",
path: "/certd/history",
component: "/certd/history/index.vue",
meta: {
icon: "ion:timer-outline",
keepAlive: true,
},
},
2025-06-19 18:17:35 +08:00
{
2025-06-30 16:34:09 +08:00
title: "certd.template.title",
2025-06-19 18:17:35 +08:00
name: "PipelineTemplate",
path: "/certd/pipeline/template",
component: "/certd/pipeline/template/index.vue",
meta: {
isMenu: true,
2025-06-23 18:20:49 +08:00
icon: "ion:duplicate-outline",
2025-06-19 18:17:35 +08:00
},
},
{
2025-06-30 16:34:09 +08:00
title: "certd.template.edit",
2025-06-19 18:17:35 +08:00
name: "PipelineTemplateEdit",
path: "/certd/pipeline/template/edit",
component: "/certd/pipeline/template/edit.vue",
meta: {
isMenu: false,
},
},
2025-06-26 18:43:16 +08:00
{
2025-06-30 16:34:09 +08:00
title: "certd.template.importCreate",
2025-06-26 18:43:16 +08:00
name: "PipelineTemplateImport",
path: "/certd/pipeline/template/import",
component: "/certd/pipeline/template/import/index.vue",
meta: {
isMenu: false,
},
},
2025-01-15 01:26:23 +08:00
{
2025-06-28 23:57:01 +08:00
title: "certd.certStore",
2025-01-15 01:26:23 +08:00
name: "CertStore",
path: "/certd/monitor/cert",
component: "/certd/monitor/cert/index.vue",
meta: {
icon: "ion:shield-checkmark-outline",
auth: true,
2025-04-06 18:06:21 +08:00
isMenu: true,
2025-04-08 23:31:25 +08:00
keepAlive: true,
2025-04-06 18:06:21 +08:00
},
2025-01-15 01:26:23 +08:00
},
2023-01-29 13:44:19 +08:00
{
2025-06-28 23:57:01 +08:00
title: "certd.siteMonitor",
name: "SiteCertMonitor",
path: "/certd/monitor/site",
component: "/certd/monitor/site/index.vue",
2023-01-29 13:44:19 +08:00
meta: {
icon: "ion:videocam-outline",
2025-04-06 18:06:21 +08:00
auth: true,
2025-04-08 23:31:25 +08:00
keepAlive: true,
2025-04-06 18:06:21 +08:00
},
},
2024-11-22 17:12:39 +08:00
{
2025-06-28 23:57:01 +08:00
title: "certd.settings",
name: "MineSetting",
2025-03-07 18:01:51 +08:00
path: "/certd/setting",
redirect: "/certd/access",
2024-11-22 17:12:39 +08:00
meta: {
icon: "ion:settings-outline",
2024-11-22 17:12:39 +08:00
auth: true,
2025-04-08 23:31:25 +08:00
keepAlive: true,
},
children: [
{
2025-06-28 23:57:01 +08:00
title: "certd.accessManager",
name: "AccessManager",
path: "/certd/access",
component: "/certd/access/index.vue",
meta: {
icon: "ion:disc-outline",
auth: true,
2025-04-08 23:31:25 +08:00
keepAlive: true,
2025-04-06 18:06:21 +08:00
},
},
2025-07-10 16:32:12 +08:00
{
title: "certd.domain.domainManager",
name: "DomainManager",
path: "/certd/cert/domain",
component: "/certd/cert/domain/index.vue",
meta: {
2025-07-10 17:00:47 +08:00
icon: "ion:globe-outline",
2025-07-10 16:32:12 +08:00
auth: true,
keepAlive: true,
},
},
{
2025-06-28 23:57:01 +08:00
title: "certd.cnameRecord",
name: "CnameRecord",
path: "/certd/cname/record",
component: "/certd/cname/record/index.vue",
meta: {
icon: "ion:link-outline",
2025-04-06 18:06:21 +08:00
auth: true,
2025-04-08 23:36:50 +08:00
keepAlive: true,
2025-04-06 18:06:21 +08:00
},
},
{
2025-06-28 23:57:01 +08:00
title: "certd.subDomain",
name: "SubDomain",
path: "/certd/pipeline/subDomain",
component: "/certd/pipeline/sub-domain/index.vue",
meta: {
icon: "material-symbols:approval-delegation-outline",
auth: true,
keepAlive: true,
},
},
{
2025-06-28 23:57:01 +08:00
title: "certd.pipelineGroup",
name: "PipelineGroupManager",
path: "/certd/pipeline/group",
component: "/certd/pipeline/group/index.vue",
meta: {
icon: "mdi:format-list-group",
2025-04-06 18:06:21 +08:00
auth: true,
2025-04-08 23:36:50 +08:00
keepAlive: true,
2025-04-06 18:06:21 +08:00
},
},
{
2025-06-28 23:57:01 +08:00
title: "certd.openKey",
2025-01-15 01:26:23 +08:00
name: "OpenKey",
path: "/certd/open/openkey",
component: "/certd/open/openkey/index.vue",
meta: {
2025-01-19 00:40:43 +08:00
icon: "hugeicons:api",
auth: true,
2025-04-08 23:31:25 +08:00
keepAlive: true,
2025-04-06 18:06:21 +08:00
},
},
{
2025-06-28 23:57:01 +08:00
title: "certd.notification",
name: "NotificationManager",
path: "/certd/notification",
component: "/certd/notification/index.vue",
meta: {
icon: "ion:megaphone-outline",
auth: true,
2025-04-08 23:31:25 +08:00
keepAlive: true,
2025-04-06 18:06:21 +08:00
},
},
{
2025-06-28 23:57:01 +08:00
title: "certd.siteMonitorSetting",
name: "SiteMonitorSetting",
path: "/certd/monitor/setting",
component: "/certd/monitor/site/setting/index.vue",
meta: {
icon: "ion:videocam-outline",
auth: true,
isMenu: true,
},
},
2025-04-17 01:15:55 +08:00
{
2025-06-28 23:57:01 +08:00
title: "certd.userSecurity",
2025-04-17 01:15:55 +08:00
name: "UserSecurity",
path: "/certd/mine/security",
component: "/certd/mine/security/index.vue",
meta: {
2025-04-17 22:34:21 +08:00
icon: "fluent:shield-keyhole-16-regular",
2025-04-17 01:15:55 +08:00
auth: true,
isMenu: true,
},
},
{
title: "certd.userGrant",
name: "UserGrantSetting",
path: "/certd/mine/grant",
component: "/certd/mine/grant/index.vue",
meta: {
icon: "mi:user-check",
auth: true,
isMenu: true,
},
},
{
2025-06-28 23:57:01 +08:00
title: "certd.userProfile",
name: "UserProfile",
path: "/certd/mine/user-profile",
component: "/certd/mine/user-profile.vue",
meta: {
icon: "ion:person-outline",
auth: true,
2025-04-06 18:06:21 +08:00
isMenu: false,
},
},
],
2024-11-22 17:12:39 +08:00
},
{
2025-06-28 23:57:01 +08:00
title: "certd.suite",
name: "SuiteProduct",
path: "/certd/suite",
redirect: "/certd/suite/mine",
meta: {
show: () => {
const settingStore = useSettingStore();
2024-12-25 00:52:39 +08:00
return settingStore.isComm && settingStore.isSuiteEnabled;
},
icon: "ion:cart-outline",
2025-04-06 18:06:21 +08:00
auth: true,
},
children: [
{
2025-06-28 23:57:01 +08:00
title: "certd.mySuite",
name: "MySuite",
path: "/certd/suite/mine",
component: "/certd/suite/mine/index.vue",
meta: {
show: () => {
const settingStore = useSettingStore();
return settingStore.isComm;
},
icon: "ion:gift-outline",
2025-04-06 18:06:21 +08:00
auth: true,
},
},
{
2025-06-28 23:57:01 +08:00
title: "certd.suiteBuy",
name: "SuiteProductBuy",
path: "/certd/suite/buy",
component: "/certd/suite/buy.vue",
meta: {
show: () => {
const settingStore = useSettingStore();
return settingStore.isComm;
},
icon: "ion:cart-outline",
2025-04-06 18:06:21 +08:00
auth: true,
},
},
{
2025-06-28 23:57:01 +08:00
title: "certd.myTrade",
name: "MyTrade",
path: "/certd/trade",
component: "/certd/trade/index.vue",
meta: {
show: () => {
const settingStore = useSettingStore();
return settingStore.isComm;
},
icon: "ion:bag-check-outline",
2025-04-06 18:06:21 +08:00
auth: true,
2025-04-08 23:36:50 +08:00
keepAlive: true,
2025-04-06 18:06:21 +08:00
},
},
{
2025-06-28 23:57:01 +08:00
title: "certd.paymentReturn",
name: "PaymentReturn",
path: "/certd/payment/return/:type",
component: "/certd/payment/return.vue",
meta: {
icon: "ant-design:pay-circle-outlined",
auth: false,
2025-04-06 18:06:21 +08:00
isMenu: false,
},
},
],
},
],
},
2023-01-29 13:44:19 +08:00
];
export default certdResources;