feat: 显示虚拟组织
This commit is contained in:
parent
1955d81162
commit
fcfe3ab764
|
|
@ -28,7 +28,6 @@ export class TopBar extends React.Component {
|
|||
root: '0',
|
||||
level: '3',
|
||||
fisvitual: '0',
|
||||
isvitual: '0',
|
||||
},
|
||||
colSpan: props.type == 'user' ? 5 : 4,
|
||||
};
|
||||
|
|
@ -153,23 +152,19 @@ export class TopBar extends React.Component {
|
|||
|
||||
{this.props.type == 'company' && (
|
||||
<Col span={this.state.colSpan}>
|
||||
组织:
|
||||
<Select
|
||||
defaultValue="0"
|
||||
style={{ width: 120 }}
|
||||
value={this.state.requestData.isvitual}
|
||||
onChange={(value) => this.handleFormChange({ isvitual: value })}
|
||||
<Checkbox
|
||||
style={{ marginTop: '5px' }}
|
||||
onChange={(e) =>
|
||||
this.handleFormChange({
|
||||
fisvitual: e.target.checked ? '1' : '0',
|
||||
})
|
||||
}
|
||||
>
|
||||
<Option value="0">实体组织</Option>
|
||||
<Option value="1">虚拟组织</Option>
|
||||
</Select>
|
||||
显示虚拟组织
|
||||
</Checkbox>
|
||||
</Col>
|
||||
)}
|
||||
|
||||
{/* <Col span={4}>
|
||||
<Checkbox style={{ marginTop: "5px" }} onChange={(e) => this.handleFormChange({fisvitual: e.target.checked ? "1": "0"})}>显示虚拟组织</Checkbox>
|
||||
</Col> */}
|
||||
|
||||
<Col span={4}>
|
||||
<Button
|
||||
type="primary"
|
||||
|
|
|
|||
Loading…
Reference in New Issue