diff --git a/src/router/modules/auth.ts b/src/router/modules/auth.ts index c8190ea..d4f6c18 100644 --- a/src/router/modules/auth.ts +++ b/src/router/modules/auth.ts @@ -6,7 +6,7 @@ export default { component: Layout, redirect: "/auth/company", meta: { - icon: "ep:apple", + icon: "ep:lollipop", title: "auth管理", rank: 1 }, @@ -16,6 +16,7 @@ export default { name: "backendUser", component: () => import("@/views/auth/backendUser/index.vue"), meta: { + icon: "ri:admin-fill", title: "管理端用户" } }, @@ -24,6 +25,7 @@ export default { name: "company", component: () => import("@/views/auth/company/index.vue"), meta: { + icon: "ri:building-line", title: "公司管理" } }, @@ -32,6 +34,7 @@ export default { name: "frontendUser", component: () => import("@/views/auth/frontendUser/index.vue"), meta: { + icon: "ri:admin-line", title: "用户管理" } }, @@ -40,6 +43,7 @@ export default { name: "role", component: () => import("@/views/auth/role/index.vue"), meta: { + icon: "ri:shield-user-line", title: "角色管理" } } diff --git a/src/router/modules/biz.ts b/src/router/modules/biz.ts index 4cca959..ecfd26c 100644 --- a/src/router/modules/biz.ts +++ b/src/router/modules/biz.ts @@ -6,7 +6,7 @@ export default { component: Layout, redirect: "/biz/issuanceBid", meta: { - icon: "ep:apple", + icon: "ri:ubuntu-fill", title: "biz管理", rank: 2 }, @@ -16,7 +16,7 @@ export default { name: "issuanceBid", component: () => import("@/views/biz/issuanceBid/index.vue"), meta: { - icon: "vscode-icons:file-type-biome", + icon: "ri:terminal-window-line", title: "招标管理", showParent: true } @@ -26,6 +26,7 @@ export default { name: "bid", component: () => import("@/views/biz/bid/index.vue"), meta: { + icon: "ri:artboard-line", title: "投标管理" } }, @@ -34,6 +35,7 @@ export default { name: "membershipPoint", component: () => import("@/views/biz/membershipPoint/index.vue"), meta: { + icon: "mingcute:coin-3-line", title: "积分管理" } }, @@ -42,6 +44,7 @@ export default { name: "pointSpend", component: () => import("@/views/biz/pointSpend/index.vue"), meta: { + icon: "mdi:format-list-bulleted", title: "积分消费记录" } }, @@ -50,6 +53,7 @@ export default { name: "purchase", component: () => import("@/views/biz/purchase/index.vue"), meta: { + icon: "material-symbols:tools-ladder", title: "道具管理" } }, @@ -58,8 +62,27 @@ export default { name: "purchaseSpend", component: () => import("@/views/biz/purchaseSpend/index.vue"), meta: { + icon: "mdi:format-list-bulleted-square", title: "道具消费记录" } + }, + { + path: "/biz/opsLog", + name: "opsLog", + component: () => import("@/views/biz/opsLog/index.vue"), + meta: { + icon: "ri:file-list-3-line", + title: "日志管理" + } + }, + { + path: "/biz/sysSettings", + name: "sysSettings", + component: () => import("@/views/biz/sysSettings/index.vue"), + meta: { + icon: "ri:settings-3-line", + title: "系统设置" + } } ] } satisfies RouteConfigsTable; diff --git a/src/views/biz/opsLog/index.vue b/src/views/biz/opsLog/index.vue new file mode 100644 index 0000000..abcbac2 --- /dev/null +++ b/src/views/biz/opsLog/index.vue @@ -0,0 +1,334 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + + + + + + + + diff --git a/src/views/biz/sysSettings/index.vue b/src/views/biz/sysSettings/index.vue new file mode 100644 index 0000000..1473002 --- /dev/null +++ b/src/views/biz/sysSettings/index.vue @@ -0,0 +1,264 @@ + + + + + + + + + 发标设置 + 保存 + + + + + + + + + + + + + + + + + + + + 订阅设置 + 保存 + + + + + + + + + + + + + + + + + 道具设置 + 保存 + + + + + + {{ purchaseTypeMap[row.purchase_type] }} + + + + + + - + + + + + + + + + + + + + + + 会员配置 + 保存 + + + + + + + + + + + + + + + diff --git a/vite.config.ts b/vite.config.ts index eebb84e..90fdb6f 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -47,8 +47,8 @@ export default ({ mode }: ConfigEnv): UserConfigExport => { "/auth": { target: "http://127.0.0.1:9098", changeOrigin: true, - rewrite: path => path.replace(/^\/auth/, "/auth/user/rd"), - configure: (proxy, options) => { + rewrite: path => path.replace(/^\/auth/, "/auth/user/rd") + /* configure: (proxy, options) => { // 添加调试日志 proxy.on("proxyReq", (proxyReq, req, res) => { console.log(res); @@ -69,7 +69,7 @@ export default ({ mode }: ConfigEnv): UserConfigExport => { console.log(req); console.error("代理错误:", err); }); - } + } */ } }, // 预热文件以提前转换和缓存结果,降低启动期间的初始页面加载时长并防止转换瀑布