talk_appAmin/api/signln/SignDetail/Sign.js

45 lines
763 B
JavaScript
Raw Normal View History

2024-06-12 12:29:17 +08:00
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'
})
}