From 1b0bbe7fbe3d62779356f0729f086ceb3901e17b Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期三, 09 四月 2025 16:39:18 +0800
Subject: [PATCH] feat: 接口
---
src/views/EnterpriseInfo/components/RewardGrantRecordView.vue | 24 ++++++++++++++++--------
1 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/src/views/EnterpriseInfo/components/RewardGrantRecordView.vue b/src/views/EnterpriseInfo/components/RewardGrantRecordView.vue
index b3e4419..1d086d5 100644
--- a/src/views/EnterpriseInfo/components/RewardGrantRecordView.vue
+++ b/src/views/EnterpriseInfo/components/RewardGrantRecordView.vue
@@ -10,7 +10,8 @@
<script setup lang="ts">
import { AppContainer, useTable, ProTableV2, defineOperationBtns } from '@bole-core/components';
import { OrderInputType } from '@bole-core/core';
-import * as informationServices from '@/services/api/Information';
+import * as parkBountyApplyServices from '@/services/api/ParkBountyApply';
+import { IncomeStatusEnumText } from '@/constants';
defineOptions({
name: 'RewardGrantRecordView',
@@ -19,27 +20,27 @@
const column: API.CustomModuleColumnDto[] = [
{
id: '1',
- enCode: 'batchBillNo',
+ enCode: 'batchNo',
name: '鐢虫姤鎵规鍙�',
},
{
id: '2',
- enCode: 'changeType',
+ enCode: 'settleTime',
name: '濂栧姳閲戝彂鏀炬棩鏈�',
},
{
id: '3',
- enCode: 'creationTime',
+ enCode: 'incomeTime',
name: '濂栧姳閲戝埌璐︽棩鏈�',
},
{
id: '4',
- enCode: 'effectTime',
+ enCode: 'applySumAmount',
name: '鍙戞斁閲戦',
},
{
id: '5',
- enCode: 'insurePersonNumber',
+ enCode: 'incomeStatus',
name: '鍒拌处纭缁撴灉',
},
];
@@ -74,14 +75,15 @@
} = useTable(
async ({ pageIndex, pageSize }, extraParamState) => {
try {
- let params: API.GetInformationForManageInput = {
+ let params: API.QueryParkCustomerBountyApplyInput = {
pageModel: {
rows: pageSize,
page: pageIndex,
orderInput: extraParamState.orderInput,
},
+ id: id,
};
- let res = await informationServices.getInformationForManage(params, {
+ let res = await parkBountyApplyServices.getParkCustomerBountyGrantList(params, {
showLoading: !state.loading,
});
return res;
@@ -91,6 +93,12 @@
defaultExtraParams: {
orderInput: [{ property: 'creationTime', order: OrderInputType.Desc }],
},
+ columnsRenderProps: {
+ settleTime: { type: 'date', format: 'YYYY-MM-DD HH:mm:ss' },
+ incomeTime: { type: 'date', format: 'YYYY-MM-DD HH:mm:ss' },
+ applySumAmount: { type: 'money' },
+ incomeStatus: { type: 'enum', valueEnum: IncomeStatusEnumText },
+ },
}
);
--
Gitblit v1.9.1