From 7b230899435f64c2191af136d8d43e273eb19d70 Mon Sep 17 00:00:00 2001 From: hailin <1356886193@qq.com> Date: 星期三, 19 七月 2023 13:03:43 +0800 Subject: [PATCH] 补充修复侧边栏的样式以及一些小问题 --- src/router/index.js | 135 +++++++++++++++++++++++---------------------- 1 files changed, 69 insertions(+), 66 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 2f584ea..5f236ab 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -45,6 +45,7 @@ path: '/', component: Layout, redirect: '/home', + // meta: { title: '涓婚〉', icon: 'el-icon-s-home' }, children: [{ path: 'home', name: 'Home', @@ -55,6 +56,7 @@ { path: '/standardLibrary', component: Layout, + redirect: '/standardLibrary/index', meta: { title: '鏍囧噯搴�', icon: 'el-icon-s-help' }, children: [ { @@ -64,10 +66,11 @@ meta: { title: '鏍囧噯搴�', icon: 'form' } }, { - path: 'specificationDetails', + path: 'specificationDetails/:id', name: 'SpecificationDetails', + // hidden: true, component: () => import('@/views/standardLibrary/SpecificationDetails'), - meta: { title: '鏍囧噯搴撹鎯�', icon: 'form' } + meta: { title: '浜у搧瑙勬牸璇︽儏', icon: 'form', show: false, breadcrumb: false } } ] }, @@ -76,7 +79,7 @@ component: Layout, redirect: '/rawMaterials/reportForInspection', name: 'rawMaterials', - meta: { title: '鍘熸潗鏂欐姤妫�', icon: 'el-icon-s-help' }, + meta: { title: '妫�楠�', icon: 'el-icon-s-help' }, children: [ { path: 'reportForInspection', @@ -134,69 +137,69 @@ } ] }, - { - path: '/finishedProduct', - component: Layout, - redirect: '/finishedProduct/reportForInspection', - name: 'FinishedProduct', - meta: { title: '鎴愬搧妫�楠�', icon: 'el-icon-s-help' }, - children: [ - { - path: 'reportForInspection', - name: 'ReportForInspection', - component: () => import('@/views/rawMaterials/reportForInspection/index'), - meta: { title: '鎴愬搧閫佹鐧昏', icon: 'table' } - }, - { - path: 'print', - name: 'Print', - component: () => import('@/views/rawMaterials/print/index'), - meta: { title: '鏉$爜鎵撳嵃', icon: 'tree' } - }, - { - path: 'planAssignments', - name: 'PlanAssignments', - component: () => import('@/views/rawMaterials/planAssignments/index'), - meta: { title: '妫�楠岃鍒掑垎閰�', icon: 'tree' } - }, - { - path: 'rawMaterialInspection', - name: 'RawMaterialInspection', - component: () => import('@/views/rawMaterials/rawMaterialInspection/index'), - meta: { title: '鎴愬搧妫�楠�', icon: 'tree' } - }, - { - path: 'checkTheReport', - name: 'CheckTheReport', - component: () => import('@/views/rawMaterials/checkTheReport/index'), - meta: { title: '妫�楠屾姤鍛�', icon: 'tree' } - }, - { - path: 'reportAuditing', - name: 'ReportAuditing', - component: () => import('@/views/rawMaterials/reportAuditing/index'), - meta: { title: '鎶ュ憡瀹℃牳', icon: 'tree' } - }, - { - path: 'nonConformanceReview', - name: 'NonConformanceReview', - component: () => import('@/views/rawMaterials/nonConformanceReview/index'), - meta: { title: '涓嶅悎鏍煎弽棣�', icon: 'tree' } - }, - { - path: 'nonConformingFeedback', - name: 'NonConformingFeedback', - component: () => import('@/views/rawMaterials/nonConformingFeedback/index'), - meta: { title: '涓嶅悎鏍艰瘎瀹�', icon: 'tree' } - }, - { - path: 'passRateStatistics', - name: 'PassRateStatistics', - component: () => import('@/views/rawMaterials/passRateStatistics/index'), - meta: { title: '鍚堟牸鐜囩粺璁�', icon: 'tree' } - } - ] - }, + // { + // path: '/finishedProduct', + // component: Layout, + // redirect: '/finishedProduct/reportForInspection', + // name: 'FinishedProduct', + // meta: { title: '鎴愬搧妫�楠�', icon: 'el-icon-s-help' }, + // children: [ + // { + // path: 'reportForInspection', + // name: 'ReportForInspection', + // component: () => import('@/views/rawMaterials/reportForInspection/index'), + // meta: { title: '鎴愬搧閫佹鐧昏', icon: 'table' } + // }, + // { + // path: 'print', + // name: 'Print', + // component: () => import('@/views/rawMaterials/print/index'), + // meta: { title: '鏉$爜鎵撳嵃', icon: 'tree' } + // }, + // { + // path: 'planAssignments', + // name: 'PlanAssignments', + // component: () => import('@/views/rawMaterials/planAssignments/index'), + // meta: { title: '妫�楠岃鍒掑垎閰�', icon: 'tree' } + // }, + // { + // path: 'rawMaterialInspection', + // name: 'RawMaterialInspection', + // component: () => import('@/views/rawMaterials/rawMaterialInspection/index'), + // meta: { title: '鎴愬搧妫�楠�', icon: 'tree' } + // }, + // { + // path: 'checkTheReport', + // name: 'CheckTheReport', + // component: () => import('@/views/rawMaterials/checkTheReport/index'), + // meta: { title: '妫�楠屾姤鍛�', icon: 'tree' } + // }, + // { + // path: 'reportAuditing', + // name: 'ReportAuditing', + // component: () => import('@/views/rawMaterials/reportAuditing/index'), + // meta: { title: '鎶ュ憡瀹℃牳', icon: 'tree' } + // }, + // { + // path: 'nonConformanceReview', + // name: 'NonConformanceReview', + // component: () => import('@/views/rawMaterials/nonConformanceReview/index'), + // meta: { title: '涓嶅悎鏍煎弽棣�', icon: 'tree' } + // }, + // { + // path: 'nonConformingFeedback', + // name: 'NonConformingFeedback', + // component: () => import('@/views/rawMaterials/nonConformingFeedback/index'), + // meta: { title: '涓嶅悎鏍艰瘎瀹�', icon: 'tree' } + // }, + // { + // path: 'passRateStatistics', + // name: 'PassRateStatistics', + // component: () => import('@/views/rawMaterials/passRateStatistics/index'), + // meta: { title: '鍚堟牸鐜囩粺璁�', icon: 'tree' } + // } + // ] + // }, { path: '/laboratory', component: Layout, -- Gitblit v1.9.3