Merge remote-tracking branch 'origin/master'
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
import type { RoomBookingVO, RoomBookingForm, RoomBookingQuery,GetMeetNameVO } from './model';
|
||||
import type {
|
||||
RoomBookingVO,
|
||||
RoomBookingForm,
|
||||
RoomBookingQuery,
|
||||
GetMeetNameVO,
|
||||
} from './model';
|
||||
|
||||
import type { ID, IDS } from '#/api/common';
|
||||
import type { PageResult } from '#/api/common';
|
||||
@@ -7,21 +12,26 @@ import { commonExport } from '#/api/helper';
|
||||
import { requestClient } from '#/api/request';
|
||||
|
||||
/**
|
||||
* 查询会议室名称列表
|
||||
* @param getMeetName 后端约定传'getMeetName'
|
||||
* @returns 会议室名称列表
|
||||
*/
|
||||
* 查询会议室名称列表
|
||||
* @param getMeetName 后端约定传'getMeetName'
|
||||
* @returns 会议室名称列表
|
||||
*/
|
||||
export function getMeetName() {
|
||||
return requestClient.get<PageResult<GetMeetNameVO>>(`/property/enum-fetcher/enum-values/${'getMeetName'}`);
|
||||
return requestClient.get<GetMeetNameVO[]>(
|
||||
`/property/enum-fetcher/enum-values/${'getMeetName'}`,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询会议管理列表
|
||||
* @param params
|
||||
* @returns 会议管理列表
|
||||
*/
|
||||
* 查询会议管理列表
|
||||
* @param params
|
||||
* @returns 会议管理列表
|
||||
*/
|
||||
export function roomBookingList(params?: RoomBookingQuery) {
|
||||
return requestClient.get<PageResult<RoomBookingVO>>('/property/roomBooking/list', { params });
|
||||
return requestClient.get<PageResult<RoomBookingVO>>(
|
||||
'/property/roomBooking/list',
|
||||
{ params },
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -69,10 +79,15 @@ export function roomBookingRemove(id: ID | IDS) {
|
||||
return requestClient.deleteWithMsg<void>(`/property/roomBooking/${id}`);
|
||||
}
|
||||
/**
|
||||
* 按照日期查询已预约会议预约记录列表
|
||||
* @param params
|
||||
* @returns 会议预约列表
|
||||
*/
|
||||
export function meetbookingAppointmentList(params?: MeetbookingAppointmentQuery) {
|
||||
return requestClient.get<PageResult<MeetbookingVO>>('/property/meetbooking/appointment-list', { params });
|
||||
}
|
||||
* 按照日期查询已预约会议预约记录列表
|
||||
* @param params
|
||||
* @returns 会议预约列表
|
||||
*/
|
||||
export function meetbookingAppointmentList(
|
||||
params?: MeetbookingAppointmentQuery,
|
||||
) {
|
||||
return requestClient.get<PageResult<MeetbookingVO>>(
|
||||
'/property/meetbooking/appointment-list',
|
||||
{ params },
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user