移动端V1.0
This commit is contained in:
45
api/OneStopCommunity/appointment.js
Normal file
45
api/OneStopCommunity/appointment.js
Normal file
@@ -0,0 +1,45 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
|
||||
// 查询一站式社区-功能房-预约记录列表
|
||||
export function listRoomReservation(query) {
|
||||
return request({
|
||||
url: '/staff/roomReservation/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 查询一站式社区-功能房-预约记录列表,只查自己
|
||||
export function listByUserName(query) {
|
||||
return request({
|
||||
url: '/staff/roomReservation/listByUserName',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function getDetailList(id) {
|
||||
return request({
|
||||
url: '/staff/roomReservation/'+id,
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export function Update(data) {
|
||||
return request({
|
||||
url: '/staff/roomReservation/update',
|
||||
method: 'post',
|
||||
data:data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除功能房
|
||||
export function Deleteid(rtIds) {
|
||||
return request({
|
||||
url: '/staff/roomReservation/' + rtIds,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user