From b72fc1b10b08cf2fea1626d32e1ca2cccabe2edd Mon Sep 17 00:00:00 2001
From: liuwh <hugeinfo123>
Date: Tue, 31 Mar 2020 23:49:35 +0800
Subject: [PATCH] bug修复

---
 SunshineIns/src/index.jsx |   42 +++++++++++++++++++++++++++++++++++++-----
 1 files changed, 37 insertions(+), 5 deletions(-)

diff --git a/SunshineIns/src/index.jsx b/SunshineIns/src/index.jsx
index 3c3d478..5f8aab1 100644
--- a/SunshineIns/src/index.jsx
+++ b/SunshineIns/src/index.jsx
@@ -14,8 +14,13 @@
 import BusDetail from './page/BusDetail';
 import SupPerson from './page/SupPerson';
 import Company from './page/Company';
+// 涉未成年负责部门组织
+import UnderAgeList from './page/UnderAgeList';
+import KeyWord from './page/KeyWord';
 import ActiveManage from './page/ActiveManage';
 import ActiveManageEdit from './page/ActiveManageEdit';
+import ActiveManageEditquestionnaire from './page/ActiveManageEditquestionnaire';
+
 import KnowledgeBase from './page/KnowledgeBase';
 import ArticlePublish from './page/ArticlePublish';
 import ArticleEidt from './page/ArticleEidt';
@@ -25,6 +30,8 @@
 import SnapshotDetail from './page/SnapshotDetail';
 import Sweeping from './page/Sweeping';
 import SweepingDetail from './page/SweepingDetail';
+import LawSubscribe from './page/LawSubscribe';
+import LawSubscribeDetail from './page/LawSubscribeDetail';
 import MsgDetail from './page/MsgDetail';
 import UserManage from './page/UserManage';
 import UserDetail from './page/UserDetail';
@@ -40,6 +47,11 @@
 import NewlyList from './page/NewlyList';
 import Newly from './page/Newly';
 import SignIn from './page/SignIn';
+import QuestionDetail from './page/QuestionDetail';
+import QuestionPersonDetail from './page/QuestionPersonDetail';
+
+import NoInspectionReportList from './page/NoInspectionReportList';
+import NoInspectionReportDetail from './page/NoInspectionReportDetail';
 
 import PoliceSecurity from './page/PoliceSecurity';
 import policeSecurityEdit from './page/policeSecurityEdit';
@@ -51,11 +63,15 @@
 ReactDOM.render(
   <LocaleProvider locale={zh_CN}>
     <Router history={hashHistory()}>
-      <Layout style={{ minHeight: '100vh' }}>
+      <Layout style={{ height: '100%' }}>
         <Switch>
           <Route path="/bus/attachment/:busId/:attachmentId" component={AttTree} />
           <Route path="/bus/attachment/:busId" component={AttTree} />
-          <Route path='/questionnaire/newly' component={null} />
+          {/* <Route path='/questionnaire/newly' component={AttTree} /> */}
+          {/* 问卷详情 */}
+          <Route path='/activeManageEditquestionnaire/:id' component={null} />
+          {/* 签到墙 */}
+          <Route path='/signIn/:id' component={null} />
           <Route component={Menu} />
         </Switch>
         <Switch>
@@ -72,16 +88,21 @@
           <Route path='/active' component={Active} />
           <Route path='/supPerson' component={SupPerson} />
           <Route path='/company' component={Company} />
+          <Route path='/underAgeList' component={UnderAgeList} />
+          <Route path='/dxWords' component={KeyWord} />
           <Route path='/knowledgeBase' component={KnowledgeBase} />
           <Route path='/articlePublish' component={ArticlePublish} />
           <Route path='/articleEidt/:id' component={ArticleEidt} />
           <Route path='/typeManage' component={TypeList} />
           <Route path='/activeManage' component={ActiveManage} />
           <Route path='/activeManageEdit/:id' component={ActiveManageEdit} />
+          <Route path='/activeManageEditquestionnaire/:id' component={ActiveManageEditquestionnaire} />
           <Route path='/snapshot' component={Snapshot} />
           <Route path='/snapshotDetail/:id/:flag' component={SnapshotDetail} />
           <Route path='/sweeping' component={Sweeping} />
           <Route path='/sweepingDetail/:id/:flag' component={SweepingDetail} />
+          <Route path='/lawSubscribe' component={LawSubscribe} />
+          <Route path='/lawSubscribeDetail/:id/:flag' component={LawSubscribeDetail} />
           <Route path='/userDetail/:id/:flag' component={UserDetail} />
           <Route path='/insideUser' component={InsideUser} />
           <Route path='/updatePWD/:id' component={UpdatePWD} />
@@ -96,15 +117,26 @@
 
           {/* 问卷管理部分 */}
           <Route path='/questionnaire/newlyList' component={NewlyList} />
-          <Route path='/questionnaire/newly' component={Newly} />
-          
+          <Route path='/questionnaire/newly/:id' component={Newly} />
+          {/* 问卷详情 */}
+          <Route path='/questionnaire/detail/:id' component={QuestionDetail} />
+          {/* 小程序提交的任务详情 */}
+          <Route path='/questionnaire/persondetail/:id/:userId' component={QuestionPersonDetail} />
+
+
           {/* 公安审核 */}
           <Route path='/entry/policeSecurity' component={PoliceSecurity} />
           <Route path='/entry/policeSecurityEdit/:id' component={policeSecurityEdit} />
 
           {/* 签到墙 */}
           <Route path='/signIn/:id' component={SignIn} />
-          
+
+          {/* 未检举报(列表、详情) */}
+          <Route path='/noInspectionReportList' component={NoInspectionReportList} />
+          <Route path='/noInspectionReportDetail/:id/:flag' component={NoInspectionReportDetail} />
+
+
+
           <Route path='/' component={Index} />
         </Switch>
       </Layout>

--
Gitblit v1.8.0