45 lines
763 B
JavaScript
45 lines
763 B
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询签到明细列表
|
|
export function listSign(query) {
|
|
return request({
|
|
url: '/SignDetail/Sign/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询签到明细详细
|
|
export function getSign(id) {
|
|
return request({
|
|
url: '/SignDetail/Sign/' + id,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 新增签到明细
|
|
export function addSign(data) {
|
|
return request({
|
|
url: '/SignDetail/Sign',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 修改签到明细
|
|
export function updateSign(data) {
|
|
return request({
|
|
url: '/SignDetail/Sign',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除签到明细
|
|
export function delSign(id) {
|
|
return request({
|
|
url: '/SignDetail/Sign/' + id,
|
|
method: 'delete'
|
|
})
|
|
}
|