会议页面

This commit is contained in:
zjf committed 2025-06-17 17:57:57 +08:00
1 parent eff72e49b6
commit 3de34399b4
4 files changed
+282 -90

No files matched your search

+27
View File
@@ -10,4 +10,31 @@ export default {
method: "GET",
params,
}),
/**
* 获取会议室时间段
*/
getTimeSlots: (roomId: string, date: string) =>
request({
url: `/integrated/meetingRoom/${roomId}/time-slots`,
method: "GET",
params: { date },
}),
/**
* 预约会议室
*/
bookMeetingRoom: (roomId: string, data: {
date: string;
startTime: string;
endTime: string;
title: string;
description: string;
attendees: string[];
}) =>
request({
url: `/integrated/meetingRoom/${roomId}/book`,
method: "POST",
data,
}),
}