Merge branch 'feature/orgChart'
This commit is contained in:
commit
430ce7d3da
|
|
@ -79,9 +79,9 @@ export class TopBar extends React.Component {
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<div className={style.topbarWrapper}>
|
<div className={style.topbarWrapper} style={{ display: 'flex' }}>
|
||||||
<Row>
|
<Row style={{ flex: 1 }}>
|
||||||
<Col span={4}>
|
<Col span={5}>
|
||||||
数据日期:
|
数据日期:
|
||||||
<DatePicker
|
<DatePicker
|
||||||
placeholder="请选择日期"
|
placeholder="请选择日期"
|
||||||
|
|
@ -103,7 +103,7 @@ export class TopBar extends React.Component {
|
||||||
/>
|
/>
|
||||||
</Col>
|
</Col>
|
||||||
|
|
||||||
<Col span={4}>
|
<Col span={5}>
|
||||||
维度:
|
维度:
|
||||||
<Select
|
<Select
|
||||||
defaultValue="0"
|
defaultValue="0"
|
||||||
|
|
@ -117,7 +117,7 @@ export class TopBar extends React.Component {
|
||||||
</Select>
|
</Select>
|
||||||
</Col>
|
</Col>
|
||||||
|
|
||||||
<Col span={4}>
|
<Col span={5}>
|
||||||
根节点:
|
根节点:
|
||||||
<Select
|
<Select
|
||||||
showSearch
|
showSearch
|
||||||
|
|
@ -135,7 +135,7 @@ export class TopBar extends React.Component {
|
||||||
</Select>
|
</Select>
|
||||||
</Col>
|
</Col>
|
||||||
|
|
||||||
<Col span={4}>
|
<Col span={5}>
|
||||||
显示层级:
|
显示层级:
|
||||||
<Select
|
<Select
|
||||||
defaultValue="3"
|
defaultValue="3"
|
||||||
|
|
@ -149,7 +149,7 @@ export class TopBar extends React.Component {
|
||||||
</Select>
|
</Select>
|
||||||
</Col>
|
</Col>
|
||||||
|
|
||||||
<Col span={4}>
|
<Col span={5} style={{ marginTop: 10 }}>
|
||||||
<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={4}>
|
|
||||||
<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