zhengyiming
2025-11-14 ccc59ace343de3ecdf2ca7c4d82966faaf3b32e7
src/views/EnterpriseInfo/EnterpriseInfo.vue
@@ -14,7 +14,7 @@
              @change="getList()"
            ></FieldDatePicker>
          </QueryFilterItem>
          <QueryFilterItem tip-content="最近拨付日期">
          <QueryFilterItem tip-content="最近财政拨付日期">
            <FieldDatePicker
              v-model="extraParamState.lastPayTime"
              type="daterange"
@@ -25,7 +25,7 @@
              @change="getList()"
            ></FieldDatePicker>
          </QueryFilterItem>
          <QueryFilterItem tip-content="最近充值日期">
          <QueryFilterItem tip-content="最近平台拨付日期">
            <FieldDatePicker
              v-model="extraParamState.lastSettleTime"
              type="daterange"
@@ -72,109 +72,19 @@
import _ from 'lodash';
import { ModelValueType } from 'element-plus';
import { EnterpriseTypeText } from '@/constants';
import { useAccess } from '@/hooks';
defineOptions({
  name: 'EnterpriseInfo',
});
const column: API.CustomModuleColumnDto[] = [
  {
    id: '1',
    enCode: 'enterpriseName',
    name: '企业名',
    width: 250,
  },
  {
    id: '2',
    enCode: 'societyCreditCode',
    name: '统一社会信用代码',
    width: 200,
  },
  {
    id: '3',
    enCode: 'enterpriseType',
    name: '企业类型',
    width: 150,
  },
  {
    id: '4',
    enCode: 'industrialParkName',
    name: '所属园区',
    width: 200,
  },
  {
    id: '5',
    enCode: 'parkTypName',
    name: '园区类型',
    width: 150,
  },
  {
    id: '6',
    enCode: 'applyCount',
    name: '申报次数',
    width: 150,
  },
  {
    id: '7',
    enCode: 'lastApplyTime',
    name: '最近申报日期',
    width: 180,
  },
  {
    id: '8',
    enCode: 'financeCount',
    name: '财政拨付次数',
    width: 150,
  },
  {
    id: '9',
    enCode: 'lastFinanceTime',
    name: '最近拨付日期',
    width: 180,
  },
  {
    id: '10',
    enCode: 'financeSumAmount',
    name: '拨付总额',
    width: 150,
  },
  {
    id: '11',
    enCode: 'settleCount',
    name: '平台充值次数',
    width: 150,
  },
  {
    id: '12',
    enCode: 'lastSettleTime',
    name: '最近充值日期',
    width: 180,
  },
  {
    id: '13',
    enCode: 'settleSumAmount',
    name: '充值总额',
    width: 150,
  },
  {
    id: '14',
    enCode: 'bountyAmount',
    name: '平台充值余额',
    width: 150,
  },
];
const operationBtnMap: Record<string, OperationBtnType> = {
  detailBtn: { emits: { onClick: (role) => goDetail(role) } },
};
const operationBtns = defineOperationBtns([
  {
    data: {
      enCode: 'detailBtn',
      name: '详情',
    },
    emits: {
      onClick: (role) => goDetail(role),
    },
  },
]);
const { checkSubModuleItemShow, column, operationBtns } = useAccess({
  operationBtnMap,
});
const router = useRouter();
const BaseState = {