riku
2024-10-17 11dd07b4eda7c7c0e48f0b8c50f4af160c7b9714
src/router/index.js
@@ -4,74 +4,99 @@
import { useLoadingStore } from '../stores/loadingStore'
const routes = [
  {
    //整改审核
    name: 'changecheck',
    path: '/changecheck',
    component: () => import('@/views/check/ChangeCheck.vue')
  },
  // {
  //   //整改审核
  //   name: 'changecheck',
  //   path: '/changecheck',
  //   component: () => import('@/views/check/ChangeCheck.vue')
  // },
  /**********************************飞羽监管***********************************************/
  {
    //问题动态跟踪
    name: 'profollow',
    path: '/analysis/profollow',
    component: () => import('@/views/analysis/ProFollow.vue')
    component: () => import('@/views/fysp/analysis/ProFollow.vue')
  },
  {
    //问题整改分析
    name: 'proanalysis',
    path: '/analysis/proanalysis',
    component: () => import('@/views/analysis/ProAnalysis.vue')
    component: () => import('@/views/fysp/analysis/ProAnalysis.vue')
  },
  {
    //规范性评估
    name: 'standardjudge',
    path: '/analysis/standardjudge',
    component: () => import('@/views/analysis/StandardJudge.vue')
    component: () => import('@/views/fysp/analysis/StandardJudge.vue')
  },
  {
    //日报管理
    name: 'dailyreport',
    path: '/dailyreport',
    component: () => import('@/views/dailyreport/DailyReport.vue')
    component: () => import('@/views/fysp/data-product/ProdDailyReport.vue')
  },
  {
    //场景报告-工地
    name: 'construction',
    path: '/scenereport/construction',
    component: () => import('@/views/scenereport/ConstructionReport.vue')
    //场景报告
    name: 'scenereport',
    path: '/scenereport',
    component: () => import('@/views/fysp/data-product/ProdSceneReport.vue')
  },
  {
    //场景报告-码头
    name: 'wharf',
    path: '/scenereport/wharf',
    component: () => import('@/views/scenereport/WharfReport.vue')
  },
  {
    //场景报告-搅拌站
    name: 'mixing',
    path: '/scenereport/mixing',
    component: () => import('@/views/scenereport/MixingReport.vue')
  },
  {
    //场景报告-堆场
    name: 'storage',
    path: '/scenereport/storage',
    component: () => import('@/views/scenereport/StorageReport.vue')
  },
  // {
  //   //场景报告-工地
  //   name: 'construction',
  //   path: '/scenereport/construction',
  //   component: () => import('@/views/fysp/scenereport/ConstructionReport.vue')
  // },
  // {
  //   //场景报告-码头
  //   name: 'wharf',
  //   path: '/scenereport/wharf',
  //   component: () => import('@/views/fysp/scenereport/WharfReport.vue')
  // },
  // {
  //   //场景报告-搅拌站
  //   name: 'mixing',
  //   path: '/scenereport/mixing',
  //   component: () => import('@/views/fysp/scenereport/MixingReport.vue')
  // },
  // {
  //   //场景报告-堆场
  //   name: 'storage',
  //   path: '/scenereport/storage',
  //   component: () => import('@/views/fysp/scenereport/StorageReport.vue')
  // },
  /**********************************飞羽监管***********************************************/
  {
    //监管任务
    name: 'taskmanage',
    path: '/fysp/task/manage',
    component: () => import('@/views/fysp/task/TaskManage.vue'),
    meta: { keepAlive: true }
  },
  {
    //监管任务场景编辑
    name: 'monitorObjEdit',
    path: '/fysp/task/edit',
    component: () => import('@/views/fysp/task/MonitorObjEdit.vue')
  },
  {
    //监管任务计划编辑
    name: 'monitorPlanEdit',
    path: '/fysp/task/plan/edit',
    component: () => import('@/views/fysp/task/MonitorPlanEdit.vue')
  },
  {
    //问题审核
    name: 'procheck',
    path: '/fysp/procheck',
    component: () => import('@/views/fysp/check/ProCheck.vue')
  },
  {
    //账户管理
    name: 'fyspUser',
    path: '/fysp/userInfo',
    component: () => import('@/views/baseinfo/fysp/user/UserInfo.vue')
  },
  // {
  //   //账户管理
  //   name: 'fyspUser',
  //   path: '/fysp/userInfo',
  //   component: () => import('@/views/baseinfo/fysp/user/UserInfo.vue')
  // },
  {
    //监管问题
    name: 'fyspProblemType',
@@ -79,32 +104,56 @@
    component: () => import('@/views/fysp/config/ProblemType.vue')
  },
  {
    //设备匹配
    name: 'fyspDeviceMatch',
    path: '/fysp/config/deviceMatch',
    component: () => import('@/views/fysp/config/DeviceMatch.vue')
  },
  {
    //评估规则管理
    name: 'fyspEvalutationRule',
    path: '/fysp/config/evalutationRule',
    component: () => import('@/views/fysp/config/EvalutationRule.vue')
  },
  {
    //评估数据源
    name: 'fyspDatasource',
    path: '/fysp/evaluation/datasource',
    component: () => import('@/views/fysp/evaluation/DataSource.vue'),
    meta: { keepAlive: true }
    name: 'fyspEvalutationTask',
    path: '/fysp/evaluation/evalutationTask',
    component: () => import('@/views/fysp/evaluation/EvalutationTask.vue'),
    meta: { keepAlive: false }
  },
  {
    //评估管理
    name: 'fyspResultManage',
    path: '/fysp/evaluation/resultManage',
    component: () => import('@/views/fysp/evaluation/ResultManage.vue'),
    name: 'fyspEvalutationRecord',
    path: '/fysp/evaluation/evalutationRecord',
    component: () => import('@/views/fysp/evaluation/EvalutationRecord.vue'),
    meta: { keepAlive: true }
  },
  {
    //评估结果详情
    name: 'fyspEvalutationEdit',
    path: '/fysp/evaluation/evalutationEdit/:subTaskId',
    component: () => import('@/views/fysp/evaluation/EvalutationEdit.vue'),
  },
  {
    //场景信息
    name: 'fyspSceneInfo',
    path: '/fysp/sceneInfo',
    component: () => import('@/views/baseinfo/fysp/scene/SceneInfo.vue'),
    component: () => import('@/views/fysp/scene/SceneInfo.vue'),
    meta: { keepAlive: true }
  },
  {
    //场景编辑
    name: 'fyspSceneEdit',
    path: '/fysp/sceneEdit/:sid',
    component: () => import('@/views/baseinfo/fysp/scene/SceneEdit.vue'),
    component: () => import('@/views/fysp/scene/SceneEdit.vue'),
    meta: { transition: 'slide-left' }
  },
  {
    //对外支持
    name: 'fyspSupport',
    path: '/fysp/support',
    component: () => import('@/views/fysp/support/JingAnSupport.vue'),
  },
  /**********************************飞羽环境***********************************************/
@@ -118,7 +167,7 @@
    //通知管理
    name: 'notice',
    path: '/fytz/notice',
    component: () => import('@/views/notice/NoticeManage.vue')
    component: () => import('@/views/fytz/notice/NoticeManage.vue')
  },
  {
    //账户管理