吉安感知网项目-前端
edit | blame | history | raw

新增视图目录与页面说明

以下为本次在 src/views 目录下新增的一级菜单目录及其二级菜单页面说明,命名遵循项目现有英文目录风格,并尽量避免与现有目录和页面产生冲突。

一级菜单与目录

  • 数据驾驶舱:dataCockpit
  • 页面:dataCockpit/index.vue
  • 侦测反制:detectionCountermeasure
  • 页面:detectionCountermeasure/index.vue
  • 基础管理:basicManage
  • 页面:basicManage/index.vue
  • 权限管理:permissionManage
  • 页面:permissionManage/index.vue
  • 区域管理:areaManage
  • 页面:areaManage/index.vue
  • 记录管理:recordManage
  • 页面:recordManage/index.vue

二级菜单与页面文件

  • 侦测反制(detectionCountermeasure
  • 设备应用配置:deviceAppConfig.vue
  • 侦测范围管理:detectionRange.vue
  • 任务调度:taskSchedule.vue
  • 反制效果评估:countermeasureEvaluation.vue
  • 基础管理(basicManage

  • 设备出入库管理:deviceStock.vue
  • 维护记录管理:maintainRecord.vue
  • 设备报废管理:deviceScrap.vue
  • 权限管理(permissionManage

  • 用户管理:permissionUser.vue
  • 部门管理:permissionDept.vue
  • 角色管理:permissionRole.vue
  • 系统操作日志:operationLog.vue
  • 区域管理(areaManage

  • 区域划分:partition.vue
  • 派出所信息管理:precinctInfo.vue
  • 场景配置管理:sceneConfig.vue
  • 区域数据统计:areaStatistics.vue
  • 防区管理:defenseZone.vue
  • 记录管理(recordManage

  • 报警记录:alarmRecords.vue
  • 历史轨迹:historyTracks.vue

命名与冲突规避

  • 目录名使用英文:与现有 layerManagementdataCenter 等保持一致。
  • 权限相关目录使用 permissionManage,避免与现有 authoritysystem 产生语义或路由上的冲突。
  • 区域相关目录使用 areaManage,避免与现有 base/region 路由与页面混淆。
  • 新页面均为基础骨架,使用 Element Plus 的 el-card 作为占位,便于后续快速填充业务。

后续接入建议

  • 路由接入:可在 src/router/views/index.js 中为上述页面配置静态路由,或保持现有“后端菜单驱动”的模式,在后端返回菜单时指向对应 src/views 路径。
  • 菜单图标与权限:按现有规则由后端下发,前端通过 AvueRouter.formatRoutesGetButtons 自动生成与控制。