refactor timi-web

This commit is contained in:
Timi
2026-08-26 21:18:02 +08:00
parent fe5d190308
commit f54a129edb
85 changed files with 1745 additions and 180 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ import notifyRoutes from "@/router/routes/notifyRoutes";
import { useCurrentStoreStore } from "@/store/currentStoreStore";
import { useGlobalUIStore } from "@/store/globalUI";
import { gaoRoleCodes } from "@/utils/permission";
import { useUserStore } from "timi-web";
import { useUserStore } from "timi-web-api";
const detailRoutes = [
...customerRoutes,
+30
View File
@@ -1,6 +1,8 @@
import type { RouteRecordRaw } from "vue-router";
import AppSettings from "@/pages/setting/AppSettings.vue";
import NotifyManagement from "@/pages/notify/NotifyManagement.vue";
import NotifyManagementCreate from "@/pages/notify/NotifyManagementCreate.vue";
import NotifyManagementDetail from "@/pages/notify/NotifyManagementDetail.vue";
import UserProfile from "@/pages/user/UserProfile.vue";
import UserPassword from "@/pages/user/UserPassword.vue";
import CustomerQrCode from "@/pages/customer/CustomerQrCode.vue";
@@ -112,6 +114,34 @@ export const managementSettingRoutes: RouteRecordRaw[] = [
darkBodyBackground: "#10161f"
}
},
{
path: "/management/notifications/create",
name: "NotifyManagementCreate",
component: NotifyManagementCreate,
meta: {
depth: 4,
navBarVisible: true,
navBarCanBack: true,
navBarTitle: "发送通知",
tabBarVisible: false,
bodyBackground: "#F5F5F8",
darkBodyBackground: "#10161f"
}
},
{
path: "/management/notifications/:id",
name: "NotifyManagementDetail",
component: NotifyManagementDetail,
meta: {
depth: 4,
navBarVisible: true,
navBarCanBack: true,
navBarTitle: "通知详情",
tabBarVisible: false,
bodyBackground: "#F5F5F8",
darkBodyBackground: "#10161f"
}
},
{
path: "/management/tags",
name: "TagList",