feat(通知公告): 新增 notice 模块的前端登记、代理与入口
build / build (push) Successful in 2m1s

后端新增「通知公告」模块(key=notice,对应 D:\项目管理\NoticeFront,线上前缀 /notice)。
★ 它与既有「校园公告」(campusnotice)是**两个应用**,别混:
  campusnotice 按班级下发 + 审批流/草稿箱;notice 按用户下发,无审批/草稿/推送范围。

- vite.config.ts:加 /notice 代理 → 8093(本地联调;缺了则代取字典/提交都会 404)
- assets/config/modules.ts:补 MODULE_CONTEXT/LABEL/LANDING/META/ORDER 五行。
  ★ MODULE_CONTEXT 缺一行,moduleUrl() 就返回 null —— 「去系统里查看」会变成点不动的空按钮,
    这正是新模块最容易漏的一处。
- components/QuickActions.vue:补首屏快捷卡文案(图标「通」、色调 cyan)
- views/Chat.vue:补两条例句(发布通知公告 / 我有哪些未读的通知?),
  并把「公告|通知」的边打边提示改成提醒两个模块说全称最稳(光说「发通知」是跨模块歧义)
This commit is contained in:
lijing
2026-10-14 12:27:50 +08:00
parent 86e3a10a06
commit 3dc6cc561a
4 changed files with 18 additions and 1 deletions
+3
View File
@@ -98,6 +98,9 @@ export default defineConfig((): UserConfig => {
// (请假的佐证材料就曾因为拼成 /homeleave/api/base/FileUpload 而 404,直到上线才发现)。
"/home-leave": { target: "http://localhost:8093", changeOrigin: true },
"/campusnotice": { target: "http://localhost:8093", changeOrigin: true },
// 通知公告:与「校园公告」是两个应用 —— 它是 notice(前缀 /notice),
// 而校园公告是 campusnotice(前缀 /campusnotice)。key 与前缀同名,仍显式列出。
"/notice": { target: "http://localhost:8093", changeOrigin: true },
"/dormnotice": { target: "http://localhost:8093", changeOrigin: true },
"/familyactivity": { target: "http://localhost:8093", changeOrigin: true },
"/coursehomework": { target: "http://localhost:8093", changeOrigin: true },