|
|
|
@ -217,7 +217,7 @@ export class TopBar extends React.Component {
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
render() {
|
|
|
|
|
const { disabled, type } = this.props;
|
|
|
|
|
const { disabled, type, timelineId } = this.props;
|
|
|
|
|
const {
|
|
|
|
|
rootTreeData,
|
|
|
|
|
open,
|
|
|
|
@ -247,28 +247,30 @@ export class TopBar extends React.Component {
|
|
|
|
|
treeIcon
|
|
|
|
|
/>
|
|
|
|
|
</Col>
|
|
|
|
|
<Col span={6}>
|
|
|
|
|
<Checkbox
|
|
|
|
|
style={{ marginTop: '5px', marginLeft: 60 }}
|
|
|
|
|
checked={showClass == '1'}
|
|
|
|
|
onChange={(e) =>
|
|
|
|
|
this.handleFormChange({
|
|
|
|
|
showClass: e.target.checked ? '1' : '0',
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
>
|
|
|
|
|
显示班组
|
|
|
|
|
</Checkbox>
|
|
|
|
|
<Tooltip
|
|
|
|
|
title="提示:开启后将显示班组信息"
|
|
|
|
|
color="#0082fb"
|
|
|
|
|
placement="rightTop"
|
|
|
|
|
>
|
|
|
|
|
<QuestionCircleOutlined
|
|
|
|
|
style={{ color: '#0082fb', cursor: 'pointer', fontSize: 16 }}
|
|
|
|
|
/>
|
|
|
|
|
</Tooltip>
|
|
|
|
|
</Col>
|
|
|
|
|
{timelineId == 0 && (
|
|
|
|
|
<Col span={6}>
|
|
|
|
|
<Checkbox
|
|
|
|
|
style={{ marginTop: '5px', marginLeft: 60 }}
|
|
|
|
|
checked={showClass == '1'}
|
|
|
|
|
onChange={(e) =>
|
|
|
|
|
this.handleFormChange({
|
|
|
|
|
showClass: e.target.checked ? '1' : '0',
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
>
|
|
|
|
|
显示班组
|
|
|
|
|
</Checkbox>
|
|
|
|
|
<Tooltip
|
|
|
|
|
title="提示:开启后将显示班组信息"
|
|
|
|
|
color="#0082fb"
|
|
|
|
|
placement="rightTop"
|
|
|
|
|
>
|
|
|
|
|
<QuestionCircleOutlined
|
|
|
|
|
style={{ color: '#0082fb', cursor: 'pointer', fontSize: 16 }}
|
|
|
|
|
/>
|
|
|
|
|
</Tooltip>
|
|
|
|
|
</Col>
|
|
|
|
|
)}
|
|
|
|
|
|
|
|
|
|
<Col span={6}>
|
|
|
|
|
<Checkbox
|
|
|
|
@ -308,21 +310,23 @@ export class TopBar extends React.Component {
|
|
|
|
|
</Col>
|
|
|
|
|
</Row>
|
|
|
|
|
<Row style={{ marginTop: '15px' }}>
|
|
|
|
|
<Col span={6}>
|
|
|
|
|
部门节点:
|
|
|
|
|
<TreeSelect
|
|
|
|
|
treeDataSimpleMode
|
|
|
|
|
allowClear
|
|
|
|
|
style={{ width: '75%' }}
|
|
|
|
|
value={department}
|
|
|
|
|
dropdownStyle={{ maxHeight: 400, overflow: 'auto' }}
|
|
|
|
|
placeholder="请选择"
|
|
|
|
|
onChange={this.onDeptChange}
|
|
|
|
|
treeData={deptTreeData}
|
|
|
|
|
treeIcon
|
|
|
|
|
/>
|
|
|
|
|
</Col>
|
|
|
|
|
<Col span={8} style={{ textAlign: 'center' }}>
|
|
|
|
|
{timelineId == 0 && (
|
|
|
|
|
<Col span={6}>
|
|
|
|
|
部门节点:
|
|
|
|
|
<TreeSelect
|
|
|
|
|
treeDataSimpleMode
|
|
|
|
|
allowClear
|
|
|
|
|
style={{ width: '75%' }}
|
|
|
|
|
value={department}
|
|
|
|
|
dropdownStyle={{ maxHeight: 400, overflow: 'auto' }}
|
|
|
|
|
placeholder="请选择"
|
|
|
|
|
onChange={this.onDeptChange}
|
|
|
|
|
treeData={deptTreeData}
|
|
|
|
|
treeIcon
|
|
|
|
|
/>
|
|
|
|
|
</Col>
|
|
|
|
|
)}
|
|
|
|
|
<Col span={6} style={{ textAlign: 'center' }}>
|
|
|
|
|
<Button
|
|
|
|
|
type="primary"
|
|
|
|
|
style={{ marginRight: '10px' }}
|
|
|
|
|