| | |
| | | "ignore": [], |
| | | "include": [] |
| | | }, |
| | | "appid": "wxb9e0baf4f87aa0de", |
| | | "appid": "wx3669dd12a0915f7d", |
| | | "projectname": "bMiniApp" |
| | | } |
| | |
| | | import { AppLocalConfig } from '@/constants'; |
| | | |
| | | interface UserState { |
| | | userInfo?: Nullable<API.PasswordLoginCommandCallback>; |
| | | userInfo?: Nullable<API.LoginCommandCallback>; |
| | | token?: Nullable<string>; |
| | | refreshToken?: Nullable<string>; |
| | | userDetail?: Nullable<API.UserInfoV2>; |
| | |
| | | }, |
| | | |
| | | // 用户手机验证码登入 |
| | | async loginByUsername(data: API.PhoneMesssageCodeLoginInput) { |
| | | let res = await accountServices.phoneMesssageCodeLogin( |
| | | async loginByUsername(data: API.SmsLoginCommand) { |
| | | let res = await authServices.smsLogin( |
| | | { |
| | | phoneNumber: data.phoneNumber, |
| | | code: data.code, |
| | | verifyCode: data.verifyCode, |
| | | type: AppLocalConfig.userType, |
| | | clientType: AppLocalConfig.clientType, |
| | | }, |
| | | { showLoading: false } |
| | | ); |
| | |
| | | </template> |
| | | |
| | | <script setup lang="ts"> |
| | | import * as commonServices from '@12333/services/api/Common'; |
| | | import { FormRules } from '@nutui/nutui-taro/dist/types/__VUE/form/types'; |
| | | import { FormValidator, Message } from '@12333/utils'; |
| | | import { LargeButton } from '@/components'; |
| | |
| | | import { useLoginedJump } from '@/hooks'; |
| | | import { useUserStore } from '@/stores/modules/user'; |
| | | import Taro from '@tarojs/taro'; |
| | | import * as authServices from '@12333/services/apiV2/auth'; |
| | | |
| | | defineOptions({ |
| | | name: 'verificationCodeLoginForm', |
| | |
| | | }); |
| | | |
| | | async function onGetCaptcha() { |
| | | await commonServices.sendVerificationCode( |
| | | await authServices.sendLoginOrRegisterVerifyCode( |
| | | { |
| | | phoneNumber: form.phoneNumber, |
| | | businessType: VerificationCodeBusinessType.PhoneMesssageCodeLogin, |
| | | }, |
| | | { showLoading: false } |
| | | ); |
| | |
| | | form.loading = true; |
| | | await userStore.loginByUsername({ |
| | | phoneNumber: form.phoneNumber, |
| | | code: form.verificationCode, |
| | | verifyCode: form.verificationCode, |
| | | }); |
| | | jump(); |
| | | } |
| | |
| | | <script setup lang="ts"> |
| | | import LoginPageLayout from '../components/LoginPageLayout/LoginPageLayout.vue'; |
| | | import { Policy } from '@/components'; |
| | | import * as commonServices from '@12333/services/api/Common'; |
| | | import { FormRules } from '@nutui/nutui-taro/dist/types/__VUE/form/types'; |
| | | import { FormValidator, Message } from '@12333/utils'; |
| | | import { LargeButton } from '@/components'; |
| | |
| | | import { VerificationCodeBusinessType } from '@12333/constants'; |
| | | import Taro from '@tarojs/taro'; |
| | | import { ResponseCode } from '@12333/constants'; |
| | | import * as accountServices from '@12333/services/api/Account'; |
| | | import * as authServices from '@12333/services/apiV2/auth'; |
| | | |
| | | defineOptions({ |
| | | name: 'registerForm', |
| | |
| | | }); |
| | | |
| | | async function onGetCaptcha() { |
| | | await commonServices.sendVerificationCode( |
| | | await authServices.sendLoginOrRegisterVerifyCode( |
| | | { |
| | | phoneNumber: form.phoneNumber, |
| | | businessType: VerificationCodeBusinessType.PhoneMesssageCodeRegister, |
| | | }, |
| | | { |
| | | showLoading: false, |
| | | customErrorHandler(error) { |
| | | if (error?.response?.data?.error?.code === ResponseCode.RegisterExistsPhoneNumber) { |
| | | Message.confirm({ |
| | | message: '该手机号已注册,请去登录页登录', |
| | | confirmText: '去登录', |
| | | }).then(() => { |
| | | goLogin(); |
| | | }); |
| | | return true; |
| | | } |
| | | }, |
| | | // customErrorHandler(error) { |
| | | // if (error?.response?.data?.error?.code === ResponseCode.RegisterExistsPhoneNumber) { |
| | | // Message.confirm({ |
| | | // message: '该手机号已注册,请去登录页登录', |
| | | // confirmText: '去登录', |
| | | // }).then(() => { |
| | | // goLogin(); |
| | | // }); |
| | | // return true; |
| | | // } |
| | | // }, |
| | | } |
| | | ); |
| | | } |
| | |
| | | const userStore = useUserStoreWithOut(); |
| | | |
| | | if (response.headers['x-access-token']) { |
| | | const tokenInfo: API.PasswordLoginCommandCallback = { |
| | | const tokenInfo: API.LoginCommandCallback = { |
| | | accessToken: response.headers['access-token'], |
| | | refreshToken: response.headers['x-access-token'], |
| | | }; |
| | |
| | | } |
| | | |
| | | export function getUserInfo() { |
| | | return storageLocal.getItem<API.PasswordLoginCommandCallback>(StorageKey.USER_INFO_KEY); |
| | | return storageLocal.getItem<API.LoginCommandCallback>(StorageKey.USER_INFO_KEY); |
| | | } |
| | | |
| | | export function setUserInfo(userInfo: API.PasswordLoginCommandCallback) { |
| | | export function setUserInfo(userInfo: API.LoginCommandCallback) { |
| | | return storageLocal.setItem(StorageKey.USER_INFO_KEY, userInfo); |
| | | } |
| | | |
| | |
| | | import { EnumUserType, EnumClientType } from '@12333/constants'; |
| | | |
| | | export const AppLocalConfig = { |
| | | userType: EnumUserType.Enterprise, |
| | | userType: EnumUserType.Personal, |
| | | clientType: EnumClientType.PcWeb, |
| | | }; |
| | |
| | | import { AppLocalConfig } from '@/constants'; |
| | | |
| | | interface UserState { |
| | | userInfo?: Nullable<API.PasswordLoginCommandCallback>; |
| | | userInfo?: Nullable<API.LoginCommandCallback>; |
| | | token?: Nullable<string>; |
| | | refreshToken?: Nullable<string>; |
| | | userDetail?: Nullable<API.UserInfoV2>; |
| | |
| | | }, |
| | | |
| | | // 用户手机验证码登入 |
| | | async loginByUsername(data: API.PhoneMesssageCodeLoginInput) { |
| | | let res = await accountServices.phoneMesssageCodeLogin( |
| | | async loginByUsername(data: API.SmsLoginCommand) { |
| | | let res = await authServices.smsLogin( |
| | | { |
| | | phoneNumber: data.phoneNumber, |
| | | code: data.code, |
| | | verifyCode: data.verifyCode, |
| | | type: AppLocalConfig.userType, |
| | | clientType: AppLocalConfig.clientType, |
| | | }, |
| | | { showLoading: false } |
| | | ); |
| | |
| | | return res; |
| | | }, |
| | | |
| | | async loginSuccess(res: API.PasswordLoginCommandCallback) { |
| | | async loginSuccess(res: API.LoginCommandCallback) { |
| | | try { |
| | | this.setUserInfoAction(res); |
| | | this.setTokenAction(res); |
| | |
| | | } catch (error) {} |
| | | }, |
| | | |
| | | setTokenAction(tokenInfo: API.PasswordLoginCommandCallback) { |
| | | setTokenAction(tokenInfo: API.LoginCommandCallback) { |
| | | this.token = tokenInfo?.accessToken; |
| | | this.refreshToken = tokenInfo.refreshToken ?? ''; |
| | | }, |
| | | |
| | | setUserInfoAction(info: API.PasswordLoginCommandCallback) { |
| | | setUserInfoAction(info: API.LoginCommandCallback) { |
| | | this.userInfo = info; |
| | | setUserInfo(info); |
| | | }, |
| | |
| | | </template> |
| | | |
| | | <script setup lang="ts"> |
| | | import * as commonServices from '@12333/services/api/Common'; |
| | | import { FormRules } from '@nutui/nutui-taro/dist/types/__VUE/form/types'; |
| | | import { FormValidator, Message } from '@12333/utils'; |
| | | import { LargeButton } from '@/components'; |
| | | import { ProFormCaptcha } from 'senin-mini/components'; |
| | | import { VerificationCodeBusinessType } from '@12333/constants'; |
| | | import { useLoginedJump } from '@/hooks'; |
| | | import { useUserStore } from '@/stores/modules/user'; |
| | | import Taro from '@tarojs/taro'; |
| | | import * as authServices from '@12333/services/apiV2/auth'; |
| | | |
| | | defineOptions({ |
| | | name: 'verificationCodeLoginForm', |
| | |
| | | }); |
| | | |
| | | async function onGetCaptcha() { |
| | | await commonServices.sendVerificationCode( |
| | | await authServices.sendLoginOrRegisterVerifyCode( |
| | | { |
| | | phoneNumber: form.phoneNumber, |
| | | businessType: VerificationCodeBusinessType.PhoneMesssageCodeLogin, |
| | | }, |
| | | { showLoading: false } |
| | | ); |
| | |
| | | form.loading = true; |
| | | await userStore.loginByUsername({ |
| | | phoneNumber: form.phoneNumber, |
| | | code: form.verificationCode, |
| | | verifyCode: form.verificationCode, |
| | | }); |
| | | jump(); |
| | | } |
| | |
| | | <script setup lang="ts"> |
| | | import LoginPageLayout from '../components/LoginPageLayout/LoginPageLayout.vue'; |
| | | import { Policy } from '@/components'; |
| | | import * as commonServices from '@12333/services/api/Common'; |
| | | import { FormRules } from '@nutui/nutui-taro/dist/types/__VUE/form/types'; |
| | | import { FormValidator, Message } from '@12333/utils'; |
| | | import { LargeButton } from '@/components'; |
| | |
| | | import { VerificationCodeBusinessType } from '@12333/constants'; |
| | | import Taro from '@tarojs/taro'; |
| | | import { ResponseCode } from '@12333/constants'; |
| | | import * as accountServices from '@12333/services/api/Account'; |
| | | import * as authServices from '@12333/services/apiV2/auth'; |
| | | |
| | | defineOptions({ |
| | | name: 'registerForm', |
| | |
| | | }); |
| | | |
| | | async function onGetCaptcha() { |
| | | await commonServices.sendVerificationCode( |
| | | await authServices.sendLoginOrRegisterVerifyCode( |
| | | { |
| | | phoneNumber: form.phoneNumber, |
| | | businessType: VerificationCodeBusinessType.PhoneMesssageCodeRegister, |
| | | }, |
| | | { |
| | | showLoading: false, |
| | | customErrorHandler(error) { |
| | | if (error?.response?.data?.error?.code === ResponseCode.RegisterExistsPhoneNumber) { |
| | | Message.confirm({ |
| | | message: '该手机号已注册,请去登录页登录', |
| | | confirmText: '去登录', |
| | | }).then(() => { |
| | | goLogin(); |
| | | }); |
| | | return true; |
| | | } |
| | | }, |
| | | // customErrorHandler(error) { |
| | | // if (error?.response?.data?.error?.code === ResponseCode.RegisterExistsPhoneNumber) { |
| | | // Message.confirm({ |
| | | // message: '该手机号已注册,请去登录页登录', |
| | | // confirmText: '去登录', |
| | | // }).then(() => { |
| | | // goLogin(); |
| | | // }); |
| | | // return true; |
| | | // } |
| | | // }, |
| | | } |
| | | ); |
| | | } |
| | |
| | | <div class="taskDetail-company-info-text">已认证 | {{ taskCount }}个岗位在招</div> |
| | | </div> |
| | | <div class="taskDetail-company-info" v-else> |
| | | <div class="taskDetail-company-info-text danger">未认证</div> |
| | | <div class="taskDetail-company-info-text"> |
| | | <span class="danger">未认证</span> | {{ taskCount }}个岗位在招 |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | |
| | | min-width: 0; |
| | | @include ellipsis; |
| | | |
| | | &.danger { |
| | | .danger { |
| | | color: boleGetCssVar('color', 'danger'); |
| | | display: inline; |
| | | } |
| | | } |
| | | } |
| | |
| | | const userStore = useUserStoreWithOut(); |
| | | |
| | | if (response.headers['x-access-token']) { |
| | | const tokenInfo: API.PasswordLoginCommandCallback = { |
| | | const tokenInfo: API.LoginCommandCallback = { |
| | | accessToken: response.headers['access-token'], |
| | | refreshToken: response.headers['x-access-token'], |
| | | }; |
| | |
| | | } |
| | | |
| | | export function getUserInfo() { |
| | | return storageLocal.getItem<API.PasswordLoginCommandCallback>(StorageKey.USER_INFO_KEY); |
| | | return storageLocal.getItem<API.LoginCommandCallback>(StorageKey.USER_INFO_KEY); |
| | | } |
| | | |
| | | export function setUserInfo(userInfo: API.PasswordLoginCommandCallback) { |
| | | export function setUserInfo(userInfo: API.LoginCommandCallback) { |
| | | return storageLocal.setItem(StorageKey.USER_INFO_KEY, userInfo); |
| | | } |
| | | |
| | |
| | | Desc = 1, |
| | | } |
| | | |
| | | /** 空闲时间 */ |
| | | export enum EnumPersonalFreeTime { |
| | | /**不限 */ |
| | | NoLimit = 10, |
| | | /**寒暑假 */ |
| | | WinterSummerVacations = 20, |
| | | /**节假日 */ |
| | | FestivalAndHoliday = 30, |
| | | /**周六日 */ |
| | | Weekend = 40, |
| | | /**工作日 */ |
| | | Weekday = 50, |
| | | } |
| | | |
| | | /** 求职状态 */ |
| | | export enum EnumPersonalJobSeekingStatus { |
| | | /**积极找任务 */ |
| | | Active = 10, |
| | | /**随便看看 */ |
| | | Whatever = 20, |
| | | /**暂时不找任务 */ |
| | | Not = 30, |
| | | } |
| | | |
| | | /** 实名通道 */ |
| | | export enum EnumRealAccess { |
| | | /**上上签 */ |
| | |
| | | Role = 5, |
| | | /**用户信息 */ |
| | | User = 6, |
| | | /**用户简历 */ |
| | | UserResume = 7, |
| | | /**企业信息 */ |
| | | Enterprise = 7, |
| | | Enterprise = 8, |
| | | } |
| | | |
| | | /** 资源请求方式 */ |
| | |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** 绑定手机号 POST /api/user/auth/bindPhoneNumber */ |
| | | export async function bindPhoneNumber( |
| | | body: API.BindPhoneNumberCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<boolean>('/api/user/auth/bindPhoneNumber', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 获取阿里云OSS授权信息 GET /api/user/auth/getAliyunOSSAcs */ |
| | | export async function getAliyunOSSAcs( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 微信小程序登录 POST /api/user/auth/wxmpLogin */ |
| | | export async function wxmpLogin(body: API.WxmpLoginCommand, options?: API.RequestConfig) { |
| | | return request<API.LoginCommandCallback>('/api/user/auth/wxmpLogin', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | |
| | | /* eslint-disable */ |
| | | // API 更新时间: |
| | | // API 唯一标识: |
| | | import * as userResume from './userResume'; |
| | | import * as resource from './resource'; |
| | | import * as user from './user'; |
| | | import * as dictionary from './dictionary'; |
| | |
| | | import * as role from './role'; |
| | | import * as menu from './menu'; |
| | | export default { |
| | | userResume, |
| | | resource, |
| | | user, |
| | | dictionary, |
| | |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 保存任务调度-作业 POST /api/user/resource/saveScheduleJobDetail */ |
| | | export async function saveScheduleJobDetail( |
| | | body: API.SaveScheduleJobDetailCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<boolean>('/api/user/resource/saveScheduleJobDetail', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | |
| | | clientType?: EnumClientType; |
| | | } |
| | | |
| | | interface APIgetUserResumeCredentialParams { |
| | | /** Id */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIgetUserResumeCredentialsParams { |
| | | /** 查询用户简历-资格证书列表 */ |
| | | request?: GetUserResumeCredentialsQuery; |
| | | } |
| | | |
| | | interface APIgetUserResumeDetailParams { |
| | | /** 查询用户简历-详细信息 */ |
| | | request?: GetUserResumeDetailQuery; |
| | | } |
| | | |
| | | interface APIgetUserResumeJobSeekingParams { |
| | | /** 查询用户简历-求职意向 */ |
| | | request?: GetUserResumeJobSeekingQuery; |
| | | } |
| | | |
| | | interface APIgetUserResumeParams { |
| | | /** 用户Id */ |
| | | userId?: string; |
| | | } |
| | | |
| | | interface APIgetUserResumePersonalParams { |
| | | /** 查询用户简历-个人信息 */ |
| | | request?: GetUserResumePersonalQuery; |
| | | } |
| | | |
| | | interface APIgetUserResumeWorkExperienceParams { |
| | | /** 查询用户简历-工作经验 */ |
| | | request?: GetUserResumeWorkExperienceQuery; |
| | | } |
| | | |
| | | interface BindPhoneNumberCommand { |
| | | /** 手机号码 */ |
| | | phoneNumber?: string; |
| | | /** 验证码 */ |
| | | verifyCode?: string; |
| | | } |
| | | |
| | | interface DeleteDictionaryCategoryCommand { |
| | |
| | | } |
| | | |
| | | interface DeleteTaskInfoCommand { |
| | | ids: string[]; |
| | | } |
| | | |
| | | interface DeleteUserResumeCredentialCommand { |
| | | ids: string[]; |
| | | } |
| | | |
| | |
| | | Desc = 1, |
| | | } |
| | | |
| | | enum EnumPersonalFreeTime { |
| | | /**不限 */ |
| | | NoLimit = 10, |
| | | /**寒暑假 */ |
| | | WinterSummerVacations = 20, |
| | | /**节假日 */ |
| | | FestivalAndHoliday = 30, |
| | | /**周六日 */ |
| | | Weekend = 40, |
| | | /**工作日 */ |
| | | Weekday = 50, |
| | | } |
| | | |
| | | enum EnumPersonalJobSeekingStatus { |
| | | /**积极找任务 */ |
| | | Active = 10, |
| | | /**随便看看 */ |
| | | Whatever = 20, |
| | | /**暂时不找任务 */ |
| | | Not = 30, |
| | | } |
| | | |
| | | enum EnumRealAccess { |
| | | /**上上签 */ |
| | | BestSign = 10, |
| | |
| | | Role = 5, |
| | | /**用户信息 */ |
| | | User = 6, |
| | | /**用户简历 */ |
| | | UserResume = 7, |
| | | /**企业信息 */ |
| | | Enterprise = 7, |
| | | Enterprise = 8, |
| | | } |
| | | |
| | | enum EnumResourceMethod { |
| | |
| | | Enterprise = 20, |
| | | /**运营 */ |
| | | Operation = 100, |
| | | } |
| | | |
| | | interface FriendlyResultBoolean { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | /** 数据 */ |
| | | data?: boolean; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetAliyunOSSAcsQueryResult { |
| | |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetUserResumeCredentialQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetUserResumeCredentialQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetUserResumeDetailQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetUserResumeDetailQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetUserResumeJobSeekingQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetUserResumeJobSeekingQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetUserResumePersonalQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetUserResumePersonalQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetUserResumeQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetUserResumeQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetUserResumeWorkExperienceQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetUserResumeWorkExperienceQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | |
| | | errorCode?: string; |
| | | /** 数据 */ |
| | | data?: GetUserInfoRolesQueryResultItem[]; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultListGetUserResumeCredentialsQueryResultItem { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | /** 数据 */ |
| | | data?: GetUserResumeCredentialsQueryResultItem[]; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | |
| | | contactEmail?: string; |
| | | /** 账号 */ |
| | | userName?: string; |
| | | /** 在招岗位数量 */ |
| | | taskCount?: number; |
| | | } |
| | | |
| | | interface GetEnterpriseSmsSettingQueryResult { |
| | |
| | | status?: EnumTaskStatus; |
| | | releaseStatus?: EnumTaskReleaseStatus; |
| | | recommendStatus?: EnumTaskRecommendStatus; |
| | | checkReceiveStatus?: EnumTaskCheckReceiveStatus; |
| | | } |
| | | |
| | | interface GetTaskInfosQueryResult { |
| | | pageModel?: PagedListQueryResultPageModel; |
| | | /** 数据 */ |
| | | data?: GetTaskInfosQueryResultItem[]; |
| | | count?: GetTaskInfosQueryResultCount; |
| | | } |
| | | |
| | | interface GetTaskInfosQueryResultCount { |
| | | /** 待安排数量 */ |
| | | waitAssignCount?: number; |
| | | /** 已安排数量 */ |
| | | completedAssignCount?: number; |
| | | /** 发布中数量 */ |
| | | inProcessReleaseCount?: number; |
| | | /** 已停止数量 */ |
| | | stoppedReleaseCount?: number; |
| | | objectData?: GetTaskInfosQueryResultObjectData; |
| | | } |
| | | |
| | | interface GetTaskInfosQueryResultItem { |
| | |
| | | createdTime?: string; |
| | | } |
| | | |
| | | interface GetTaskInfosQueryResultObjectData { |
| | | /** 待安排数量 */ |
| | | waitAssignCount?: number; |
| | | /** 已安排数量 */ |
| | | completedAssignCount?: number; |
| | | /** 发布中数量 */ |
| | | inProcessReleaseCount?: number; |
| | | /** 已停止数量 */ |
| | | stoppedReleaseCount?: number; |
| | | } |
| | | |
| | | interface GetUserInfoRolesQueryResultItem { |
| | | /** 角色Id */ |
| | | id?: string; |
| | |
| | | isChecked?: boolean; |
| | | } |
| | | |
| | | type GetUserResumeQueryResult = Record<string, any>; |
| | | interface GetUserResumeCredentialQueryResult { |
| | | /** 资格证书Id */ |
| | | id?: string; |
| | | /** 证书类型编号 */ |
| | | typeCode?: string; |
| | | /** 证书类型 */ |
| | | typeContent?: string; |
| | | /** 证书编号 */ |
| | | code?: string; |
| | | /** 永久证书 */ |
| | | isForever?: boolean; |
| | | /** 开始日期 */ |
| | | startDate?: string; |
| | | /** 结束日期 */ |
| | | endDate?: string; |
| | | /** 发证单位 */ |
| | | issueUnit?: string; |
| | | /** 证书正面照片 */ |
| | | img?: string; |
| | | /** 证书反面照片 */ |
| | | backImg?: string; |
| | | } |
| | | |
| | | type GetUserResumeCredentialsQuery = Record<string, any>; |
| | | |
| | | interface GetUserResumeCredentialsQueryResultItem { |
| | | /** 资格证书Id */ |
| | | id?: string; |
| | | /** 证书类型编号 */ |
| | | typeCode?: string; |
| | | /** 证书类型 */ |
| | | typeContent?: string; |
| | | } |
| | | |
| | | type GetUserResumeDetailQuery = Record<string, any>; |
| | | |
| | | interface GetUserResumeDetailQueryResult { |
| | | /** 身高 */ |
| | | height?: number; |
| | | /** 体重 */ |
| | | weight?: number; |
| | | /** 生活照 */ |
| | | photos?: string[]; |
| | | } |
| | | |
| | | type GetUserResumeJobSeekingQuery = Record<string, any>; |
| | | |
| | | interface GetUserResumeJobSeekingQueryResult { |
| | | /** 用户信息期望岗位 */ |
| | | userExpectJobs?: GetUserResumeJobSeekingQueryResultExpectJob[]; |
| | | freeTime?: EnumPersonalFreeTime; |
| | | jobSeekingStatus?: EnumPersonalJobSeekingStatus; |
| | | } |
| | | |
| | | interface GetUserResumeJobSeekingQueryResultExpectJob { |
| | | /** 期望岗位上级编号 */ |
| | | expectJobParentCode?: string; |
| | | /** 期望岗位编号 */ |
| | | expectJobCode?: string; |
| | | /** 期望岗位 */ |
| | | expectJobContent?: string; |
| | | } |
| | | |
| | | type GetUserResumePersonalQuery = Record<string, any>; |
| | | |
| | | interface GetUserResumePersonalQueryResult { |
| | | /** 头像 */ |
| | | avatar?: string; |
| | | /** 姓名 */ |
| | | name?: string; |
| | | /** 身份证号 */ |
| | | identity?: string; |
| | | /** 身份编号 */ |
| | | personalIdentityCode?: string; |
| | | /** 身份 */ |
| | | personalIdentityContent?: string; |
| | | /** 学历编号 */ |
| | | educationalBackgroundCode?: string; |
| | | /** 学历 */ |
| | | educationalBackgroundContent?: string; |
| | | /** 常驻省份编号 */ |
| | | provinceCode?: string; |
| | | /** 常驻省份 */ |
| | | provinceContent?: string; |
| | | /** 常驻城市编号 */ |
| | | cityCode?: string; |
| | | /** 常驻城市 */ |
| | | cityContent?: string; |
| | | } |
| | | |
| | | interface GetUserResumeQueryResult { |
| | | /** 用户Id */ |
| | | id?: string; |
| | | /** 头像 */ |
| | | avatar?: string; |
| | | /** 姓名 */ |
| | | name?: string; |
| | | /** 手机号 */ |
| | | phoneNumber?: string; |
| | | /** 身份证号 */ |
| | | identity?: string; |
| | | gender?: EnumUserGender; |
| | | /** 年龄 */ |
| | | age?: number; |
| | | /** 是否实名 */ |
| | | isReal?: boolean; |
| | | /** 上岗次数 */ |
| | | taskCount?: number; |
| | | /** 常驻省份编号 */ |
| | | provinceCode?: string; |
| | | /** 常驻省份 */ |
| | | provinceContent?: string; |
| | | /** 常驻城市编号 */ |
| | | cityCode?: string; |
| | | /** 常驻城市 */ |
| | | cityContent?: string; |
| | | /** 身份编号 */ |
| | | personalIdentityCode?: string; |
| | | /** 身份 */ |
| | | personalIdentityContent?: string; |
| | | /** 学历编号 */ |
| | | educationalBackgroundCode?: string; |
| | | /** 学历 */ |
| | | educationalBackgroundContent?: string; |
| | | /** 用户信息期望岗位 */ |
| | | userExpectJobs?: GetUserResumeQueryResultExpectJob[]; |
| | | freeTime?: EnumPersonalFreeTime; |
| | | jobSeekingStatus?: EnumPersonalJobSeekingStatus; |
| | | /** 用户信息资格证书 */ |
| | | userCredentials?: GetUserResumeQueryResultCredential[]; |
| | | /** 工作资历 */ |
| | | workSeniority?: string; |
| | | /** 工作经验 */ |
| | | workExperience?: string; |
| | | /** 身高 */ |
| | | height?: number; |
| | | /** 体重 */ |
| | | weight?: number; |
| | | /** 生活照 */ |
| | | photoImgs?: string[]; |
| | | } |
| | | |
| | | interface GetUserResumeQueryResultCredential { |
| | | /** 证书类型编号 */ |
| | | typeCode?: string; |
| | | /** 证书类型 */ |
| | | typeContent?: string; |
| | | /** 证书编号 */ |
| | | code?: string; |
| | | /** 永久证书 */ |
| | | isForever?: boolean; |
| | | /** 开始日期 */ |
| | | startDate?: string; |
| | | /** 结束日期 */ |
| | | endDate?: string; |
| | | /** 发证单位 */ |
| | | issueUnit?: string; |
| | | /** 证书正面照片 */ |
| | | img?: string; |
| | | /** 证书反面照片 */ |
| | | backImg?: string; |
| | | } |
| | | |
| | | interface GetUserResumeQueryResultExpectJob { |
| | | /** 期望岗位编号 */ |
| | | personalIdentityCode?: string; |
| | | /** 期望岗位 */ |
| | | personalIdentityContent?: string; |
| | | } |
| | | |
| | | type GetUserResumeWorkExperienceQuery = Record<string, any>; |
| | | |
| | | interface GetUserResumeWorkExperienceQueryResult { |
| | | /** 工作资历 */ |
| | | workSeniority?: string; |
| | | /** 工作经验 */ |
| | | workExperience?: string; |
| | | } |
| | | |
| | | interface LoginCommandCallback { |
| | | /** 用户访问令牌 */ |
| | |
| | | resources?: GetRoleQueryResultResource[]; |
| | | } |
| | | |
| | | interface SaveScheduleJobDetailCommand { |
| | | /** 资源Id */ |
| | | resourceId?: string; |
| | | /** 请求数据 */ |
| | | body?: string; |
| | | /** Cron表达式 */ |
| | | cron?: string; |
| | | } |
| | | |
| | | interface SaveTaskInfoCommand { |
| | | /** Id */ |
| | | id?: string; |
| | |
| | | beginTime: string; |
| | | /** 任务结束时间 */ |
| | | endTime: string; |
| | | } |
| | | |
| | | interface SaveUserResumeCredentialCommand { |
| | | /** Id */ |
| | | id?: string; |
| | | /** 证书类型编号 */ |
| | | typeCode: string; |
| | | /** 证书编号 */ |
| | | code?: string; |
| | | /** 永久证书 */ |
| | | isForever?: boolean; |
| | | /** 开始日期 */ |
| | | startDate: string; |
| | | /** 结束日期 */ |
| | | endDate: string; |
| | | /** 发证单位 */ |
| | | issueUnit?: string; |
| | | /** 证书正面照片 */ |
| | | img: string; |
| | | /** 证书反面照片 */ |
| | | backImg?: string; |
| | | } |
| | | |
| | | interface SaveUserResumeDetailCommand { |
| | | /** 身高 */ |
| | | height?: number; |
| | | /** 体重 */ |
| | | weight?: number; |
| | | /** 生活照 */ |
| | | photos?: string[]; |
| | | } |
| | | |
| | | interface SaveUserResumeJobSeekingCommand { |
| | | /** 用户信息期望岗位 */ |
| | | userExpectJobs: string[]; |
| | | freeTime: EnumPersonalFreeTime; |
| | | jobSeekingStatus: EnumPersonalJobSeekingStatus; |
| | | } |
| | | |
| | | interface SaveUserResumePersonalCommand { |
| | | /** 头像 */ |
| | | avatar?: string; |
| | | /** 姓名 */ |
| | | name?: string; |
| | | /** 身份证号 */ |
| | | identity: string; |
| | | /** 身份编号 */ |
| | | personalIdentityCode: string; |
| | | /** 学历编号 */ |
| | | educationalBackgroundCode: string; |
| | | /** 常驻省份编号 */ |
| | | provinceCode: string; |
| | | /** 常驻城市编号 */ |
| | | cityCode: string; |
| | | } |
| | | |
| | | interface SaveUserResumeWorkExperienceCommand { |
| | | /** 工作资历 */ |
| | | workSeniority?: string; |
| | | /** 工作经验 */ |
| | | workExperience?: string; |
| | | } |
| | | |
| | | interface SelectOptionGuidGetDictionaryCategorySelectQueryOption { |
| | |
| | | |
| | | interface SmsLoginCommand { |
| | | /** 手机号码 */ |
| | | phoneNumber: string; |
| | | phoneNumber?: string; |
| | | /** 验证码 */ |
| | | verifyCode: string; |
| | | verifyCode?: string; |
| | | type?: EnumUserType; |
| | | clientType?: EnumClientType; |
| | | } |
| | | |
| | | type SyncHumanResourcesAreaDictionaryDataCommand = Record<string, any>; |
| | | |
| | | interface WxmpLoginCommand { |
| | | /** 用户登录凭证 */ |
| | | code: string; |
| | | type?: EnumUserType; |
| | | } |
| | | } |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 查询用户简历 GET /api/user/user/getUserResume */ |
| | | export async function getUserResume( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetUserResumeParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetUserResumeQueryResult>('/api/user/user/getUserResume', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 设置用户信息角色 PUT /api/user/user/setUserInfoRoles */ |
| | | export async function setUserInfoRoles( |
| | | body: API.SetUserInfoRolesCommand, |
New file |
| | |
| | | /* eslint-disable */ |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** 删除用户简历-资格证书 DELETE /api/user/userResume/deleteUserResumeCredential */ |
| | | export async function deleteUserResumeCredential( |
| | | body: API.DeleteUserResumeCredentialCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/user/userResume/deleteUserResumeCredential', { |
| | | method: 'DELETE', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 查询用户简历 GET /api/user/userResume/getUserResume */ |
| | | export async function getUserResume( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetUserResumeParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetUserResumeQueryResult>('/api/user/userResume/getUserResume', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 查询用户简历-资格证书 GET /api/user/userResume/getUserResumeCredential */ |
| | | export async function getUserResumeCredential( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetUserResumeCredentialParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetUserResumeCredentialQueryResult>( |
| | | '/api/user/userResume/getUserResumeCredential', |
| | | { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 查询用户简历-资格证书列表 GET /api/user/userResume/getUserResumeCredentials */ |
| | | export async function getUserResumeCredentials( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetUserResumeCredentialsParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetUserResumeCredentialsQueryResultItem[]>( |
| | | '/api/user/userResume/getUserResumeCredentials', |
| | | { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | request: undefined, |
| | | ...params['request'], |
| | | }, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 查询用户简历-详细信息 GET /api/user/userResume/getUserResumeDetail */ |
| | | export async function getUserResumeDetail( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetUserResumeDetailParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetUserResumeDetailQueryResult>('/api/user/userResume/getUserResumeDetail', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | request: undefined, |
| | | ...params['request'], |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 查询用户简历-求职意向 GET /api/user/userResume/getUserResumeJobSeeking */ |
| | | export async function getUserResumeJobSeeking( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetUserResumeJobSeekingParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetUserResumeJobSeekingQueryResult>( |
| | | '/api/user/userResume/getUserResumeJobSeeking', |
| | | { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | request: undefined, |
| | | ...params['request'], |
| | | }, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 查询用户简历-个人信息 GET /api/user/userResume/getUserResumePersonal */ |
| | | export async function getUserResumePersonal( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetUserResumePersonalParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetUserResumePersonalQueryResult>( |
| | | '/api/user/userResume/getUserResumePersonal', |
| | | { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | request: undefined, |
| | | ...params['request'], |
| | | }, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 查询用户简历-工作经验 GET /api/user/userResume/getUserResumeWorkExperience */ |
| | | export async function getUserResumeWorkExperience( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetUserResumeWorkExperienceParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetUserResumeWorkExperienceQueryResult>( |
| | | '/api/user/userResume/getUserResumeWorkExperience', |
| | | { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | request: undefined, |
| | | ...params['request'], |
| | | }, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 保存用户简历-资格证书 POST /api/user/userResume/saveUserResumeCredential */ |
| | | export async function saveUserResumeCredential( |
| | | body: API.SaveUserResumeCredentialCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/user/userResume/saveUserResumeCredential', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 保存用户简历-详细信息 POST /api/user/userResume/saveUserResumeDetail */ |
| | | export async function saveUserResumeDetail( |
| | | body: API.SaveUserResumeDetailCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/user/userResume/saveUserResumeDetail', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 保存用户简历-求职意向 POST /api/user/userResume/saveUserResumeJobSeeking */ |
| | | export async function saveUserResumeJobSeeking( |
| | | body: API.SaveUserResumeJobSeekingCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/user/userResume/saveUserResumeJobSeeking', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 保存用户简历-个人信息 POST /api/user/userResume/saveUserResumePersonal */ |
| | | export async function saveUserResumePersonal( |
| | | body: API.SaveUserResumePersonalCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/user/userResume/saveUserResumePersonal', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 保存用户简历-工作经验 POST /api/user/userResume/saveUserResumeWorkExperience */ |
| | | export async function saveUserResumeWorkExperience( |
| | | body: API.SaveUserResumeWorkExperienceCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/user/userResume/saveUserResumeWorkExperience', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | |
| | | showLoading?: boolean; |
| | | mock?: boolean; |
| | | customErrorHandler?: (error: any) => boolean; |
| | | /** |
| | | * 是否获取原始的AxiosResponse |
| | | */ |
| | | getResponse?: boolean; |
| | | /** |
| | | * 跳过默认错误处理 |
| | | */ |
| | | skipErrorHandler?: boolean; |
| | | } |
| | | |
| | | interface MyCertificationAuditDto { |