custom/上海港湾-工资单查看添加领导查询下属的功能

This commit is contained in:
黎永顺 2023-11-30 09:35:57 +08:00
parent a97d782098
commit 7eadce16ff
1 changed files with 7 additions and 3 deletions

View File

@ -108,9 +108,13 @@ class Index extends Component {
return (
<WeaLeftRightLayout
isNew={true} leftWidth={200} height="100%" checkedKeys={[]}
leftCom={<WeaTree
style={{ height: "100%" }} datas={juniorMapList}
onSelect={([employeeId]) => this.setState({ employeeId }, () => this.getMySalaryBillList(this.props))}/>}
leftCom={
<div style={{ height: "100%", overflow: "hidden auto" }}>
<WeaTree
style={{ height: "100%" }} datas={juniorMapList}
onSelect={([employeeId]) => this.setState({ employeeId }, () => this.getMySalaryBillList(this.props))}/>
</div>
}
>
<WeaTable rowKey="id" dataSource={dataSource} pagination={pagination}
scroll={{ x: 1200, y: `calc(100vh - 166px)` }}