中江代码

This commit is contained in:
liyongshun 2022-06-23 16:47:00 +08:00
parent 7e1ed1b848
commit 8a3ff43bb4
1 changed files with 6 additions and 3 deletions

View File

@ -158,9 +158,12 @@ export default class PayrollGrant extends React.Component {
); );
return ( return (
<div style={{display: "inline-block"}}> <div style={{display: "inline-block"}}>
<Button type="primary" style={{marginRight: "1rem"}} onClick={() => {this.handleGrantAll()}}>全部发放</Button> <Button type="primary" style={{marginRight: "10px"}} onClick={() => {this.handleGrantAll()}} disabled={!this.state.btnStatus.can_send}>全部发放</Button>
<Button type="default" style={{marginRight: "1rem"}} onClick={() => {this.handleWithdrawAll()}}>全部撤回</Button> {
<Dropdown.Button style={{marginRight: "1rem"}} overlay={menu}>更多</Dropdown.Button> this.state.btnStatus.show_workflow_status && <Button type="primary" style={{marginRight: "10px"}} onClick={() => {this.handleGrantProxy()}}>发起流程</Button>
}
<Button type="default" style={{marginRight: "10px"}} onClick={() => {this.handleWithdrawAll()}}>全部撤回</Button>
<Dropdown.Button style={{marginRight: "10px"}} overlay={menu}>更多</Dropdown.Button>
</div> </div>
) )
} }