抽屉式顶部样式修改
This commit is contained in:
parent
1a676ab4a8
commit
e100a542e1
|
|
@ -16,6 +16,7 @@ import { message } from 'antd';
|
|||
import jsPDF from 'jspdf';
|
||||
import ExportJsonExcel from 'js-export-excel';
|
||||
import './index.less';
|
||||
import { CodepenCircleOutlined } from '@ant-design/icons';
|
||||
|
||||
let addNodeChildFunc = null;
|
||||
let orgChart = null;
|
||||
|
|
@ -341,7 +342,16 @@ export default class DrawerComponents extends React.Component {
|
|||
|
||||
return (
|
||||
<Drawer
|
||||
title="详细信息"
|
||||
title={
|
||||
<>
|
||||
<CodepenCircleOutlined
|
||||
style={{ color: '#0086ff', fontSize: '16px' }}
|
||||
/>
|
||||
<span style={{ marginLeft: '5px', color: '#0086ff' }}>
|
||||
部门详情
|
||||
</span>
|
||||
</>
|
||||
}
|
||||
width={1100}
|
||||
onClose={this.onClose}
|
||||
open={open}
|
||||
|
|
@ -372,11 +382,9 @@ export default class DrawerComponents extends React.Component {
|
|||
<Dropdown overlay={menu}>
|
||||
<Button type="primary">导出</Button>
|
||||
</Dropdown>
|
||||
<img
|
||||
style={{ width: 36, height: 36, cursor: 'pointer' }}
|
||||
src="./img/change.png"
|
||||
onClick={this.changeDetail}
|
||||
/>
|
||||
<Button type="primary" onClick={this.changeDetail}>
|
||||
切换
|
||||
</Button>
|
||||
</Space>
|
||||
}
|
||||
>
|
||||
|
|
|
|||
Loading…
Reference in New Issue