2025-04-12 23:59:03 +08:00
|
|
|
import { useSettingStore } from "/@/store/settings";
|
2025-03-06 21:11:07 +08:00
|
|
|
import aboutResource from "/@/router/source/modules/about";
|
2025-06-28 23:57:01 +08:00
|
|
|
import i18n from "/@/locales/i18n";
|
2024-12-23 00:49:56 +08:00
|
|
|
|
2023-01-29 13:44:19 +08:00
|
|
|
export const certdResources = [
|
|
|
|
|
{
|
2025-06-28 23:57:01 +08:00
|
|
|
title: "certd.title",
|
2024-10-07 03:21:16 +08:00
|
|
|
name: "CertdRoot",
|
2023-01-29 13:44:19 +08:00
|
|
|
path: "/certd",
|
|
|
|
|
redirect: "/certd/pipeline",
|
|
|
|
|
meta: {
|
|
|
|
|
icon: "ion:key-outline",
|
2025-03-06 21:11:07 +08:00
|
|
|
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",
|
2024-10-07 03:21:16 +08:00
|
|
|
name: "PipelineManager",
|
2023-01-29 13:44:19 +08:00
|
|
|
path: "/certd/pipeline",
|
|
|
|
|
component: "/certd/pipeline/index.vue",
|
|
|
|
|
meta: {
|
2024-11-08 10:51:41 +08:00
|
|
|
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",
|
2024-10-07 03:21:16 +08:00
|
|
|
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",
|
2024-12-23 00:24:31 +08:00
|
|
|
name: "SiteCertMonitor",
|
|
|
|
|
path: "/certd/monitor/site",
|
|
|
|
|
component: "/certd/monitor/site/index.vue",
|
2023-01-29 13:44:19 +08:00
|
|
|
meta: {
|
2024-12-23 00:24:31 +08:00
|
|
|
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-10-07 03:21:16 +08:00
|
|
|
},
|
2024-11-22 17:12:39 +08:00
|
|
|
{
|
2025-06-28 23:57:01 +08:00
|
|
|
title: "certd.settings",
|
2024-12-23 00:24:31 +08:00
|
|
|
name: "MineSetting",
|
2025-03-07 18:01:51 +08:00
|
|
|
path: "/certd/setting",
|
2025-03-16 21:16:14 +08:00
|
|
|
redirect: "/certd/access",
|
2024-11-22 17:12:39 +08:00
|
|
|
meta: {
|
2024-12-23 00:24:31 +08:00
|
|
|
icon: "ion:settings-outline",
|
2024-11-22 17:12:39 +08:00
|
|
|
auth: true,
|
2025-04-08 23:31:25 +08:00
|
|
|
keepAlive: true,
|
2024-12-23 00:24:31 +08:00
|
|
|
},
|
|
|
|
|
children: [
|
2025-03-16 21:16:14 +08:00
|
|
|
{
|
2025-06-28 23:57:01 +08:00
|
|
|
title: "certd.accessManager",
|
2025-03-16 21:16:14 +08:00
|
|
|
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-03-16 21:16:14 +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,
|
|
|
|
|
},
|
|
|
|
|
},
|
2024-12-23 00:24:31 +08:00
|
|
|
{
|
2025-06-28 23:57:01 +08:00
|
|
|
title: "certd.cnameRecord",
|
2024-12-23 00:24:31 +08:00
|
|
|
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
|
|
|
},
|
2024-12-23 00:24:31 +08:00
|
|
|
},
|
2025-05-05 21:43:39 +08:00
|
|
|
{
|
2025-06-28 23:57:01 +08:00
|
|
|
title: "certd.subDomain",
|
2025-05-05 21:43:39 +08:00
|
|
|
name: "SubDomain",
|
|
|
|
|
path: "/certd/pipeline/subDomain",
|
|
|
|
|
component: "/certd/pipeline/sub-domain/index.vue",
|
|
|
|
|
meta: {
|
|
|
|
|
icon: "material-symbols:approval-delegation-outline",
|
|
|
|
|
auth: true,
|
|
|
|
|
keepAlive: true,
|
|
|
|
|
},
|
|
|
|
|
},
|
2024-12-23 00:24:31 +08:00
|
|
|
{
|
2025-06-28 23:57:01 +08:00
|
|
|
title: "certd.pipelineGroup",
|
2024-12-23 00:24:31 +08:00
|
|
|
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
|
|
|
},
|
2024-12-23 00:24:31 +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",
|
2024-12-23 00:24:31 +08:00
|
|
|
meta: {
|
2025-01-19 00:40:43 +08:00
|
|
|
icon: "hugeicons:api",
|
2024-12-23 00:24:31 +08:00
|
|
|
auth: true,
|
2025-04-08 23:31:25 +08:00
|
|
|
keepAlive: true,
|
2025-04-06 18:06:21 +08:00
|
|
|
},
|
2024-12-23 00:24:31 +08:00
|
|
|
},
|
|
|
|
|
{
|
2025-06-28 23:57:01 +08:00
|
|
|
title: "certd.notification",
|
2024-12-23 00:24:31 +08:00
|
|
|
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
|
|
|
},
|
2024-12-23 00:24:31 +08:00
|
|
|
},
|
2025-05-25 23:38:25 +08:00
|
|
|
{
|
2025-06-28 23:57:01 +08:00
|
|
|
title: "certd.siteMonitorSetting",
|
2025-05-25 23:38:25 +08:00
|
|
|
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,
|
|
|
|
|
},
|
|
|
|
|
},
|
2025-12-28 23:36:53 +08:00
|
|
|
{
|
|
|
|
|
title: "certd.userGrant",
|
|
|
|
|
name: "UserGrantSetting",
|
|
|
|
|
path: "/certd/mine/grant",
|
|
|
|
|
component: "/certd/mine/grant/index.vue",
|
|
|
|
|
meta: {
|
|
|
|
|
icon: "mi:user-check",
|
|
|
|
|
auth: true,
|
|
|
|
|
isMenu: true,
|
|
|
|
|
},
|
|
|
|
|
},
|
2024-12-23 00:24:31 +08:00
|
|
|
{
|
2025-06-28 23:57:01 +08:00
|
|
|
title: "certd.userProfile",
|
2024-12-23 00:24:31 +08:00
|
|
|
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
|
|
|
},
|
2024-10-07 03:21:16 +08:00
|
|
|
{
|
2025-06-28 23:57:01 +08:00
|
|
|
title: "certd.suite",
|
2024-12-23 00:24:31 +08:00
|
|
|
name: "SuiteProduct",
|
|
|
|
|
path: "/certd/suite",
|
2025-03-09 15:53:58 +08:00
|
|
|
redirect: "/certd/suite/mine",
|
2024-10-07 03:21:16 +08:00
|
|
|
meta: {
|
2024-12-23 00:49:56 +08:00
|
|
|
show: () => {
|
|
|
|
|
const settingStore = useSettingStore();
|
2024-12-25 00:52:39 +08:00
|
|
|
return settingStore.isComm && settingStore.isSuiteEnabled;
|
2024-12-23 00:49:56 +08:00
|
|
|
},
|
2024-12-23 00:24:31 +08:00
|
|
|
icon: "ion:cart-outline",
|
2025-04-06 18:06:21 +08:00
|
|
|
auth: true,
|
2024-12-23 00:24:31 +08:00
|
|
|
},
|
|
|
|
|
children: [
|
|
|
|
|
{
|
2025-06-28 23:57:01 +08:00
|
|
|
title: "certd.mySuite",
|
2024-12-23 00:24:31 +08:00
|
|
|
name: "MySuite",
|
|
|
|
|
path: "/certd/suite/mine",
|
|
|
|
|
component: "/certd/suite/mine/index.vue",
|
|
|
|
|
meta: {
|
2024-12-23 00:49:56 +08:00
|
|
|
show: () => {
|
|
|
|
|
const settingStore = useSettingStore();
|
|
|
|
|
return settingStore.isComm;
|
|
|
|
|
},
|
2024-12-23 00:24:31 +08:00
|
|
|
icon: "ion:gift-outline",
|
2025-04-06 18:06:21 +08:00
|
|
|
auth: true,
|
|
|
|
|
},
|
2024-12-23 00:24:31 +08:00
|
|
|
},
|
|
|
|
|
{
|
2025-06-28 23:57:01 +08:00
|
|
|
title: "certd.suiteBuy",
|
2024-12-23 00:24:31 +08:00
|
|
|
name: "SuiteProductBuy",
|
|
|
|
|
path: "/certd/suite/buy",
|
|
|
|
|
component: "/certd/suite/buy.vue",
|
|
|
|
|
meta: {
|
2024-12-23 00:49:56 +08:00
|
|
|
show: () => {
|
|
|
|
|
const settingStore = useSettingStore();
|
|
|
|
|
return settingStore.isComm;
|
|
|
|
|
},
|
2024-12-23 00:24:31 +08:00
|
|
|
icon: "ion:cart-outline",
|
2025-04-06 18:06:21 +08:00
|
|
|
auth: true,
|
|
|
|
|
},
|
2024-12-23 00:24:31 +08:00
|
|
|
},
|
|
|
|
|
{
|
2025-06-28 23:57:01 +08:00
|
|
|
title: "certd.myTrade",
|
2024-12-23 00:24:31 +08:00
|
|
|
name: "MyTrade",
|
|
|
|
|
path: "/certd/trade",
|
|
|
|
|
component: "/certd/trade/index.vue",
|
|
|
|
|
meta: {
|
2024-12-23 00:49:56 +08:00
|
|
|
show: () => {
|
|
|
|
|
const settingStore = useSettingStore();
|
|
|
|
|
return settingStore.isComm;
|
|
|
|
|
},
|
2024-12-23 00:24:31 +08:00
|
|
|
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
|
|
|
},
|
2024-12-23 00:24:31 +08:00
|
|
|
},
|
|
|
|
|
{
|
2025-06-28 23:57:01 +08:00
|
|
|
title: "certd.paymentReturn",
|
2024-12-23 00:24:31 +08:00
|
|
|
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
|
|
|
];
|
2025-03-06 21:11:07 +08:00
|
|
|
|
|
|
|
|
export default certdResources;
|