From 4df0471b7dff0494625ff09969b1a13b5359a26e Mon Sep 17 00:00:00 2001
From: XingChuan <m17600301067@163.com>
Date: 星期一, 31 五月 2021 22:41:47 +0800
Subject: [PATCH] 统计表弹框UI优化;增加点击企业名称缩放至企业;二级表展示功能优化。
---
src/router/routes.js | 47 ++++++++++++++++++++++++-----------------------
1 files changed, 24 insertions(+), 23 deletions(-)
diff --git a/src/router/routes.js b/src/router/routes.js
index b2c4d92..ed5d92a 100644
--- a/src/router/routes.js
+++ b/src/router/routes.js
@@ -8,30 +8,31 @@
* access: (null) 鍙闂椤甸潰鐨勬潈闄愭暟缁勶紝褰撳墠璺敱璁剧疆鐨勬潈闄愪細褰卞搷瀛愯矾鐢�
* }
*/
+import { mapRoutes } from '@router/map'
// 榛樿璺宠浆璺敱
-import App from "../App";
-import PipeLineIndex from "../views/baseInfoMgr/pipeline/PipeLineIndex";
-import MapTemplate from "../views/MapTemplate";
+import PipeLineIndex from '../views/baseInfoMgr/pipeline/PipeLineIndex'
+import MapTemplate from '../views/MapTemplate'
// 搴旂敤涓氬姟鐩稿叧璺敱锛屾寕杞絤enu涓婄殑page
-export const routes = [{
- path: '/',
- name: 'Main',
- component: App,
- redirect: '/home',
- children: [{
- path: 'home',
- name: 'Home',
- meta: {
- title: '棣栭〉'
- },
- component: MapTemplate
- }, {
- path: 'baseInfoMgr/pipeLine',
- name: 'baseInfoMgr',
- component: PipeLineIndex,
- meta: {
- title: '鍩虹鏁版嵁缁存姢'
- }
- }]
+const mainRoutes = [{
+ path: '/',
+ name: 'Main',
+ component: MapTemplate,
+ redirect: '/mapTemplate',
+ children: [{
+ path: 'baseInfoMgr/pipeLine',
+ name: 'baseInfoMgr',
+ component: PipeLineIndex,
+ meta: {
+ title: '鍩虹鏁版嵁缁存姢'
+ }
+ }, {
+ path: '/mapTemplate',
+ name: 'mapTemplate',
+ component: MapTemplate,
+ meta: {
+ title: '鍩虹鍦板浘'
+ }
+ }]
}]
+export const routes = [...mainRoutes, ...mapRoutes]
--
Gitblit v1.8.0