zhengyiming
2025-02-18 251c70f836e4f922904b9131c52f15d5ac58c9fd
feat: init
8个文件已修改
4个文件已添加
3个文件已删除
2239 ■■■■■ 已修改文件
.env.development 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
config/openapi.json 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/hooks/useUser.ts 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/services/api/Account.ts 394 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/services/api/Common.ts 45 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/services/api/FlexWorker.ts 105 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/services/api/InsuranceClaim.ts 155 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/services/api/InsuranceOrder.ts 129 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/services/api/SearchSetting.ts 86 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/services/api/User.ts 160 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/services/api/UserResume.ts 134 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/services/api/index.ts 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/services/api/typings.d.ts 986 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/store/modules/user.ts 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/utils/oss/index.ts 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.env.development
@@ -1,5 +1,5 @@
# 项目本地运行端口号
VITE_PORT = 8698
VITE_PORT = 8198
# 开发环境读取配置文件路径
VITE_PUBLIC_PATH = /
@@ -11,8 +11,8 @@
VITE_ROUTER_HISTORY = "h5"
# 开发环境后端地址
# VITE_PROXY_DOMAIN_REAL = "http://localhost:57190"
VITE_PROXY_DOMAIN_REAL = "http://118.178.252.28:8752/"
VITE_PROXY_DOMAIN_REAL = "http://localhost:58190"
# VITE_PROXY_DOMAIN_REAL = "http://118.178.252.28:8752/"
VITE_COMPRESSION = "none"
config/openapi.json
@@ -2,7 +2,7 @@
  "config": [
    {
      "requestLibPath": "import { request } from '@/utils/request'",
      "schemaPath": "http://localhost:57190/swagger/v1/swagger.json",
      "schemaPath": "http://localhost:58190/swagger/v1/swagger.json",
      "serversPath": "./src/services"
    }
  ]
