| | |
| | | }, []) |
| | | |
| | | const onWindowResize = () => { |
| | | let offsetLeft = 0; |
| | | let offsetTop = 0; |
| | | if (scrollRef.current.container) { |
| | | offsetLeft = getOffset(scrollRef.current.container).left; |
| | | offsetTop = getOffset(scrollRef.current.container).top; |
| | | } |
| | | setHeight(getSize().windowH - offsetTop - 16) |
| | |
| | | title={ |
| | | <span style={{ fontSize: '15px' }}> |
| | | 督办信息 |
| | | <Badge maxCount={99} count={1000} /> |
| | | {/* <Badge maxCount={99} count={1000} /> */} |
| | | </span> |
| | | } |
| | | > |
| | |
| | | unmountOnExit={true} |
| | | maskClosable={false} |
| | | > |
| | | <BackModel caseId={props.caseId} onCancel={() => { setBackVisible(false) }} /> |
| | | <BackModel caseId={props.caseId} caseTaskId={props.caseTaskId} onCancel={() => { setBackVisible(false) }} /> |
| | | </Modal> |
| | | <Modal |
| | | title='上报' |
| | |
| | | unmountOnExit={true} |
| | | maskClosable={false} |
| | | > |
| | | <EscalationModel caseId={props.caseId} onCancel={() => { setEscalationVisible(false) }} /> |
| | | <EscalationModel caseId={props.caseId} caseTaskId={props.caseTaskId} onCancel={() => { setEscalationVisible(false) }} /> |
| | | </Modal> |
| | | <Modal |
| | | title='交办' |