| | |
| | | { |
| | | defaultExtraParams: { |
| | | searchWord: '', |
| | | orderInput: [{ property: 'id', order: OrderInputType.Asc }], |
| | | orderInput: [{ property: 'id', order: OrderInputType.Desc }], |
| | | flexEnterpriseSettingStatus: '' as any as FlexEnterpriseSettingStatus, |
| | | }, |
| | | queryKey: ['flexEnterpriseServices/getFlexEnterpriseList'], |
| | |
| | | if (row) { |
| | | handleEdit({ |
| | | id: row.id, |
| | | enterpriseConfigureType: EnterpriseConfigureType.Bank, |
| | | flexEnterpirseId: row.id, |
| | | openBank: row.cityName, |
| | | openBranchBank: row.cityName, |
| | | bankAccount: row.cityName, |
| | | verifyStatus: VerifyStatus.NotVerify, |
| | | signChannel: SignChannelEnum.Alipay, |
| | | chargeType: ChargeTypeEnum.Group, |
| | | realVerifyCost: 0, |
| | | signCost: 0, |
| | | mergeSignCost: 0, |
| | | messageCost: 0, |
| | | messageChannel: MessageChannelEnum.Alipay, |
| | | openBank: row.flexEnterpriseBankDto?.openBank, |
| | | openBranchBank: row.flexEnterpriseBankDto?.openBranchBank, |
| | | bankAccount: row.flexEnterpriseBankDto?.bankAccount, |
| | | verifyStatus: row.flexEnterpriseBankDto?.verifyStatus, |
| | | signChannel: row.enterpriseSignSettingDto?.signChannel, |
| | | chargeType: row.enterpriseSignSettingDto?.chargeType, |
| | | realVerifyCost: row.enterpriseSignSettingDto?.realVerifyCost ?? 0, |
| | | signCost: row.enterpriseSignSettingDto?.signCost ?? 0, |
| | | mergeSignCost: row.enterpriseSignSettingDto?.mergeSignCost ?? 0, |
| | | messageCost: row.flexEnterpriseMessageSettingDto?.messageCost ?? 0, |
| | | messageChannel: row.flexEnterpriseMessageSettingDto?.messageChannel, |
| | | }); |
| | | } else { |
| | | handleAdd({}); |
| | | handleAdd({ |
| | | enterpriseConfigureType: EnterpriseConfigureType.Bank, |
| | | }); |
| | | } |
| | | } |
| | | |
| | |
| | | defaultFormParams: { |
| | | id: '', |
| | | flexEnterpirseId: '', |
| | | enterpriseConfigureType: '' as any as EnterpriseConfigureType, |
| | | openBank: '', |
| | | openBranchBank: '', |
| | | bankAccount: '', |