wupengfei
2025-04-09 1b0bbe7fbe3d62779356f0729f086ceb3901e17b
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="企业名/信用代码"
          @on-click-search="getList"
@@ -39,7 +39,7 @@
import MateriaDetailDialog from './MateriaDetailDialog.vue';
import { FourStreamsMaterialFileTableItem } from './types';
import { OrderInputType } from '@bole-core/core';
import * as informationServices from '@/services/api/Information';
import * as parkBountyApplyServices from '@/services/api/ParkBountyApply';
defineOptions({
  name: 'DeclareEnterpriseTableView',
@@ -57,32 +57,32 @@
  },
  {
    id: '2',
    enCode: 'income',
    enCode: 'enterpriseName',
    name: '企业名称',
  },
  {
    id: '3',
    enCode: 'outcome',
    enCode: 'societyCreditCode',
    name: '信用代码',
  },
  {
    id: '4',
    enCode: 'acctBalance',
    enCode: 'contactPhone',
    name: '电话',
  },
  {
    id: '5',
    enCode: 'counterpartyAcctNoAndName',
    enCode: 'authType',
    name: '企业类型',
  },
  {
    id: '6',
    enCode: 'purpose',
    enCode: 'licenseUrl',
    name: '营业执照',
  },
  {
    id: '7',
    enCode: 'purpose',
    enCode: 'bankAccountInfo',
    name: '基本户信息',
  },
]);
@@ -108,22 +108,22 @@
} = useTable(
  async ({ pageIndex, pageSize }, extraParamState) => {
    try {
      let params: API.GetInformationForManageInput = {
      let params: API.GetParkBountyApplyInfoInput = {
        pageModel: {
          rows: pageSize,
          page: pageIndex,
          orderInput: extraParamState.orderInput,
        },
        title: extraParamState.title,
        searchKeyWord: extraParamState.searchKeyWord,
      };
      let res = await informationServices.getInformationForManage(params);
      let res = await parkBountyApplyServices.getParkBountyApplyDetailList(params);
      return res;
    } catch (error) {}
  },
  {
    defaultExtraParams: {
      orderInput: [{ property: 'creationTime', order: OrderInputType.Desc }],
      title: '',
      searchKeyWord: '',
    },
  }
);
@@ -134,7 +134,7 @@
  },
});
function openDialog(row?: API.IncentivePaymentsManageListOutput) {
function openDialog(row?: API.ParkBountyApplyDetailInfo) {
  handleEdit({
    list: [],
  });