| | |
| | | FieldRadio, |
| | | } from '@bole-core/components'; |
| | | import { useAccess, useGlobalEventContext } from '@/hooks'; |
| | | import * as flexEnterpriseServices from '@/services/api/FlexEnterprise'; |
| | | import { |
| | | SearchType, |
| | | FlexEnterpriseSettingStatusText, |
| | |
| | | import ConfigureDialog from './components/ConfigureDialog.vue'; |
| | | import { OrderInputType, Message } from '@bole-core/core'; |
| | | import { useQueryClient } from '@tanstack/vue-query'; |
| | | import { useSearchSettingType } from '@/hooks'; |
| | | |
| | | defineOptions({ |
| | | name: 'EnterpriseManageList', |
| | |
| | | loading: true, |
| | | }; |
| | | const queryClient = useQueryClient(); |
| | | const { searchSettingTypeList: typeList } = useSearchSettingType({ |
| | | searchType: SearchType.IndustryCategory, |
| | | }); |
| | | const typeList = ref([]); |
| | | |
| | | const state = reactive({ ...BaseState }); |
| | | |
| | |
| | | { |
| | | 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: '', |