perf: 优化证书申请跳过的状态显示,成功通知现在在跳过时不会发送

This commit is contained in:
xiaojunnuo
2024-12-23 00:49:56 +08:00
parent faa28f88f9
commit 67d762b6a5
6 changed files with 51 additions and 38 deletions

View File

@@ -1,3 +1,5 @@
import { useSettingStore } from "/@/store/modules/settings";
export const certdResources = [
{
title: "证书自动化",
@@ -44,6 +46,10 @@ export const certdResources = [
path: "/certd/monitor/site",
component: "/certd/monitor/site/index.vue",
meta: {
show: () => {
const settingStore = useSettingStore();
return settingStore.isPlus;
},
icon: "ion:videocam-outline",
auth: true
}
@@ -84,6 +90,10 @@ export const certdResources = [
path: "/certd/monitor/cert",
component: "/certd/monitor/cert/index.vue",
meta: {
show: () => {
const settingStore = useSettingStore();
return settingStore.isPlus;
},
icon: "ion:shield-checkmark-outline",
auth: true,
isMenu: false
@@ -130,6 +140,10 @@ export const certdResources = [
name: "SuiteProduct",
path: "/certd/suite",
meta: {
show: () => {
const settingStore = useSettingStore();
return settingStore.isComm;
},
icon: "ion:cart-outline",
auth: true
},
@@ -140,6 +154,10 @@ export const certdResources = [
path: "/certd/suite/mine",
component: "/certd/suite/mine/index.vue",
meta: {
show: () => {
const settingStore = useSettingStore();
return settingStore.isComm;
},
icon: "ion:gift-outline",
auth: true
}
@@ -150,6 +168,10 @@ export const certdResources = [
path: "/certd/suite/buy",
component: "/certd/suite/buy.vue",
meta: {
show: () => {
const settingStore = useSettingStore();
return settingStore.isComm;
},
icon: "ion:cart-outline",
auth: true
}
@@ -160,11 +182,14 @@ export const certdResources = [
path: "/certd/trade",
component: "/certd/trade/index.vue",
meta: {
show: () => {
const settingStore = useSettingStore();
return settingStore.isComm;
},
icon: "ion:bag-check-outline",
auth: true
}
},
{
title: "支付返回",
name: "PaymentReturn",

View File

@@ -176,6 +176,10 @@ export const sysResources = [
path: "/sys/suite/setting",
component: "/sys/suite/setting/index.vue",
meta: {
show: () => {
const settingStore = useSettingStore();
return settingStore.isComm;
},
icon: "ion:cart",
permission: "sys:settings:edit"
}
@@ -186,38 +190,14 @@ export const sysResources = [
path: "/sys/suite/trade",
component: "/sys/suite/trade/index.vue",
meta: {
show: () => {
const settingStore = useSettingStore();
return settingStore.isComm;
},
icon: "ion:bag-check",
permission: "sys:settings:edit"
}
}
// {
// title: "商业版设置",
// name: "SysCommercial",
// meta: {
// icon: "ion:document-text-outline",
// permission: "sys:settings:view",
// show: () => {
// const settingStore = useSettingStore();
// return settingStore.isComm;
// }
// },
// children: [
// {
// title: "套餐设置",
// name: "suite",
// path: "/sys/commercial/suite",
// meta: {
// icon: "ion:document-text-outline",
// permission: "sys:settings:view",
// show: () => {
// const settingStore = useSettingStore();
// return settingStore.isComm;
// }
// }
// }
// ]
// }
]
}
];

View File

@@ -3,7 +3,7 @@
<template #header>
<div class="title">
站点证书监控
<span class="sub">监控网站证书的过期时间并发出提醒</span>
<span class="sub">监控网站证书的过期时间并发出提醒未完成开发中</span>
</div>
</template>
<fs-crud ref="crudRef" v-bind="crudBinding"> </fs-crud>