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/page/NewlyList.jsx | 56 ++++++++++++++++++++++++++++++++------------------------ 1 files changed, 32 insertions(+), 24 deletions(-) diff --git a/SunshineIns/src/page/NewlyList.jsx b/SunshineIns/src/page/NewlyList.jsx index f97f0b7..7b63719 100644 --- a/SunshineIns/src/page/NewlyList.jsx +++ b/SunshineIns/src/page/NewlyList.jsx @@ -1,33 +1,41 @@ import React from 'react'; import { Input, Button, DatePicker, Divider, message, Popconfirm, Select, Badge } from 'antd'; +import HeadView from '../view/HeadView'; +import LinkView from '../view/LinkView'; +import QuestionnaireTablelist from './QuestionnaireTablelist'; + + export default class NewlyList extends React.Component { - constructor(props) { - super(props); - this.state = { - data: [], - - }; - } + constructor(props) { + super(props); + this.state = { + data: [], - componentDidMount() { + }; + } - document.title = '新建问卷'; - // this.getData(); - } + componentDidMount() { - getData = () => { - - } - - render() { - - const { data, loading, resetKey } = this.state; - return ( - <div className="app-page"> - <div>123</div> - </div> - ); - } + document.title = '新建问卷'; + // this.getData(); + } + + getData = () => { + + } + + render() { + + const { data, loading, resetKey } = this.state; + return ( + <div className="app-page"> + <HeadView history={this.props.history} /> + <LinkView sed="问卷管理" local="问卷管理" /> + <QuestionnaireTablelist history={this.props.history} /> + + </div> + ); + } } -- Gitblit v1.8.0