feat: 新增可配置通知中心,支持扫描式/埋点式通知规则与手动群发

新增通知规则实体、扫描任务、API与管理界面,重构站内通知支持用户/电工双类型,移除硬编码的证照到期提醒,新增工单派单、电工审核结果等通知触发场景,调整菜单与数据库结构适配新通知体系。
This commit is contained in:
andyesfly committed 2026-10-06 11:53:02 +08:00
1 parent 91aa3c06f0
commit 6cf6a3d5b9
36 files changed
+3309 -246

No files matched your search

+7 -1
View File
@@ -179,7 +179,7 @@ const routes: RouteRecordRaw[] = [
path: "dispatch/cost",
name: "DispatchCost",
component: () => import("@/views/dispatch/cost/index.vue"),
meta: { requiresAuth: true, title: "电工派单成本价", permission: "dispatch:cost" }
meta: { requiresAuth: true, title: "勘察费用", permission: "dispatch:cost" }
},
{
path: "dispatch/worker",
@@ -230,6 +230,12 @@ const routes: RouteRecordRaw[] = [
component: () => import("@/views/system/job/index.vue"),
meta: { requiresAuth: true, title: "定时任务", permission: "system:job" }
},
{
path: "system/notice",
name: "SystemNotice",
component: () => import("@/views/system/notice/index.vue"),
meta: { requiresAuth: true, title: "通知管理", permission: "notice:rule" }
},
{
path: "log/operation",
name: "OperationLog",