| | |
| | | const VerifyExcelIn = asyncSpinComponent(() => import('@/templates/sharecomponent/actioncomponent/verifyexcelin')) |
| | | const VerifyExcelOut = asyncSpinComponent(() => import('@/templates/sharecomponent/actioncomponent/verifyexcelout')) |
| | | const VerifyMegvii = asyncSpinComponent(() => import('@/templates/sharecomponent/actioncomponent/verifymegvii')) |
| | | const VerifyPay = asyncSpinComponent(() => import('@/templates/sharecomponent/actioncomponent/verifypay')) |
| | | |
| | | class ActionComponent extends Component { |
| | | static propTpyes = { |
| | |
| | | verifySubmit = () => { |
| | | const { config } = this.props |
| | | const { card } = this.state |
| | | |
| | | |
| | | this.verifyRef.handleConfirm().then(res => { |
| | | let _actionlist = fromJS(this.state.actionlist).toJS() |
| | | _actionlist = _actionlist.filter(item => !item.origin || item.uuid === card.uuid) |
| | |
| | | columns={config.columns} |
| | | wrappedComponentRef={(inst) => this.verifyRef = inst} |
| | | /> |
| | | } else if (card.payMode === 'system') { |
| | | return <VerifyPay |
| | | card={card} |
| | | columns={config.columns} |
| | | wrappedComponentRef={(inst) => this.verifyRef = inst} |
| | | /> |
| | | } |
| | | } |
| | | |