From b449aca90c49fe8ee96f1c040c5953fcdd2ca15d Mon Sep 17 00:00:00 2001
From: liuwh <hugeinfo123>
Date: Mon, 06 Apr 2020 17:49:41 +0800
Subject: [PATCH] 新建文档

---
 src/index.js |   30 ++++++++++++++++++++++--------
 1 files changed, 22 insertions(+), 8 deletions(-)

diff --git a/src/index.js b/src/index.js
index 4b40639..4fd9219 100644
--- a/src/index.js
+++ b/src/index.js
@@ -20,6 +20,15 @@
 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'; //全部通知
+
+
+
+import DocumentEdit from './pages/document/DocumentEdit'; //新建文档
+
+
 
 const { Content } = Layout;
 const history = createHashHistory();
@@ -39,17 +48,22 @@
           </Switch>
           <Content>
             <Switch>
-              {/* 信息采集 */}
-              <Route
-                path="/collect/jurisdictionPersonMgt"
-                component={JurisdictionPersonMgt}
-              />
+              {/* 新建文档 */}
+              <Route path="/document/create" component={DocumentEdit} />
+
+              {/* 全部通知 */}
+              <Route path="/index/workbench/announcement" component={Announcement} />
+              {/* 规章制度 */}
+              <Route path="/index/rules" component={System} />
+
+              {/* 首页 */}
+              <Route path="/index" component={Workbench} />
+
 
               <Route path="/login" component={Login} />
-
-              <Route path="/" component={Index} />
+              <Route path="/" component={Workbench} />
               {/* 路由的页面重定向 */}
-              <Redirect to="/" component={Index} />
+              <Redirect to="/" component={Workbench} />
             </Switch>
           </Content>
         </Layout>

--
Gitblit v1.8.0