feat: 会议室查看
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
import type { getAppointmentListByDateQuery,getAppointmentListByIdQuery } from './model';
|
||||
|
||||
import type { PageResult } from '#/api/common';
|
||||
import { requestClient } from '#/api/request';
|
||||
|
||||
/**
|
||||
* 按照日期查询已预约会议预约记录列表
|
||||
* @param params
|
||||
* @returns 会议预约列表
|
||||
*/
|
||||
export function getAppointmentListByDate(params?: getAppointmentListByDateQuery) {
|
||||
return requestClient.get<any>('/property/meetbooking/appointment-list', { params });
|
||||
}
|
||||
/**
|
||||
* 按照会议室Id查询已预约会议预约记录列表
|
||||
* @param params
|
||||
* @returns 会议预约列表
|
||||
*/
|
||||
export function getAppointmentListBymeetId(params?: getAppointmentListByIdQuery) {
|
||||
return requestClient.get<any>('/property/meetbooking/meet-appointment-list', { params });
|
||||
}
|
12
apps/web-antd/src/api/property/roomBooking/conferenceView/model.d.ts
vendored
Normal file
12
apps/web-antd/src/api/property/roomBooking/conferenceView/model.d.ts
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
export interface getAppointmentListByDateQuery {
|
||||
/**
|
||||
* 日期
|
||||
*/
|
||||
appointmentDate?: string;
|
||||
}
|
||||
export interface getAppointmentListByIdQuery {
|
||||
/**
|
||||
* 会议室id
|
||||
*/
|
||||
meetId?: string;
|
||||
}
|
Reference in New Issue
Block a user