| | |
| | | import BackModel from "./BackModel"; |
| | | import { Scrollbars } from "react-custom-scrollbars"; |
| | | import { getOffset, getSize } from '@/utils/utility'; |
| | | import EscalationModel from './EscalationModel'; |
| | | import AssignedModel from './AssignedModel'; |
| | | |
| | | const TabPane = Tabs.TabPane; |
| | | |
| | |
| | | const scrollRef = useRef(null) |
| | | const [backVisible, setBackVisible] = useState(false) |
| | | const [height, setHeight] = useState(500) |
| | | const [escalationVisible, setEscalationVisible] = useState(false) |
| | | const [assignedVisible, setAssignedVisible] = useState(false) |
| | | |
| | | useEffect(() => { |
| | | onWindowResize() |
| | |
| | | <Button type="primary" >提交</Button> |
| | | <Button type="primary" >自行受理</Button> |
| | | <Button type='outline' status='danger' onClick={() => setBackVisible(true)}>回退</Button> |
| | | <Button type='outline'>交办</Button> |
| | | <Button type='outline'>上报</Button> |
| | | <Button type='outline' onClick={() => setAssignedVisible(true)}>交办</Button> |
| | | <Button type='outline' onClick={() => setEscalationVisible(true)}>上报</Button> |
| | | <Button type='secondary' >返回上级页面</Button> |
| | | </Space> |
| | | </div> |
| | |
| | | > |
| | | <BackModel /> |
| | | </Modal> |
| | | <Modal |
| | | title='上报' |
| | | visible={escalationVisible} |
| | | onOk={() => setEscalationVisible(false)} |
| | | onCancel={() => { setEscalationVisible(false) }} |
| | | autoFocus={false} |
| | | focusLock={true} |
| | | footer={null} |
| | | unmountOnExit={true} |
| | | maskClosable={false} |
| | | > |
| | | <EscalationModel /> |
| | | </Modal> |
| | | <Modal |
| | | title='交办' |
| | | visible={assignedVisible} |
| | | onOk={() => setAssignedVisible(false)} |
| | | onCancel={() => { setAssignedVisible(false) }} |
| | | footer={null} |
| | | unmountOnExit={true} |
| | | maskClosable={false} |
| | | > |
| | | <AssignedModel /> |
| | | </Modal> |
| | | </div> |
| | | ) |
| | | } |