|
|
|
@ -35,6 +35,7 @@ export class TopBar extends React.Component {
|
|
|
|
|
root: undefined,
|
|
|
|
|
level: '2',
|
|
|
|
|
fisvitual: '0',
|
|
|
|
|
hidedept: '0',
|
|
|
|
|
},
|
|
|
|
|
open: false,
|
|
|
|
|
confirmLoading: false,
|
|
|
|
@ -234,22 +235,22 @@ export class TopBar extends React.Component {
|
|
|
|
|
<Col span={6}>
|
|
|
|
|
<Checkbox
|
|
|
|
|
style={{ marginTop: '5px', marginLeft: 100 }}
|
|
|
|
|
checked={this.state.requestData.fisvitual == '1'}
|
|
|
|
|
checked={this.state.requestData.hidedept == '1'}
|
|
|
|
|
onChange={(e) =>
|
|
|
|
|
this.handleFormChange({
|
|
|
|
|
fisvitual: e.target.checked ? '1' : '0',
|
|
|
|
|
hidedept: e.target.checked ? '1' : '0',
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
>
|
|
|
|
|
显示虚拟组织
|
|
|
|
|
隐藏部门
|
|
|
|
|
</Checkbox>
|
|
|
|
|
<Tooltip
|
|
|
|
|
title="提示:若启用虚拟组织,需要在分部自定义表增加字段(名称 fblx) 字段类型 下拉框(0实体 1虚拟) 部门自定义表同上(字段名称 bmlx)。"
|
|
|
|
|
color="#FF7F00"
|
|
|
|
|
title="提示:开启后将只显示分部组织架构!!!"
|
|
|
|
|
color="#0082fb"
|
|
|
|
|
placement="rightTop"
|
|
|
|
|
>
|
|
|
|
|
<QuestionCircleOutlined
|
|
|
|
|
style={{ color: '#FF7F00', cursor: 'pointer', fontSize: 16 }}
|
|
|
|
|
style={{ color: '#0082fb', cursor: 'pointer', fontSize: 16 }}
|
|
|
|
|
/>
|
|
|
|
|
</Tooltip>
|
|
|
|
|
</Col>
|
|
|
|
@ -269,6 +270,28 @@ export class TopBar extends React.Component {
|
|
|
|
|
</Col>
|
|
|
|
|
</Row>
|
|
|
|
|
<Row style={{ marginTop: '15px' }}>
|
|
|
|
|
<Col span={6}>
|
|
|
|
|
<Checkbox
|
|
|
|
|
style={{ marginTop: '5px' }}
|
|
|
|
|
checked={this.state.requestData.fisvitual == '1'}
|
|
|
|
|
onChange={(e) =>
|
|
|
|
|
this.handleFormChange({
|
|
|
|
|
fisvitual: e.target.checked ? '1' : '0',
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
>
|
|
|
|
|
显示虚拟组织
|
|
|
|
|
</Checkbox>
|
|
|
|
|
<Tooltip
|
|
|
|
|
title="提示:若启用虚拟组织,需要在分部自定义表增加字段(名称 fblx) 字段类型 下拉框(0实体 1虚拟) 部门自定义表同上(字段名称 bmlx)。"
|
|
|
|
|
color="#0082fb"
|
|
|
|
|
placement="rightTop"
|
|
|
|
|
>
|
|
|
|
|
<QuestionCircleOutlined
|
|
|
|
|
style={{ color: '#0082fb', cursor: 'pointer', fontSize: 16 }}
|
|
|
|
|
/>
|
|
|
|
|
</Tooltip>
|
|
|
|
|
</Col>
|
|
|
|
|
<Col span={8}>
|
|
|
|
|
<Button
|
|
|
|
|
type="primary"
|
|
|
|
|