31 lines
838 B
JavaScript
31 lines
838 B
JavaScript
import http from '../utils/http'
|
|
|
|
/**
|
|
* 员工管理
|
|
*/
|
|
// 组织架构list
|
|
export const apiOrganizationList = data => {
|
|
return http({ url: '/lz_management/staff/structure/list', method: 'post', data })
|
|
}
|
|
|
|
// 员工列表
|
|
export const apiEmployeesList = params => {
|
|
return http({ url: '/lz_management/staff/info/list', method: 'get', params })
|
|
}
|
|
|
|
// 员工档案
|
|
export const apiEmployeesInfo = data => {
|
|
console.log('data: ', data)
|
|
return http({ url: '/lz_management/staff/info/query/' + data, method: 'post' })
|
|
}
|
|
|
|
// 员工概况
|
|
export const apiEmployeessItuation = data => {
|
|
return http({ url: '/lz_management/staff/info/statistical', method: 'get', params: data })
|
|
}
|
|
|
|
// 文件上传
|
|
export const apiUploadFile = params => {
|
|
return http({ url: '/lz_management/staff/info/batchImport', method: 'post', data: params })
|
|
}
|