wupengfei
2025-04-28 35a917ce148a495062add10677d819c4e760c9a2
feat: 接口
1个文件已添加
6个文件已修改
185 ■■■■■ 已修改文件
src/services/api/EnterpriseApplyFile.ts 50 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/services/api/SearchSetting.ts 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/services/api/index.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/services/api/typings.d.ts 115 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/MaterialReview/MaterialReviewAudit.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/MaterialReview/MaterialReviewDetail.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/Reward/RewardDeclareDetail.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/services/api/EnterpriseApplyFile.ts
New file
@@ -0,0 +1,50 @@
/* eslint-disable */
// @ts-ignore
import { request } from '@/utils/request';
/** 查询该客户需要上传文件类型类别 GET /api/EnterpriseApplyFile/GetCustomerFileTypeHead */
export async function getCustomerFileTypeHead(options?: API.RequestConfig) {
  return request<API.IndustrialParkFileTypeDto[]>(
    '/api/EnterpriseApplyFile/GetCustomerFileTypeHead',
    {
      method: 'GET',
      ...(options || {}),
    }
  );
}
/** 获取月份上传文件详情 GET /api/EnterpriseApplyFile/GetCustomerUploadApplyFiles */
export async function getCustomerUploadApplyFiles(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetCustomerUploadApplyFilesParams,
  options?: API.RequestConfig
) {
  return request<API.GetCustomerUploadApplyFilesOutput[]>(
    '/api/EnterpriseApplyFile/GetCustomerUploadApplyFiles',
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    }
  );
}
/** 按月份查询企业上传的文件列表 POST /api/EnterpriseApplyFile/GetEnterpriseApplyUploadFile */
export async function getEnterpriseApplyUploadFile(
  body: API.PageInput,
  options?: API.RequestConfig
) {
  return request<API.GetEnterpriseApplyUploadFileOutputPageOutput>(
    '/api/EnterpriseApplyFile/GetEnterpriseApplyUploadFile',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  );
}
src/services/api/SearchSetting.ts
@@ -2,6 +2,21 @@
// @ts-ignore
import { request } from '@/utils/request';
/** 材料类型点击数+1 POST /api/SearchSetting/AddSearchSettingClickCount */
export async function addSearchSettingClickCount(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIaddSearchSettingClickCountParams,
  options?: API.RequestConfig
) {
  return request<number>('/api/SearchSetting/AddSearchSettingClickCount', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 搜索管理--新建编辑 POST /api/SearchSetting/CreateOrEditSearchSetting */
export async function createOrEditSearchSetting(
  body: API.CreateOrEditSearchInput,
src/services/api/index.ts
@@ -22,6 +22,7 @@
import * as Consult from './Consult';
import * as CooperationApply from './CooperationApply';
import * as Customer from './Customer';
import * as EnterpriseApplyFile from './EnterpriseApplyFile';
import * as EnterpriseMaterial from './EnterpriseMaterial';
import * as Features from './Features';
import * as FirstPartyCompany from './FirstPartyCompany';
@@ -108,6 +109,7 @@
  Consult,
  CooperationApply,
  Customer,
  EnterpriseApplyFile,
  EnterpriseMaterial,
  Features,
  FirstPartyCompany,
src/services/api/typings.d.ts
@@ -225,6 +225,24 @@
    registerAddress: string;
    /** 备注 */
    remark?: string;
    /** 是否已经启用奖励金申报 */
    rewardEnable?: boolean;
    /** 奖励金模板是否配置 */
    rewardTemplateSetting?: boolean;
    /** 维护的公司 */
    companyOrgId?: string;
    /** 维护的公司 */
    companyOrgName?: string;
    /** 维护的部门 */
    departmentOrgId?: string;
    /** 是否支持企业自主上传 */
    suportEnterpriseUpload?: boolean;
    /** 是否支持平台充值 */
    suportPlatRecharge?: boolean;
    /** 210 企业材料 220 汇总材料 */
    applyFileType?: number;
    /** 园区材料 */
    industrialParkFileTypeSetting?: string[];
  }
  interface AddIndustryBodyAuditInput {
@@ -886,6 +904,10 @@
    isCache?: boolean;
  }
  interface APIaddSearchSettingClickCountParams {
    id?: string;
  }
  interface APIadvertiseOffShelfParams {
    /** 资讯广告Id */
    id?: string;
@@ -1316,6 +1338,10 @@
  interface APIgetCustomerTemplateParamListByTemplateIdParams {
    templateId?: string;
  }
  interface APIgetCustomerUploadApplyFilesParams {
    id?: string;
  }
  interface APIgetDefaultConnectionStringParams {
@@ -6666,6 +6692,40 @@
    operator?: string;
  }
  interface GetCustomerUploadApplyFilesOutput {
    fileSearchTypeId?: string;
    fileCount?: number;
    isUpload?: boolean;
    lastUpdateTime?: string;
    id?: string;
    withMonth?: string;
    enterpriseName?: string;
    parkName?: string;
    fileTypeName?: string;
    sort?: number;
  }
  interface GetEnterpriseApplyUploadFile {
    id?: string;
    fileSearchTypeId?: string;
    fileCount?: number;
    isUpload?: boolean;
    lastUpdateTime?: string;
  }
  interface GetEnterpriseApplyUploadFileOutput {
    id?: string;
    withMonth?: string;
    enterpriseId?: string;
    uploadFiles?: GetEnterpriseApplyUploadFile[];
  }
  interface GetEnterpriseApplyUploadFileOutputPageOutput {
    pageModel?: Pagination;
    objectData?: any;
    data?: GetEnterpriseApplyUploadFileOutput[];
  }
  interface GetEnterpriseBuntyTradeDto {
    id?: string;
    payDateTime?: string;
@@ -8193,6 +8253,8 @@
    id?: string;
    /** 申请批次号 */
    batchNo?: string;
    /** 申报月份 */
    applyMonth?: string;
    /** 申报总额 */
    applySumAmount?: number;
    /** 平台充值入账时间 */
@@ -8391,6 +8453,7 @@
    bankName?: string;
    bankBranchName?: string;
    bankAccountName?: string;
    incomeCompany?: string;
  }
  interface GetProductAdvertiseByCategoryInput {
@@ -9777,6 +9840,20 @@
    /** 园区类型 */
    parkTypeId?: string;
    status?: IndustrialParkStatusEnum;
    /** 是否已经启用奖励金申报 */
    rewardEnable?: boolean;
    /** 奖励金模板是否配置 */
    rewardTemplateSetting?: boolean;
    /** 维护的公司 */
    companyOrgId?: string;
    /** 维护的公司 */
    companyOrgName?: string;
    /** 维护的部门 */
    departmentOrgId?: string;
    /** 是否支持企业自主上传 */
    suportEnterpriseUpload?: boolean;
    /** 是否支持平台充值 */
    suportPlatRecharge?: boolean;
    /** 注册地址 */
    registerAddress?: string;
    /** 备注 */
@@ -9793,6 +9870,12 @@
    parkTypeName?: string;
  }
  interface IndustrialParkFileTypeDto {
    fileTypeId?: string;
    fileTypeName?: string;
    sort?: number;
  }
  interface IndustrialParkListOutput {
    id?: string;
    /** 园区名称 */
@@ -9804,6 +9887,20 @@
    /** 园区类型 */
    parkTypeId?: string;
    status?: IndustrialParkStatusEnum;
    /** 是否已经启用奖励金申报 */
    rewardEnable?: boolean;
    /** 奖励金模板是否配置 */
    rewardTemplateSetting?: boolean;
    /** 维护的公司 */
    companyOrgId?: string;
    /** 维护的公司 */
    companyOrgName?: string;
    /** 维护的部门 */
    departmentOrgId?: string;
    /** 是否支持企业自主上传 */
    suportEnterpriseUpload?: boolean;
    /** 是否支持平台充值 */
    suportPlatRecharge?: boolean;
  }
  interface IndustrialParkListOutputPageOutput {
@@ -19498,6 +19595,24 @@
    registerAddress: string;
    /** 备注 */
    remark?: string;
    /** 是否已经启用奖励金申报 */
    rewardEnable?: boolean;
    /** 奖励金模板是否配置 */
    rewardTemplateSetting?: boolean;
    /** 维护的公司 */
    companyOrgId?: string;
    /** 维护的公司 */
    companyOrgName?: string;
    /** 维护的部门 */
    departmentOrgId?: string;
    /** 是否支持企业自主上传 */
    suportEnterpriseUpload?: boolean;
    /** 是否支持平台充值 */
    suportPlatRecharge?: boolean;
    /** 210 企业材料 220 汇总材料 */
    applyFileType?: number;
    /** 园区材料 */
    industrialParkFileTypeSetting?: string[];
    id?: string;
  }
src/views/MaterialReview/MaterialReviewAudit.vue
@@ -16,7 +16,6 @@
              :show-upload-btn="false"
              :show-delete-btn="false"
              :show-check-btn="false"
              downloadBtnText="查看"
            />
          </ChunkCellV2>
          <ChunkCell>
src/views/MaterialReview/MaterialReviewDetail.vue
@@ -31,7 +31,6 @@
              :show-upload-btn="false"
              :show-delete-btn="false"
              :show-check-btn="false"
              downloadBtnText="查看"
            />
          </ChunkCellV2>
        </DetailView>
src/views/Reward/RewardDeclareDetail.vue
@@ -16,7 +16,6 @@
              :show-upload-btn="false"
              :show-delete-btn="false"
              :show-check-btn="false"
              downloadBtnText="查看"
            />
          </ChunkCellV2>
        </DetailView>