'use strict'; import React from 'react'; import { connect } from 'react-redux'; import { Modal, Spin, Notification, Row, Space, Button } from '@douyinfe/semi-ui'; import { EmisRequest, EmisApiTable } from '$utils'; import { useState } from 'react'; import { useEffect } from 'react'; import { IconClose } from '@douyinfe/semi-icons'; import './index.less' const WorkFlowApprovalModal = (props) => { const { visible, onCancel, webEmis, user, postData } = props; const [loading, setLoading] = useState(true); const iframeRef = React.createRef(); return (
| 让世间万物拥有感知,服务人类社会于美好 { onCancel && onCancel(); setLoading(false); }} />
{ // webEmis && processId || 1 ? : '' }
) } function mapStateToProps (state) { const { auth, global } = state; return { user: auth.user, clientHeight: global.clientHeight, webEmis: global.webEmis, webOa: global.webOa } } export default connect(mapStateToProps)(WorkFlowApprovalModal);