| | |
| | | import HeadView from '../view/HeadView'; |
| | | import TableBtnView from '../view/TableBtnView'; |
| | | import CommonSearchForm from '../view/CommonSearchForm'; |
| | | import { Input, Button, DatePicker, Divider, message, Popconfirm, Select, Badge } from 'antd'; |
| | | import { Input, Button, DatePicker, Divider, message, Popconfirm, Select, Badge, Breadcrumb } from 'antd'; |
| | | import moment from 'moment'; |
| | | import Fetch from '../fetch'; |
| | | import TableView from '../view/TableView'; |
| | |
| | | 1, |
| | | 2, |
| | | 3, |
| | | 4 |
| | | ] |
| | | const activityStatusIds = { |
| | | 0: '未开始', |
| | |
| | | } |
| | | |
| | | const activityStatusList = [ |
| | | 0, |
| | | 1, |
| | | 2, |
| | | 3, |
| | | 2 |
| | | ] |
| | | export default class CareList extends React.Component { |
| | | constructor(props) { |
| | |
| | | } |
| | | |
| | | componentDidMount() { |
| | | document.title = '社会关护管理'; |
| | | document.title = '社会观护管理'; |
| | | this.getData(); |
| | | } |
| | | |
| | |
| | | return ( |
| | | <div className="app-page"> |
| | | <HeadView history={this.props.history} /> |
| | | <div style={{ marginLeft: '90%', marginBottom: '20px', marginTop: '20px' }}> |
| | | <Button type="primary" size='large' onClick={() => this.showModal('new')}>新建任务</Button> |
| | | </div> |
| | | {/* <Breadcrumb style={{ padding: '20px' }}> |
| | | <Breadcrumb.Item><a href="">后台中心</a></Breadcrumb.Item> |
| | | <Breadcrumb.Item>社会关护</Breadcrumb.Item> |
| | | </Breadcrumb> */} |
| | | <div style={{ marginLeft: '90%', marginBottom: '20px', marginTop: '20px' }}> |
| | | <Button type="primary" size='large' onClick={() => this.showModal('new')}>新建任务</Button> |
| | | </div> |
| | | <div style={{ background: '#fff', margin: 20 }}> |
| | | <CommonSearchForm |
| | | {...this.props} |