摩根项目二开
This commit is contained in:
parent
4997d90175
commit
8afd0357ce
|
|
@ -28,6 +28,7 @@ export class TopBar extends React.Component {
|
|||
root: '0',
|
||||
level: '3',
|
||||
fisvitual: '0',
|
||||
outkey: '0',
|
||||
},
|
||||
};
|
||||
}
|
||||
|
|
@ -78,6 +79,7 @@ export class TopBar extends React.Component {
|
|||
);
|
||||
|
||||
render() {
|
||||
const { type } = this.props;
|
||||
return (
|
||||
<div className={style.topbarWrapper}>
|
||||
<Row>
|
||||
|
|
@ -143,6 +145,7 @@ export class TopBar extends React.Component {
|
|||
value={this.state.requestData.level}
|
||||
onChange={(value) => this.handleFormChange({ level: value })}
|
||||
>
|
||||
{type == 'company' && <Option value="0">查询全部</Option>}
|
||||
<Option value="1">一级</Option>
|
||||
<Option value="2">二级</Option>
|
||||
<Option value="3">三级</Option>
|
||||
|
|
@ -162,6 +165,20 @@ export class TopBar extends React.Component {
|
|||
显示虚拟组织
|
||||
</Checkbox>
|
||||
</Col>
|
||||
{type == 'company' && (
|
||||
<Col span={6}>
|
||||
<Checkbox
|
||||
style={{ marginTop: '5px' }}
|
||||
onChange={(e) =>
|
||||
this.handleFormChange({
|
||||
outkey: e.target.checked ? '1' : '0',
|
||||
})
|
||||
}
|
||||
>
|
||||
显示外部组织
|
||||
</Checkbox>
|
||||
</Col>
|
||||
)}
|
||||
<Col span={6}>
|
||||
<Button
|
||||
type="primary"
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ export default function userPage() {
|
|||
// 获取数据
|
||||
useEffect(() => {
|
||||
document.cookie =
|
||||
'Webstorm-3d4d3ad4=b8ca5bef-a131-4c2b-81da-6f8595481dc2; ecology_JSessionid=aaad2HRSW843U9BJFcUuy; JSESSIONID=aaad2HRSW843U9BJFcUuy; loginidweaver=1; languageidweaver=7; loginuuids=1; __randcode__=47f1e1cc-51de-48b3-af04-3875b717805f';
|
||||
'Webstorm-3d4d3ad4=b8ca5bef-a131-4c2b-81da-6f8595481dc2; ecology_JSessionid=aaa8JETFTQnfXbKbpx9wy; JSESSIONID=aaa8JETFTQnfXbKbpx9wy; loginidweaver=1; languageidweaver=7; loginuuids=1; __randcode__=03d5b412-dc79-4318-ba3c-6d848fcec227';
|
||||
d3.json(
|
||||
// "/user/data"
|
||||
'/api/bs/hrmorganization/orgchart/userData?fclass=0&root=0&date=' +
|
||||
|
|
|
|||
Loading…
Reference in New Issue