Files
ks-app-employment-service/apiRc/jobPath.js
2025-11-12 12:20:58 +08:00

57 lines
1.0 KiB
JavaScript

/*
* @Date: 2025-11-12
* @Description: 职业路径相关接口
*/
import request from '@/utilsRc/request'
// 根据职业名称获取路径列表
export function getJobPathPage(params) {
return request({
url: '/jobPath/getJobPathPage',
method: 'get',
params,
baseUrlType: 'zytp'
})
}
// 根据职业路径ID获取详情
export function getJobPathDetail(params) {
return request({
url: '/jobPath/getJobPathDetail',
method: 'get',
params,
baseUrlType: 'zytp'
})
}
// 获取职业路径数量
export function getJobPathNum() {
return request({
url: '/jobPath/getJobPathNum',
method: 'get',
baseUrlType: 'zytp'
})
}
// 导入职业路径
export function importJobPath(data) {
return request({
url: '/jobPath/importJobPath',
method: 'post',
data,
baseUrlType: 'zytp'
})
}
// 导出职业路径
export function exportJobPath(params) {
return request({
url: '/jobPath/exportJobPath',
method: 'get',
params,
baseUrlType: 'zytp',
responseType: 'arraybuffer'
})
}