src/hooks/useUser.ts
@@ -1,7 +1,6 @@
import { useUserStore } from '@/store/modules/user';
import { UserUtils } from '@bole-core/core';
// import * as userRoleServices from '@/services/api/UserRole';
import * as userServices from '@/services/api/User';
import { useQuery, useQueryClient } from '@tanstack/vue-query';
export function useIsSystemAdmin() {
src/services/api/Account.ts
@@ -2,6 +2,400 @@
// @ts-ignore
import { request } from '@/utils/request';
/** 根据手机号判断用户是否已存在 POST /api/Account/AnyUserByPhoneNumber */
export async function anyUserByPhoneNumber(
  body: API.AnyUserByPhoneNumberInput,
  options?: API.RequestConfig
) {
  return request<boolean>('/api/Account/AnyUserByPhoneNumber', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** C端验证码登录 POST /api/Account/CClientPhoneMesssageCodeLogin */
export async function cClientPhoneMesssageCodeLogin(
  body: API.PhoneMesssageCodeLoginInput,
  options?: API.RequestConfig
) {
  return request<API.IdentityModelTokenCacheItem>('/api/Account/CClientPhoneMesssageCodeLogin', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** C端手机号验证码注册注册 POST /api/Account/CClientPhoneMesssageCodeRegister */
export async function cClientPhoneMesssageCodeRegister(
  body: API.PhoneMesssageCodeRegisterInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/Account/CClientPhoneMesssageCodeRegister', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 用户根据当前密码修改密码 POST /api/Account/ChangePasswordFromCurrentPwd */
export async function changePasswordFromCurrentPwd(
  body: API.ChangePasswordFromCurrentPwdInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/Account/ChangePasswordFromCurrentPwd', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 用户根据手机号修改密码验证码 POST /api/Account/ChangePasswordFromPhoneNumber */
export async function changePasswordFromPhoneNumber(
  body: API.ChangePasswordFromPhoneNumberInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/Account/ChangePasswordFromPhoneNumber', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 未登录下根据手机号修改密码验证码(忘记密码) POST /api/Account/ChangePasswordWithNoLogin */
export async function changePasswordWithNoLogin(
  body: API.ChangePasswordFromPhoneNumberInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/Account/ChangePasswordWithNoLogin', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 修改账号 POST /api/Account/ChangeUserName */
export async function changeUserName(body: API.ChangeUserNameInput, options?: API.RequestConfig) {
  return request<number>('/api/Account/ChangeUserName', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 管理员更改用户登录手机号 POST /api/Account/ChangeUserPhoneNumberForAdmin */
export async function changeUserPhoneNumberForAdmin(
  body: API.ChangePhoneNumberInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/Account/ChangeUserPhoneNumberForAdmin', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 用户更改登录手机号 POST /api/Account/ChangeUserPhoneNumberForUser */
export async function changeUserPhoneNumberForUser(
  body: API.ChangeUserPhoneNumberForUserInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/Account/ChangeUserPhoneNumberForUser', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 生成账号 POST /api/Account/GenerateUserName */
export async function generateUserName(
  body: API.GenerateUserNameInput,
  options?: API.RequestConfig
) {
  return request<string>('/api/Account/GenerateUserName', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 此处后端没有提供注释 POST /api/Account/GetOssSTS */
export async function getOssSTS(options?: API.RequestConfig) {
  return request<API.OssSTSReponse>('/api/Account/GetOssSTS', {
    method: 'POST',
    ...(options || {}),
  });
}
/** 获取扫码登录二维码信息 GET /api/Account/GetQrCodeForLogin */
export async function getQrCodeForLogin(options?: API.RequestConfig) {
  return request<API.QrCodeLogin>('/api/Account/GetQrCodeForLogin', {
    method: 'GET',
    ...(options || {}),
  });
}
/** 获取扫码登录结果 GET /api/Account/GetQrCodeLoginResult */
export async function getQrCodeLoginResult(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetQrCodeLoginResultParams,
  options?: API.RequestConfig
) {
  return request<API.WxMiniAppLoginInfo>('/api/Account/GetQrCodeLoginResult', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 电子签登录 POST /api/Account/GetTokenForUserSign */
export async function getTokenForUserSign(body: API.AccessRequestDto, options?: API.RequestConfig) {
  return request<API.IdentityModelTokenCacheItem>('/api/Account/GetTokenForUserSign', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 此处后端没有提供注释 POST /api/Account/GetTokenForWeb */
export async function getTokenForWeb(body: API.AccessRequestDto, options?: API.RequestConfig) {
  return request<API.IdentityModelTokenCacheItem>('/api/Account/GetTokenForWeb', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 获取微信小程序用户身份会话信息 GET /api/Account/GetWxIndentity */
export async function getWxIndentity(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetWxIndentityParams,
  options?: API.RequestConfig
) {
  return request<API.WxMiniAppIndentityInfo>('/api/Account/GetWxIndentity', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 判断用户手机号是否重复 GET /api/Account/IsRepeatByPhoneNumber */
export async function isRepeatByPhoneNumber(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIisRepeatByPhoneNumberParams,
  options?: API.RequestConfig
) {
  return request<boolean>('/api/Account/IsRepeatByPhoneNumber', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 密码登录 POST /api/Account/PasswordLogin */
export async function passwordLogin(body: API.PasswordLoginInput, options?: API.RequestConfig) {
  return request<API.IdentityModelTokenCacheItem>('/api/Account/PasswordLogin', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 验证码登录 POST /api/Account/PhoneMesssageCodeLogin */
export async function phoneMesssageCodeLogin(
  body: API.PhoneMesssageCodeLoginInput,
  options?: API.RequestConfig
) {
  return request<API.IdentityModelTokenCacheItem>('/api/Account/PhoneMesssageCodeLogin', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 手机号验证码注册注册 POST /api/Account/PhoneMesssageCodeRegister */
export async function phoneMesssageCodeRegister(
  body: API.PhoneMesssageCodeRegisterInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/Account/PhoneMesssageCodeRegister', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 重置密码并发送手机通知新密码 POST /api/Account/ResetPasswordWithMicroNotify */
export async function resetPasswordWithMicroNotify(
  body: API.ResetPasswordBaseInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/Account/ResetPasswordWithMicroNotify', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 发送登录注册短信验证码 POST /api/Account/SendPhoneMesssageCode */
export async function sendPhoneMesssageCode(
  body: API.SendPhoneMesssageCodeInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/Account/SendPhoneMesssageCode', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 解绑用户手机号 POST /api/Account/UnbindingUserPhoneNumber */
export async function unbindingUserPhoneNumber(
  body: API.UnbindingUserPhoneNumber,
  options?: API.RequestConfig
) {
  return request<number>('/api/Account/UnbindingUserPhoneNumber', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 识别营业执照 GET /api/Account/VatLicense */
export async function vatLicense(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIvatLicenseParams,
  options?: API.RequestConfig
) {
  return request<API.LicenseOcrModel>('/api/Account/VatLicense', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 小程序手机授权注册登录 POST /api/Account/WxMiniAppPhoneAuthLogin */
export async function wxMiniAppPhoneAuthLogin(
  body: API.WxMiniAppPhoneLoginInput,
  options?: API.RequestConfig
) {
  return request<API.IdentityModelTokenCacheItem>('/api/Account/WxMiniAppPhoneAuthLogin', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 小程序扫码手机授权注册登录 POST /api/Account/WxMiniAppPhoneAuthLoginFromScan */
export async function wxMiniAppPhoneAuthLoginFromScan(
  body: API.WxMiniAppPhoneAuthLoginFromScanInput,
  options?: API.RequestConfig
) {
  return request<API.IdentityModelTokenCacheItem>('/api/Account/WxMiniAppPhoneAuthLoginFromScan', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 已有小程序用户确认登录 GET /api/Account/WxMiniAppUserLogin */
export async function wxMiniAppUserLogin(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIwxMiniAppUserLoginParams,
  options?: API.RequestConfig
) {
  return request<any>('/api/Account/WxMiniAppUserLogin', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 已有小程序用户扫码确认登录 POST /api/Account/WxMiniAppUserLoginFromScan */
export async function wxMiniAppUserLoginFromScan(
  body: API.WxMiniAppUserLoginFromScanInput,
  options?: API.RequestConfig
) {
  return request<API.IdentityModelTokenCacheItem>('/api/Account/WxMiniAppUserLoginFromScan', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 此处后端没有提供注释 GET /api/accountAuth/GetCode */
export async function getCode(options?: API.RequestConfig) {
  return request<any>('/api/accountAuth/GetCode', {
src/services/api/Common.ts
New file
@@ -0,0 +1,45 @@
/* eslint-disable */
// @ts-ignore
import { request } from '@/utils/request';
/** 获取预览数据 GET /api/Common/GetPreViewCache */
export async function getPreViewCache(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetPreViewCacheParams,
  options?: API.RequestConfig
) {
  return request<string>('/api/Common/GetPreViewCache', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 发送验证码 POST /api/Common/SendVerificationCode */
export async function sendVerificationCode(
  body: API.SendPhoneVerificationCodeByBusinessTypeInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/Common/SendVerificationCode', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 写入预览数据 POST /api/Common/SetPreViewCache */
export async function setPreViewCache(body: API.SetPreViewCacheInput, options?: API.RequestConfig) {
  return request<string>('/api/Common/SetPreViewCache', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
src/services/api/FlexWorker.ts
New file
@@ -0,0 +1,105 @@
/* eslint-disable */
// @ts-ignore
import { request } from '@/utils/request';
/** 发布/编辑任务 POST /api/FlexWorker/AddEidtFlexTask */
export async function addEidtFlexTask(body: API.AddEidtFlexTaskInput, options?: API.RequestConfig) {
  return request<number>('/api/FlexWorker/AddEidtFlexTask', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 任务删除 DELETE /api/FlexWorker/DeleteFlexTask */
export async function deleteFlexTask(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIdeleteFlexTaskParams,
  options?: API.RequestConfig
) {
  return request<number>('/api/FlexWorker/DeleteFlexTask', {
    method: 'DELETE',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** B端小程序-获取任务管理(未安排/已安排) POST /api/FlexWorker/GetFlexTaskByArrange */
export async function getFlexTaskByArrange(
  body: API.GetFlexTaskListInput,
  options?: API.RequestConfig
) {
  return request<API.GetFlexTaskListOutputPageOutput>('/api/FlexWorker/GetFlexTaskByArrange', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** B端小程序-获取验收管理(待验收/已验收) POST /api/FlexWorker/GetFlexTaskByIsOverCheck */
export async function getFlexTaskByIsOverCheck(
  body: API.GetFlexTaskListInput,
  options?: API.RequestConfig
) {
  return request<API.GetFlexTaskListOutputPageOutput>('/api/FlexWorker/GetFlexTaskByIsOverCheck', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 获取招聘任务详情 GET /api/FlexWorker/GetFlexTaskDto */
export async function getFlexTaskDto(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetFlexTaskDtoParams,
  options?: API.RequestConfig
) {
  return request<API.GetFlexTaskDtoOutput>('/api/FlexWorker/GetFlexTaskDto', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 获取招聘管理列表(发布中/已停止) POST /api/FlexWorker/GetFlexTaskList */
export async function getFlexTaskList(
  body: API.GetFlexTaskListByStatusInput,
  options?: API.RequestConfig
) {
  return request<API.GetFlexTaskListOutputPageOutput>('/api/FlexWorker/GetFlexTaskList', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 更新招聘任务发布状态 POST /api/FlexWorker/UpdateFlexTaskReleaseStatus */
export async function updateFlexTaskReleaseStatus(
  body: API.UpdateTaskReleaseStatusInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/FlexWorker/UpdateFlexTaskReleaseStatus', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
src/services/api/InsuranceClaim.ts
File was deleted
src/services/api/InsuranceOrder.ts
File was deleted
src/services/api/SearchSetting.ts
New file
@@ -0,0 +1,86 @@
/* eslint-disable */
// @ts-ignore
import { request } from '@/utils/request';
/** 搜索管理--新建编辑 POST /api/SearchSetting/CreateOrEditSearchSetting */
export async function createOrEditSearchSetting(
  body: API.CreateOrEditSearchInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/SearchSetting/CreateOrEditSearchSetting', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 搜索管理--禁用启用 POST /api/SearchSetting/EnableSearchSetting */
export async function enableSearchSetting(
  body: API.EnableSearchSettingInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/SearchSetting/EnableSearchSetting', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 根据获得全部指定类型搜索条件 POST /api/SearchSetting/GetAllSearchSettingList */
export async function getAllSearchSettingList(
  body: API.GetSearchSettingListInput,
  options?: API.RequestConfig
) {
  return request<API.GetSearchSettingList[]>('/api/SearchSetting/GetAllSearchSettingList', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 获取查询条件列表 GET /api/SearchSetting/GetSearchConditionList */
export async function getSearchConditionList(options?: API.RequestConfig) {
  return request<API.SearchConditionList[]>('/api/SearchSetting/GetSearchConditionList', {
    method: 'GET',
    ...(options || {}),
  });
}
/** 搜索管理--列表 POST /api/SearchSetting/GetSearchSettingList */
export async function getSearchSettingList(
  body: API.GetSearchSettingListInput,
  options?: API.RequestConfig
) {
  return request<API.GetSearchSettingListPageOutput>('/api/SearchSetting/GetSearchSettingList', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 根据类型获得指定类型搜索条件 POST /api/SearchSetting/GetTypeSearchSettingList */
export async function getTypeSearchSettingList(
  body: API.GetTypeSearchSettingListInput,
  options?: API.RequestConfig
) {
  return request<API.GetTypeSearchSettingList[]>('/api/SearchSetting/GetTypeSearchSettingList', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
src/services/api/User.ts
File was deleted
src/services/api/UserResume.ts
New file
@@ -0,0 +1,134 @@
/* eslint-disable */
// @ts-ignore
import { request } from '@/utils/request';
/** 此处后端没有提供注释 GET /api/UserResume/GetUserResume */
export async function getUserResume(options?: API.RequestConfig) {
  return request<API.MyResumeOutput>('/api/UserResume/GetUserResume', {
    method: 'GET',
    ...(options || {}),
  });
}
/** 此处后端没有提供注释 GET /api/UserResume/GetUserResumeCertificateDetailById */
export async function getUserResumeCertificateDetailById(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetUserResumeCertificateDetailByIdParams,
  options?: API.RequestConfig
) {
  return request<API.UserResumeCertificateDetailOutput>(
    '/api/UserResume/GetUserResumeCertificateDetailById',
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    }
  );
}
/** 此处后端没有提供注释 GET /api/UserResume/GetUserResumeCertificateList */
export async function getUserResumeCertificateList(options?: API.RequestConfig) {
  return request<API.UserResumeCertificateListOutput[]>(
    '/api/UserResume/GetUserResumeCertificateList',
    {
      method: 'GET',
      ...(options || {}),
    }
  );
}
/** 此处后端没有提供注释 GET /api/UserResume/GetUserResumeDetailInfo */
export async function getUserResumeDetailInfo(options?: API.RequestConfig) {
  return request<API.UserResumeDetailInfoOutput>('/api/UserResume/GetUserResumeDetailInfo', {
    method: 'GET',
    ...(options || {}),
  });
}
/** 此处后端没有提供注释 GET /api/UserResume/GetUserResumeWorkExperience */
export async function getUserResumeWorkExperience(options?: API.RequestConfig) {
  return request<API.UserResumeWorkExperienceOutput>(
    '/api/UserResume/GetUserResumeWorkExperience',
    {
      method: 'GET',
      ...(options || {}),
    }
  );
}
/** 此处后端没有提供注释 POST /api/UserResume/SaveUserResumeBaseInfo */
export async function saveUserResumeBaseInfo(
  body: API.SaveUserResumeBaseInfoInput,
  options?: API.RequestConfig
) {
  return request<any>('/api/UserResume/SaveUserResumeBaseInfo', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 此处后端没有提供注释 POST /api/UserResume/SaveUserResumeCertificate */
export async function saveUserResumeCertificate(
  body: API.SaveUserResumeCertificateInput,
  options?: API.RequestConfig
) {
  return request<any>('/api/UserResume/SaveUserResumeCertificate', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 此处后端没有提供注释 POST /api/UserResume/SaveUserResumeDetailInfo */
export async function saveUserResumeDetailInfo(
  body: API.SaveUserResumeDetailInfoInput,
  options?: API.RequestConfig
) {
  return request<any>('/api/UserResume/SaveUserResumeDetailInfo', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 此处后端没有提供注释 POST /api/UserResume/SaveUserResumeExpectationJob */
export async function saveUserResumeExpectationJob(
  body: API.SaveUserResumeExpectationJobInput,
  options?: API.RequestConfig
) {
  return request<any>('/api/UserResume/SaveUserResumeExpectationJob', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 此处后端没有提供注释 POST /api/UserResume/SaveUserResumeWorkExperience */
export async function saveUserResumeWorkExperience(
  body: API.SaveUserResumeWorkExperienceInput,
  options?: API.RequestConfig
) {
  return request<any>('/api/UserResume/SaveUserResumeWorkExperience', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
src/services/api/index.ts
@@ -6,33 +6,35 @@
import * as AbpApplicationConfiguration from './AbpApplicationConfiguration';
import * as Account from './Account';
import * as BaseModule from './BaseModule';
import * as Common from './Common';
import * as Features from './Features';
import * as FlexWorker from './FlexWorker';
import * as IdentityRole from './IdentityRole';
import * as IdentityUser from './IdentityUser';
import * as IdentityUserLookup from './IdentityUserLookup';
import * as InsuranceClaim from './InsuranceClaim';
import * as InsuranceOrder from './InsuranceOrder';
import * as Permissions from './Permissions';
import * as PhoneMessage from './PhoneMessage';
import * as Profile from './Profile';
import * as SearchSetting from './SearchSetting';
import * as Tenant from './Tenant';
import * as User from './User';
import * as UserResume from './UserResume';
import * as Version from './Version';
export default {
  AbpApiDefinition,
  AbpApplicationConfiguration,
  Account,
  BaseModule,
  Common,
  Features,
  FlexWorker,
  IdentityRole,
  IdentityUser,
  IdentityUserLookup,
  InsuranceClaim,
  InsuranceOrder,
  Permissions,
  PhoneMessage,
  Profile,
  SearchSetting,
  Tenant,
  User,
  UserResume,
  Version,
};
src/services/api/typings.d.ts
@@ -28,86 +28,37 @@
    implementFrom?: string;
  }
  interface AddInsuranceClaimAttachmentInput {
    /** 文件名称 */
    fileName?: string;
    /** 文件地址 */
    url?: string;
    businessType?: InsuranceClaimAttachmentBusinessTypeEnum;
  }
  interface AddInsuranceClaimInput {
    /** 渠道 */
    channel?: string;
    /** 姓名 */
    name: string;
    /** 身份证号 */
    idNumber: string;
    /** 工种 */
    workType: string;
    /** 劳动合同单位 */
    laborContractEnterprise: string;
    /** 实际工作单位 */
    workEnterprise: string;
    /** 保险起始时间 */
    insuranceBeginTime: string;
    /** 保险结束时间 */
    insuranceEndTime: string;
    /** 参保机构 */
    insuredInstitution: string;
    /** 投保方案 */
    insuranceScheme: string;
    /** 在职标识 */
    onJobFlag?: string;
    /** 性别 */
    gender?: string;
    /** 年龄 */
    age?: number;
    /** 保费金额 */
    premiumAmount?: number;
    /** 增减费用 */
    incDecAmount?: number;
    /** 保单id */
    insuranceOrderId?: string;
    /** 报案时间 */
    reportedTime: string;
    /** 联系电话 */
    contactNumber: string;
    /** 备用联系电话 */
    bakContactNumber?: string;
    /** 事故类型 */
    accidentType: string;
    /** 事故发生时间 */
    accidentTime: string;
    /** 伤残比例 */
    disabilityRatio?: number;
    /** 事发地点 */
    accidentAddress: string;
    /** 事故经过 */
    accidentProcess: string;
    claimResult?: InsuranceClaimResultEnum;
    /** 下款金额 */
    downPaymentAmount?: number;
    /** 理赔结果时间 */
    claimResultTime?: string;
    /** 附件集合 */
    attachments?: AddInsuranceClaimAttachmentInput[];
  }
  interface AddInsuranceOrderMaterialInput {
    insuranceOrderId?: string;
    /** 文件名称 */
    fileName?: string;
    /** 文件地址 */
    url?: string;
    /** 材料名称 */
    materialName: string;
  interface AddEidtFlexTaskInput {
    taskId?: string;
    taskName?: string;
    feeType?: FlexTaskFeeTypeEnum;
    /** 服务费 元/月 */
    fee?: number;
    settleType?: FlexTaskSettleTypeEnum;
    /** 福利Id */
    listAideIds?: string[];
    minAge?: number;
    maxAge?: number;
    sexType?: GenderTypeEnum;
    /** 证书Id */
    listCertionIds?: string[];
    provinceId?: string;
    cityId?: string;
    areaId?: string;
    address?: string;
    startDate?: string;
    endDate?: string;
  }
  interface AllSubModule {
    pageButton?: ModuleButtonDto[];
    dataButton?: ModuleButtonDto[];
    column?: ModuleColumnDto[];
  }
  interface AnyUserByPhoneNumberInput {
    /** 手机号 */
    phoneNumber: string;
  }
  interface APIaddOrEditModuleStatusParams {
@@ -135,6 +86,10 @@
    id?: string;
  }
  interface APIdeleteFlexTaskParams {
    id?: string;
  }
  interface APIdeleteModuleButtonParams {
    id?: string;
  }
@@ -144,10 +99,6 @@
  }
  interface APIdeleteModuleParams {
    id?: string;
  }
  interface APIdeleteRoleParams {
    id?: string;
  }
@@ -213,23 +164,7 @@
    moduleId?: string;
  }
  interface APIgetInsuranceClaimDetailByOrderIdParams {
    orderId?: string;
  }
  interface APIgetInsuranceClaimDetailParams {
    id?: string;
  }
  interface APIgetInsuranceClaimYearMonthCountListParams {
    year?: number;
  }
  interface APIgetInsuranceOrderDetailParams {
    id?: string;
  }
  interface APIgetInsuranceOrderMaterialListParams {
  interface APIgetFlexTaskDtoParams {
    id?: string;
  }
@@ -270,12 +205,17 @@
    id?: string;
  }
  interface APIgetRolesIdRolesParams {
    id: string;
  interface APIgetPreViewCacheParams {
    id?: string;
  }
  interface APIgetUserDetailParams {
    id?: string;
  interface APIgetQrCodeLoginResultParams {
    /** 扫码登录Id */
    uId?: string;
  }
  interface APIgetRolesIdRolesParams {
    id: string;
  }
  interface APIgetUserListByPhoneNumberParams {
@@ -293,12 +233,26 @@
    objectType?: number;
  }
  interface APIgetUserResumeCertificateDetailByIdParams {
    id?: string;
  }
  interface APIgetVersionModuleListParams {
    versionId?: string;
  }
  interface APIgetVersionSubModuleParams {
    versionId?: string;
  }
  interface APIgetWxIndentityParams {
    /** 用户登录凭证 */
    code?: string;
    wxMiniApp?: WxMiniAppEnum;
  }
  interface APIisRepeatByPhoneNumberParams {
    phoneNumber?: string;
  }
  interface APIsearchParams {
@@ -349,6 +303,16 @@
  interface APIupdateRolesParams {
    id?: string;
  }
  interface APIvatLicenseParams {
    url?: string;
  }
  interface APIwxMiniAppUserLoginParams {
    /** 用户登录凭证 */
    code?: string;
    wxMiniApp?: WxMiniAppEnum;
  }
  interface ApplicationApiDescriptionModel {
@@ -405,9 +369,33 @@
    objectId?: string;
  }
  interface ChangePasswordFromCurrentPwdInput {
    /** 新密码 */
    newPassword?: string;
    userId?: string;
    /** 当前密码 */
    currentPassword: string;
  }
  interface ChangePasswordFromPhoneNumberInput {
    /** 新密码 */
    newPassword?: string;
    userId?: string;
    /** 短信验证码 */
    verificationCode: string;
    /** 手机号 */
    phoneNumber: string;
  }
  interface ChangePasswordInput {
    currentPassword?: string;
    newPassword: string;
  }
  interface ChangePhoneNumberInput {
    userId?: string;
    /** 新手机号 */
    newPhoneNumber: string;
  }
  interface ChangeSortInput {
@@ -418,6 +406,23 @@
    type?: number;
  }
  interface ChangeUserNameInput {
    /** 新账号 */
    newUserName?: string;
    /** 用户id */
    userId?: string;
  }
  interface ChangeUserPhoneNumberForUserInput {
    userId?: string;
    /** 新手机号 */
    newPhoneNumber: string;
    /** 当前密码 */
    currentPassword: string;
    /** 短信验证码 */
    verificationCode: string;
  }
  interface CheckLoginVerificationCodeInput {
    messageType?: string;
    phoneNumber: string;
@@ -426,6 +431,12 @@
  interface ClockDto {
    kind?: string;
  }
  interface ConditionInfo {
    id?: string;
    name?: string;
    sort?: number;
  }
  interface ControllerApiDescriptionModel {
@@ -440,38 +451,16 @@
    type?: string;
  }
  interface CreateAccountInput {
    /** 名称 */
    name?: string;
    /** 用户名 */
    userName: string;
    /** 备注 */
    remark?: string;
    /** 密码 */
    password: string;
    /** 手机号 */
    phoneNumber?: string;
    /** 渠道 */
    channel?: string;
    /** 用户端Id */
    clientId?: string;
    /** 角色 */
    roleNames?: string[];
  }
  interface CreateOrUpdateRoleInput {
    /** 名称 */
    name?: string;
    /** 排序 */
    sequence?: number;
    /** 部门Id */
    departmentId?: number;
    /** 数据范围 全部数据100 个人数据 10 */
    dataRange?: number;
    /** 备注 */
    remark?: string;
    /** 角色Id */
  interface CreateOrEditSearchInput {
    id?: string;
    parentId?: string;
    searchType: number;
    belongType?: number;
    name: string;
    sort: number;
    status: boolean;
    src?: string;
    isRecommend?: boolean;
  }
  interface CurrentCultureDto {
@@ -518,6 +507,11 @@
    dateSeparator?: string;
    shortTimePattern?: string;
    longTimePattern?: string;
  }
  interface EnableSearchSettingInput {
    id: string;
    status: boolean;
  }
  interface EntityExtensionDto {
@@ -614,8 +608,93 @@
    key?: string;
  }
  interface FlexTaskAideDto {
    id?: string;
    aideType?: FlexTaskAideEnum;
    name?: string;
  }
  type FlexTaskAideEnum = 10 | 20;
  type FlexTaskFeeTypeEnum = 10 | 20 | 30 | 40;
  type FlexTaskReleaseStatusEnum = 10 | 20;
  type FlexTaskSettleTypeEnum = 10 | 20 | 30;
  type GenderTypeEnum = 1 | 2;
  interface GenerateUserNameInput {
    /** 手机号 */
    phoneNumber: string;
  }
  interface GetFeatureListResultDto {
    groups?: FeatureGroupDto[];
  }
  interface GetFlexTaskDtoOutput {
    taskId?: string;
    taskName?: string;
    isArrange?: boolean;
    startDate?: string;
    endDate?: string;
    feeType?: FlexTaskFeeTypeEnum;
    feeTypeName?: string;
    settleType?: FlexTaskSettleTypeEnum;
    settleTypeName?: string;
    taskWeals?: FlexTaskAideDto[];
    taskCerts?: FlexTaskAideDto[];
    fee?: number;
    provinceId?: string;
    cityId?: string;
    areaId?: string;
    provinceName?: string;
    cityName?: string;
    areaName?: string;
    address?: string;
    creationDate?: string;
    minAge?: number;
    maxAge?: number;
    sexType?: GenderTypeEnum;
  }
  interface GetFlexTaskListByStatusInput {
    pageModel?: Pagination;
    releaseStatus?: FlexTaskReleaseStatusEnum;
  }
  interface GetFlexTaskListInput {
    pageModel?: Pagination;
    /** 是否已安排任务 */
    isArrange?: boolean;
    /** 是否已验收 */
    isOverCheck?: boolean;
  }
  interface GetFlexTaskListOutput {
    taskId?: string;
    taskName?: string;
    isArrange?: boolean;
    startDate?: string;
    endDate?: string;
    feeType?: FlexTaskFeeTypeEnum;
    feeTypeName?: string;
    settleType?: FlexTaskSettleTypeEnum;
    settleTypeName?: string;
    fee?: number;
    provinceName?: string;
    cityName?: string;
    areaName?: string;
    address?: string;
    applyWorkerCount?: number;
    creationDate?: string;
  }
  interface GetFlexTaskListOutputPageOutput {
    pageModel?: Pagination;
    objectData?: any;
    data?: GetFlexTaskListOutput[];
  }
  interface GetPermissionListResultDto {
@@ -623,10 +702,45 @@
    groups?: PermissionGroupDto[];
  }
  interface GetRolesInput {
  interface GetSearchSettingList {
    id?: string;
    parentId?: string;
    parentName?: string;
    belongType?: number;
    name?: string;
    sort?: number;
    status?: boolean;
    clickCount?: number;
    src?: string;
    isRecommend?: boolean;
    searchType?: number;
  }
  interface GetSearchSettingListInput {
    pageModel?: Pagination;
    /** 查询条件:角色名称 */
    queryCondition?: string;
    searchType: number;
    belongType?: number;
    name?: string;
    isRecommend?: boolean;
    status?: boolean;
    parentId?: string;
  }
  interface GetSearchSettingListPageOutput {
    pageModel?: Pagination;
    objectData?: any;
    data?: GetSearchSettingList[];
  }
  interface GetTypeSearchSettingList {
    id?: string;
    name?: string;
    src?: string;
  }
  interface GetTypeSearchSettingListInput {
    searchType: number;
    belongType?: number;
  }
  interface IanaTimeZone {
@@ -765,234 +879,9 @@
    roleNames: string[];
  }
  interface ImportInsuranceOrderDataOutput {
    /** 渠道 */
    channel: string;
    /** 姓名 */
    name: string;
    /** 身份证号 */
    idNumber: string;
    /** 工种 */
    workType: string;
    /** 劳动合同单位 */
    laborContractEnterprise: string;
    /** 实际工作单位 */
    workEnterprise: string;
    /** 保险起始时间 */
    insuranceBeginTimeStr: string;
    /** 保险结束时间 */
    insuranceEndTimeStr: string;
    insuranceEndTime?: string;
    insuranceBeginTime?: string;
    /** 参保机构 */
    insuredInstitution: string;
    /** 投保方案 */
    insuranceScheme: string;
    /** 在职标识 */
    onJobFlag: string;
    /** 性别 */
    gender: string;
    /** 年龄 */
    ageStr: string;
    age?: number;
    /** 身份证校验结果 */
    idCardCheckResult: string;
    /** 身份证重复校验结果 */
    idCardRepeatResult: string;
    /** 保费金额 */
    premiumAmountStr: string;
    /** 增减费用 */
    incDecAmountStr: string;
    incDecAmount?: number;
    premiumAmount?: number;
    /** 业务员名称 */
    salesmanName?: string;
    /** 保单号 */
    orderNo?: string;
    /** 保单关联唯一字符串 */
    orderRelevanceStr?: string;
    /** 保单标识字段 */
    orderFlagStr?: string;
    /** 异常消息 */
    erroMsg?: string;
  }
  type InsuranceClaimAttachmentBusinessTypeEnum = 10 | 20 | 30 | 40 | 50;
  interface InsuranceClaimAttachmentOutput {
    /** 文件名称 */
    fileName?: string;
    /** 文件地址 */
    url?: string;
    businessType?: InsuranceClaimAttachmentBusinessTypeEnum;
  }
  interface InsuranceClaimDetailOutput {
  interface IdNameOutput {
    id?: string;
    /** 渠道 */
    channel?: string;
    /** 姓名 */
    name?: string;
    /** 身份证号 */
    idNumber?: string;
    /** 工种 */
    workType?: string;
    /** 劳动合同单位 */
    laborContractEnterprise?: string;
    /** 实际工作单位 */
    workEnterprise?: string;
    /** 保险起始时间 */
    insuranceBeginTime?: string;
    /** 保险结束时间 */
    insuranceEndTime?: string;
    /** 参保机构 */
    insuredInstitution?: string;
    /** 投保方案 */
    insuranceScheme?: string;
    /** 在职标识 */
    onJobFlag?: string;
    /** 行别 */
    gender?: string;
    /** 年龄 */
    age?: number;
    /** 保费金额 */
    premiumAmount?: number;
    /** 增减费用 */
    incDecAmount?: number;
    /** 保单id */
    insuranceOrderId?: string;
    /** 报案时间 */
    reportedTime?: string;
    /** 联系电话 */
    contactNumber?: string;
    /** 备用联系电话 */
    bakContactNumber?: string;
    /** 事故类型 */
    accidentType?: string;
    /** 事故发生时间 */
    accidentTime?: string;
    /** 伤残比例 */
    disabilityRatio?: number;
    /** 事发地点 */
    accidentAddress?: string;
    /** 事故经过 */
    accidentProcess?: string;
    claimResult?: InsuranceClaimResultEnum;
    /** 下款金额 */
    downPaymentAmount?: number;
    /** 理赔结果时间 */
    claimResultTime?: string;
    /** 附件集合 */
    attachments?: InsuranceClaimAttachmentOutput[];
  }
  interface InsuranceClaimListOutput {
    id?: string;
    /** 身份证号 */
    idNumber?: string;
    /** 姓名 */
    name?: string;
    /** 报案时间 */
    reportedTime?: string;
    /** 保险起始时间 */
    insuranceBeginTime?: string;
    /** 保险结束时间 */
    insuranceEndTime?: string;
    /** 事故类型 */
    accidentType?: string;
    /** 事故发生时间 */
    accidentTime?: string;
    /** 伤残比例 */
    disabilityRatio?: number;
    /** 理赔渠道 */
    claimChannel?: string;
    claimResult?: InsuranceClaimResultEnum;
    /** 下款金额 */
    downPaymentAmount?: number;
    /** 理赔结果时间 */
    claimResultTime?: string;
    /** 保单id */
    insuranceOrderId?: string;
  }
  interface InsuranceClaimListOutputPageOutput {
    pageModel?: Pagination;
    objectData?: any;
    data?: InsuranceClaimListOutput[];
  }
  type InsuranceClaimResultEnum = 10 | 20 | 30;
  interface InsuranceClaimYearMonthCountListOutput {
    year?: number;
    month?: number;
    count?: number;
  }
  interface InsuranceOrderListOutput {
    id?: string;
    /** 渠道 */
    channel?: string;
    /** 姓名 */
    name?: string;
    /** 身份证号 */
    idNumber?: string;
    /** 工种 */
    workType?: string;
    /** 劳动合同单位 */
    laborContractEnterprise?: string;
    /** 实际工作单位 */
    workEnterprise?: string;
    /** 保险起始时间 */
    insuranceBeginTime?: string;
    /** 保险结束时间 */
    insuranceEndTime?: string;
    /** 参保机构 */
    insuredInstitution?: string;
    /** 投保方案 */
    insuranceScheme?: string;
    /** 在职标识 */
    onJobFlag?: string;
    /** 性别 */
    gender?: string;
    /** 年龄 */
    age?: number;
    /** 身份证校验结果 */
    idCardCheckResult?: string;
    /** 身份证重复校验结果 */
    idCardRepeatResult?: string;
    /** 保费金额 */
    premiumAmount?: number;
    /** 增减费用 */
    incDecAmount?: number;
    /** 导入渠道 */
    importChannel?: string;
    /** 导入日期 */
    createTime?: string;
    /** 是否工伤 */
    isIndustrialInjury?: string;
    /** 创建人 */
    creatorId?: string;
    /** 业务员名称 */
    salesmanName?: string;
    /** 保单号 */
    orderNo?: string;
    /** 保单关联唯一字符串 */
    orderRelevanceStr?: string;
  }
  interface InsuranceOrderListOutputPageOutput {
    pageModel?: Pagination;
    objectData?: any;
    data?: InsuranceOrderListOutput[];
  }
  interface InsuranceOrderMaterialListOutput {
    id?: string;
    /** 文件地址 */
    url?: string;
    /** 材料名称 */
    materialName?: string;
  }
  interface IStringValueType {
@@ -1020,6 +909,19 @@
    uiCultureName?: string;
    displayName?: string;
    flagIcon?: string;
  }
  interface LicenseOcrModel {
    name?: string;
    cardNum?: string;
    address?: string;
    type?: string;
    dateFrom?: string;
    dateTo?: string;
    societyCode?: string;
    registerMoney?: string;
    businessRange?: string;
    legalPerson?: string;
  }
  interface LocalizableStringDto {
@@ -1121,6 +1023,11 @@
    sequence?: number;
  }
  interface MyResumeOutput {
    resumeBaseInfo?: UserResumeBaseInfoOutput;
    resumeExpectationJob?: UserResumeExpectationJobOutput;
  }
  interface NameValue {
    name?: string;
    value?: string;
@@ -1178,7 +1085,7 @@
  }
  interface PasswordLoginInput {
    /** 账号 */
    /** 登录名 */
    loginName: string;
    /** 登录密码 */
    password: string;
@@ -1197,6 +1104,22 @@
    name?: string;
    displayName?: string;
    permissions?: PermissionGrantInfoDto[];
  }
  interface PhoneMesssageCodeLoginInput {
    /** 手机号 */
    phoneNumber: string;
    /** 验证码 */
    code: string;
    type?: UserTypeEnum;
  }
  interface PhoneMesssageCodeRegisterInput {
    /** 手机号 */
    phoneNumber: string;
    /** 验证码 */
    code: string;
    type?: UserTypeEnum;
  }
  interface PhoneToken {
@@ -1229,40 +1152,11 @@
    providerKey?: string;
  }
  interface QueryInsuranceClaimCountInput {
    year?: number;
    month?: number;
    /** 理赔渠道 */
    claimChannel?: string;
  }
  interface QueryInsuranceClaimPageInput {
    pageModel?: Pagination;
    /** 理赔渠道 */
    claimChannel?: string;
    /** 劳动合同单位 */
    laborContractEnterprise?: string;
    /** 实际工作单位 */
    workEnterprise?: string;
    /** 身份证号 */
    idNumber?: string;
  }
  interface QueryInsuranceOrderListByOrderRelevanceInput {
    idIdNumber?: string;
    reportedTime?: string;
  }
  interface QueryInsuranceOrderPageInput {
    pageModel?: Pagination;
    beginCreationTime?: string;
    endCreationTime?: string;
    importChannel?: string;
  }
  interface QueryUserPageInput {
    pageModel?: Pagination;
    searchKey?: string;
  interface QrCodeLogin {
    /** 扫码登录Id */
    uId?: string;
    /** 二维码地址 */
    url?: string;
  }
  interface RegisterDto {
@@ -1291,6 +1185,10 @@
    members?: string[];
  }
  interface ResetPasswordBaseInput {
    userId?: string;
  }
  interface ResetPasswordDto {
    userId?: string;
    resetToken: string;
@@ -1310,36 +1208,49 @@
    typeSimple?: string;
  }
  interface RoleEnableOrForbidInput {
    /** 角色Id */
    id?: string;
    /** 启用:true,禁用:false */
    isEnable?: boolean;
  }
  interface RoleInfo {
    /** 角色Id */
    id?: string;
    /** 名称 */
  interface SaveUserResumeBaseInfoInput {
    name?: string;
    /** 排序 */
    sequence?: number;
    /** 是否可用 */
    isEnable?: boolean;
    /** 部门Id */
    departmentId?: number;
    /** 数据范围 全部数据:100   个人数据:10 */
    dataRange?: number;
    /** 账号数量 */
    userCount?: number;
    /** 备注 */
    remark?: string;
    socialIdentity?: string;
    educationalLevel?: string;
    residentProvinceCode?: number;
    residentCityCode?: number;
    residentProvinceName?: string;
    residentCityName?: string;
  }
  interface RoleInfoPageOutput {
    pageModel?: Pagination;
    objectData?: any;
    data?: RoleInfo[];
  interface SaveUserResumeCertificateInput {
    id?: string;
    certificateTypeId?: string;
    certificateNo?: string;
    beginTime?: string;
    endTime?: string;
    isPermanent?: boolean;
    certificateUnit?: string;
    certificateFrontImgUrl?: string;
    certificateBackImgUrl?: string;
  }
  interface SaveUserResumeDetailInfoInput {
    lifeCircleImgUrlList?: string[];
    height?: string;
    weight?: string;
  }
  interface SaveUserResumeExpectationJobInput {
    jobIdList?: string[];
    freeTime?: UserResumeFreeTimeEnum;
    jobSeekingStatus?: UserResumeJobSeekingStatusEnum;
  }
  interface SaveUserResumeWorkExperienceInput {
    workingSeniority?: string;
    workExperience?: string;
  }
  interface SearchConditionList {
    searchType?: number;
    belongType?: number;
    conditionList?: ConditionInfo[];
  }
  interface SendPasswordResetCodeDto {
@@ -1354,6 +1265,17 @@
    phoneNumber: string;
  }
  interface SendPhoneMesssageCodeInput {
    /** 手机号 */
    phoneNumber: string;
  }
  interface SendPhoneVerificationCodeByBusinessTypeInput {
    /** 手机号 */
    phoneNumber: string;
    businessType?: VerificationCodeBusinessTypeEnum;
  }
  interface SetMyModule {
    moduleId?: string;
    sequence?: number;
@@ -1361,6 +1283,10 @@
  interface SetMyModuleInput {
    moduleIds?: SetMyModule[];
  }
  interface SetPreViewCacheInput {
    preViewData?: string;
  }
  interface SetRoleUserInput {
@@ -1409,22 +1335,8 @@
    properties?: PropertyApiDescriptionModel[];
  }
  interface UpdateAccountInput {
    id?: string;
    /** 名称 */
    name?: string;
    /** 用户名 */
    userName: string;
    /** 备注 */
    remark?: string;
    /** 密码 */
    password?: string;
    /** 手机号 */
    phoneNumber?: string;
    /** 渠道 */
    channel?: string;
    /** 角色 */
    roleNames?: string[];
  interface UnbindingUserPhoneNumber {
    userId?: string;
  }
  interface UpdateFeatureDto {
@@ -1434,65 +1346,6 @@
  interface UpdateFeaturesDto {
    features?: UpdateFeatureDto[];
  }
  interface UpdateInsuranceClaimInput {
    /** 渠道 */
    channel?: string;
    /** 姓名 */
    name: string;
    /** 身份证号 */
    idNumber: string;
    /** 工种 */
    workType: string;
    /** 劳动合同单位 */
    laborContractEnterprise: string;
    /** 实际工作单位 */
    workEnterprise: string;
    /** 保险起始时间 */
    insuranceBeginTime: string;
    /** 保险结束时间 */
    insuranceEndTime: string;
    /** 参保机构 */
    insuredInstitution: string;
    /** 投保方案 */
    insuranceScheme: string;
    /** 在职标识 */
    onJobFlag?: string;
    /** 性别 */
    gender?: string;
    /** 年龄 */
    age?: number;
    /** 保费金额 */
    premiumAmount?: number;
    /** 增减费用 */
    incDecAmount?: number;
    /** 保单id */
    insuranceOrderId?: string;
    /** 报案时间 */
    reportedTime: string;
    /** 联系电话 */
    contactNumber: string;
    /** 备用联系电话 */
    bakContactNumber?: string;
    /** 事故类型 */
    accidentType: string;
    /** 事故发生时间 */
    accidentTime: string;
    /** 伤残比例 */
    disabilityRatio?: number;
    /** 事发地点 */
    accidentAddress: string;
    /** 事故经过 */
    accidentProcess: string;
    claimResult?: InsuranceClaimResultEnum;
    /** 下款金额 */
    downPaymentAmount?: number;
    /** 理赔结果时间 */
    claimResultTime?: string;
    /** 附件集合 */
    attachments?: AddInsuranceClaimAttachmentInput[];
    id?: string;
  }
  interface UpdatePassWordInput {
@@ -1524,6 +1377,11 @@
    phoneNumber?: string;
  }
  interface UpdateTaskReleaseStatusInput {
    taskId?: string;
    releaseStatus?: FlexTaskReleaseStatusEnum;
  }
  interface UserData {
    id?: string;
    tenantId?: string;
@@ -1546,47 +1404,63 @@
    items?: UserData[];
  }
  interface UserDetailOutput {
    id?: string;
    /** 名称 */
  interface UserResumeBaseInfoOutput {
    name?: string;
    /** 用户名 */
    userName?: string;
    /** 备注 */
    remark?: string;
    /** 手机号 */
    phoneNumber?: string;
    /** 渠道 */
    channel?: string;
    /** 用户端Id */
    clientId?: string;
    /** 角色 */
    roleNames?: string[];
    socialIdentity?: string;
    socialIdentityName?: string;
    educationalLevel?: string;
    educationalLevelName?: string;
    residentProvinceCode?: number;
    residentCityCode?: number;
    residentProvinceName?: string;
    residentCityName?: string;
  }
  interface UserListOutput {
  interface UserResumeCertificateDetailOutput {
    id?: string;
    /** 名称 */
    name?: string;
    /** 用户名 */
    userName?: string;
    /** 备注 */
    remark?: string;
    /** 手机号 */
    phoneNumber?: string;
    /** 渠道 */
    channel?: string;
    /** 用户端Id */
    clientId?: string;
    /** 角色 */
    roleNames?: string[];
    userResumeId?: string;
    certificateTypeId?: string;
    certificateNo?: string;
    beginTime?: string;
    endTime?: string;
    isPermanent?: boolean;
    certificateUnit?: string;
    certificateFrontImgUrl?: string;
    certificateBackImgUrl?: string;
  }
  interface UserListOutputPageOutput {
    pageModel?: Pagination;
    objectData?: any;
    data?: UserListOutput[];
  interface UserResumeCertificateListOutput {
    id?: string;
    certificateTypeId?: string;
    certificateTypeName?: string;
    userResumeId?: string;
  }
  interface UserResumeDetailInfoOutput {
    height?: string;
    weight?: string;
    lifeCircleImgUrlList?: string[];
  }
  interface UserResumeExpectationJobOutput {
    jobIdList?: IdNameOutput[];
    freeTime?: UserResumeFreeTimeEnum;
    jobSeekingStatus?: UserResumeJobSeekingStatusEnum;
  }
  type UserResumeFreeTimeEnum = 1 | 2 | 3 | 4 | 5;
  type UserResumeJobSeekingStatusEnum = 1 | 2 | 3;
  interface UserResumeWorkExperienceOutput {
    workingSeniority?: string;
    workExperience?: string;
  }
  type UserTypeEnum = 1 | 2;
  type VerificationCodeBusinessTypeEnum = 10 | 11 | 20 | 30 | 40 | 70 | 900 | 910 | 920;
  interface VersionCache {
    name?: string;
@@ -1629,4 +1503,58 @@
  interface WindowsTimeZone {
    timeZoneId?: string;
  }
  type WxMiniAppEnum = 10;
  interface WxMiniAppIndentityInfo {
    /** 会话密钥 */
    sessionKey?: string;
    /** 小程序OpenId */
    openId?: string;
    /** 用户名(该值为空则需手机授权登录,不为空则已有该小程序用户) */
    userName?: string;
  }
  interface WxMiniAppLoginInfo {
    /** 状态:-10:二维码过期/登录时效过期,0:登录初始/二维码初生成,10:登录确认 */
    status?: number;
    /** 用户名 */
    userName?: string;
    accessToken?: IdentityModelTokenCacheItem;
  }
  interface WxMiniAppPhoneAuthLoginFromScanInput {
    /** (扫码)登录Id */
    uId: string;
    /** 包括敏感数据在内的完整用户信息的加密数据 */
    encryptedData: string;
    /** 加密算法的初始向量 */
    iv: string;
    /** 获取会话密钥 */
    sessionKey: string;
    /** 小程序OpenId */
    openId: string;
    wxMiniApp?: WxMiniAppEnum;
  }
  interface WxMiniAppPhoneLoginInput {
    /** 包括敏感数据在内的完整用户信息的加密数据 */
    encryptedData: string;
    /** 加密算法的初始向量 */
    iv: string;
    /** 获取会话密钥 */
    sessionKey: string;
    /** 小程序OpenId */
    openId: string;
    wxMiniApp?: WxMiniAppEnum;
  }
  interface WxMiniAppUserLoginFromScanInput {
    /** (扫码)登录Id */
    uId: string;
    /** 用户名 */
    userName: string;
    /** 小程序OpenId */
    openId: string;
  }
}
src/store/modules/user.ts
@@ -4,7 +4,6 @@
import { resetRouter, router } from '@/router';
import { useTagsViewStoreHook } from './tagsView';
import * as accountServices from '@/services/api/Account';
import * as userServices from '@/services/api/User';
import { usePermissionStoreHook } from './permission';
import { getAccountInfoFromAccessToken, AccountInfo } from '@bole-core/core';
import { useClearSubModule } from '@/hooks';
@@ -64,14 +63,15 @@
    // 用户登入
    loginByUsername(data: API.AccessRequestDto) {
      return new Promise<void>((resolve, reject) => {
        userServices
          .passwordLogin(
            {
              loginName: data.userName,
              password: data.userPassword,
            },
            { showLoading: false }
          )
        accountServices
          .getTokenForWeb(data, { showLoading: false })
          // .passwordLogin(
          //   {
          //     loginName: data.userName,
          //     password: data.userPassword,
          //   },
          //   { showLoading: false }
          // )
          .then((res) => {
            if (res) {
              console.log('res: ', res);
src/utils/oss/index.ts
@@ -1,13 +1,13 @@
import { BoleOss } from '@bole-core/core';
import { loadEnv } from '@build/index';
import AliOSS from 'ali-oss';
import * as userServices from '@/services/api/User';
import * as accountServices from '@/services/api/Account';
export class OssManager {
  private static OssInstance: BoleOss;
  private static async getOssSTS() {
    return await userServices.getOssSTS({
    return await accountServices.getOssSTS({
      showLoading: false,
    });
  }