From 8f619dde9e2382fc8a4f1e04fafde1418f06165b Mon Sep 17 00:00:00 2001
From: LAPTOP-RI7D261L\Mr Ke <545800322@qq.com>
Date: Wed, 26 Feb 2020 16:39:29 +0800
Subject: [PATCH] 问卷管理模块(新建、列表、详情)

---
 SunshineIns/src/index.jsx |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/SunshineIns/src/index.jsx b/SunshineIns/src/index.jsx
index 3c3d478..529a71b 100644
--- a/SunshineIns/src/index.jsx
+++ b/SunshineIns/src/index.jsx
@@ -40,6 +40,7 @@
 import NewlyList from './page/NewlyList';
 import Newly from './page/Newly';
 import SignIn from './page/SignIn';
+import QuestionDetail from './page/QuestionDetail';
 
 import PoliceSecurity from './page/PoliceSecurity';
 import policeSecurityEdit from './page/policeSecurityEdit';
@@ -51,11 +52,11 @@
 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 component={Menu} />
         </Switch>
         <Switch>
@@ -96,7 +97,10 @@
 
           {/* 问卷管理部分 */}
           <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='/entry/policeSecurity' component={PoliceSecurity} />

--
Gitblit v1.8.0