You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.1 KiB
53 lines
1.1 KiB
import request from '@/utils/request'
|
|
|
|
// 查询人员不良行为信息列表
|
|
export function listBadBehavior(query) {
|
|
return request({
|
|
url: '/enterprise/badBehavior/list',
|
|
method: 'post',
|
|
data: query
|
|
})
|
|
}
|
|
|
|
// 查询人员不良行为信息详细
|
|
export function getBadBehavior(id) {
|
|
return request({
|
|
url: '/enterprise/badBehavior/' + id,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 新增人员不良行为信息
|
|
export function addBadBehavior(data) {
|
|
return request({
|
|
url: '/enterprise/badBehavior',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 修改人员不良行为信息
|
|
export function updateBadBehavior(data) {
|
|
return request({
|
|
url: '/enterprise/badBehavior',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除人员不良行为信息
|
|
export function delBadBehavior(id) {
|
|
return request({
|
|
url: '/enterprise/badBehavior/' + id,
|
|
method: 'delete'
|
|
})
|
|
}
|
|
|
|
// 导出人员不良行为信息
|
|
export function exportBadBehavior(query) {
|
|
return request({
|
|
url: '/enterprise/badBehavior/export',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|