zhengyiming
9 天以前 90a68941cad9dbd69d40c773c156110c5688a923
fix: s
1个文件已添加
10个文件已修改
703 ■■■■ 已修改文件
apps/bMiniApp/src/pages/home/HomeQueryPositionMenuView.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packages/components/src/Form/ProRadio.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
packages/components/src/Input/ChooseInputWithPicker.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packages/constants/apiEnum.ts 60 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packages/hooks/dic.ts 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packages/services/apiV2/dictionary.ts 19 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packages/services/apiV2/enterprise.ts 51 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packages/services/apiV2/index.ts 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packages/services/apiV2/task.ts 45 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packages/services/apiV2/typings.d.ts 486 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
types/api.d.ts 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
apps/bMiniApp/src/pages/home/HomeQueryPositionMenuView.vue
@@ -43,5 +43,9 @@
.home-query-position-menu-view {
  max-height: 400px;
  .position-select-view {
    height: 400px;
  }
}
</style>
packages/components/src/Form/ProRadio.vue
@@ -32,7 +32,7 @@
  allBtnLabel: '不限',
  allBtnValue: '',
  enumLabelKey: 'label',
  enumValueKey: 'value',
  enumValueKey: 'code',
});
const model = defineModel<string | number>();
packages/components/src/Input/ChooseInputWithPicker.vue
@@ -21,8 +21,8 @@
};
const props = withDefaults(defineProps<Props>(), {
  enumLabelKey: 'name',
  enumValueKey: 'id',
  enumLabelKey: 'label',
  enumValueKey: 'code',
});
const emit = defineEmits<{
packages/constants/apiEnum.ts
@@ -1,6 +1,18 @@
/* eslint-disable */
// @ts-ignore
/** 计费方式 */
export enum EnumBillingMethod {
  /**按月 */
  Month = 10,
  /**按天 */
  Day = 20,
  /**按时 */
  Hour = 30,
  /**计件 */
  Piece = 40,
}
/** 客户端类型 */
export enum EnumClientType {
  /**电脑网页 */
@@ -53,18 +65,20 @@
export enum EnumResourceController {
  /**数据字典 */
  Dictionary = 0,
  /**任务 */
  Task = 1,
  /**用户认证 */
  Auth = 1,
  Auth = 2,
  /**用户菜单 */
  Menu = 2,
  Menu = 3,
  /**用户资源 */
  Resource = 3,
  Resource = 4,
  /**用户角色 */
  Role = 4,
  Role = 5,
  /**用户信息 */
  UserInfo = 5,
  UserInfo = 6,
  /**企业信息 */
  Enterprise = 6,
  Enterprise = 7,
}
/** 资源请求方式 */
@@ -95,12 +109,46 @@
  All = 999,
}
/** 结算周期 */
export enum EnumSettlementCycle {
  /**月结 */
  Month = 10,
  /**周结 */
  Week = 20,
  /**日结 */
  Day = 30,
}
/** 短信通道 */
export enum EnumSmsAccess {
  /**阿里云短信 */
  AliyunSms = 10,
}
/** 任务发布状态 */
export enum EnumTaskReleaseStatus {
  /**发布中 */
  InProcess = 20,
  /**已停止 */
  Stopped = 100,
}
/** 任务安排状态 */
export enum EnumTaskStatus {
  /**待安排 */
  Wait = 10,
  /**已安排 */
  Complete = 20,
}
/** 用户性别 */
export enum EnumUserGender {
  /**男 */
  Male = 10,
  /**女 */
  Female = 20,
}
/** 用户信息状态 */
export enum EnumUserInfoStatus {
  /**正常 */
packages/hooks/dic.ts
@@ -13,26 +13,25 @@
        fieldNamesMap: x.data.fieldNames ? JSON.parse(x.data.fieldNames) : {},
      }));
    },
    placeholderData: () =>
      [] as API.SelectQueryResultOptionGuidGetDictionaryCategorySelectQueryOption[],
    placeholderData: () => [] as API.SelectOptionGuidGetDictionaryCategorySelectQueryOption[],
  });
  const queryClient = useQueryClient();
  function ensureQueryData() {
    return queryClient.ensureQueryData<
      API.SelectQueryResultOptionGuidGetDictionaryCategorySelectQueryOption[]
      API.SelectOptionGuidGetDictionaryCategorySelectQueryOption[]
    >({
      queryKey: ['dictionaryServices/getDictionaryCategorySelect'],
    });
  }
  function getDictionaryCategoryById(id: string) {
    return dictionaryCategoryList.value.find((x) => x.value === id);
    return dictionaryCategoryList.value.find((x) => x.data?.id === id);
  }
  function getDictionaryCategoryByCode(code: string) {
    return dictionaryCategoryList.value.find((x) => x.code === code);
    return dictionaryCategoryList.value.find((x) => x.data?.code === code);
  }
  function getDictionaryCategoryNameByCode(code: string) {
@@ -72,16 +71,15 @@
        code: x.data?.code ?? '',
      }));
    },
    placeholderData: () =>
      [] as API.SelectQueryResultOptionGuidGetDictionaryDataSelectQueryResultOption[],
    placeholderData: () => [] as API.SelectOptionStringGetDictionaryDataSelectQueryResultOption[],
  });
  function getDictionaryDataNameById(id: string) {
    return dictionaryDataList.value?.find((x) => x.value === id)?.label;
    return dictionaryDataList.value?.find((x) => x.data?.id === id)?.label;
  }
  function getDictionaryDataByCode(code: string) {
    return dictionaryDataList.value?.find((x) => x.code === code);
    return dictionaryDataList.value?.find((x) => x.data?.code === code);
  }
  function getDictionaryDataNameByCode(code: string) {
@@ -92,7 +90,7 @@
  function ensureQueryData() {
    return queryClient.ensureQueryData<
      API.SelectQueryResultOptionGuidGetDictionaryDataSelectQueryResultOption[]
      API.SelectOptionStringGetDictionaryDataSelectQueryResultOption[]
    >({
      queryKey: ['dictionaryServices/getDictionaryDataSelect'],
    });
packages/services/apiV2/dictionary.ts
@@ -41,7 +41,7 @@
  params: API.APIgetDictionaryCategorySelectParams,
  options?: API.RequestConfig
) {
  return request<API.SelectQueryResultOptionGuidGetDictionaryCategorySelectQueryOption[]>(
  return request<API.SelectOptionGuidGetDictionaryCategorySelectQueryOption[]>(
    '/api/main/dictionary/getDictionaryCategorySelect',
    {
      method: 'GET',
@@ -79,7 +79,7 @@
  params: API.APIgetDictionaryDataSelectParams,
  options?: API.RequestConfig
) {
  return request<API.SelectQueryResultOptionGuidGetDictionaryDataSelectQueryResultOption[]>(
  return request<API.SelectOptionStringGetDictionaryDataSelectQueryResultOption[]>(
    '/api/main/dictionary/getDictionaryDataSelect',
    {
      method: 'GET',
@@ -135,3 +135,18 @@
    ...(options || {}),
  });
}
/** 同步人力资源地区字典数据 POST /api/main/dictionary/syncHumanResourcesAreaDictionaryData */
export async function syncHumanResourcesAreaDictionaryData(
  body: API.SyncHumanResourcesAreaDictionaryDataCommand,
  options?: API.RequestConfig
) {
  return request<number>('/api/main/dictionary/syncHumanResourcesAreaDictionaryData', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json-patch+json',
    },
    data: body,
    ...(options || {}),
  });
}
packages/services/apiV2/enterprise.ts
@@ -2,6 +2,39 @@
// @ts-ignore
import { request } from '@/utils/request';
/** 查询企业详情 GET /api/user/enterprise/getEnterprise */
export async function getEnterprise(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetEnterpriseParams,
  options?: API.RequestConfig
) {
  return request<API.GetEnterpriseQueryResult>('/api/user/enterprise/getEnterprise', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 查询企业电子签配置 GET /api/user/enterprise/getEnterpriseElectronSignSetting */
export async function getEnterpriseElectronSignSetting(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetEnterpriseElectronSignSettingParams,
  options?: API.RequestConfig
) {
  return request<API.GetEnterpriseElectronSignSettingQueryResult>(
    '/api/user/enterprise/getEnterpriseElectronSignSetting',
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    }
  );
}
/** 查询企业信息分页列表数据 POST /api/user/enterprise/getEnterprises */
export async function getEnterprises(body: API.GetEnterprisesQuery, options?: API.RequestConfig) {
  return request<API.PagedListQueryResultGetEnterprisesQueryResultItem>(
@@ -17,6 +50,24 @@
  );
}
/** 查询企业短信配置 GET /api/user/enterprise/getEnterpriseSmsSetting */
export async function getEnterpriseSmsSetting(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetEnterpriseSmsSettingParams,
  options?: API.RequestConfig
) {
  return request<API.GetEnterpriseSmsSettingQueryResult>(
    '/api/user/enterprise/getEnterpriseSmsSetting',
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    }
  );
}
/** 保存企业 POST /api/user/enterprise/saveEnterprise */
export async function saveEnterprise(body: API.SaveEnterpriseCommand, options?: API.RequestConfig) {
  return request<string>('/api/user/enterprise/saveEnterprise', {
packages/services/apiV2/index.ts
@@ -2,19 +2,21 @@
/* eslint-disable */
// API 更新时间:
// API 唯一标识:
import * as userInfo from './userInfo';
import * as auth from './auth';
import * as menu from './menu';
import * as dictionary from './dictionary';
import * as menu from './menu';
import * as resource from './resource';
import * as role from './role';
import * as userInfo from './userInfo';
import * as enterprise from './enterprise';
import * as task from './task';
export default {
  userInfo,
  auth,
  menu,
  dictionary,
  menu,
  resource,
  role,
  userInfo,
  enterprise,
  task,
};
packages/services/apiV2/task.ts
New file
@@ -0,0 +1,45 @@
/* eslint-disable */
// @ts-ignore
import { request } from '@/utils/request';
/** 查询任务详情 GET /api/main/task/getTaskInfo */
export async function getTaskInfo(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetTaskInfoParams,
  options?: API.RequestConfig
) {
  return request<API.GetTaskInfoQueryResult>('/api/main/task/getTaskInfo', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 查询任务分页列表 POST /api/main/task/getTaskInfos */
export async function getTaskInfos(body: API.GetTaskInfosQuery, options?: API.RequestConfig) {
  return request<API.PagedListQueryResultGetTaskInfosQueryResultItem>(
    '/api/main/task/getTaskInfos',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json-patch+json',
      },
      data: body,
      ...(options || {}),
    }
  );
}
/** 保存任务 POST /api/main/task/saveTaskInfo */
export async function saveTaskInfo(body: API.SaveTaskInfoCommand, options?: API.RequestConfig) {
  return request<string>('/api/main/task/saveTaskInfo', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json-patch+json',
    },
    data: body,
    ...(options || {}),
  });
}
packages/services/apiV2/typings.d.ts
@@ -30,6 +30,27 @@
    categoryCode?: string;
    /** 上级Id */
    parentId?: string;
    /** 关键字 */
    keywords?: string;
    /** 查询所有 */
    all?: boolean;
    /** 最大深度 */
    maxDeep?: number;
  }
  interface APIgetEnterpriseElectronSignSettingParams {
    /** Id */
    id?: string;
  }
  interface APIgetEnterpriseParams {
    /** Id */
    id?: string;
  }
  interface APIgetEnterpriseSmsSettingParams {
    /** Id */
    id?: string;
  }
  interface APIgetMenuParams {
@@ -72,6 +93,11 @@
    roleId?: string;
  }
  interface APIgetTaskInfoParams {
    /** Id */
    id?: string;
  }
  interface APIgetUserInfoRolesParams {
    /** 用户Id */
    userInfoId?: string;
@@ -91,75 +117,22 @@
    ids: string[];
  }
  interface DictionaryCategory {
    id?: string;
    createdTime?: string;
    updatedTime?: string;
    /** 排序 */
    sort?: number;
    /** 跟踪Id */
    traceId?: string;
    /** 创建操作人 */
    createdUserInfoId?: string;
    /** 最后更新操作人 */
    updatedUserInfoId?: string;
    /** 是否删除 */
    isDeleted?: boolean;
    /** 编号 */
    code: string;
    /** 名称 */
    name: string;
    /** 字段名(逗号隔开) */
    fieldNames?: string;
    /** 备注 */
    remark?: string;
  }
  interface DictionaryData {
    id?: string;
    createdTime?: string;
    updatedTime?: string;
    /** 排序 */
    sort?: number;
    /** 跟踪Id */
    traceId?: string;
    /** 创建操作人 */
    createdUserInfoId?: string;
    /** 最后更新操作人 */
    updatedUserInfoId?: string;
    /** 是否删除 */
    isDeleted?: boolean;
    /** 类别Id */
    categoryId?: string;
    category?: DictionaryCategory;
    /** 上级Id */
    parentId?: string;
    parent?: DictionaryData;
    /** 下级 */
    children?: DictionaryData[];
    /** 字典路径 */
    path?: string;
  interface DictionaryDataQueryModel {
    /** 编号 */
    code?: string;
    /** 显示内容 */
    content: string;
    /** 字段1 */
    field1?: string;
    /** 字段2 */
    field2?: string;
    /** 字段3 */
    field3?: string;
    /** 字段4 */
    field4?: string;
    /** 字段5 */
    field5?: string;
    /** 是否禁用 */
    isDisabled?: boolean;
    /** 名称 */
    name?: string;
  }
  interface DictionaryDataQueryResult {
    /** 内容 */
    content?: string;
  enum EnumBillingMethod {
    /**按月 */
    Month = 10,
    /**按天 */
    Day = 20,
    /**按时 */
    Hour = 30,
    /**计件 */
    Piece = 40,
  }
  enum EnumClientType {
@@ -208,18 +181,20 @@
  enum EnumResourceController {
    /**数据字典 */
    Dictionary = 0,
    /**任务 */
    Task = 1,
    /**用户认证 */
    Auth = 1,
    Auth = 2,
    /**用户菜单 */
    Menu = 2,
    Menu = 3,
    /**用户资源 */
    Resource = 3,
    Resource = 4,
    /**用户角色 */
    Role = 4,
    Role = 5,
    /**用户信息 */
    UserInfo = 5,
    UserInfo = 6,
    /**企业信息 */
    Enterprise = 6,
    Enterprise = 7,
  }
  enum EnumResourceMethod {
@@ -248,9 +223,39 @@
    All = 999,
  }
  enum EnumSettlementCycle {
    /**月结 */
    Month = 10,
    /**周结 */
    Week = 20,
    /**日结 */
    Day = 30,
  }
  enum EnumSmsAccess {
    /**阿里云短信 */
    AliyunSms = 10,
  }
  enum EnumTaskReleaseStatus {
    /**发布中 */
    InProcess = 20,
    /**已停止 */
    Stopped = 100,
  }
  enum EnumTaskStatus {
    /**待安排 */
    Wait = 10,
    /**已安排 */
    Complete = 20,
  }
  enum EnumUserGender {
    /**男 */
    Male = 10,
    /**女 */
    Female = 20,
  }
  enum EnumUserInfoStatus {
@@ -287,6 +292,60 @@
    timestamp?: number;
  }
  interface FriendlyResultGetEnterpriseElectronSignSettingQueryResult {
    /** 跟踪Id */
    traceId?: string;
    /** 状态码 */
    code?: number;
    /** 错误码 */
    errorCode?: string;
    data?: GetEnterpriseElectronSignSettingQueryResult;
    /** 执行成功 */
    success?: boolean;
    /** 错误信息 */
    msg?: any;
    /** 附加数据 */
    extras?: any;
    /** 时间戳 */
    timestamp?: number;
  }
  interface FriendlyResultGetEnterpriseQueryResult {
    /** 跟踪Id */
    traceId?: string;
    /** 状态码 */
    code?: number;
    /** 错误码 */
    errorCode?: string;
    data?: GetEnterpriseQueryResult;
    /** 执行成功 */
    success?: boolean;
    /** 错误信息 */
    msg?: any;
    /** 附加数据 */
    extras?: any;
    /** 时间戳 */
    timestamp?: number;
  }
  interface FriendlyResultGetEnterpriseSmsSettingQueryResult {
    /** 跟踪Id */
    traceId?: string;
    /** 状态码 */
    code?: number;
    /** 错误码 */
    errorCode?: string;
    data?: GetEnterpriseSmsSettingQueryResult;
    /** 执行成功 */
    success?: boolean;
    /** 错误信息 */
    msg?: any;
    /** 附加数据 */
    extras?: any;
    /** 时间戳 */
    timestamp?: number;
  }
  interface FriendlyResultGetMenuQueryResult {
    /** 跟踪Id */
    traceId?: string;
@@ -313,6 +372,24 @@
    /** 错误码 */
    errorCode?: string;
    data?: GetRoleQueryResult;
    /** 执行成功 */
    success?: boolean;
    /** 错误信息 */
    msg?: any;
    /** 附加数据 */
    extras?: any;
    /** 时间戳 */
    timestamp?: number;
  }
  interface FriendlyResultGetTaskInfoQueryResult {
    /** 跟踪Id */
    traceId?: string;
    /** 状态码 */
    code?: number;
    /** 错误码 */
    errorCode?: string;
    data?: GetTaskInfoQueryResult;
    /** 执行成功 */
    success?: boolean;
    /** 错误信息 */
@@ -456,7 +533,7 @@
    timestamp?: number;
  }
  interface FriendlyResultListSelectQueryResultOptionGuidGetDictionaryCategorySelectQueryOption {
  interface FriendlyResultListSelectOptionGuidGetDictionaryCategorySelectQueryOption {
    /** 跟踪Id */
    traceId?: string;
    /** 状态码 */
@@ -464,7 +541,7 @@
    /** 错误码 */
    errorCode?: string;
    /** 数据 */
    data?: SelectQueryResultOptionGuidGetDictionaryCategorySelectQueryOption[];
    data?: SelectOptionGuidGetDictionaryCategorySelectQueryOption[];
    /** 执行成功 */
    success?: boolean;
    /** 错误信息 */
@@ -475,7 +552,7 @@
    timestamp?: number;
  }
  interface FriendlyResultListSelectQueryResultOptionGuidGetDictionaryDataSelectQueryResultOption {
  interface FriendlyResultListSelectOptionStringGetDictionaryDataSelectQueryResultOption {
    /** 跟踪Id */
    traceId?: string;
    /** 状态码 */
@@ -483,7 +560,7 @@
    /** 错误码 */
    errorCode?: string;
    /** 数据 */
    data?: SelectQueryResultOptionGuidGetDictionaryDataSelectQueryResultOption[];
    data?: SelectOptionStringGetDictionaryDataSelectQueryResultOption[];
    /** 执行成功 */
    success?: boolean;
    /** 错误信息 */
@@ -584,6 +661,24 @@
    timestamp?: number;
  }
  interface FriendlyResultPagedListQueryResultGetTaskInfosQueryResultItem {
    /** 跟踪Id */
    traceId?: string;
    /** 状态码 */
    code?: number;
    /** 错误码 */
    errorCode?: string;
    data?: PagedListQueryResultGetTaskInfosQueryResultItem;
    /** 执行成功 */
    success?: boolean;
    /** 错误信息 */
    msg?: any;
    /** 附加数据 */
    extras?: any;
    /** 时间戳 */
    timestamp?: number;
  }
  interface FriendlyResultPasswordLoginCommandCallback {
    /** 跟踪Id */
    traceId?: string;
@@ -641,6 +736,8 @@
    categoryId?: string;
    /** 类别编号(Id/编号二选一) */
    categoryCode?: string;
    /** 上级Id */
    parentId?: string;
    /** 关键字 */
    keywords?: string;
  }
@@ -654,7 +751,6 @@
    categoryCode?: string;
    /** 类别名称 */
    categoryName?: string;
    category?: GetDictionaryDatasQueryResultItemCategory;
    /** 上级Id */
    parentId?: string;
    /** 编号 */
@@ -677,11 +773,59 @@
    isDisabled?: boolean;
  }
  interface GetDictionaryDatasQueryResultItemCategory {
    /** 类别编号 */
    code?: string;
    /** 名称 */
    name?: string;
  interface GetEnterpriseElectronSignSettingQueryResult {
    /** Id */
    id?: string;
    realAccess?: EnumRealAccess;
    /** 实名费用 */
    realVerifyCost?: number;
    /** 签约费用 */
    signCost?: number;
    /** 一口价 */
    mergeSignCost?: number;
  }
  interface GetEnterpriseQueryResult {
    /** Id */
    id?: string;
    /** 企业全称 */
    enterpriseName?: string;
    /** 统一社会信用代码 */
    societyCreditCode?: string;
    /** 法人姓名 */
    legalPerson?: string;
    /** 法人身份证号 */
    legalIdentity?: string;
    /** 所在省份编号 */
    provinceCode?: string;
    /** 所在省份 */
    provinceContent?: string;
    /** 所在城市编号 */
    cityCode?: string;
    /** 所在城市 */
    cityContent?: string;
    /** 所属行业编号 */
    industryTypeCode?: string;
    /** 所属行业 */
    industryTypeContent?: string;
    /** 主营业务 */
    mainBusiness?: string;
    /** 联系人 */
    contacts?: string;
    /** 联系电话 */
    contactPhoneNumber?: string;
    /** 联系邮箱 */
    contactEmail?: string;
    /** 账号 */
    userName?: string;
  }
  interface GetEnterpriseSmsSettingQueryResult {
    /** Id */
    id?: string;
    smsAccess?: EnumSmsAccess;
    /** 短信费用 */
    smsCost?: number;
  }
  interface GetEnterprisesQuery {
@@ -695,23 +839,24 @@
  interface GetEnterprisesQueryResultItem {
    /** Id */
    id?: string;
    /** 企业全称 */
    enterpriseName?: string;
    /** 法人姓名 */
    legalPerson?: string;
    /** 统一社会信用代码 */
    societyCreditCode?: string;
    /** 是否实名 */
    isReal?: boolean;
    /** 联系人 */
    contacts?: string;
    /** 联系电话 */
    contactNumber?: string;
    /** 所在省份Id */
    provinceId?: string;
    province?: DictionaryDataQueryResult;
    /** 所在城市Id */
    cityId?: string;
    city?: DictionaryDataQueryResult;
    /** 所属行业Id */
    industryTypeId?: string;
    industryType?: DictionaryDataQueryResult;
    /** 是否已校验银行账户 */
    isCheckedBankCard?: boolean;
    realAccess?: EnumRealAccess;
    smsAccess?: EnumSmsAccess;
    contactPhoneNumber?: string;
    /** 所在省份 */
    provinceContent?: string;
    /** 所在城市 */
    cityContent?: string;
    /** 所属行业 */
    industryTypeContent?: string;
    /** 是否已配置 */
    isConfigured?: boolean;
  }
@@ -855,8 +1000,6 @@
  }
  interface GetOperationUserInfosQueryResultItemRole {
    /** 用户Id */
    userInfoId?: string;
    /** 角色Id */
    id?: string;
    /** 名称 */
@@ -956,6 +1099,72 @@
    isChecked?: boolean;
  }
  interface GetTaskInfoQueryResult {
    /** Id */
    id?: string;
    /** 任务名称 */
    name?: string;
    billingMethod?: EnumBillingMethod;
    /** 服务费 */
    serviceFee?: number;
    settlementCycle?: EnumSettlementCycle;
    /** 福利 */
    benefits?: DictionaryDataQueryModel[];
    /** 年龄范围最小 */
    ageMinLimit?: number;
    /** 年龄范围大 */
    ageMaxLimit?: number;
    genderLimit?: EnumUserGender;
    /** 资格证书类型 */
    credentialLimits?: DictionaryDataQueryModel[];
    /** 任务地点所属省份编号 */
    provinceCode?: string;
    /** 任务地点所属省份 */
    provinceName?: string;
    /** 任务地点所属城市编号 */
    cityCode?: string;
    /** 任务地点所属城市 */
    cityName?: string;
    /** 任务地点详细地址 */
    address?: string;
    /** 任务开始时间 */
    beginTime?: string;
    /** 任务结束时间 */
    endTime?: string;
    /** 创建时间 */
    createdTime?: string;
  }
  interface GetTaskInfosQuery {
    pageModel?: PagedListQueryPageModel;
    /** 关键字(任务名称) */
    keywords?: string;
    /** 发布时间 */
    time?: string;
    status?: EnumTaskStatus;
    releaseStatus?: EnumTaskReleaseStatus;
  }
  interface GetTaskInfosQueryResultItem {
    /** 任务名称 */
    name: string;
    /** 任务单号 */
    code?: string;
    billingMethod?: EnumBillingMethod;
    /** 服务费 */
    serviceFee?: number;
    settlementCycle?: EnumSettlementCycle;
    genderLimit?: EnumUserGender;
    /** 报名人数 */
    userCount?: number;
    status?: EnumTaskStatus;
    /** 任务开始时间 */
    beginTime?: string;
    /** 任务结束时间 */
    endTime?: string;
    releaseStatus?: EnumTaskReleaseStatus;
  }
  interface GetUserInfoRolesQueryResultItem {
    /** 角色Id */
    id?: string;
@@ -1012,6 +1221,12 @@
    data?: GetRolesQueryResultItem[];
  }
  interface PagedListQueryResultGetTaskInfosQueryResultItem {
    pageModel?: PagedListQueryResultPageModel;
    /** 数据 */
    data?: GetTaskInfosQueryResultItem[];
  }
  interface PagedListQueryResultPageModel {
    /** 行数 */
    rows?: number;
@@ -1057,12 +1272,14 @@
  interface SaveDictionaryDataCommand {
    /** Id */
    id?: string;
    /** 类别Id */
    /** 类别Id(Id/编号二选一) */
    categoryId?: string;
    /** 类别编号(Id/编号二选一) */
    categoryCode?: string;
    /** 上级Id */
    parentId?: string;
    /** 编号 */
    code?: string;
    code: string;
    /** 显示内容 */
    content: string;
    /** 字段1 */
@@ -1084,16 +1301,20 @@
  interface SaveEnterpriseCommand {
    /** Id */
    id?: string;
    enterpriseAuth: SaveEnterpriseCommandAuth;
    /** 所在省份Id */
    provinceId?: string;
    province?: DictionaryData;
    /** 所在城市Id */
    cityId?: string;
    city?: DictionaryData;
    /** 所属行业Id */
    industryTypeId?: string;
    industryType?: DictionaryData;
    /** 企业全称 */
    enterpriseName: string;
    /** 统一社会信用代码 */
    societyCreditCode: string;
    /** 法人姓名 */
    legalPerson?: string;
    /** 法人身份证号 */
    legalIdentity?: string;
    /** 所在省份编号 */
    provinceCode?: string;
    /** 所在城市编号 */
    cityCode?: string;
    /** 所属行业编号 */
    industryTypeCode?: string;
    /** 主营业务 */
    mainBusiness?: string;
    /** 联系人 */
@@ -1106,17 +1327,6 @@
    userName?: string;
    /** 密码 */
    password?: string;
  }
  interface SaveEnterpriseCommandAuth {
    /** 企业全称 */
    enterpriseName: string;
    /** 统一社会信用代码 */
    societyCreditCode: string;
    /** 法人姓名 */
    legalPerson?: string;
    /** 法人身份证号 */
    legalIdentity?: string;
  }
  interface SaveMenuButtonCommand {
@@ -1260,7 +1470,37 @@
    resources?: GetRoleQueryResultResource[];
  }
  interface SelectQueryResultOptionGuidGetDictionaryCategorySelectQueryOption {
  interface SaveTaskInfoCommand {
    /** Id */
    id?: string;
    /** 任务名称 */
    name: string;
    billingMethod: EnumBillingMethod;
    /** 服务费 */
    serviceFee: number;
    settlementCycle: EnumSettlementCycle;
    /** 福利编号 */
    benefits?: string[];
    /** 年龄范围最小 */
    ageMinLimit: number;
    /** 年龄范围大 */
    ageMaxLimit: number;
    genderLimit: EnumUserGender;
    /** 资格证书类型编号 */
    credentialLimits?: string[];
    /** 任务地点所属省份编号 */
    provinceCode: string;
    /** 任务地点所属城市编号 */
    cityCode: string;
    /** 任务地点详细地址 */
    address: string;
    /** 任务开始时间 */
    beginTime: string;
    /** 任务结束时间 */
    endTime: string;
  }
  interface SelectOptionGuidGetDictionaryCategorySelectQueryOption {
    /** 值 */
    value?: string;
    /** 标签 */
@@ -1269,7 +1509,7 @@
    data?: any;
  }
  interface SelectQueryResultOptionGuidGetDictionaryDataSelectQueryResultOption {
  interface SelectOptionStringGetDictionaryDataSelectQueryResultOption {
    /** 值 */
    value?: string;
    /** 标签 */
@@ -1339,4 +1579,6 @@
    ids?: string[];
    status?: EnumUserInfoStatus;
  }
  type SyncHumanResourcesAreaDictionaryDataCommand = Record<string, any>;
}
types/api.d.ts
@@ -25,12 +25,12 @@
    field1?:string
  }
  interface SelectQueryResultOptionGuidGetDictionaryCategorySelectQueryOption{
  interface SelectOptionStringGetDictionaryDataSelectQueryResultOption{
    fieldNamesMap?: SelectQueryResultOptionGuidGetDictionaryCategorySelectQueryOptionMap;
    code?:string
  }
  interface SelectQueryResultOptionGuidGetDictionaryDataSelectQueryResultOption{
  interface SelectOptionGuidGetDictionaryCategorySelectQueryOption{
    code?:string
  }
}