70 lines
1.2 KiB
JavaScript
70 lines
1.2 KiB
JavaScript
import request from '@/utils/request'
|
|
|
|
export function listXw(query) {
|
|
return request({
|
|
url: '/dormitory/checklog/listXw',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
|
|
export function listFdy(query) {
|
|
return request({
|
|
url: '/dormitory/checklog/listFdy',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
export function listStu(query) {
|
|
return request({
|
|
url: '/dormitory/checklog/listStu',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询查寝推送日志列表
|
|
export function listChecklog(query) {
|
|
return request({
|
|
url: '/dormitory/checklog/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询查寝推送日志详细
|
|
export function getChecklog(id) {
|
|
return request({
|
|
url: '/dormitory/checklog/' + id,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 新增查寝推送日志
|
|
export function addChecklog(data) {
|
|
return request({
|
|
url: '/dormitory/checklog/add',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 修改查寝推送日志
|
|
export function updateChecklog(data) {
|
|
return request({
|
|
url: '/dormitory/checklog/update',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|
|
|
|
// 删除查寝推送日志
|
|
export function delChecklog(id) {
|
|
return request({
|
|
url: '/dormitory/checklog/' + id,
|
|
method: 'post'
|
|
})
|
|
}
|