From 8fb20fc31b4be097e5408b9ecfeb5002ebe042f3 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期四, 10 四月 2025 15:07:47 +0800
Subject: [PATCH] feat: 接口

---
 src/components/commonView/DeclareEnterpriseTableView.vue |   78 +++++++++++++-------------------------
 1 files changed, 27 insertions(+), 51 deletions(-)

diff --git a/src/components/commonView/DeclareEnterpriseTableView.vue b/src/components/commonView/DeclareEnterpriseTableView.vue
index d05884c..d952ab8 100644
--- a/src/components/commonView/DeclareEnterpriseTableView.vue
+++ b/src/components/commonView/DeclareEnterpriseTableView.vue
@@ -3,7 +3,7 @@
     <template #query>
       <QueryFilterItem>
         <SearchInput
-          v-model="extraParamState.title"
+          v-model="extraParamState.searchKeyWord"
           style="width: 250px"
           placeholder="浼佷笟鍚�/淇$敤浠g爜"
           @on-click-search="getList"
@@ -32,53 +32,62 @@
   ProTableV2,
   SearchInput,
   useFormDialog,
-  useTable,
   defineOperationBtns,
   defineColumns,
 } from '@bole-core/components';
 import MateriaDetailDialog from './MateriaDetailDialog.vue';
 import { FourStreamsMaterialFileTableItem } from './types';
-import { OrderInputType } from '@bole-core/core';
-import * as informationServices from '@/services/api/Information';
 
 defineOptions({
   name: 'DeclareEnterpriseTableView',
 });
 
-type Props = {};
+type Props = {
+  getList: (pageIndex?: number) => Promise<void>;
+  reset: () => void;
+  proTableProps: any;
+  extraParamState: {
+    searchKeyWord: string;
+  };
+};
 
 const props = withDefaults(defineProps<Props>(), {});
 
 const column = defineColumns([
   {
     id: '1',
-    enCode: 'accDateTime',
-    name: '浜ゆ槗鏃堕棿',
+    enCode: 'userName',
+    name: '甯愬彿',
   },
   {
     id: '2',
-    enCode: 'income',
-    name: '鏀跺叆',
+    enCode: 'enterpriseName',
+    name: '浼佷笟鍚嶇О',
   },
   {
     id: '3',
-    enCode: 'outcome',
-    name: '鏀嚭',
+    enCode: 'societyCreditCode',
+    name: '淇$敤浠g爜',
   },
   {
     id: '4',
-    enCode: 'acctBalance',
-    name: '璐︽埛浣欓',
+    enCode: 'contactPhone',
+    name: '鐢佃瘽',
   },
   {
     id: '5',
-    enCode: 'counterpartyAcctNoAndName',
-    name: '瀵规柟璐﹀彿/鎴峰悕',
+    enCode: 'authType',
+    name: '浼佷笟绫诲瀷',
   },
   {
     id: '6',
-    enCode: 'purpose',
-    name: '鐢ㄩ��',
+    enCode: 'licenseUrl',
+    name: '钀ヤ笟鎵х収',
+  },
+  {
+    id: '7',
+    enCode: 'bankAccountInfo',
+    name: '鍩烘湰鎴蜂俊鎭�',
   },
 ]);
 
@@ -94,50 +103,17 @@
   },
 ]);
 
-const {
-  getDataSource: getList,
-  proTableProps,
-  paginationState,
-  extraParamState,
-  reset,
-} = useTable(
-  async ({ pageIndex, pageSize }, extraParamState) => {
-    try {
-      let params: API.GetInformationForManageInput = {
-        pageModel: {
-          rows: pageSize,
-          page: pageIndex,
-          orderInput: extraParamState.orderInput,
-        },
-        title: extraParamState.title,
-      };
-      let res = await informationServices.getInformationForManage(params);
-      return res;
-    } catch (error) {}
-  },
-  {
-    defaultExtraParams: {
-      orderInput: [{ property: 'creationTime', order: OrderInputType.Desc }],
-      title: '',
-    },
-  }
-);
-
 const { dialogProps, handleEdit, editForm } = useFormDialog({
   defaultFormParams: {
     list: [] as FourStreamsMaterialFileTableItem[],
   },
 });
 
-function openDialog(row?: API.IncentivePaymentsManageListOutput) {
+function openDialog(row?: API.ParkBountyApplyDetailInfo) {
   handleEdit({
     list: [],
   });
 }
-
-defineExpose({
-  getList,
-});
 </script>
 
 <style lang="scss" scoped>

--
Gitblit v1.9.1