45 lines
763 B
JavaScript
45 lines
763 B
JavaScript
|
import request from '@/utils/request'
|
||
|
|
||
|
// 查询签到详情列表
|
||
|
export function listSignTa(query) {
|
||
|
return request({
|
||
|
url: '/SignTa/SignTa/list',
|
||
|
method: 'get',
|
||
|
params: query
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 查询签到详情详细
|
||
|
export function getSignTa(id) {
|
||
|
return request({
|
||
|
url: '/SignTa/SignTa/' + id,
|
||
|
method: 'get'
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 新增签到详情
|
||
|
export function addSignTa(data) {
|
||
|
return request({
|
||
|
url: '/SignTa/SignTa',
|
||
|
method: 'post',
|
||
|
data: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 修改签到详情
|
||
|
export function updateSignTa(data) {
|
||
|
return request({
|
||
|
url: '/SignTa/SignTa',
|
||
|
method: 'put',
|
||
|
data: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 删除签到详情
|
||
|
export function delSignTa(id) {
|
||
|
return request({
|
||
|
url: '/SignTa/SignTa/' + id,
|
||
|
method: 'delete'
|
||
|
})
|
||
|
}
|