Merge branch 'master' of http://221.226.25.34:3000/liang.cheng/org-chart-frant
This commit is contained in:
commit
e48de02c2e
|
|
@ -79,8 +79,8 @@ export class TopBar extends React.Component {
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<div className={style.topbarWrapper} style={{ display: 'flex' }}>
|
<div className={style.topbarWrapper}>
|
||||||
<Row style={{ flex: 1 }}>
|
<Row>
|
||||||
<Col span={5}>
|
<Col span={5}>
|
||||||
数据日期:
|
数据日期:
|
||||||
<DatePicker
|
<DatePicker
|
||||||
|
|
@ -149,7 +149,7 @@ export class TopBar extends React.Component {
|
||||||
</Select>
|
</Select>
|
||||||
</Col>
|
</Col>
|
||||||
|
|
||||||
<Col span={5} style={{ marginTop: 10 }}>
|
<Col span={3}>
|
||||||
<Checkbox
|
<Checkbox
|
||||||
style={{ marginTop: '5px' }}
|
style={{ marginTop: '5px' }}
|
||||||
onChange={(e) =>
|
onChange={(e) =>
|
||||||
|
|
@ -161,21 +161,21 @@ export class TopBar extends React.Component {
|
||||||
显示虚拟组织
|
显示虚拟组织
|
||||||
</Checkbox>
|
</Checkbox>
|
||||||
</Col>
|
</Col>
|
||||||
|
<Col span={3}>
|
||||||
|
<Button
|
||||||
|
type="primary"
|
||||||
|
style={{ marginRight: '10px' }}
|
||||||
|
onClick={() => {
|
||||||
|
this.props.onSearch(this.state.requestData);
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
查询
|
||||||
|
</Button>
|
||||||
|
<Dropdown overlay={this.menu}>
|
||||||
|
<Button>导出</Button>
|
||||||
|
</Dropdown>
|
||||||
|
</Col>
|
||||||
</Row>
|
</Row>
|
||||||
<div style={{ display: 'flex', maxWidth: '20%' }}>
|
|
||||||
<Button
|
|
||||||
type="primary"
|
|
||||||
style={{ marginRight: '10px' }}
|
|
||||||
onClick={() => {
|
|
||||||
this.props.onSearch(this.state.requestData);
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
查询
|
|
||||||
</Button>
|
|
||||||
<Dropdown overlay={this.menu}>
|
|
||||||
<Button>导出</Button>
|
|
||||||
</Dropdown>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue