zhaomiao 4 years ago
parent
commit
fb402c31df
2 changed files with 16 additions and 0 deletions
  1. 4 0
      src/App.vue
  2. 12 0
      src/router/index.js

+ 4 - 0
src/App.vue

@@ -42,6 +42,10 @@
               <el-menu-item index="/benchmark_Venue">场内对标</el-menu-item>
               <el-menu-item index="/benchmark_International">场际对标</el-menu-item>
             </el-submenu>
+             <el-submenu index="2-7">
+              <template slot="title">项目对标</template>
+              <el-menu-item index="/benchmark_project">项目对标</el-menu-item>
+            </el-submenu>
           </el-submenu>
           <el-submenu index="5">
             <template slot="title">健康管理</template>

+ 12 - 0
src/router/index.js

@@ -82,6 +82,18 @@ const routes = [{
 		name: 'NationBenchmark_particulars',
 		component: () => import('../views/BorderBenchmark/InnationBenchmark_particulars.vue')
 	}
+	,
+	{
+		path: '/benchmark_project',
+		name: 'benchmark_project',
+		component: () => import('../views/ProjectBenchmark/ProjectBenchmark.vue')
+	}
+	,
+	{
+		path: '/benchmark_project_particulars',
+		name: 'benchmark_project_particulars',
+		component: () => import('../views/ProjectBenchmark/ProjectBenchmark_particulars.vue')
+	}
 ]
 
 const router = new VueRouter({