|
|
@ -10,12 +10,12 @@ import './index.less' |
|
|
|
const WorkFlowApprovalModal = (props) => { |
|
|
|
const { visible, onCancel, webEmis, user, processAuditList, checkProcessInstanceId, successCallBack, type } = props; |
|
|
|
const ifreamUrlMap = useRef({ |
|
|
|
approval: 'approval/info', |
|
|
|
myApply: 'process/my-apply', |
|
|
|
notice: 'process/my-apply', |
|
|
|
hasDone: 'process/my-apply', |
|
|
|
draft: 'process/{processId}/draft', |
|
|
|
submit: 'process/{processId}/apply' |
|
|
|
approval: 'approval/info', // 审批 |
|
|
|
myApply: 'process/my-apply', // 我发起的 |
|
|
|
notice: 'process/my-apply', // 抄送我的 |
|
|
|
hasDone: 'process/my-apply', // 已办的 |
|
|
|
draft: 'process/{processId}/draft', // 草稿 |
|
|
|
submit: 'process/{processId}/apply' // 重新提交 |
|
|
|
}) |
|
|
|
const [loading, setLoading] = useState(true); |
|
|
|
const [ifreamUrl, setIfreamUrl] = useState(''); |
|
|
|