From ae671e401db4b158b6bd4292fb99fab58e40844c Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期五, 11 四月 2025 09:14:04 +0800
Subject: [PATCH] feat: 接口

---
 src/views/EnterpriseInfo/components/RewardGrantRecordView.vue |   26 +++++++++++++++++---------
 1 files changed, 17 insertions(+), 9 deletions(-)

diff --git a/src/views/EnterpriseInfo/components/RewardGrantRecordView.vue b/src/views/EnterpriseInfo/components/RewardGrantRecordView.vue
index b3e4419..10fc28f 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;
@@ -89,7 +91,13 @@
   },
   {
     defaultExtraParams: {
-      orderInput: [{ property: 'creationTime', order: OrderInputType.Desc }],
+      orderInput: [{ property: 'id', 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