/**
* @author Xyz
* 分公司管理
*/
import React from 'react';
import {
Form,
Input,
Button,
message,
Table,
Popover,
Modal,
DatePicker
} from 'antd';
import {
Container,
SearchItem,
Options,
} from "./styles";
import PTable from '../../../components/Pro/PTable';
import DrawBranchCompanyDetail from './DrawBranchCompanyDetail';//分公司详情
const FormItem = Form.Item;
@Form.create()
export default class BranchCompanyManager extends React.Component {
constructor(props, context) {
super(props, context);
this.state = {
visible: false,
pageParm: { //数据请求 分页信息
pageSize: '10',//缴交情况
pageNumber: "1",
keyWord: "",
startDate:"",
endDate:"",
},
}
}
/******************************生命周期******************************/
componentDidMount = () => {
}
/******************************ajax请求******************************/
/******************************相关事件******************************/
onDateChange = (date, [startDate, endDate]) => {
const {pageParm} = this.state;
pageParm.startDate = startDate;
pageParm.endDate = endDate;
this.setState({pageParm});
}
/******************************render******************************/
renderTable = () => {
const columns1 = [
{
title: '姓名',
dataIndex: 'comName',
key: 'comName',
render: text => {text},
},
{
title: '工号',
dataIndex: 'comCerNo',
key: 'comCerNo',
},
{
title: '所在部门',
dataIndex: 'address',
key: 'address',
},
{
title: '手机号',
dataIndex: 't1',
key: 't1',
},
{
title: '入职日期',
dataIndex: 't3',
key: 't3',
},
{
title: '离职日期',
dataIndex: 't4',
key: 't4',
},
];
{/**/
}
return (
);
}
render() {
const {visible} = this.state;
return (
关键字:
注册日期:
{this.renderTable()}
);
}
}