| | |
| | | |
| | | onMounted(async () => { |
| | | try { |
| | | await setLocationCity(); |
| | | await resetLocation(); |
| | | } catch (error) {} |
| | | }); |
| | | |
| | |
| | | :gender="item.gender" |
| | | :age="item.age" |
| | | :isReal="item.userIsReal" |
| | | :personalIdentityContent="item.personalIdentityContent" |
| | | :educationalBackgroundContent="item.educationalBackgroundContent" |
| | | :taskCount="item.taskCount" |
| | | :avatar="item.avatar" |
| | | :workExperience="item.workExperience" |
| | | :workSeniority="item.workSeniority" |
| | | @click="goDetail(item)" |
| | | > |
| | | <template #footerRight> |
| | |
| | | :workExperience="item.workExperience" |
| | | > |
| | | <template #footerLeft> |
| | | <div class="flexJob-card-footer-text"> |
| | | <div |
| | | class="flexJob-card-footer-text" |
| | | :style="{ color: EnumTaskUserHireStatusColor[item.hireStatus] }" |
| | | > |
| | | {{ EnumTaskUserHireStatusText[item.hireStatus] }} |
| | | </div> |
| | | </template> |
| | |
| | | </template> |
| | | |
| | | <script setup lang="ts"> |
| | | import { EnumTaskUserHireStatusText } from '@12333/constants'; |
| | | import { EnumTaskUserHireStatusText, EnumTaskUserHireStatusColor } from '@12333/constants'; |
| | | import { RouterPath } from '@/constants'; |
| | | import { useTaskUserList } from '@12333/hooks'; |
| | | import { FlexJobCard } from '@12333/components'; |
| | |
| | | @click="goMineHire" |
| | | > |
| | | <img :src="IconOrderHire" class="mine-order-list-icon" /> |
| | | <div class="mine-order-list-text">已录用</div> |
| | | <div class="mine-order-list-text">已安排</div> |
| | | </nut-badge> |
| | | <nut-badge |
| | | class="mine-order-list-item" |
| | |
| | | <template> |
| | | <PageLayoutWithBg class="mineHire-page-wrapper" :title="'已录用'"> |
| | | <PageLayoutWithBg class="mineHire-page-wrapper" :title="'已安排'"> |
| | | <InnerPage></InnerPage> |
| | | </PageLayoutWithBg> |
| | | </template> |
| | |
| | | <template> |
| | | <div :class="['flexJob-card-top-wrapper', size]"> |
| | | <Avatar :src="avatar" :size="size === 'small' ? 50 : 60" class="flexJob-card-top-avatar" /> |
| | | <Avatar |
| | | :src="setOSSLink(avatar)" |
| | | :size="size === 'small' ? 50 : 60" |
| | | class="flexJob-card-top-avatar" |
| | | /> |
| | | <div class="flexJob-card-top-info"> |
| | | <div class="flexJob-card-top-info-item"> |
| | | <div class="flexJob-card-top-info-name">{{ name }}</div> |
| | |
| | | import { AvatarImage, EnumUserGender } from '@12333/constants'; |
| | | import { Avatar } from '@12333/components'; |
| | | import { computed } from 'vue'; |
| | | import { setOSSLink } from '@12333/utils'; |
| | | |
| | | defineOptions({ |
| | | name: 'FlexJobTopView', |
| | |
| | | import { Colors } from './enum'; |
| | | import { |
| | | EnumBillingMethod, |
| | | EnumUserGender, |
| | |
| | | }; |
| | | |
| | | export const EnumTaskCheckReceiveStatusText = { |
| | | [EnumTaskCheckReceiveStatus.Wait]: '待验收', |
| | | [EnumTaskCheckReceiveStatus.WaitSubmit]: '待验收', |
| | | [EnumTaskCheckReceiveStatus.Completed]: '已验收', |
| | | }; |
| | | |
| | |
| | | [EnumTaskUserHireStatus.Refuse]: '已谢绝', |
| | | }; |
| | | |
| | | export const EnumTaskUserHireStatusColor = { |
| | | [EnumTaskUserHireStatus.Wait]: Colors.Warning, |
| | | [EnumTaskUserHireStatus.Pass]: Colors.Primary, |
| | | [EnumTaskUserHireStatus.Refuse]: Colors.Danger, |
| | | }; |
| | | |
| | | export const GetPersonalApplyTaskInfosQueryStatusText = { |
| | | [GetPersonalApplyTaskInfosQueryStatus.WaitHire]: '待确认', |
| | | [GetPersonalApplyTaskInfosQueryStatus.WaitSignContract]: '待签约', |
| | |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** 查询灵工详情 GET /api/user/enterpriseEmployee/getEnterpriseEmployee */ |
| | | export async function getEnterpriseEmployee( |
| | | // 叠加生成的Param类型 (非body参数swagger默认没有生成对象) |
| | | params: API.APIgetEnterpriseEmployeeParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetEnterpriseEmployeeQueryResult>( |
| | | '/api/user/enterpriseEmployee/getEnterpriseEmployee', |
| | | { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 查询灵工分页列表数据 POST /api/user/enterpriseEmployee/getEnterpriseEmployees */ |
| | | export async function getEnterpriseEmployees( |
| | | body: API.GetEnterpriseEmployeesQuery, |
| | |
| | | /* eslint-disable */ |
| | | // API 更新时间: |
| | | // API 唯一标识: |
| | | import * as userResume from './userResume'; |
| | | import * as resource from './resource'; |
| | | import * as enterpriseEmployee from './enterpriseEmployee'; |
| | | import * as user from './user'; |
| | | import * as dictionary from './dictionary'; |
| | | import * as auth from './auth'; |
| | | import * as taskUser from './taskUser'; |
| | | import * as task from './task'; |
| | | import * as enterprise from './enterprise'; |
| | | import * as role from './role'; |
| | | import * as enterprise from './enterprise'; |
| | | import * as task from './task'; |
| | | import * as dictionary from './dictionary'; |
| | | import * as user from './user'; |
| | | import * as userResume from './userResume'; |
| | | import * as auth from './auth'; |
| | | import * as resource from './resource'; |
| | | import * as taskUser from './taskUser'; |
| | | import * as enterpriseEmployee from './enterpriseEmployee'; |
| | | import * as menu from './menu'; |
| | | export default { |
| | | userResume, |
| | | resource, |
| | | enterpriseEmployee, |
| | | user, |
| | | dictionary, |
| | | auth, |
| | | taskUser, |
| | | task, |
| | | enterprise, |
| | | role, |
| | | enterprise, |
| | | task, |
| | | dictionary, |
| | | user, |
| | | userResume, |
| | | auth, |
| | | resource, |
| | | taskUser, |
| | | enterpriseEmployee, |
| | | menu, |
| | | }; |
| | |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIgetEnterpriseEmployeeParams { |
| | | /** 灵工Id */ |
| | | id?: string; |
| | | /** 任务Id */ |
| | | taskInfoId?: string; |
| | | } |
| | | |
| | | interface APIgetEnterpriseParams { |
| | | /** Id */ |
| | | id?: string; |
| | |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetEnterpriseElectronSignSettingQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetEnterpriseEmployeeQueryResult { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | data?: GetEnterpriseEmployeeQueryResult; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | |
| | | /** 关键字 */ |
| | | keywords?: string; |
| | | /** 验收日期-最早时间 */ |
| | | submitTimeBegin?: string; |
| | | dateBegin?: string; |
| | | /** 验收日期-最晚时间 */ |
| | | submitTimeEnd?: string; |
| | | dateEnd?: string; |
| | | checkReceiveStatus?: EnumTaskCheckReceiveStatus; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | |
| | | name?: string; |
| | | /** 身份证号 */ |
| | | identity?: string; |
| | | /** 生日 */ |
| | | birthday?: string; |
| | | gender?: EnumUserGender; |
| | | /** 年龄 */ |
| | | age?: number; |
| | | /** 手机号 */ |
| | |
| | | mergeSignCost?: number; |
| | | } |
| | | |
| | | interface GetEnterpriseEmployeeQueryResult { |
| | | /** 灵工Id */ |
| | | id?: string; |
| | | /** 姓名 */ |
| | | name?: string; |
| | | /** 身份证号 */ |
| | | identity?: string; |
| | | /** 手机号 */ |
| | | contactPhoneNumber?: string; |
| | | gender?: EnumUserGender; |
| | | /** 年龄 */ |
| | | age?: number; |
| | | /** 身份证人像面 */ |
| | | identityImg?: string; |
| | | /** 身份证国徽面 */ |
| | | identityBackImg?: string; |
| | | /** 报名时间 */ |
| | | applyTime?: string; |
| | | /** 实名时间 */ |
| | | userRealTime?: string; |
| | | /** 企业签约时间 */ |
| | | enterpriseSignContractTime?: string; |
| | | /** 电子合同 */ |
| | | contractUrl?: string; |
| | | } |
| | | |
| | | interface GetEnterpriseEmployeesQuery { |
| | | /** 关键字(姓名/手机/身份证号) */ |
| | | keywords?: string; |
| | |
| | | age?: number; |
| | | /** 手机号 */ |
| | | contactPhoneNumber?: string; |
| | | hireStatus?: EnumTaskUserHireStatus; |
| | | /** 实名状态 */ |
| | | /** 是否实名 */ |
| | | userIsReal?: boolean; |
| | | realMethod?: EnumUserRealMethod; |
| | | /** 身份编号 */ |
| | | personalIdentityCode?: string; |
| | | /** 身份 */ |
| | | personalIdentityContent?: string; |
| | | /** 学历编号 */ |
| | | educationalBackgroundCode?: string; |
| | | /** 学历 */ |
| | | educationalBackgroundContent?: string; |
| | | /** 上岗次数 */ |
| | | taskCount?: number; |
| | | /** 工作资历 */ |
| | | workSeniority?: string; |
| | | /** 工作经验 */ |
| | | workExperience?: string; |
| | | hireStatus?: EnumTaskUserHireStatus; |
| | | userSignContractStatus?: EnumTaskUserSignContractStatus; |
| | | /** 录用时间 */ |
| | | hireTime?: string; |
| | |
| | | interface GetTaskUsersQuery { |
| | | /** 任务Id */ |
| | | id?: string; |
| | | /** 关键字 */ |
| | | keywords?: string; |
| | | hireStatus?: EnumTaskUserHireStatus; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | |
| | | /** 永久证书 */ |
| | | isForever?: boolean; |
| | | /** 开始日期 */ |
| | | startDate: string; |
| | | startDate?: string; |
| | | /** 结束日期 */ |
| | | endDate: string; |
| | | endDate?: string; |
| | | /** 发证单位 */ |
| | | issueUnit?: string; |
| | | /** 证书正面照片 */ |