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.
45 lines
823 B
45 lines
823 B
import request from '@/utils/request'
|
|
|
|
// 查询当日操作列表
|
|
export function listOperations(query) {
|
|
return request({
|
|
url: '/booksystem/operations/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询当日操作详细
|
|
export function getOperations(id) {
|
|
return request({
|
|
url: '/booksystem/operations/' + id,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 新增当日操作
|
|
export function addOperations(data) {
|
|
return request({
|
|
url: '/booksystem/operations',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 修改当日操作
|
|
export function updateOperations(data) {
|
|
return request({
|
|
url: '/booksystem/operations',
|
|
method: 'put',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除当日操作
|
|
export function delOperations(id) {
|
|
return request({
|
|
url: '/booksystem/operations/' + id,
|
|
method: 'delete'
|
|
})
|
|
}
|