|
@@ -14,6 +14,7 @@ import PageLoadable from '../components/common/pageLoad/PageLoadable'
|
|
|
* Desc: 全局路由配置
|
|
* Desc: 全局路由配置
|
|
|
*/
|
|
*/
|
|
|
|
|
|
|
|
|
|
+/**************************************************公用**************************************************/
|
|
|
const PageNotFound = PageLoadable(
|
|
const PageNotFound = PageLoadable(
|
|
|
import(/* webpackChunkName:'common' */'@/pages/common/PageNotFound'))
|
|
import(/* webpackChunkName:'common' */'@/pages/common/PageNotFound'))
|
|
|
const AccessDenied = PageLoadable(
|
|
const AccessDenied = PageLoadable(
|
|
@@ -21,17 +22,24 @@ const AccessDenied = PageLoadable(
|
|
|
const UasEntry = PageLoadable(
|
|
const UasEntry = PageLoadable(
|
|
|
import(/* webpackChunkName:'common' */'@/pages/common/UasEntry'))
|
|
import(/* webpackChunkName:'common' */'@/pages/common/UasEntry'))
|
|
|
|
|
|
|
|
|
|
+/**************************************************主页**************************************************/
|
|
|
const HomaPage = PageLoadable(
|
|
const HomaPage = PageLoadable(
|
|
|
import(/* webpackChunkName:'home' */'@/pages/private/homePage/HomePage'))
|
|
import(/* webpackChunkName:'home' */'@/pages/private/homePage/HomePage'))
|
|
|
|
|
|
|
|
|
|
+/**************************************************日程**************************************************/
|
|
|
const SchedulePage = PageLoadable(
|
|
const SchedulePage = PageLoadable(
|
|
|
import(/* webpackChunkName:'schedule' */'@/pages/private/schedulePage/SchedulePage'))
|
|
import(/* webpackChunkName:'schedule' */'@/pages/private/schedulePage/SchedulePage'))
|
|
|
|
|
|
|
|
|
|
+/**************************************************订阅**************************************************/
|
|
|
const SubscribeList = PageLoadable(
|
|
const SubscribeList = PageLoadable(
|
|
|
import(/* webpackChunkName:'subscribe' */'@/pages/private/subscribe/SubscribeList'))
|
|
import(/* webpackChunkName:'subscribe' */'@/pages/private/subscribe/SubscribeList'))
|
|
|
const SubscribeManage = PageLoadable(
|
|
const SubscribeManage = PageLoadable(
|
|
|
import(/* webpackChunkName:'subscribe' */'@/pages/private/subscribe/SubscribeManage'))
|
|
import(/* webpackChunkName:'subscribe' */'@/pages/private/subscribe/SubscribeManage'))
|
|
|
|
|
|
|
|
|
|
+/**************************************************应用**************************************************/
|
|
|
|
|
+const OftenFuncManage = PageLoadable(
|
|
|
|
|
+ import(/* webpackChunkName:'subscribe' */'@/pages/private/oftenFunc/OftenFuncManage'))
|
|
|
|
|
+
|
|
|
/**
|
|
/**
|
|
|
* 自定义页面返回事件拦截框
|
|
* 自定义页面返回事件拦截框
|
|
|
* @param message
|
|
* @param message
|
|
@@ -82,6 +90,10 @@ class Routes extends React.Component {
|
|
|
{/*订阅管理*/}
|
|
{/*订阅管理*/}
|
|
|
<Route path='/subscribeManage' component={SubscribeManage}/>
|
|
<Route path='/subscribeManage' component={SubscribeManage}/>
|
|
|
|
|
|
|
|
|
|
+ {/***************************************应用*******************************************/}
|
|
|
|
|
+ {/*常用应用管理*/}
|
|
|
|
|
+ <Route path='/oftenFuncManage' component={OftenFuncManage}/>
|
|
|
|
|
+
|
|
|
{/*所有错误路由跳转页面*/}
|
|
{/*所有错误路由跳转页面*/}
|
|
|
<Route render={() => (
|
|
<Route render={() => (
|
|
|
<Redirect to={'/'}/>
|
|
<Redirect to={'/'}/>
|