From 830ea626c9046ddfc5314ab291ae490d8467053d Mon Sep 17 00:00:00 2001 From: huangping Date: Mon, 25 May 2026 01:06:28 +0800 Subject: [PATCH] feat(web): add M8 todo center and notification settings pages --- web/delivery-platform-ui/src/router/index.js | 12 ++ .../src/views/NotificationSettingsView.vue | 131 ++++++++++++ .../src/views/TodoCenterView.vue | 200 ++++++++++++++++++ 3 files changed, 343 insertions(+) create mode 100644 web/delivery-platform-ui/src/views/NotificationSettingsView.vue create mode 100644 web/delivery-platform-ui/src/views/TodoCenterView.vue diff --git a/web/delivery-platform-ui/src/router/index.js b/web/delivery-platform-ui/src/router/index.js index cfe4cb5..ac5be2d 100644 --- a/web/delivery-platform-ui/src/router/index.js +++ b/web/delivery-platform-ui/src/router/index.js @@ -128,6 +128,18 @@ const routes = [ component: () => import("../views/DeviceListView.vue"), meta: { roles: ["SYS_ADMIN", "DEVELOPER", "OPS"], title: "设备管理" }, }, + { + path: "todos", + name: "todos", + component: () => import("../views/TodoCenterView.vue"), + meta: { roles: ["SYS_ADMIN", "DEVELOPER", "OPS"], title: "待办中心" }, + }, + { + path: "notifications/settings", + name: "notification-settings", + component: () => import("../views/NotificationSettingsView.vue"), + meta: { roles: ["SYS_ADMIN"], title: "通知设置" }, + }, ], }, { path: "/403", name: "forbidden", component: () => import("../views/ForbiddenView.vue") }, diff --git a/web/delivery-platform-ui/src/views/NotificationSettingsView.vue b/web/delivery-platform-ui/src/views/NotificationSettingsView.vue new file mode 100644 index 0000000..bdbdb02 --- /dev/null +++ b/web/delivery-platform-ui/src/views/NotificationSettingsView.vue @@ -0,0 +1,131 @@ + + + + + diff --git a/web/delivery-platform-ui/src/views/TodoCenterView.vue b/web/delivery-platform-ui/src/views/TodoCenterView.vue new file mode 100644 index 0000000..f9a5b73 --- /dev/null +++ b/web/delivery-platform-ui/src/views/TodoCenterView.vue @@ -0,0 +1,200 @@ + + + + +