diff --git a/src/api/sysDict.js b/src/api/sysDict.js index 62b1d61..8f025cd 100644 --- a/src/api/sysDict.js +++ b/src/api/sysDict.js @@ -1,5 +1,5 @@ import request from "@/utils/request"; -const api = "/bagl/bagl/mosty-base"; +const api = "/bagl/mosty-base"; /* * 登录 * return promise 实例对象 diff --git a/src/router/index.js b/src/router/index.js index 4bc1a00..1cd38e3 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -309,1233 +309,6 @@ export const publicRoutes = [ name: "homeMy", component: () => import("@/views/homeMy/index") //街面巡防 }, - // { - // path: "/dataBI", - // name: "dataBI", - // component: () => import("@/views/dataBI/index") //警保 - // }, - // { - // path: "/editPassword", // 注意:带有路径"/"的记录中的组件"默认"是一个不返回 Promise 的函数 - // component: layout, - // redirect: "/user/department-ist", - // children: [ - - // { - // path: "/", - // name: "unitInformation", - // component: () => - // import("@/views/securityManagement/unitInformation/index"), - // meta: { - // title: "单位信息", - // icon: "personnel" - // }, - // }, - // { - // path: "/systemConfig", - // name: "systemConfigModel", - // meta: { - // title: "系统管理", - // icon: "personnel" - // }, - // children: [ - // { - // path: "/user/department-ist", - // name: "departmentList", - // component: () => - // import( - // "@/views/backOfficeSystem/systemConfig/department-list/index" - // ), - // meta: { - // title: "部门管理", - // icon: "personnel-manage" - // } - // }, - // { - // path: "/user/userList", - // name: "userList", - // component: () => - // import("@/views/backOfficeSystem/systemConfig/user-list/index"), - // meta: { - // title: "用户管理", - // icon: "role" - // } - // }, - // { - // path: "/user/role", - // name: "userRoleIndex", - // component: () => - // import("@/views/backOfficeSystem/systemConfig/role-list/index"), - // meta: { - // title: "角色列表", - // icon: "role" - // } - // }, - // { - // path: "/user/menuList", - // name: "menuList", - // component: () => - // import("@/views/backOfficeSystem/systemConfig/menu-list/index"), - // meta: { - // title: "菜单管理", - // icon: "personnel-manage" - // } - // }, - // { - // path: "/user/publicSecurity", - // name: "publicSecurity", - // component: () => - // import( - // "@/views/backOfficeSystem/systemConfig/publicSecurity/index" - // ), - // meta: { - // title: "公安机关要素", - // icon: "personnel-manage" - // } - // }, - // { - // path: "/dict/detail", - // name: "dictDetail", - // component: () => - // import("@/views/backOfficeSystem/systemConfig/dict/detail"), - // meta: { - // title: "字典数据" - // } - // }, - // { - // path: "/dict/index", - // name: "dictIndex", - // component: () => - // import("@/views/backOfficeSystem/systemConfig/dict/index"), - // meta: { - // title: "字典列表", - // icon: "article-ranking" - // } - // }, - // { - // path: "/user/job", - // name: "userJob", - // component: () => - // import("@/views/backOfficeSystem/systemConfig/job-list/index"), - // meta: { - // title: "岗位列表", - // icon: "personnel-manage" - // } - // }, - // { - // path: "/user/deptAllocationUser/:id", - // name: "deptAllocationUser", - // component: () => - // import( - // "@/views/backOfficeSystem/systemConfig/department-list/deptAllocationUser" - // ), - // meta: { - // title: "管理用户" - // } - // }, - // { - // path: "/user/allocationUser/:id", - // name: "allocationUser", - // component: () => - // import( - // "@/views/backOfficeSystem/systemConfig/role-list/allocationUser" - // ), - // meta: { - // title: "分配用户" - // } - // }, - // { - // path: "/sys/systemFxMx", - // name: "systemFxMx", - // component: () => - // import("@/views/backOfficeSystem/systemConfig/systemFxMx/index"), - // meta: { - // title: "系统分析模型", - // icon: "personnel-manage" - // } - // }, - // { - // path: "/sys/ysjq", - // name: "ysjq", - // component: () => import("@/views/backOfficeSystem/systemConfig/ysjq/index"), - // meta: { - // title: "演示警情", - // icon: "personnel-manage" - // } - // }, - // { - // path: "/user/systemConfig", - // name: "systemConfig", - // component: () => - // import( - // "@/views/backOfficeSystem/systemConfig/system-config-list/index" - // ), - // meta: { - // title: "系统配置", - // icon: "personnel-manage" - // } - // }, - - // { - // path: "/user/systemVersion", - // name: "systemVersion", - // component: () => - // import( - // "@/views/backOfficeSystem/systemConfig/system-version-list/index" - // ), - // meta: { - // title: "系统版本管理", - // icon: "personnel-manage" - // } - // }, - // { - // path: "/user/useQk", - // name: "useQk", - // component: () => - // import("@/views/backOfficeSystem/systemConfig/useQk/index"), - // meta: { - // title: "系统使用情况", - // icon: "personnel-manage" - // } - // }, - // { - // path: "/user/zdqyFz", - // name: "zdqyFz", - // component: () => - // import("@/views/backOfficeSystem/systemConfig/zdqyFz/index"), - // meta: { - // title: "重点区域分值", - // icon: "personnel-manage" - // } - // }, - - // { - // path: "/user/log", - // name: "/user/log", - // meta: { - // title: "日志", - // icon: "article" - // }, - // children: [ - // { - // path: "/user/operateLog", - // name: "/user/operateLog", - // component: () => - // import( - // "@/views/backOfficeSystem/systemConfig/log-manage/operateLog/index" - // ), - // meta: { - // title: "操作日志", - // icon: "article-ranking" - // } - // }, - // { - // path: "/user/loginLog", - // name: "/user/loginLog", - // component: () => - // import( - // "@/views/backOfficeSystem/systemConfig/log-manage/loginLog/index" - // ), - // meta: { - // title: "登录日志", - // icon: "article-ranking" - // } - // } - // ] - // }, - // { - // path: "/developer", - // name: "developer", - // component: () => import("@/views/developer/index"), - // meta: { - // title: "开发者中心", - // icon: "article-ranking" - // } - // }, - // { - // //如果三级 需要把路由注册出来 - // path: "/user/operateLog", - // name: "/user/operateLog", - // component: () => - // import( - // "@/views/backOfficeSystem/systemConfig/log-manage/operateLog/index" - // ) - // }, - // { - // path: "/user/loginLog", - // name: "/user/loginLog", - // component: () => - // import( - // "@/views/backOfficeSystem/systemConfig/log-manage/loginLog/index" - // ) - // }, - // { - // path: "/tool/gen-edit/index/:tableId", - // name: "gen-edit", - // component: () => - // import("@/views/backOfficeSystem/systemConfig/gen/editTable"), - // meta: { - // title: "代码生成编辑" - // } - // } - // ] - // }, - // { - // path: "/basicsmanage", - // name: "/basicsmanage", - // meta: { - // title: "基础管理", - // icon: "personnel" - // }, - // children: [ - // { - // path: "/watchman-ll", - // name: "watchman-ll", - // meta: { - // title: "巡防力量管理", - // icon: "article-ranking" - // }, - // children: [ - // { - // path: "/patrol-police", - // name: "patrol-police", - // component: () => - // import( - // "@/views/backOfficeSystem/basicsmanage/watchman-ll/patrol-police/index" - // ), - // meta: { - // title: "巡防民警", - // icon: "article-ranking" - // } - // }, - // { - // path: "/auxiliary-police", - // name: "auxiliary-police", - // component: () => - // import( - // "@/views/backOfficeSystem/basicsmanage/watchman-ll/auxiliary-police/index" - // ), - // meta: { - // title: "巡防辅警", - // icon: "article-ranking" - // } - // }, - // { - // path: "/baManagement", - // name: "baManagement", - // component: () => - // import( - // "@/views/backOfficeSystem/basicsmanage/watchman-ll/baManagement/index" - // ), - // meta: { - // title: "保安人员", - // icon: "article-ranking" - // } - // }, - // { - // path: "/prevention", - // name: "prevention", - // component: () => - // import( - // "@/views/backOfficeSystem/basicsmanage/watchman-ll/prevention/index" - // ), - // meta: { - // title: "群防群治人员", - // icon: "article-ranking" - // } - // } - - // // { - // // path: "/professional-skills", - // // name: "professional-skills", - // // component: () => - // // import( - // // "@/views/backOfficeSystem/basicsmanage/watchman-ll/professional-skills/index" - // // ), - // // meta: { - // // title: "专业技能", - // // icon: "article-ranking" - // // } - // // }, - // // { - // // path: "/experience", - // // name: "experience", - // // component: () => - // // import("@/views/backOfficeSystem/basicsmanage/watchman-ll/experience/index"), - // // meta: { - // // title: "经验管理", - // // icon: "article-ranking" - // // } - // // }, - // ] - // }, - // { - // path: "/watchman-zb", - // name: "/watchman-zb", - // meta: { - // title: "巡防装备管理", - // icon: "article-ranking" - // }, - // children: [ - // { - // path: "/intelligence", - // name: "intelligence-zb", - // component: () => - // import( - // "@/views/backOfficeSystem/basicsmanage/watchman-zb/intelligence/index" - // ), - // meta: { - // title: "智能装备管理", - // icon: "article-ranking" - // } - // }, - // // { - // // path: "/police-equipment", - // // name: "police-equipment", - // // component: () => - // // import("@/views/backOfficeSystem/basicsmanage/watchman-zb/police-equipment/index"), - // // meta: { - // // title: "常用装备管理", - // // icon: "article-ranking" - // // } - // // }, - // { - // path: "/watchman-car", - // name: "watchman-car", - // component: () => - // import( - // "@/views/backOfficeSystem/basicsmanage/watchman-zb/watchman-car/index" - // ), - // meta: { - // title: "巡防车辆管理", - // icon: "article-ranking" - // } - // } - // // { - // // path: "/watchman-zbgl", - // // name: "watchman-zbgl", - // // component: () => - // // import("@/views/backOfficeSystem/basicsmanage/watchman-zb/watchman-zbgl/index"), - // // meta: { - // // title: "巡防装备分类管理", - // // icon: "article-ranking" - // // } - // // }, - // // { - // // path: "/watchman-zbtx-dell", - // // name: "watchman-zbtx-dell", - // // component: () => - // // import("@/views/backOfficeSystem/basicsmanage/watchman-zb/watchman-zbtx/index"), - // // meta: { - // // title: "巡防装备到期提醒", - // // icon: "article-ranking" - // // } - // // }, - // // { - // // path: "/day-streetzb", - // // name: "day-streetzb", - // // component: () => - // // import("@/views/backOfficeSystem/basicsmanage/watchman-zb/day-streetzb/index"), - // // meta: { - // // title: "每日街面装备", - // // icon: "article-ranking" - // // } - // // }, - // ] - // }, - - // { - // path: "/service-jz", - // component: () => - // import("@/views/backOfficeSystem/basicsmanage/service-jz/index"), - // name: "service-jz", - // meta: { - // title: "勤务警组管理", - // icon: "article-ranking" - // } - // }, - // { - // path: "/police-station", - // component: () => - // import( - // "@/views/backOfficeSystem/basicsmanage/police-station/index" - // ), - // name: "police-station", - // meta: { - // title: "警务站管理", - // icon: "article-ranking" - // } - // }, - - // { - // path: "/patrol-route", - // // component: () => import("@/views/backOfficeSystem/AlarmLinkage/PatrolLine/index"), - // name: "patrol-route", - // meta: { - // title: "巡逻路线管理", - // icon: "article-ranking" - // }, - // children: [ - // // { - // // path: "/RequiredPatrolLine", - // // name: "RequiredPatrolLine", - // // component: () => import("@/views/backOfficeSystem/AlarmLinkage/PatrolLine/index"), - // // meta: { - // // title: "巡逻路线管理", - // // icon: "article" - // // } - // // }, - // // { - // // path: "/mandatory-patrol", - // // name: "mandatory-patrol", - // // component: () => - // // import( - // // "@/views/backOfficeSystem/basicsmanage/patrol-route/mandatory-patrol/index" - // // ), - // // meta: { - // // title: "巡逻点位管理", - // // icon: "article-ranking" - // // } - // // }, - // // { - // // path: "/RequiredPatrolLine", - // // name: "RequiredPatrolLine", - // // component: () => import("@/views/backOfficeSystem/basicsmanage/patrol-route/patrol-line/index"), - // // meta: { - // // title: "巡逻路线管理", - // // icon: "article" - // // } - // // }, - // { - // path: "/RequiredPatrolLine", - // name: "RequiredPatrolLine", - // component: () => - // import( - // "@/views/backOfficeSystem/AlarmLinkage/PatrolLine/index" - // ), - // meta: { - // title: "巡逻路线管理", - // icon: "article" - // } - // }, - // { - // path: "/taskManagement", - // name: "taskManagement", - // component: () => - // import( - // "@/views/backOfficeSystem/AlarmLinkage/taskManagement/index" - // ), - // meta: { - // title: "任务中心", - // icon: "article" - // } - // } - // ] - // } - // // { - // // path: "/expertBase", - // // component: () => import("@/views/backOfficeSystem/basicsmanage/expertBase/index"), - // // name: "expertBase", - // // meta: { - // // title: "专家库管理", - // // icon: "article-ranking" - // // } - // // }, - // // { - // // path: "/watchmanFiling", - // // component: () => import("@/views/backOfficeSystem/basicsmanage/watchmanFiling/index"), - // // name: "watchmanFiling", - // // meta: { - // // title: "巡防报备", - // // icon: "article-ranking" - // // } - // // }, - // ] - // }, - // { - // path: "/warningCenter", - // name: "warningCenter", - // meta: { - // title: "预警中心", - // icon: "personnel" - // }, - // children: [ - // { - // path: "/warningCenter/warningInfo", - // component: () => - // import( - // "@/views/backOfficeSystem/warningCenter/warningInfo/index" - // ), - // name: "warningInfo", - // meta: { - // title: "预警信息", - // icon: "article-ranking" - // } - // }, - // // { - // // path: "/warningCenter/warningInstruct", - // // component: () => import("@/views/backOfficeSystem/warningCenter/warningInstruct/index"), - // // name: "warningInstruct", - // // meta: { - // // title: "指令信息", - // // icon: "article-ranking" - // // } - // // }, - // { - // path: "/warningCenter/jqInfo", - // component: () => - // import("@/views/backOfficeSystem/warningCenter/jqInfo/index"), - // name: "jqInfo", - // meta: { - // title: "警情信息", - // icon: "article-ranking" - // } - // }, - // { - // path: "/warningCenter/alarmTrend", - // component: () => - // import("@/views/backOfficeSystem/warningCenter/alarmTrend/index"), - // name: "alarmTrend", - // meta: { - // title: "警情趋势", - // icon: "article-ranking" - // } - // }, - // { - // path: "/warningCenter/earlyWarningAnalysisModel", - // component: () => - // import( - // "@/views/backOfficeSystem/warningCenter/earlyWarningAnalysisModel/index" - // ), - // name: "earlyWarningAnalysisModel", - // meta: { - // title: "预警分析模型", - // icon: "article-ranking" - // } - // } - // // { - // // path: "/warningCenter/earlyWarningdemo", - // // component: () => import("@/views/backOfficeSystem/warningCenter/earlyWarningdemo/index"), - // // name: "earlyWarningdemo", - // // meta: { - // // title: "预警模板", - // // icon: "article-ranking" - // // } - // // }, - // // { - // // path: "/warningCenter/derectingPatrols", - // // component: () => import("@/views/backOfficeSystem/warningCenter/derectingPatrols/index"), - // // name: "derectingPatrols", - // // meta: { - // // title: "指导巡逻", - // // icon: "article-ranking" - // // } - // // }, - // ] - // }, - // { - // path: "/videoPatrol", - // name: "videoPatrol", - // meta: { - // title: "视频巡逻", - // icon: "personnel" - // }, - // children: [ - // { - // path: "/videoPatrol/patrolPlan", - // component: () => - // import("@/views/backOfficeSystem/videoPatrol/patrolPlan/index"), - // name: "patrolPlan", - // meta: { - // title: "巡逻方案", - // icon: "article-ranking" - // } - // }, - // { - // path: "/rxgzy", - // name: "rxgzy", - // component: () => - // import("@/views/backOfficeSystem/basicsmanage/rxgzy/index"), - // meta: { - // title: "感知源管理", - // icon: "article-ranking" - // } - // } - // ] - // }, - // { - // path: "/performanceMenu", - // name: "performanceMenu", - // meta: { - // title: "质量监督", - // icon: "personnel" - // }, - // children: [ - // { - // path: "/performanceMenu/assessment", - // name: "assessment", - // component: () => - // import( - // "@/views/backOfficeSystem/performanceMenu/assessment/index" - // ), - // meta: { - // title: "配置考核部门", - // icon: "article-ranking" - // } - // }, - // { - // path: "/performanceMenu/achievements", - // name: "achievements", - // component: () => - // import( - // "@/views/backOfficeSystem/performanceMenu/achievements/index" - // ), - // meta: { - // title: "质量监督", - // icon: "article-ranking" - // } - // }, - // { - // path: "/performanceMenu/jxbg", - // name: "jxbg", - // component: () => - // import("@/views/backOfficeSystem/performanceMenu/jxbg/index"), - // meta: { - // title: "工作报告", - // icon: "article-ranking" - // } - // }, - // { - // path: "/performanceMenu/model", - // component: () => - // import("@/views/backOfficeSystem/performanceMenu/model/index"), - // name: "model", - // meta: { - // title: "考核模型", - // icon: "article-ranking" - // } - // } - // ] - // }, - // { - // path: "/patrolResults", - // name: "patrolResults", - // meta: { - // title: "巡防战果", - // icon: "personnel" - // }, - // children: [ - // { - // path: "/patrolResults/mediumPersonnelRatioLog", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolResults/mediumPersonnelRatioLog/index" - // ), - // name: "mediumPersonnelRatioLog", - // meta: { - // title: "人员战果", - // icon: "article-ranking" - // } - // }, - // { - // path: "/patrolResults/mediumVehicleRatio", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolResults/mediumVehicleRatio/index" - // ), - // name: "mediumVehicleRatio", - // meta: { - // title: "车辆战果", - // icon: "article-ranking" - // } - // } - // // { - // // path: "/patrolResults/ItemVehicleRatio", - // // component: () => import("@/views/backOfficeSystem/patrolResults/ItemVehicleRatio/index"), - // // name: "ItemVehicleRatio", - // // meta: { - // // title: '物品战果', - // // icon: "article-ranking" - // // } - // // }, - // ] - // }, - // { - // path: "/patrolStatistics", - // name: "patrolStatistics", - // meta: { - // title: "巡防统计", - // icon: "personnel" - // }, - // children: [ - // { - // path: "/patrolStatistics/securitySituation", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolStatistics/securitySituation/index" - // ), - // name: "securitySituation", - // meta: { - // title: "安全态势统计", - // icon: "article-ranking" - // } - // }, - // { - // path: "/patrolStatistics/interfaceAlarm", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolStatistics/interfaceAlarm/index" - // ), - // name: "interfaceAlarm", - // meta: { - // title: "街面警情统计", - // icon: "article-ranking" - // } - // }, - // { - // path: "/patrolStatistics/patrolResources", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolStatistics/patrolResources/perceptualSource/index" - // ), - // name: "patrolResources", - // meta: { - // title: "巡防资源统计", - // icon: "article-ranking" - // }, - // children: [ - // { - // path: "/patrolResources/perceptualSource", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolStatistics/patrolResources/perceptualSource/index" - // ), - // name: "perceptualSource", - // meta: { - // title: "感知源", - // icon: "article-ranking" - // } - // }, - // { - // path: "/patrolResources/patrolForce", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolStatistics/patrolResources/patrolForce/index" - // ), - // name: "patrolForce", - // meta: { - // title: "巡防力量", - // icon: "article-ranking" - // } - // }, - // { - // path: "/patrolResources/mobileEquipment", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolStatistics/patrolResources/mobileEquipment/index" - // ), - // name: "mobileEquipment", - // meta: { - // title: "移动装备", - // icon: "article-ranking" - // } - // }, - // { - // path: "/patrolResources/streetPoliceStation", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolStatistics/patrolResources/streetPoliceStation/index" - // ), - // name: "streetPoliceStation", - // meta: { - // title: "街面警务站", - // icon: "article-ranking" - // } - // } - // ] - // }, - // { - // path: "/patrolResources/perceptualSource", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolStatistics/patrolResources/perceptualSource/index" - // ), - // name: "perceptualSource", - // meta: { - // title: "感知源" - // } - // }, - // { - // path: "/patrolResources/patrolForce", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolStatistics/patrolResources/patrolForce/index" - // ), - // name: "patrolForce", - // meta: { - // title: "巡防力量" - // } - // }, - // { - // path: "/patrolResources/mobileEquipment", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolStatistics/patrolResources/mobileEquipment/index" - // ), - // name: "mobileEquipment", - // meta: { - // title: "移动装备" - // } - // }, - // { - // path: "/patrolResources/streetPoliceStation", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolStatistics/patrolResources/streetPoliceStation/index" - // ), - // name: "streetPoliceStation", - // meta: { - // title: "街面警务站" - // } - // }, - // { - // path: "/patrolStatistics/patrolResultsTj", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/manVehicleInventoryAnalysis/index" - // ), - // name: "patrolResultsTj", - // meta: { - // title: "巡防战果统计", - // icon: "article-ranking" - // }, - // children: [ - // { - // path: "/patrolResultsTj/manVehicleInventoryAnalysis", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/manVehicleInventoryAnalysis/index" - // ), - // name: "manVehicleInventoryAnalysis", - // meta: { - // title: "盘查统计分析", - // icon: "article-ranking" - // } - // }, - // // { - // // path: "/patrolResultsTj/car", - // // component: () => import("@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/inventoryCharacteristicStatistics/index"), - // // name: "inventoryCharacteristicStatistics", - // // meta: { - // // title: '盘查车辆分析', - // // icon: "article-ranking" - // // }, - // // }, - // // { - // // path: "/patrolResultsTj/humanAndVehicleAchievements", - // // component: () => import("@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/humanAndVehicleAchievements/index"), - // // name: "humanAndVehicleAchievements", - // // meta: { - // // title: '盘查物品分析', - // // icon: "article-ranking" - // // }, - // // }, - // { - // path: "/patrolResultsTj/inventoryStatisticsOfArticles", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/inventoryStatisticsOfArticles/index" - // ), - // name: "inventoryStatisticsOfArticles", - // meta: { - // title: "处置警情分析", - // icon: "article-ranking" - // } - // }, - // { - // path: "/patrolResultsTj/manVehicleInventoryStatistics", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/manVehicleInventoryStatistics/index" - // ), - // name: "manVehicleInventoryStatistics", - // meta: { - // title: "事件分析", - // icon: "article-ranking" - // } - // } - // ] - // }, - // { - // path: "/patrolStatistics/patrolWork", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolStatistics/patrolWork/deptStatistics/index" - // ), - // name: "patrolWork", - // meta: { - // title: "巡防工作统计", - // icon: "article-ranking" - // }, - // children: [ - // { - // path: "/patrolWork/deptStatistics", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolStatistics/patrolWork/deptStatistics/index" - // ), - // name: "deptStatistics", - // meta: { - // title: "部门统计", - // icon: "article-ranking" - // } - // }, - // { - // path: "/patrolWork/patrolAreaStatistics", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolStatistics/patrolWork/patrolAreaStatistics/index" - // ), - // name: "patrolAreaStatistics", - // meta: { - // title: "巡区统计", - // icon: "article-ranking" - // } - // }, - // { - // path: "/patrolWork/patrolGroupStatistics", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolStatistics/patrolWork/patrolGroupStatistics/index" - // ), - // name: "patrolGroupStatistics", - // meta: { - // title: "巡组统计", - // icon: "article-ranking" - // } - // }, - // { - // path: "/patrolWork/personalStatistics", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolStatistics/patrolWork/personalStatistics/index" - // ), - // name: "personalStatistics", - // meta: { - // title: "个人统计", - // icon: "article-ranking" - // } - // } - // ] - // }, - // { - // path: "/patrolWork/deptStatistics", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolStatistics/patrolWork/deptStatistics/index" - // ), - // name: "deptStatistics", - // meta: { - // title: "部门统计" - // } - // }, - // { - // path: "/patrolWork/patrolAreaStatistics", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolStatistics/patrolWork/patrolAreaStatistics/index" - // ), - // name: "patrolAreaStatistics", - // meta: { - // title: "巡区统计" - // } - // }, - // { - // path: "/patrolWork/patrolGroupStatistics", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolStatistics/patrolWork/patrolGroupStatistics/index" - // ), - // name: "patrolGroupStatistics", - // meta: { - // title: "巡组统计" - // } - // }, - // { - // path: "/patrolWork/personalStatistics", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolStatistics/patrolWork/personalStatistics/index" - // ), - // name: "personalStatistics", - // meta: { - // title: "个人统计" - // } - // }, - // { - // path: "/interfaceFocus/keyPersonnel", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolStatistics/interfaceFocus/keyPersonnel/index" - // ), - // name: "keyPersonnel", - // meta: { - // title: "重点人员统计" - // } - // }, - // { - // path: "/interfaceFocus/importantPlaces", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolStatistics/interfaceFocus/importantPlaces/index" - // ), - // name: "importantPlaces", - // meta: { - // title: "重要场所统计" - // } - // }, - // { - // path: "/patrolResultsTj/manVehicleInventoryAnalysis", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/manVehicleInventoryAnalysis/index" - // ), - // name: "manVehicleInventoryAnalysis", - // meta: { - // title: "盘查统计分析" - // } - // }, - // // { - // // path: "/patrolResultsTj/car", - // // component: () => import("@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/inventoryCharacteristicStatistics/index"), - // // name: "inventoryCharacteristicStatistics", - // // meta: { - // // title: '盘查车辆分析' - // // }, - // // }, - // // { - // // path: "/patrolResultsTj/humanAndVehicleAchievements", - // // component: () => import("@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/humanAndVehicleAchievements/index"), - // // name: "humanAndVehicleAchievements", - // // meta: { - // // title: '盘查物品分析' - // // }, - // // }, - // { - // path: "/patrolResultsTj/inventoryStatisticsOfArticles", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/inventoryStatisticsOfArticles/index" - // ), - // name: "inventoryStatisticsOfArticles", - // meta: { - // title: "处置警情分析" - // } - // }, - // { - // path: "/patrolResultsTj/manVehicleInventoryStatistics", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolStatistics/patrolResultsTj/manVehicleInventoryStatistics/index" - // ), - // name: "manVehicleInventoryStatistics", - // meta: { - // title: "事件分析" - // } - // } - // ] - // }, - // { - // path: "/contingencyPlan", - // name: "contingencyPlan", - // meta: { - // title: "预案管理", - // icon: "personnel" - // }, - // children: [ - // { - // path: "/PlanManagement", - // name: "BasicConfiguration", - // meta: { - // title: "基础配置", - // icon: "article-ranking" - // }, - // children: [ - // { - // path: "/PlanManagement", - // component: () => - // import( - // "@/views/backOfficeSystem/contingencyPlan/PlanManagement/index" - // ), - // name: "PlanManagement", - // meta: { - // title: "预案等级管理", - // icon: "article-ranking" - // } - // }, - // { - // path: "/TypeManagement", - // component: () => - // import( - // "@/views/backOfficeSystem/contingencyPlan/TypeManagement/index" - // ), - // name: "TypeManagement", - // meta: { - // title: "预案类型管理", - // icon: "article-ranking" - // } - // } - // ] - // }, - // { - // path: "/YaManagement", - // name: "Contingency", - // meta: { - // title: "预案管理", - // icon: "article-ranking" - // }, - // children: [ - // { - // path: "/YaManagement", - // component: () => - // import( - // "@/views/backOfficeSystem/contingencyPlan/YaManagement/index" - // ), - // name: "YaManagement", - // meta: { - // title: "预案管理(市局)", - // icon: "article-ranking" - // } - // }, - // { - // path: "/patrolResources/perceptualSource", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolStatistics/patrolResources/perceptualSource/index" - // ), - // name: "perceptualSource", - // meta: { - // title: "预案执行(作战力量)", - // icon: "article-ranking" - // } - // }, - // { - // path: "/patrolResources/perceptualSource", - // component: () => - // import( - // "@/views/backOfficeSystem/patrolStatistics/patrolResources/perceptualSource/index" - // ), - // name: "perceptualSource", - // meta: { - // title: "预案执行(市局)", - // icon: "article-ranking" - // } - // } - // ] - // } - // ] - // } - // ] - // } ]; const router = createRouter({ diff --git a/src/views/login/index.vue b/src/views/login/index.vue index e08f15f..607ebb4 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -147,7 +147,8 @@ const getSfzhByGsid = (sfzh) => { }else{ let obj = { sfzh:res.sfzh , xm:res.xm , pxgs:res.pxgs , pxgsid:res.pxgsid } setItem("userInfo", JSON.stringify(obj)); - router.push("/"); + // router.push("/"); + router.push("/unitManagement/unitInformation"); } }) } diff --git a/src/views/securityManagement/unitManagement/unitInformation/index.vue b/src/views/securityManagement/unitManagement/unitInformation/index.vue index 47de778..77f7996 100644 --- a/src/views/securityManagement/unitManagement/unitInformation/index.vue +++ b/src/views/securityManagement/unitManagement/unitInformation/index.vue @@ -36,13 +36,10 @@ import MyTable from '@/components/aboutTable/MyTable.vue'; import Pages from '@/components/aboutTable/Pages.vue'; import PageTitle from '@/components/aboutTable/PageTitle.vue'; import ViewDetailsDialog from "./components/viewDetailsDialog.vue"; -import { qcckGet, qcckPost, qcckDelete } from "@/api/qcckApi.js"; - +import { qcckPost } from "@/api/qcckApi.js"; const visible = ref(false); -const searchBox = ref(null); const detailsRef = ref(null); const D_BZ_BXDLX = ref([]); - const pageData = reactive({ tableData: [], keyCount: 0, @@ -67,8 +64,7 @@ const pageData = reactive({ // 表格高度计算 const tabHeightFn = () => { - pageData.tableHeight = - window.innerHeight - 240; + pageData.tableHeight = window.innerHeight - 240; window.onresize = function () { tabHeightFn(); }; @@ -99,8 +95,8 @@ const changeSize = (val) => { }; onMounted(() => { - tabHeightFn(); getList(); + tabHeightFn(); });