|  | @@ -17,6 +17,7 @@ const FlowDrawer = () => {
 | 
												
													
														
															|  |    const { flowState, dispatch } = useContext(FlowContext)
 |  |    const { flowState, dispatch } = useContext(FlowContext)
 | 
												
													
														
															|  |    const { modalConfig: { nodeID = null, visible = false } = {}, dataID } = flowState
 |  |    const { modalConfig: { nodeID = null, visible = false } = {}, dataID } = flowState
 | 
												
													
														
															|  |    const [state, setState] = useState({
 |  |    const [state, setState] = useState({
 | 
												
													
														
															|  | 
 |  | +    loading: false,
 | 
												
													
														
															|  |      institutionList: [],
 |  |      institutionList: [],
 | 
												
													
														
															|  |      approvalWay: ApprovalWay.ACCOUNT,
 |  |      approvalWay: ApprovalWay.ACCOUNT,
 | 
												
													
														
															|  |      accounts: [],
 |  |      accounts: [],
 | 
												
											
												
													
														
															|  | @@ -62,6 +63,7 @@ const FlowDrawer = () => {
 | 
												
													
														
															|  |    }
 |  |    }
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  |    const handleOnOk = async () => {
 |  |    const handleOnOk = async () => {
 | 
												
													
														
															|  | 
 |  | +    setState({ ...state, loading: true })
 | 
												
													
														
															|  |      const { approvalWay, accounts } = state
 |  |      const { approvalWay, accounts } = state
 | 
												
													
														
															|  |      if (!accounts.every(item => item.institutionID && item.ID)) {
 |  |      if (!accounts.every(item => item.institutionID && item.ID)) {
 | 
												
													
														
															|  |        setState({
 |  |        setState({
 | 
												
											
												
													
														
															|  | @@ -101,6 +103,7 @@ const FlowDrawer = () => {
 | 
												
													
														
															|  |        }, 80)
 |  |        }, 80)
 | 
												
													
														
															|  |        handleCancel()
 |  |        handleCancel()
 | 
												
													
														
															|  |      }
 |  |      }
 | 
												
													
														
															|  | 
 |  | +    setState({ ...state, loading: false })
 | 
												
													
														
															|  |    }
 |  |    }
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  |    // 添加用户-参与者卡片
 |  |    // 添加用户-参与者卡片
 | 
												
											
												
													
														
															|  | @@ -185,6 +188,7 @@ const FlowDrawer = () => {
 | 
												
													
														
															|  |            <Button
 |  |            <Button
 | 
												
													
														
															|  |              className="ml-8px"
 |  |              className="ml-8px"
 | 
												
													
														
															|  |              type="primary"
 |  |              type="primary"
 | 
												
													
														
															|  | 
 |  | +            loading={state.loading}
 | 
												
													
														
															|  |              disabled={!state.accounts.length}
 |  |              disabled={!state.accounts.length}
 | 
												
													
														
															|  |              onClick={handleOnOk}>
 |  |              onClick={handleOnOk}>
 | 
												
													
														
															|  |              确定
 |  |              确定
 |