From 81f54040c2cb65537c6c6e1db8358a39a57dea0d Mon Sep 17 00:00:00 2001
From: mayisheng <admin>
Date: Mon, 15 Aug 2022 16:14:01 +0800
Subject: [PATCH] 1
---
src/router/page/index.js | 712 +++++++++++++++++++++++++++++++++++-----------------------
1 files changed, 426 insertions(+), 286 deletions(-)
diff --git a/src/router/page/index.js b/src/router/page/index.js
index 9e7047d..1e96f23 100644
--- a/src/router/page/index.js
+++ b/src/router/page/index.js
@@ -1,59 +1,135 @@
/*
* @Author: Morpheus
* @Date: 2021-04-30 14:12:09
- * @Last Modified by: mikey.zhaopeng
- * @Last Modified time: 2022-02-10 10:21:12
+ * @Last Modified by: Morpheus
+ * @Last Modified time: 2022-04-28 11:55:30
*/
import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)
-const pcLayout = () => import('../../pcLayout/index.vue')
-const pcHome = () => import('../../pcviews/home/index.vue')
-const pcMapnav = () => import('../../pcviews/mapnav/index.vue')
-const pcOrgnav = () => import('../../pcviews/orgnav/index.vue')
-const pcOrgnavMasses = () => import('../../pcviews/orgnav/masses.vue')
-const pcOrgnavOfc = () => import('../../pcviews/orgnav/ofc.vue')
-const pcOrgnavDirectly = () => import('../../pcviews/orgnav/directly.vue')
-const pcOrgnavTeaching = () => import('../../pcviews/orgnav/teaching.vue')
-const pcOrgnavRest = () => import('../../pcviews/orgnav/rest.vue')
-const pcArc = () => import('../../pcviews/arc/index.vue')
-const pcArcEdifact = () => import('../../pcviews/arc/edifact.vue')
-const pcArcTeaching = () => import('../../pcviews/arc/teaching.vue')
-const pcArcVenue = () => import('../../pcviews/arc/venue.vue')
-const pcArcDorm = () => import('../../pcviews/arc/dorm.vue')
-const pcArcCulture = () => import('../../pcviews/arc/culture.vue')
-const pcArcFamily = () => import('../../pcviews/arc/family.vue')
-const pcArcRest = () => import('../../pcviews/arc/rest.vue')
-const pcService = () => import('../../pcviews/service/index.vue')
-const pcServiceCanteen = () => import('../../pcviews/service/canteen.vue')
-const pcServiceSupermarket = () => import('../../pcviews/service/supermarket.vue')
-const pcServiceMedical = () => import('../../pcviews/service/medical.vue')
-const pcServiceExpress = () => import('../../pcviews/service/express.vue')
-const pcServiceShowers = () => import('../../pcviews/service/showers.vue')
-const pcServiceTransfer = () => import('../../pcviews/service/transfer.vue')
-const pcServiceCopy = () => import('../../pcviews/service/copy.vue')
-const pcServiceBank = () => import('../../pcviews/service/bank.vue')
-const pcServiceAed = () => import('../../pcviews/service/aed.vue')
-const pcServiceService = () => import('../../pcviews/service/service.vue')
-const pcServicePark = () => import('../../pcviews/service/park.vue')
-const pcServiceAlleyway = () => import('../../pcviews/service/alleyway.vue')
-const pcAllquery = () => import('../../pcviews/allquery/index.vue')
-const pcCampusnav = () => import('../../pcviews/campusnav/index.vue')
-const pcCampusnavi = () => import('../../pcviews/campusnavi/index.vue')
-const pcSpecialmap = () => import('../../pcviews/specialmap/index.vue')
-const pcSpecialmapCelebrate = () => import('../../pcviews/specialmap/celebrate.vue')
-const pcSpecialmapWelcome = () => import('../../pcviews/specialmap/welcome.vue')
-const pcTool = () => import('../../pcviews/tool/index.vue')
-const pcToolDownload = () => import('../../pcviews/tool/download.vue')
-const pcToolSign = () => import('../../pcviews/tool/sign.vue')
-const pcToolRanging = () => import('../../pcviews/tool/ranging.vue')
-const pcToolArea = () => import('../../pcviews/tool/area.vue')
+const large = () =>
+ import ('../../pcviews/large/index.vue')
+
+const pcLayout = () =>
+ import ('../../pcLayout/index.vue')
+const pcHome = () =>
+ import ('../../pcviews/home/index.vue')
+const pcMapnav = () =>
+ import ('../../pcviews/mapnav/index.vue')
+const pcOrgnav = () =>
+ import ('../../pcviews/orgnav/index.vue')
+const pcOrgnavMasses = () =>
+ import ('../../pcviews/orgnav/masses.vue')
+const pcOrgnavOfc = () =>
+ import ('../../pcviews/orgnav/ofc.vue')
+const pcOrgnavDirectly = () =>
+ import ('../../pcviews/orgnav/directly.vue')
+const pcOrgnavTeaching = () =>
+ import ('../../pcviews/orgnav/teaching.vue')
+const pcOrgnavRest = () =>
+ import ('../../pcviews/orgnav/rest.vue')
+const pcArc = () =>
+ import ('../../pcviews/arc/index.vue')
+const pcArcEdifact = () =>
+ import ('../../pcviews/arc/edifact.vue')
+const pcArcTeaching = () =>
+ import ('../../pcviews/arc/teaching.vue')
+const pcArcVenue = () =>
+ import ('../../pcviews/arc/venue.vue')
+const pcArcDorm = () =>
+ import ('../../pcviews/arc/dorm.vue')
+const pcArcCulture = () =>
+ import ('../../pcviews/arc/culture.vue')
+const pcArcFamily = () =>
+ import ('../../pcviews/arc/family.vue')
+const pcArcRest = () =>
+ import ('../../pcviews/arc/rest.vue')
+const pcService = () =>
+ import ('../../pcviews/service/index.vue')
+const pcServiceCanteen = () =>
+ import ('../../pcviews/service/canteen.vue')
+const pcServiceSupermarket = () =>
+ import ('../../pcviews/service/supermarket.vue')
+const pcServiceMedical = () =>
+ import ('../../pcviews/service/medical.vue')
+const pcServiceExpress = () =>
+ import ('../../pcviews/service/express.vue')
+const pcServiceShowers = () =>
+ import ('../../pcviews/service/showers.vue')
+const pcServiceTransfer = () =>
+ import ('../../pcviews/service/transfer.vue')
+const pcServiceCopy = () =>
+ import ('../../pcviews/service/copy.vue')
+const pcServiceBank = () =>
+ import ('../../pcviews/service/bank.vue')
+const pcServiceAed = () =>
+ import ('../../pcviews/service/aed.vue')
+const pcServiceService = () =>
+ import ('../../pcviews/service/service.vue')
+const pcServicePark = () =>
+ import ('../../pcviews/service/park.vue')
+const pcServiceAlleyway = () =>
+ import ('../../pcviews/service/alleyway.vue')
+const pcAllquery = () =>
+ import ('../../pcviews/allquery/index.vue')
+const pcCampusnav = () =>
+ import ('../../pcviews/campusnav/index.vue')
+const pcCampusnavi = () =>
+ import ('../../pcviews/campusnavi/index.vue')
+
+const pcSpecialmap = () =>
+ import ('../../pcviews/specialmap/index.vue')
+const pcSpecialmapCelebrate = () =>
+ import ('../../pcviews/specialmap/celebrate.vue')
+const pcSpecialmapWelcome = () =>
+ import ('../../pcviews/specialmap/welcome.vue')
+
+const pcTool = () =>
+ import ('../../pcviews/tool/index.vue')
+const pcToolDownload = () =>
+ import ('../../pcviews/tool/download.vue')
+const pcToolSign = () =>
+ import ('../../pcviews/tool/sign.vue')
+const pcToolRanging = () =>
+ import ('../../pcviews/tool/ranging.vue')
+const pcToolArea = () =>
+ import ('../../pcviews/tool/area.vue')
+const pcToolLayerManage = () =>
+ import ('../../pcviews/tool/layer-manage.vue')
+
+const pcTechnique = () =>
+ import ('../../pcviews/technique/index.vue')
+const pcTechniqueMapData = () =>
+ import ('../../pcviews/technique/map.vue')
+const pcTechniqueVideo = () =>
+ import ('../../pcviews/technique/video.vue')
+const pcTechniqueData = () =>
+ import ('../../pcviews/technique/data.vue')
+const pcTechniqueTurf = () =>
+ import ('../../pcviews/technique/turf.vue')
+const pcTechniqueSpace = () =>
+ import ('../../pcviews/technique/space.vue')
+const pcTechniqueGraph = () =>
+ import ('../../pcviews/technique/graph.vue')
+const pcTechniquePath = () =>
+ import ('../../pcviews/technique/path.vue')
const routes = [
+ // 大屏页面
+ {
+ path: '/large',
+ meta: {
+ title: '大屏页面'
+ },
+ component: large
+ },
+ {
+ path: '/',
+ redirect: '/pcLayout'
+ },
// pc端
-
{
path: '/pcLayout',
redirect: '/pcLayout/default',
@@ -68,273 +144,337 @@
title: '系统首页'
},
children: [{
- path: 'mapnav',
- component: pcMapnav,
- meta: {
- title: '地图导览'
- }
- },
- {
- path: 'orgnav',
- component: pcOrgnav,
- meta: {
- title: '社区内机构导览'
- },
- children: [{
- path: 'masses',
- component: pcOrgnavMasses,
+ path: 'mapnav',
+ component: pcMapnav,
meta: {
- title: '党群机构'
+ title: '地图导览'
}
},
{
- path: 'ofc',
- component: pcOrgnavOfc,
+ path: 'orgnav',
+ component: pcOrgnav,
meta: {
- title: '职能部处'
- }
- }, {
- path: 'directly',
- component: pcOrgnavDirectly,
- meta: {
- title: '直属及附属单位'
- }
+ title: '校区内机构导览'
+ },
+ children: [{
+ path: 'masses',
+ component: pcOrgnavMasses,
+ meta: {
+ title: '党政机构'
+ }
+ },
+ {
+ path: 'ofc',
+ component: pcOrgnavOfc,
+ meta: {
+ title: '职能部处'
+ }
+ }, {
+ path: 'directly',
+ component: pcOrgnavDirectly,
+ meta: {
+ title: '直属及附属单位'
+ }
+ },
+ {
+ path: 'teaching',
+ component: pcOrgnavTeaching,
+ meta: {
+ title: '教学与科研机构'
+ }
+ }, {
+ path: 'rest',
+ component: pcOrgnavRest,
+ meta: {
+ title: '其他机构'
+ }
+ }
+ ]
},
{
- path: 'teaching',
- component: pcOrgnavTeaching,
+ path: 'arc',
+ component: pcArc,
meta: {
- title: '教学与科研机构'
- }
- }, {
- path: 'rest',
- component: pcOrgnavRest,
- meta: {
- title: '其他机构'
- }
- }
- ]
- },
- {
- path: 'arc',
- component: pcArc,
- meta: {
- title: '社区内建筑'
- },
- children: [{
- path: 'edifact',
- component: pcArcEdifact,
- meta: {
- title: '行政办公'
- }
- },
- {
- path: 'teaching',
- component: pcArcTeaching,
- meta: {
- title: '教学科研'
- }
- }, {
- path: 'venue',
- component: pcArcVenue,
- meta: {
- title: '社区场馆'
- }
- },
- {
- path: 'dorm',
- component: pcArcDorm,
- meta: {
- title: '社区宿舍'
- }
- }, {
- path: 'culture',
- component: pcArcCulture,
- meta: {
- title: '文化风景'
- }
- },
- {
- path: 'family',
- component: pcArcFamily,
- meta: {
- title: '家属住宅'
- }
- }, {
- path: 'rest',
- component: pcArcRest,
- meta: {
- title: '主要楼宇'
- }
- }
- ]
- },
- {
- path: 'service',
- component: pcService,
- meta: {
- title: '生活服务设施'
- },
- children: [{
- path: 'canteen',
- component: pcServiceCanteen,
- meta: {
- title: '食堂餐厅'
- }
- },
- {
- path: 'supermarket',
- component: pcServiceSupermarket,
- meta: {
- title: '购物超市'
- }
- }, {
- path: 'medical',
- component: pcServiceMedical,
- meta: {
- title: '社区内医疗'
- }
- },
- {
- path: 'express',
- component: pcServiceExpress,
- meta: {
- title: '邮寄快递'
- }
- }, {
- path: 'showers',
- component: pcServiceShowers,
- meta: {
- title: '社区浴室'
- }
- },
- {
- path: 'transfer',
- component: pcServiceTransfer,
- meta: {
- title: '圈存机'
- }
- },
- {
- path: 'copy',
- component: pcServiceCopy,
- meta: {
- title: '打字复印'
- }
- },
- {
- path: 'bank',
- component: pcServiceBank,
- meta: {
- title: '银行网点'
- }
- }, {
- path: 'aed',
- component: pcServiceAed,
- meta: {
- title: 'AED'
- }
+ title: '校区内建筑'
+ },
+ children: [{
+ path: 'edifact',
+ component: pcArcEdifact,
+ meta: {
+ title: '行政办公'
+ }
+ },
+ {
+ path: 'teaching',
+ component: pcArcTeaching,
+ meta: {
+ title: '教学科研'
+ }
+ }, {
+ path: 'venue',
+ component: pcArcVenue,
+ meta: {
+ title: '校区场馆'
+ }
+ },
+ {
+ path: 'dorm',
+ component: pcArcDorm,
+ meta: {
+ title: '校区宿舍'
+ }
+ }, {
+ path: 'culture',
+ component: pcArcCulture,
+ meta: {
+ title: '文化风景'
+ }
+ },
+ {
+ path: 'family',
+ component: pcArcFamily,
+ meta: {
+ title: '家属住宅'
+ }
+ }, {
+ path: 'rest',
+ component: pcArcRest,
+ meta: {
+ title: '主要楼宇'
+ }
+ }
+ ]
},
{
path: 'service',
- component: pcServiceService,
+ component: pcService,
meta: {
- title: '通信营业厅'
- }
- }, {
- path: 'park',
- component: pcServicePark,
+ title: '生活服务设施'
+ },
+ children: [{
+ path: 'canteen',
+ component: pcServiceCanteen,
+ meta: {
+ title: '食堂餐厅'
+ }
+ },
+ {
+ path: 'supermarket',
+ component: pcServiceSupermarket,
+ meta: {
+ title: '购物超市'
+ }
+ }, {
+ path: 'medical',
+ component: pcServiceMedical,
+ meta: {
+ title: '校区内医疗'
+ }
+ },
+ {
+ path: 'express',
+ component: pcServiceExpress,
+ meta: {
+ title: '邮寄快递'
+ }
+ }, {
+ path: 'showers',
+ component: pcServiceShowers,
+ meta: {
+ title: '校区浴室'
+ }
+ },
+ {
+ path: 'transfer',
+ component: pcServiceTransfer,
+ meta: {
+ title: '圈存机'
+ }
+ },
+ {
+ path: 'copy',
+ component: pcServiceCopy,
+ meta: {
+ title: '打字复印'
+ }
+ },
+ {
+ path: 'bank',
+ component: pcServiceBank,
+ meta: {
+ title: '银行网点'
+ }
+ }, {
+ path: 'aed',
+ component: pcServiceAed,
+ meta: {
+ title: 'AED'
+ }
+ },
+ {
+ path: 'service',
+ component: pcServiceService,
+ meta: {
+ title: '通信营业厅'
+ }
+ }, {
+ path: 'park',
+ component: pcServicePark,
+ meta: {
+ title: '停车场'
+ }
+ },
+ {
+ path: 'alleyway',
+ component: pcServiceAlleyway,
+ meta: {
+ title: '出入口'
+ }
+ }
+ ]
+ },
+ {
+ path: 'allquery',
+ component: pcAllquery,
meta: {
- title: '停车场'
+ title: '综合查询'
}
},
{
- path: 'alleyway',
- component: pcServiceAlleyway,
+ path: 'campusnav',
+ component: pcCampusnav,
meta: {
- title: '出入口'
- }
- }
- ]
- },
- {
- path: 'allquery',
- component: pcAllquery,
- meta: {
- title: '综合查询'
- }
- },
- {
- path: 'campusnav',
- component: pcCampusnav,
- meta: {
- title: '社区导览'
- }
- },
- {
- path: 'campusnavi',
- component: pcCampusnavi,
- meta: {
- title: '社区导航'
- }
- },
- {
- path: 'specialmap',
- component: pcSpecialmap,
- meta: {
- title: '专题地图'
- },
- children: [{
- path: 'celebrate',
- component: pcSpecialmapCelebrate,
- meta: {
- title: '社区庆'
+ title: '校区导览'
}
},
{
- path: 'welcome',
- component: pcSpecialmapWelcome,
+ path: 'campusnavi',
+ component: pcCampusnavi,
meta: {
- title: '社区迎新'
- }
- }
- ]
- },
- {
- path: 'tool',
- component: pcTool,
- meta: {
- title: '工具'
- },
- children: [{
- path: 'download',
- component: pcToolDownload,
- meta: {
- title: '地图下载'
- }
- }, {
- path: 'sign',
- component: pcToolSign,
- meta: {
- title: '地图标记'
+ title: '校区导航'
}
},
{
- path: 'ranging',
- component: pcToolRanging,
+ path: 'specialmap',
+ component: pcSpecialmap,
meta: {
- title: '地图测距'
- }
+ title: '专题地图'
+ },
+ children: [{
+ path: 'celebrate',
+ component: pcSpecialmapCelebrate,
+ meta: {
+ title: '校区庆'
+ }
+ },
+ {
+ path: 'welcome',
+ component: pcSpecialmapWelcome,
+ meta: {
+ title: '校区迎新'
+ }
+ }
+ ]
},
{
- path: 'area',
- component: pcToolArea,
+ path: 'tool',
+ component: pcTool,
meta: {
- title: '地图测面'
- }
+ title: '工具'
+ },
+ children: [{
+ path: 'download',
+ component: pcToolDownload,
+ meta: {
+ title: '地图下载'
+ }
+ }, {
+ path: 'sign',
+ component: pcToolSign,
+ meta: {
+ title: '地图标记'
+ }
+ },
+ {
+ path: 'ranging',
+ component: pcToolRanging,
+ meta: {
+ title: '地图测距'
+ }
+ },
+ {
+ path: 'area',
+ component: pcToolArea,
+ meta: {
+ title: '地图测面'
+ }
+ },
+ {
+ path: 'layer-manage',
+ component: pcToolLayerManage,
+ meta: {
+ title: '图层管理'
+ }
+ }
+ ]
+ },
+ {
+ path: 'technique',
+ component: pcTechnique,
+ meta: {
+ title: '创新'
+ },
+ children: [{
+ path: 'map',
+ component: pcTechniqueMapData,
+ meta: {
+ title: '地图数据加载'
+ }
+ }, {
+ path: 'video',
+ component: pcTechniqueVideo,
+ meta: {
+ title: '视频融合'
+ }
+ },
+ {
+ path: 'data',
+ component: pcTechniqueData,
+ meta: {
+ title: '数据动画和特效'
+ }
+ },
+ {
+ path: 'turf',
+ component: pcTechniqueTurf,
+ meta: {
+ title: 'turf计算'
+ }
+ },
+ {
+ path: 'space',
+ component: pcTechniqueSpace,
+ meta: {
+ title: '三维空间分析'
+ }
+ },
+ {
+ path: 'graph',
+ component: pcTechniqueGraph,
+ meta: {
+ title: '第三方图形库的集成'
+ }
+ },
+ {
+ path: 'path',
+ component: pcTechniquePath,
+ meta: {
+ title: '路径漫游和定点巡航'
+ }
+ }
+ ]
}
- ]
- }
+
]
}]
},
@@ -357,7 +497,7 @@
{
path: '/403',
component: () =>
- import(/* webpackChunkName: "page" */ '@/components/error-page/403'),
+ import ( /* webpackChunkName: "page" */ '@/components/error-page/403'),
name: '403',
meta: {
title: '403页面'
@@ -366,7 +506,7 @@
{
path: '/404',
component: () =>
- import(/* webpackChunkName: "page" */ '@/components/error-page/404'),
+ import ( /* webpackChunkName: "page" */ '@/components/error-page/404'),
name: '404',
meta: {
title: '404页面'
@@ -376,7 +516,7 @@
{
path: '/500',
component: () =>
- import(/* webpackChunkName: "page" */ '@/components/error-page/500'),
+ import ( /* webpackChunkName: "page" */ '@/components/error-page/500'),
name: '500',
meta: {
title: '500页面'
@@ -394,4 +534,4 @@
routes
})
-export default router
+export default router
\ No newline at end of file
--
Gitblit v1.9.3