riku
5 天以前 f19e5267cc23b1c714dc746239864f33ed715dd9
src/router/index.js
@@ -70,7 +70,7 @@
                  import('@/views/fysp/data-product/ProdSceneReport.vue')
              },
              {
                //场景报告
                //联合执法清单
                name: 'lawenforcelist',
                path: 'lawenforcelist',
                component: () =>
@@ -82,18 +82,18 @@
                children: [
                  {
                    // 基础产品-管理
                    name: 'ProdManage',
                    name: 'ManageBaseProd',
                    path: 'home',
                    component: () =>
                      import(
                        '@/views/fysp/data-product/base-data-product/ProdManage.vue'
                        '@/views/fysp/data-product/base-data-product/ManageBaseProd.vue'
                      ),
                    children: [
                      {
                        // 基础产品-场景清单
                        path: 'scene',
                        name: 'ProdSceneInfo',
                        meta: { keepAlive: false, key: 'ProdManage' },
                        meta: { keepAlive: false, key: 'ManageBaseProd' },
                        component: () =>
                          import(
                            '@/views/fysp/data-product/base-data-product/ProdSceneInfo.vue'
@@ -103,17 +103,17 @@
                        // 基础产品-规范性评估
                        path: 'evaluate',
                        name: 'ProdEvaluationInfo',
                        meta: { keepAlive: false, key: 'ProdManage' },
                        meta: { keepAlive: false, key: 'ManageBaseProd' },
                        component: () =>
                          import(
                            '@/views/fysp/data-product/base-data-product/ProdEvaluationInfo.vue'
                          )
                      },
                      {
                        // 基础产品-巡查信息
                        // 基础产品-整改清单
                        path: 'inspection',
                        name: 'ProdInspectionInfo',
                        meta: { keepAlive: false, key: 'ProdManage' },
                        meta: { keepAlive: false, key: 'ManageBaseProd' },
                        component: () =>
                          import(
                            '@/views/fysp/data-product/base-data-product/ProdInspectionInfo.vue'
@@ -123,7 +123,7 @@
                        // 基础产品-监测数据
                        path: 'monitordata',
                        name: 'ProdMonitorDataInfo',
                        meta: { keepAlive: false, key: 'ProdManage' },
                        meta: { keepAlive: false, key: 'ManageBaseProd' },
                        component: () =>
                          import(
                            '@/views/fysp/data-product/base-data-product/ProdMonitorDataInfo.vue'
@@ -141,6 +141,88 @@
                      )
                  }
                ]
              },
              {
                name: 'dataProdMiddle',
                path: 'middle',
                children: [
                  {
                    // 中间产品-管理
                    name: 'ManageMiddleProd',
                    path: 'home',
                    component: () =>
                      import(
                        '@/views/fysp/data-product/middle-data-product/ManageMiddleProd.vue'
                      ),
                    children: [
                      {
                        // 中间产品-月度巡查情况汇总
                        path: 'inspectionSummary',
                        name: 'ProdInspectionSummary',
                        meta: { keepAlive: false, key: 'ManageMiddleProd' },
                        component: () =>
                          import(
                            '@/views/fysp/data-product/middle-data-product/ProdInspectionSummary.vue'
                          )
                      },
                      {
                        // 中间产品-月度问题汇总
                        path: 'problemTypeSummary',
                        name: 'ProdProblemTypeSummary',
                        meta: { keepAlive: false, key: 'ManageMiddleProd' },
                        component: () =>
                          import(
                            '@/views/fysp/data-product/middle-data-product/ProdProblemTypeSummary.vue'
                          )
                      },
                      {
                        // 中间产品-分街镇单场景问题数均值
                        path: 'problemCountSummary',
                        name: 'ProdProblemCountSummary',
                        meta: { keepAlive: false, key: 'ManageMiddleProd' },
                        component: () =>
                          import(
                            '@/views/fysp/data-product/middle-data-product/ProdProblemCountSummary.vue'
                          )
                      },
                      {
                        // 中间产品-监测设备汇总
                        path: 'monitorDeviceSummary',
                        name: 'ProdMonitorDeviceSummary',
                        meta: { keepAlive: false, key: 'ManageMiddleProd' },
                        component: () =>
                          import(
                            '@/views/fysp/data-product/middle-data-product/ProdMonitorDeviceSummary.vue'
                          )
                      },
                      {
                        // 中间产品-评估情况
                        path: 'evaluationSummary',
                        name: 'ProdEvaluationSummary',
                        meta: { keepAlive: false, key: 'ManageMiddleProd' },
                        component: () =>
                          import(
                            '@/views/fysp/data-product/middle-data-product/ProdEvaluationSummary.vue'
                          )
                      },
                    ]
                  },
                ]
              },
              {
                name: 'dataProdFinal',
                path: 'final',
                children: [
                  {
                    // 最终产品-巡查月度简报
                    name: 'MonInspecReport',
                    path: 'monInspecReport',
                    component: () =>
                      import(
                        '@/views/fysp/data-product/final-data-product/ProdMonInspecReport.vue'
                      ),
                  },
                ]
              }
            ]
          },
@@ -153,7 +235,7 @@
                name: 'taskmanage',
                path: 'manage',
                component: () => import('@/views/fysp/task/TaskManage.vue'),
                meta: { keepAlive: true }
                meta: { keepAlive: false }
              },
              {
                //监管任务场景编辑
@@ -214,6 +296,13 @@
                path: 'evalutationRule',
                component: () =>
                  import('@/views/fysp/config/EvalutationRule.vue')
              },
              {
                //值域表管理
                name: 'domaincatalog',
                path: 'domaincatalog',
                component: () =>
                  import('@/views/fysp/config/DomainCatalog.vue')
              }
            ]
          },
@@ -319,12 +408,17 @@
        component: () => import('@/views/DocTest.vue')
      }
    ]
  },
  {
    name: 'pdfPreview',
    path: '/common/pdfPreview',
    component: () => import('@/views/common/PDFViewer.vue')
  }
];
const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  // history: createWebHashHistory(),
  // history: createWebHistory(import.meta.env.BASE_URL),
  history: createWebHashHistory(),
  routes: routes
});