feat(device): 新增设备管理模块全栈实现并拆分菜单 - 客户设备台账(customer_equipment)与智电设备型号目录(smart_device)CRUD,JWT+RBAC鉴权、参数绑定防SQL注入;设备监控改目录挂台账(/device/equipment),新建基础数据目录挂型号(/base/smart-device);前端防XSS样式对齐客户模块;远程库菜单迁移20261007_device_menu_split_fix.sql(id 58-60)
This commit is contained in:
1 parent
91aa3c06f0
commit
09f7345e8a
18 files changed
+2482
-7
No files matched your search
@@ -188,11 +188,29 @@ const routes: RouteRecordRaw[] = [
|
||||
meta: { requiresAuth: true, title: "电工登记管理", permission: "dispatch:worker" }
|
||||
},
|
||||
{
|
||||
path: "device",
|
||||
name: "Device",
|
||||
component: () => import("@/views/Placeholder.vue"),
|
||||
meta: { requiresAuth: true, title: "设备监控", permission: "device:list" }
|
||||
},
|
||||
path: "device",
|
||||
name: "Device",
|
||||
redirect: "/device/equipment",
|
||||
meta: { requiresAuth: true, title: "设备监控", permission: "device:list" }
|
||||
},
|
||||
{
|
||||
path: "device/equipment",
|
||||
name: "DeviceEquipment",
|
||||
component: () => import("@/views/device/equipment/index.vue"),
|
||||
meta: { requiresAuth: true, title: "设备管理台账", permission: "device:list" }
|
||||
},
|
||||
{
|
||||
path: "base",
|
||||
name: "Base",
|
||||
redirect: "/base/smart-device",
|
||||
meta: { requiresAuth: true, title: "基础数据", permission: "base:list" }
|
||||
},
|
||||
{
|
||||
path: "base/smart-device",
|
||||
name: "BaseSmartDevice",
|
||||
component: () => import("@/views/device/smart-device/index.vue"),
|
||||
meta: { requiresAuth: true, title: "智电设备型号", permission: "device:model" }
|
||||
},
|
||||
{
|
||||
path: "report",
|
||||
name: "Report",
|
||||
|
||||
Reference in new issue
Block a user