From 97cc6f8222bd988d5424446c17cfb0c5b2fbc781 Mon Sep 17 00:00:00 2001 From: liuwh <hugeinfo123> Date: Mon, 06 Apr 2020 15:43:55 +0800 Subject: [PATCH] 1 --- src/index.js | 17 ++++++++++++----- 1 files changed, 12 insertions(+), 5 deletions(-) diff --git a/src/index.js b/src/index.js index 4b40639..cad4e52 100644 --- a/src/index.js +++ b/src/index.js @@ -20,6 +20,10 @@ import Index from './pages/Index'; import Login from './pages/login/login'; import JurisdictionPersonMgt from './pages/collect/jurisdictionPersonMgt'; //信息采集--辖区人口管理 +import Workbench from './pages/index/workbench'; //首页--工作台 +import System from './pages/index/System'; //首页--工作制度 +import Announcement from './pages/index/Announcement'; //全部通知 + const { Content } = Layout; const history = createHashHistory(); @@ -39,11 +43,14 @@ </Switch> <Content> <Switch> - {/* 信息采集 */} - <Route - path="/collect/jurisdictionPersonMgt" - component={JurisdictionPersonMgt} - /> + + {/* 全部通知 */} + <Route path="/index/workbench/announcement" component={Announcement} /> + {/* 首页 */} + <Route path="/index/workbench" component={Workbench} /> + <Route path="/index/system" component={System} /> + + <Route path="/login" component={Login} /> -- Gitblit v1.8.0