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/EnterpriseDeclareRecordView.vue |   37 +++++++++++++++++--------------------
 1 files changed, 17 insertions(+), 20 deletions(-)

diff --git a/src/views/EnterpriseInfo/components/EnterpriseDeclareRecordView.vue b/src/views/EnterpriseInfo/components/EnterpriseDeclareRecordView.vue
index 3c2cc91..6ec96ca 100644
--- a/src/views/EnterpriseInfo/components/EnterpriseDeclareRecordView.vue
+++ b/src/views/EnterpriseInfo/components/EnterpriseDeclareRecordView.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 { BountyCheckStatusEnumText } from '@/constants';
 
 defineOptions({
   name: 'EnterpriseDeclareRecordView',
@@ -19,33 +20,23 @@
 const column: API.CustomModuleColumnDto[] = [
   {
     id: '1',
-    enCode: 'batchBillNo',
+    enCode: 'batchNo',
     name: '鐢虫姤鎵规鍙�',
   },
   {
     id: '2',
-    enCode: 'changeType',
+    enCode: 'creationTime',
     name: '鐢虫姤鏃ユ湡',
   },
   {
     id: '3',
-    enCode: 'creationTime',
-    name: '鍐呴儴瀹℃牳鏃ユ湡',
+    enCode: 'outCheckTime',
+    name: '瀹℃牳鏃ユ湡',
   },
   {
     id: '4',
-    enCode: 'effectTime',
-    name: '鍐呴儴瀹℃牳缁撴灉',
-  },
-  {
-    id: '5',
-    enCode: 'insurePersonNumber',
-    name: '澶栭儴瀹℃牳鏃ユ湡',
-  },
-  {
-    id: '6',
-    enCode: 'orginInsurePersonNumber',
-    name: '澶栭儴瀹℃牳缁撴灉',
+    enCode: 'outCheckStatus',
+    name: '瀹℃牳缁撴灉',
   },
 ];
 
@@ -79,14 +70,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.getParkCustomerBountyApplyList(params, {
         showLoading: !state.loading,
       });
       return res;
@@ -94,7 +86,12 @@
   },
   {
     defaultExtraParams: {
-      orderInput: [{ property: 'creationTime', order: OrderInputType.Desc }],
+      orderInput: [{ property: 'id', order: OrderInputType.Desc }],
+    },
+    columnsRenderProps: {
+      outCheckTime: { type: 'date', format: 'YYYY-MM-DD HH:mm:ss' },
+      creationTime: { type: 'date', format: 'YYYY-MM-DD HH:mm:ss' },
+      outCheckStatus: { type: 'enum', valueEnum: BountyCheckStatusEnumText },
     },
   }
 );

--
Gitblit v1.9.1