| | |
| | | [FinanceTypeEnum.Recharge]: '预充值金额', |
| | | [FinanceTypeEnum.PlatReward]: '平台奖励', |
| | | }; |
| | | |
| | | export enum TransferToStatusEnum { |
| | | /** 待发放*/ |
| | | WaitingForTransfer = 1, |
| | | /** 已发放*/ |
| | | HasTransfer = 2, |
| | | } |
| | | |
| | | export const TransferToStatusEnumText = { |
| | | [TransferToStatusEnum.WaitingForTransfer]: '待发放', |
| | | [TransferToStatusEnum.HasTransfer]: '已发放', |
| | | }; |
| | | |
| | | export enum FinanceStatusEnum { |
| | | /** 拨付待登记*/ |
| | | WaitForSettle = 1, |
| | | /** 拨付已登记*/ |
| | | HasSettle = 2, |
| | | /** 已上传凭证*/ |
| | | HasBill = 3, |
| | | } |
| | | |
| | | export const FinanceStatusEnumText = { |
| | | [FinanceStatusEnum.WaitForSettle]: '待拨付', |
| | | [FinanceStatusEnum.HasSettle]: '已拨付', |
| | | [FinanceStatusEnum.HasBill]: '已拨付', |
| | | }; |
| | | |
| | | export enum EnterpriseRechargeStatusEnum { |
| | | /** 待审核*/ |
| | | WaitCheck = 10, |
| | | /** 审核通过*/ |
| | | CheckPassed = 20, |
| | | /** 审核未通过*/ |
| | | CheckReject = 30, |
| | | } |
| | | |
| | | export const EnterpriseRechargeStatusEnumText = { |
| | | [EnterpriseRechargeStatusEnum.WaitCheck]: '待审核', |
| | | [EnterpriseRechargeStatusEnum.CheckPassed]: '审核通过', |
| | | [EnterpriseRechargeStatusEnum.CheckReject]: '审核未通过', |
| | | }; |
| | | |
| | | export const EnterpriseRechargeStatusEnumTextWithdrawal = { |
| | | [EnterpriseRechargeStatusEnum.WaitCheck]: '待审核', |
| | | [EnterpriseRechargeStatusEnum.CheckPassed]: '已拨付', |
| | | [EnterpriseRechargeStatusEnum.CheckReject]: '审核未通过', |
| | | }; |
| | | |
| | | export enum EnterprisePrechargeInComeStatusEnum { |
| | | /** 未入账*/ |
| | | NotInCome = 10, |
| | | /** 已入账*/ |
| | | HasInCome = 20, |
| | | } |
| | | |
| | | export const EnterprisePrechargeInComeStatusEnumText = { |
| | | [EnterprisePrechargeInComeStatusEnum.NotInCome]: '未入账', |
| | | [EnterprisePrechargeInComeStatusEnum.HasInCome]: '已入账', |
| | | }; |
| | |
| | | |
| | | /** 奖励金-出账 POST /api/ParkBountyApply/AuditParkBountyApplyTrade */ |
| | | export async function auditParkBountyApplyTrade( |
| | | body: API.AuditParkBountyTradeInput, |
| | | body: API.SyncAuditParkBountyTradeInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/ParkBountyApply/AuditParkBountyApplyTrade', { |
| | |
| | | |
| | | /** 奖励金-出账-财务审批 POST /api/ParkBountyApply/FinanceAuditParkBountyApplyTrade */ |
| | | export async function financeAuditParkBountyApplyTrade( |
| | | body: API.AuditParkBountyTradeInput, |
| | | body: API.SyncFinanceAuditParkBountyTradeInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/ParkBountyApply/FinanceAuditParkBountyApplyTrade', { |
| | |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 此处后端没有提供注释 POST /api/ParkBountyApply/GetEnterpriseDrawWithList */ |
| | | export async function getEnterpriseDrawWithList( |
| | | body: API.GetEnterpriseDrawWithListInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetEnterpriseDrawWithListOutputPageOutput>( |
| | | '/api/ParkBountyApply/GetEnterpriseDrawWithList', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 此处后端没有提供注释 POST /api/ParkBountyApply/GetEnterprisePrechargeList */ |
| | | export async function getEnterprisePrechargeList(body: API.PageInput, options?: API.RequestConfig) { |
| | | return request<API.GetEnterprisePrechargeListOutputPageOutput>( |
| | | '/api/ParkBountyApply/GetEnterprisePrechargeList', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 运营端-奖励进出账详情 POST /api/ParkBountyApply/GetParkBountyTradeDetailList */ |
| | |
| | | ); |
| | | } |
| | | |
| | | /** 此处后端没有提供注释 POST /api/ParkBountyApply/GetParkCustomerBountyFinanceList */ |
| | | export async function getParkCustomerBountyFinanceList( |
| | | body: API.QueryParkCustomerBountyApplyInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetParkCustomerBountyFinanceOutputPageOutput>( |
| | | '/api/ParkBountyApply/GetParkCustomerBountyFinanceList', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 园区客户管理奖励金发放记录 POST /api/ParkBountyApply/GetParkCustomerBountySettleList */ |
| | | export async function getParkCustomerBountySettleList( |
| | | body: API.QueryParkCustomerBountyApplyInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetParkCustomerBountySettleOutputPageOutput>( |
| | | '/api/ParkBountyApply/GetParkCustomerBountySettleList', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 运营端—奖励金-出账 POST /api/ParkBountyApply/ParkBountyApplyTrade */ |
| | | export async function parkBountyApplyTrade( |
| | | body: API.CreateParkBountyTradeInput, |
| | |
| | | interface AuditParkBountyTradeBySelfInput { |
| | | /** 出账记录Id */ |
| | | id?: string; |
| | | /** 818出账记录Id */ |
| | | parkBountyApplyDetailId?: string; |
| | | selfAuditStatus?: EnumParkBountyTradeDetailAuditStatus; |
| | | /** 审核备注 */ |
| | | selfAuditRemark?: string; |
| | | /** 审核凭证 */ |
| | | selfAuditFileUrl?: string; |
| | | } |
| | | |
| | | interface AuditParkBountyTradeInput { |
| | | /** 出账记录Id */ |
| | | id?: string; |
| | | auditStatus?: EnumParkBountyTradeDetailAuditStatus; |
| | | /** 审核备注 */ |
| | | auditRemark?: string; |
| | | /** 审核凭证 */ |
| | | payAuditFileUrl?: string; |
| | | } |
| | | |
| | | interface BaseAuthorizeDto { |
| | |
| | | interface BatchSyncUserAmountInput { |
| | | items?: SyncUserAmountInput[]; |
| | | } |
| | | |
| | | type BountyCheckStatusEnum = 10 | 20 | 30 | -10; |
| | | |
| | | interface ChangePasswordInput { |
| | | currentPassword?: string; |
| | |
| | | downsizingInsuranceList?: string[]; |
| | | } |
| | | |
| | | type EnterprisePrechargeInComeStatusEnum = 10 | 20; |
| | | |
| | | type EnterpriseRechargeStatusEnum = 10 | 20 | 30; |
| | | |
| | | interface EntityExtensionDto { |
| | | properties?: Record<string, any>; |
| | | configuration?: Record<string, any>; |
| | |
| | | url?: string; |
| | | } |
| | | |
| | | type FinanceStatusEnum = 1 | 2 | 3; |
| | | |
| | | type FinanceTypeEnum = 10 | 20; |
| | | |
| | | interface GetEffectingStaffListInput { |
| | | claimDateTime?: string; |
| | | idNumber?: string; |
| | | } |
| | | |
| | | interface GetEnterpriseDrawWithListInput { |
| | | pageModel?: Pagination; |
| | | keyWord?: string; |
| | | beginDateTime?: string; |
| | | endDateTime?: string; |
| | | enterpriseId?: string; |
| | | checkStatus?: EnterpriseRechargeStatusEnum; |
| | | } |
| | | |
| | | interface GetEnterpriseDrawWithListOutput { |
| | | drawWithId?: string; |
| | | enterpriseId?: string; |
| | | enterpriseName?: string; |
| | | societyCreditCode?: string; |
| | | creationTime?: string; |
| | | enterpriseType?: string; |
| | | parkName?: string; |
| | | parkType?: string; |
| | | amount?: number; |
| | | remainAmount?: number; |
| | | checkStatus?: EnterpriseRechargeStatusEnum; |
| | | checkTime?: string; |
| | | checkRemark?: string; |
| | | checkFileUrl?: string; |
| | | } |
| | | |
| | | interface GetEnterpriseDrawWithListOutputPageOutput { |
| | | pageModel?: Pagination; |
| | | objectData?: any; |
| | | data?: GetEnterpriseDrawWithListOutput[]; |
| | | } |
| | | |
| | | interface GetEnterprisePrechargeListOutput { |
| | | id?: string; |
| | | /** 充值金额 */ |
| | | prechargeAmount?: number; |
| | | /** 充值凭证 */ |
| | | rechargeVoucherFileUrl?: string; |
| | | /** 审核备注 */ |
| | | checkRemark?: string; |
| | | checkStatus?: EnterpriseRechargeStatusEnum; |
| | | inComeStatus?: EnterprisePrechargeInComeStatusEnum; |
| | | /** 提交日期 */ |
| | | creationTime?: string; |
| | | } |
| | | |
| | | interface GetEnterprisePrechargeListOutputPageOutput { |
| | | pageModel?: Pagination; |
| | | objectData?: any; |
| | | data?: GetEnterprisePrechargeListOutput[]; |
| | | } |
| | | |
| | | interface GetFeatureListResultDto { |
| | |
| | | /** 社会统一信用代码 */ |
| | | societyCreditCode?: string; |
| | | id?: string; |
| | | parkBountyApplyDetailId?: string; |
| | | /** 最近出账金额 */ |
| | | tradeAmount?: number; |
| | | /** 出账凭证 */ |
| | |
| | | pageModel?: Pagination; |
| | | objectData?: any; |
| | | data?: GetParkBountyTradeOutput[]; |
| | | } |
| | | |
| | | interface GetParkCustomerBountyFinanceOutput { |
| | | id?: string; |
| | | /** 申请批次号 */ |
| | | batchNo?: string; |
| | | /** 申报月份 */ |
| | | applyMonth?: string; |
| | | /** 申报总额 */ |
| | | applySumAmount?: number; |
| | | /** 财政拨付金额 */ |
| | | financeToAmount?: number; |
| | | /** 财政拨付入账时间 */ |
| | | financeToTime?: string; |
| | | /** 财政拨付发放日期 */ |
| | | financeTime?: string; |
| | | financeToStatus?: FinanceStatusEnum; |
| | | /** 拨付入账凭证 */ |
| | | financeToFileUrl?: string; |
| | | inCheckStatus?: BountyCheckStatusEnum; |
| | | outCheckStatus?: BountyCheckStatusEnum; |
| | | } |
| | | |
| | | interface GetParkCustomerBountyFinanceOutputPageOutput { |
| | | pageModel?: Pagination; |
| | | objectData?: any; |
| | | data?: GetParkCustomerBountyFinanceOutput[]; |
| | | } |
| | | |
| | | interface GetParkCustomerBountySettleOutput { |
| | | id?: string; |
| | | /** 申请批次号 */ |
| | | batchNo?: string; |
| | | /** 申报月份 */ |
| | | applyMonth?: string; |
| | | /** 申报总额 */ |
| | | applySumAmount?: number; |
| | | /** 平台充值入账时间 */ |
| | | transferToTime?: string; |
| | | transferToStatus?: TransferToStatusEnum; |
| | | /** 平台充值金额 */ |
| | | transferToAmount?: number; |
| | | /** 平台充值入账凭证 */ |
| | | transferToFileUrl?: string; |
| | | /** 财政拨付金额 */ |
| | | financeToAmount?: number; |
| | | /** 平台充值发放日期 */ |
| | | settleTime?: string; |
| | | financeToStatus?: FinanceStatusEnum; |
| | | inCheckStatus?: BountyCheckStatusEnum; |
| | | outCheckStatus?: BountyCheckStatusEnum; |
| | | } |
| | | |
| | | interface GetParkCustomerBountySettleOutputPageOutput { |
| | | pageModel?: Pagination; |
| | | objectData?: any; |
| | | data?: GetParkCustomerBountySettleOutput[]; |
| | | } |
| | | |
| | | interface GetPermissionListResultDto { |
| | |
| | | importChannel?: string; |
| | | } |
| | | |
| | | interface QueryParkCustomerBountyApplyInput { |
| | | pageModel?: Pagination; |
| | | id?: string; |
| | | } |
| | | |
| | | interface QueryUserPageInput { |
| | | pageModel?: Pagination; |
| | | searchKey?: string; |
| | |
| | | modules: ModuleTypeInfo[]; |
| | | } |
| | | |
| | | interface SyncAuditParkBountyTradeInput { |
| | | /** 出账记录Id */ |
| | | id?: string; |
| | | auditStatus?: EnumParkBountyTradeDetailAuditStatus; |
| | | /** 审核备注 */ |
| | | auditRemark?: string; |
| | | /** 审核凭证 */ |
| | | payAuditFileUrl?: string; |
| | | /** 出账操作人 */ |
| | | auditOperator?: string; |
| | | /** 出账操作人ID */ |
| | | auditOperatorId?: string; |
| | | } |
| | | |
| | | interface SyncFinanceAuditParkBountyTradeInput { |
| | | /** 出账记录Id */ |
| | | id?: string; |
| | | auditStatus?: EnumParkBountyTradeDetailAuditStatus; |
| | | /** 审核备注 */ |
| | | auditRemark?: string; |
| | | /** 审核凭证 */ |
| | | payAuditFileUrl?: string; |
| | | /** 财务审核操作人 */ |
| | | financeAuditOperator?: string; |
| | | /** 财务审核操作人Id */ |
| | | financeAuditOperatorId?: string; |
| | | } |
| | | |
| | | interface SyncUserAmountInput { |
| | | /** 用户名称 */ |
| | | id?: string; |
| | |
| | | timeZone?: TimeZone; |
| | | } |
| | | |
| | | type TransferToStatusEnum = 1 | 2; |
| | | |
| | | interface TypeApiDescriptionModel { |
| | | baseType?: string; |
| | | isEnum?: boolean; |
| | |
| | | } from '@bole-core/components'; |
| | | import { OrderInputType } from '@bole-core/core'; |
| | | import * as parkBountyApplyServices from '@/services/api/ParkBountyApply'; |
| | | // import { FinanceStatusEnum, FinanceStatusEnumText } from '@/constants'; |
| | | import { FinanceStatusEnum, FinanceStatusEnumText } from '@/constants'; |
| | | import { useUser } from '@/hooks'; |
| | | import { convertApi2FormUrlBySeparator } from '@/utils'; |
| | | |
| | |
| | | orderInput: [{ property: 'financeToTime', order: OrderInputType.Desc }], |
| | | }, |
| | | columnsRenderProps: { |
| | | // financeToStatus: { type: 'enum', valueEnum: FinanceStatusEnumText }, |
| | | financeToStatus: { type: 'enum', valueEnum: FinanceStatusEnumText }, |
| | | financeToTime: { type: 'date', format: 'YYYY-MM-DD' }, |
| | | applyMonth: { type: 'date', format: 'YYYY年MM月' }, |
| | | financeToAmount: { type: 'money' }, |
| | |
| | | <ProTableV2 v-bind="proTableProps" :columns="column" :operationBtns="operationBtns"> |
| | | <template #checkStatus="{ data, row }"> |
| | | <div style="display: flex; justify-content: center; align-items: center"> |
| | | <!-- {{ EnterpriseRechargeStatusEnumText[row.checkStatus] }} --> |
| | | <!-- <el-tooltip |
| | | {{ EnterpriseRechargeStatusEnumText[row.checkStatus] }} |
| | | <el-tooltip |
| | | placement="top" |
| | | v-if="row.checkStatus === EnterpriseRechargeStatusEnum.CheckReject && row.checkRemark" |
| | | :content="row.checkRemark" |
| | | > |
| | | <el-icon color="#ff0000"><WarningFilled /></el-icon> |
| | | </el-tooltip> --> |
| | | </el-tooltip> |
| | | </div> |
| | | </template> |
| | | <template #operationBtn-checkBtn="{ data, row }"> |
| | |
| | | } from '@bole-core/components'; |
| | | import { OrderInputType } from '@bole-core/core'; |
| | | import * as parkBountyApplyServices from '@/services/api/ParkBountyApply'; |
| | | import { |
| | | EnterpriseRechargeStatusEnumText, |
| | | EnterpriseRechargeStatusEnum, |
| | | EnterprisePrechargeInComeStatusEnum, |
| | | EnterprisePrechargeInComeStatusEnumText, |
| | | } from '@/constants'; |
| | | import { useUser } from '@/hooks'; |
| | | |
| | | import { convertApi2FormUrlBySeparator } from '@/utils'; |
| | |
| | | name: '查看凭证', |
| | | }, |
| | | extraProps: { |
| | | // hide: (row) => row.inComeStatus !== EnterprisePrechargeInComeStatusEnum.HasInCome, |
| | | hide: (row) => row.inComeStatus !== EnterprisePrechargeInComeStatusEnum.HasInCome, |
| | | }, |
| | | }, |
| | | ]); |
| | | |
| | | const route = useRoute(); |
| | | const router = useRouter(); |
| | | const id = route.params.id as string; |
| | | const BaseState = { |
| | | loading: true, |
| | | }; |
| | | |
| | | const state = reactive({ ...BaseState }); |
| | | const { userDetail } = useUser(); |
| | | |
| | | const { |
| | | getDataSource: getList, |
| | |
| | | columnsRenderProps: { |
| | | creationTime: { type: 'date', format: 'YYYY-MM-DD' }, |
| | | prechargeAmount: { type: 'money' }, |
| | | // checkStatus: { type: 'enum', valueEnum: EnterpriseRechargeStatusEnumText }, |
| | | // inComeStatus: { type: 'enum', valueEnum: EnterprisePrechargeInComeStatusEnumText }, |
| | | checkStatus: { type: 'enum', valueEnum: EnterpriseRechargeStatusEnumText }, |
| | | inComeStatus: { type: 'enum', valueEnum: EnterprisePrechargeInComeStatusEnumText }, |
| | | }, |
| | | } |
| | | ); |
| | |
| | | <script setup lang="ts"> |
| | | import { AppContainer, useTable, ProTableV2 } from '@bole-core/components'; |
| | | import { OrderInputType } from '@bole-core/core'; |
| | | // import * as parkBountyApplyServices from '@/services/api/ParkBountyApply'; |
| | | import * as parkBountyApplyServices from '@/services/api/ParkBountyApply'; |
| | | import { useUser } from '@/hooks'; |
| | | // import { TransferToStatusEnumText } from '@/constants'; |
| | | import { TransferToStatusEnumText } from '@/constants'; |
| | | |
| | | defineOptions({ |
| | | name: 'RewardGrantRecordView', |
| | |
| | | orderInput: [{ property: 'settleTime', order: OrderInputType.Desc }], |
| | | }, |
| | | columnsRenderProps: { |
| | | // transferToStatus: { type: 'enum', valueEnum: TransferToStatusEnumText }, |
| | | transferToStatus: { type: 'enum', valueEnum: TransferToStatusEnumText }, |
| | | transferToTime: { type: 'date', format: 'YYYY-MM-DD' }, |
| | | applyMonth: { type: 'date', format: 'YYYY年MM月' }, |
| | | transferToAmount: { type: 'money' }, |
| | |
| | | <ProTableV2 v-bind="proTableProps" :columns="column" :operationBtns="operationBtns"> |
| | | <template #checkStatus="{ data, row }"> |
| | | <div style="display: flex; justify-content: center; align-items: center"> |
| | | <!-- {{ EnterpriseRechargeStatusEnumTextWithdrawal[row.checkStatus] }} --> |
| | | <!-- <el-tooltip |
| | | {{ EnterpriseRechargeStatusEnumTextWithdrawal[row.checkStatus] }} |
| | | <el-tooltip |
| | | placement="top" |
| | | v-if="row.checkStatus === EnterpriseRechargeStatusEnum.CheckReject && row.checkRemark" |
| | | :content="row.checkRemark" |
| | | > |
| | | <el-icon color="#ff0000"><WarningFilled /></el-icon> |
| | | </el-tooltip> --> |
| | | </el-tooltip> |
| | | </div> |
| | | </template> |
| | | <template #operationBtn-checkBtn="{ data, row }"> |
| | |
| | | import { OrderInputType } from '@bole-core/core'; |
| | | import * as parkBountyApplyServices from '@/services/api/ParkBountyApply'; |
| | | import { useUser } from '@/hooks'; |
| | | import { |
| | | EnterpriseRechargeStatusEnumTextWithdrawal, |
| | | EnterpriseRechargeStatusEnum, |
| | | } from '@/constants'; |
| | | import { convertApi2FormUrlBySeparator } from '@/utils'; |
| | | |
| | | defineOptions({ |
| | |
| | | }; |
| | | |
| | | const state = reactive({ ...BaseState }); |
| | | const { userDetail } = useUser(); |
| | | |
| | | const { |
| | | getDataSource: getList, |
| | |
| | | checkTime: { type: 'date', format: 'YYYY-MM-DD' }, |
| | | amount: { type: 'money' }, |
| | | remainAmount: { type: 'money' }, |
| | | // checkStatus: { type: 'enum', valueEnum: EnterpriseRechargeStatusEnumTextWithdrawal }, |
| | | checkStatus: { type: 'enum', valueEnum: EnterpriseRechargeStatusEnumTextWithdrawal }, |
| | | }, |
| | | } |
| | | ); |