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";
|
2024-12-23 00:49:56 +08:00
|
|
|
|
2023-01-29 13:44:19 +08:00
|
|
|
export const certdResources = [
|
|
|
|
|
{
|
|
|
|
|
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: [
|
|
|
|
|
{
|
|
|
|
|
title: "证书自动化流水线",
|
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
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: "编辑流水线",
|
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
|
|
|
},
|
2024-08-05 12:49:44 +08:00
|
|
|
{
|
|
|
|
|
title: "执行历史记录",
|
2024-10-07 03:21:16 +08:00
|
|
|
name: "PipelineHistory",
|
2024-08-05 12:49:44 +08:00
|
|
|
path: "/certd/history",
|
|
|
|
|
component: "/certd/history/index.vue",
|
|
|
|
|
meta: {
|
2024-11-08 10:51:41 +08:00
|
|
|
icon: "ion:timer-outline",
|
2025-04-08 23:31:25 +08:00
|
|
|
keepAlive: true,
|
2025-04-06 18:06:21 +08:00
|
|
|
},
|
2024-08-05 12:49:44 +08:00
|
|
|
},
|
2025-01-15 01:26:23 +08:00
|
|
|
{
|
|
|
|
|
title: "证书仓库",
|
|
|
|
|
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
|
|
|
{
|
2024-12-23 18:11:06 +08:00
|
|
|
title: "站点证书监控",
|
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
|
|
|
{
|
2024-12-23 00:24:31 +08:00
|
|
|
title: "设置",
|
|
|
|
|
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
|
|
|
{
|
|
|
|
|
title: "授权管理",
|
|
|
|
|
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
|
|
|
},
|
2024-12-23 00:24:31 +08:00
|
|
|
{
|
|
|
|
|
title: "CNAME记录管理",
|
|
|
|
|
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
|
|
|
{
|
|
|
|
|
title: "子域名托管设置",
|
|
|
|
|
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
|
|
|
{
|
|
|
|
|
title: "流水线分组管理",
|
|
|
|
|
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-03-16 21:16:14 +08:00
|
|
|
|
2024-12-23 00:24:31 +08:00
|
|
|
{
|
2025-01-15 01:26:23 +08:00
|
|
|
title: "OpenKey",
|
|
|
|
|
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
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: "通知设置",
|
|
|
|
|
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-04-17 01:15:55 +08:00
|
|
|
{
|
|
|
|
|
title: "认证安全设置",
|
|
|
|
|
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,
|
|
|
|
|
},
|
|
|
|
|
},
|
2024-12-23 00:24:31 +08:00
|
|
|
{
|
|
|
|
|
title: "账号信息",
|
|
|
|
|
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-12-23 00:24:31 +08:00
|
|
|
|
2024-10-07 03:21:16 +08:00
|
|
|
{
|
2024-12-23 00:24:31 +08:00
|
|
|
title: "套餐",
|
|
|
|
|
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: [
|
|
|
|
|
{
|
|
|
|
|
title: "我的套餐",
|
|
|
|
|
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
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: "套餐购买",
|
|
|
|
|
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
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: "我的订单",
|
|
|
|
|
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
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: "支付返回",
|
|
|
|
|
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,
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
2024-12-23 00:24:31 +08:00
|
|
|
|
2024-10-11 02:54:42 +08:00
|
|
|
// {
|
|
|
|
|
// title: "邮箱设置",
|
|
|
|
|
// name: "EmailSetting",
|
2024-10-17 22:32:02 +08:00
|
|
|
// path: "/sys/settings/email",
|
|
|
|
|
// component: "/sys/settings/email-setting.vue",
|
2024-10-11 02:54:42 +08:00
|
|
|
// meta: {
|
|
|
|
|
// icon: "ion:mail-outline",
|
|
|
|
|
// auth: true
|
|
|
|
|
// }
|
|
|
|
|
// },
|
2025-04-06 18:06:21 +08:00
|
|
|
],
|
|
|
|
|
},
|
2023-01-29 13:44:19 +08:00
|
|
|
];
|
2025-03-06 21:11:07 +08:00
|
|
|
|
|
|
|
|
export default certdResources;
|