wupengfei
2025-04-14 05a07471a6e55cc82210f9ad8b74d4b5aa445cfc
feat: 接口
6个文件已修改
47 ■■■■ 已修改文件
src/constants/enterpriseMaterial.ts 24 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/EnterpriseInfo/EnterpriseInfo.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/EnterpriseInfo/components/EnterpriseBasicInfoView.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/MaterialReview/MaterialReviewAudit.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/MaterialReview/MaterialReviewDetail.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/Reward/RewardDeclareDetail.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/constants/enterpriseMaterial.ts
@@ -110,28 +110,28 @@
  ...DutiableFileBusinessTypeEnumText,
};
export enum AuthType {
export enum EnterpriseType {
  /**
   * 人资公司
   * 人力资源公司
   */
  HumanResourceCompany = 10,
  HREnterprise = 10,
  /**
   * 行业配套服务公司
   * 甲方企业
   */
  IndustryMating = 20,
  FirstPartyCompany = 20,
  /**
   * 用工单位
   * 行业配套
   */
  Employers = 30,
  IndustryMating = 30,
  /**
   * 行业机构
   */
  IndustryBody = 40,
}
export const AuthTypeText = {
  [AuthType.HumanResourceCompany]: '人资公司',
  [AuthType.IndustryMating]: '配套服务商',
  [AuthType.Employers]: '甲方单位',
  [AuthType.IndustryBody]: '行业机构',
export const EnterpriseTypeText = {
  [EnterpriseType.HREnterprise]: '人资公司',
  [EnterpriseType.FirstPartyCompany]: '甲方企业',
  [EnterpriseType.IndustryMating]: '行业配套',
  [EnterpriseType.IndustryBody]: '行业机构',
};
src/views/EnterpriseInfo/EnterpriseInfo.vue
@@ -60,7 +60,7 @@
import * as parkBountyApplyServices from '@/services/api/ParkBountyApply';
import _ from 'lodash';
import { ModelValueType } from 'element-plus';
import { AuthTypeText } from '@/constants';
import { EnterpriseTypeText } from '@/constants';
defineOptions({
  name: 'EnterpriseInfo',
@@ -186,7 +186,7 @@
      lastApplyTime: { type: 'date', format: 'YYYY-MM-DD HH:mm:ss' },
      lastPayTime: { type: 'date', format: 'YYYY-MM-DD HH:mm:ss' },
      bountyAmount: { type: 'money' },
      enterpriseType: { type: 'enum', valueEnum: AuthTypeText },
      enterpriseType: { type: 'enum', valueEnum: EnterpriseTypeText },
    },
  }
);
src/views/EnterpriseInfo/components/EnterpriseBasicInfoView.vue
@@ -16,7 +16,10 @@
            </ProFormColItem>
            <ProFormColItem :span="8">
              <ProFormItemV2 label="企业类型:" prop="enterpriseType">
                <ProFormRadio v-model.trim="detail.enterpriseType" :value-enum="AuthTypeText" />
                <ProFormRadio
                  v-model.trim="detail.enterpriseType"
                  :value-enum="EnterpriseTypeText"
                />
              </ProFormItemV2>
            </ProFormColItem>
          </ProFormCol>
@@ -72,7 +75,7 @@
} from '@bole-core/components';
import { useQuery } from '@tanstack/vue-query';
import * as customerServices from '@/services/api/Customer';
import { AuthTypeText } from '@/constants';
import { EnterpriseTypeText } from '@/constants';
import { convertApi2FormUrlOnlyOne } from '@/utils';
defineOptions({
src/views/MaterialReview/MaterialReviewAudit.vue
@@ -71,7 +71,7 @@
  useTable,
} from '@bole-core/components';
import {
  AuthTypeText,
  EnterpriseTypeText,
  BountyCheckStatusEnum,
  BountyCheckStatusEnumTextForAudit,
} from '@/constants';
@@ -162,7 +162,7 @@
      searchKeyWord: '',
    },
    columnsRenderProps: {
      authType: { type: 'enum', valueEnum: AuthTypeText },
      authType: { type: 'enum', valueEnum: EnterpriseTypeText },
      licenseUrl: {
        type: 'url',
        formatter: (row: API.UserCertificationAuditListDto) => setOSSLink(row.licenseUrl),
src/views/MaterialReview/MaterialReviewDetail.vue
@@ -63,7 +63,7 @@
import { useRouteView } from '@/hooks';
import { OrderInputType } from '@bole-core/core';
import {
  AuthTypeText,
  EnterpriseTypeText,
  BountyCheckStatusEnum,
  BountyCheckStatusEnumText,
  BountyCheckStatusEnumColor,
@@ -152,7 +152,7 @@
      searchKeyWord: '',
    },
    columnsRenderProps: {
      authType: { type: 'enum', valueEnum: AuthTypeText },
      authType: { type: 'enum', valueEnum: EnterpriseTypeText },
      licenseUrl: {
        type: 'url',
        formatter: (row: API.UserCertificationAuditListDto) => setOSSLink(row.licenseUrl),
src/views/Reward/RewardDeclareDetail.vue
@@ -46,7 +46,7 @@
import { convertApi2FormUrlOnlyOne, setOSSLink } from '@/utils';
import { useRouteView } from '@/hooks';
import { OrderInputType } from '@bole-core/core';
import { AuthTypeText } from '@/constants';
import { EnterpriseTypeText } from '@/constants';
import { FourStreamsMaterialFileTableItem } from '@/components/commonView/types';
import { useIndustrialParkDropDownList } from '@/hooks/industrialPark';
import { FourStreamsMaterialUtils } from '@/components/commonView/utils';
@@ -124,7 +124,7 @@
      searchKeyWord: '',
    },
    columnsRenderProps: {
      authType: { type: 'enum', valueEnum: AuthTypeText },
      authType: { type: 'enum', valueEnum: EnterpriseTypeText },
      licenseUrl: {
        type: 'url',
        formatter: (row: API.UserCertificationAuditListDto) => setOSSLink(row.licenseUrl),