123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159 |
- import request from "@/utils/request"
- // 获取用户基本信息
- export const getUserInfo = (params) => {
- return request({
- url: '/app-api/menduner/system/person/get',
- method: 'GET',
- params,
- custom: {
- showLoading: false,
- auth: true
- }
- })
- }
- // 获取附件列表
- export const getPersonResumeCv = () => {
- return request({
- url: '/app-api/menduner/system/person/resume/get/person/cv',
- method: 'GET',
- custom: {
- showLoading: false,
- auth: true
- }
- })
- }
- // 获取收藏的招聘职位列表
- export const getJobFavoriteList = (params) => {
- return request({
- url: '/app-api/menduner/system/person/get/job/favorite/page',
- method: 'GET',
- params,
- custom: {
- showLoading: false,
- auth: true
- }
- })
- }
- // 获取关注的企业列表
- export const getSubscribeEnterprise = (params) => {
- return request({
- url: '/app-api/menduner/system/person/get/enterprise/subscribe/page',
- method: 'GET',
- params,
- custom: {
- showLoading: false,
- auth: true
- }
- })
- }
- // 谁看过我
- export const getInterestedMePage = (params) => {
- return request({
- url: '/app-api/menduner/system/job-cv-rel/look/page',
- method: 'GET',
- params,
- custom: {
- showLoading: false,
- auth: true
- }
- })
- }
- // 众聘比例信息
- export const getPublicRatio = () => {
- return request({
- url: '/admin-api/menduner/system/hire-commission-ratio/get',
- method: 'GET',
- custom: {
- showLoading: false,
- auth: false
- }
- })
- }
- // 上传附件简历
- export const saveResume = (data) => {
- return request({
- url: '/app-api/menduner/system/person/resume/person/cv/save',
- method: 'POST',
- data,
- custom: {
- auth: true,
- showLoading: false
- }
- })
- }
- // 删除附件简历
- export const deleteResume = (id) => {
- return request({
- url: '/app-api/menduner/system/person/resume/person/cv/remove',
- method: 'DELETE',
- params: {
- id
- },
- custom: {
- auth: true,
- showLoading: false
- }
- })
- }
- // 获取已投递的职位列表
- export const getJobDeliveryList = (params) => {
- return request({
- url: '/app-api/menduner/system/job-cv-rel/page',
- method: 'GET',
- params,
- custom: {
- showLoading: false,
- auth: true
- }
- })
- }
- // 获取面试日程分页
- export const getUserInterviewInvitePage = (params) => {
- return request({
- url: '/app-api/menduner/system/interview-invite/page',
- method: 'GET',
- params,
- custom: {
- showLoading: false,
- auth: true
- }
- })
- }
- // 同意邀约面试
- export const userInterviewInviteConsent = (data) => {
- return request({
- url: '/app-api/menduner/system/interview-invite/consent',
- method: 'POST',
- data,
- custom: {
- auth: true,
- showLoading: false
- }
- })
- }
- // 拒绝邀约面试
- export const userInterviewInviteReject = (id) => {
- return request({
- url: '/app-api/menduner/system/interview-invite/reject',
- method: 'POST',
- params: {
- id
- },
- custom: {
- auth: true,
- showLoading: false
- }
- })
- }
|