From a3c0cbe2a51b97b03db4a90612331a4f9a0b782b Mon Sep 17 00:00:00 2001 From: dev_ljl <2590379346@qq.com> Date: Tue, 8 Jul 2025 17:33:42 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E4=BC=9A=E8=AE=AE=E5=AE=A4=E9=A2=84?= =?UTF-8?q?=E7=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../conferenceAddServices/index.ts | 3 + .../conferenceReservations/index.ts | 12 ++ .../conferenceReservations/model.d.ts | 59 ++++++ .../roomBooking/conferenceSettings/index.ts | 6 +- .../roomBooking/conferenceSettings/model.d.ts | 61 ++++++ .../conferenceReservations-modal.vue | 193 +++++++++++++++--- .../conferenceReservations/data.ts | 91 ++++++--- .../conferenceReservations/index.vue | 145 +++++++------ .../conferenceSettings-detail.vue | 7 +- .../roomBooking/conferenceSettings/index.vue | 2 + 10 files changed, 446 insertions(+), 133 deletions(-) create mode 100644 apps/web-antd/src/api/property/roomBooking/conferenceReservations/index.ts create mode 100644 apps/web-antd/src/api/property/roomBooking/conferenceReservations/model.d.ts diff --git a/apps/web-antd/src/api/property/roomBooking/conferenceAddServices/index.ts b/apps/web-antd/src/api/property/roomBooking/conferenceAddServices/index.ts index 16384b08..7f57a6f4 100644 --- a/apps/web-antd/src/api/property/roomBooking/conferenceAddServices/index.ts +++ b/apps/web-antd/src/api/property/roomBooking/conferenceAddServices/index.ts @@ -14,6 +14,9 @@ import { requestClient } from '#/api/request'; export function attachList(params?: AttachQuery) { return requestClient.get>('/property/attach/list', { params }); } +export function attachListAll() { + return requestClient.get>('/property/attach/attachList', ); +} /** * 导出会议室增值服务列表 diff --git a/apps/web-antd/src/api/property/roomBooking/conferenceReservations/index.ts b/apps/web-antd/src/api/property/roomBooking/conferenceReservations/index.ts new file mode 100644 index 00000000..b4c4305a --- /dev/null +++ b/apps/web-antd/src/api/property/roomBooking/conferenceReservations/index.ts @@ -0,0 +1,12 @@ +import type { ReservationForm} from './model'; + +import { requestClient } from '#/api/request'; + +/** + * 新增会议管理 + * @param data + * @returns void + */ +export function reservationAdd(data: ReservationForm) { + return requestClient.postWithMsg('/property/meetbooking', data); +} diff --git a/apps/web-antd/src/api/property/roomBooking/conferenceReservations/model.d.ts b/apps/web-antd/src/api/property/roomBooking/conferenceReservations/model.d.ts new file mode 100644 index 00000000..5a560e45 --- /dev/null +++ b/apps/web-antd/src/api/property/roomBooking/conferenceReservations/model.d.ts @@ -0,0 +1,59 @@ +import type { BaseEntity } from '#/api/common'; + +export interface ReservationForm extends BaseEntity { + /** + * id + */ + id?: string | number; + + /** + * 会议室id + */ + meetId?: string | number; + + /** + * 预约人 + */ + person?: string; + + /** + * 所属单位 + */ + unit?: string; + + /** + * 参会人数 + */ + personSum?: string; + + /** + * 会议主题 + */ + conferenceTheme?: string; + + /** + * 预约日期 + */ + appointmentDate?: string; + + /** + * 预约开始时段 + */ + appointmentBeginTime?: string; + + /** + * 预约结束时段 + */ + appointmentEndTime?: string; + + /** + * 备注 + */ + remark?: string; + + /** + * 是否需要增值服务(0:需要,1:不需要) + */ + attach?: number; + +} diff --git a/apps/web-antd/src/api/property/roomBooking/conferenceSettings/index.ts b/apps/web-antd/src/api/property/roomBooking/conferenceSettings/index.ts index f2265a12..8799428e 100644 --- a/apps/web-antd/src/api/property/roomBooking/conferenceSettings/index.ts +++ b/apps/web-antd/src/api/property/roomBooking/conferenceSettings/index.ts @@ -1,4 +1,4 @@ -import type { MeetVO, MeetForm, MeetQuery } from './model'; +import type {MeetVO, MeetForm, MeetQuery, MeetBo} from './model'; import type { ID, IDS } from '#/api/common'; import type { PageResult } from '#/api/common'; @@ -59,3 +59,7 @@ export function meetUpdate(data: MeetForm) { export function meetRemove(id: ID | IDS) { return requestClient.deleteWithMsg(`/property/meet/${id}`); } + +export function notlist(params?: MeetBo) { + return requestClient.get>('/property/meet/notlist', { params }); +} diff --git a/apps/web-antd/src/api/property/roomBooking/conferenceSettings/model.d.ts b/apps/web-antd/src/api/property/roomBooking/conferenceSettings/model.d.ts index 7b0748ff..3766063a 100644 --- a/apps/web-antd/src/api/property/roomBooking/conferenceSettings/model.d.ts +++ b/apps/web-antd/src/api/property/roomBooking/conferenceSettings/model.d.ts @@ -268,6 +268,8 @@ export interface conferenceSettingsDetail extends BaseEntity { */ baseServiceId: string | number; + baseService: string; + /** * 基础价格 */ @@ -297,6 +299,8 @@ export interface conferenceSettingsDetail extends BaseEntity { * 负责人 */ principals: string; + + principalsName: string; /** * 描述 */ @@ -326,3 +330,60 @@ export interface conferenceSettingsDetail extends BaseEntity { */ picture: string; } + +export interface MeetBo{ + /** + * 会议室名称 + */ + name?: string; + + /** + * 位置 + */ + location?: string; + + /** + * 容纳人数 + */ + personNumber?: number; + + /** + * 基础服务 + */ + baseServiceId?: string | number; + + /** + * 基础价格 + */ + basePrice?: number; + + /** + * 增值服务是否启用 + */ + attach?: number; + + /** + * 创建人id + */ + createById?: string | number; + + /** + * 更新人id + */ + updateById?: string | number; + + /** + * 搜索值 + */ + searchValue?: string; + + /** + * 日期范围参数 + */ + params?: any; + + /** + * 开放时间 + */ + openHours?: string; +} diff --git a/apps/web-antd/src/views/property/roomBooking/conferenceReservations/conferenceReservations-modal.vue b/apps/web-antd/src/views/property/roomBooking/conferenceReservations/conferenceReservations-modal.vue index 245b5dfd..731d6589 100644 --- a/apps/web-antd/src/views/property/roomBooking/conferenceReservations/conferenceReservations-modal.vue +++ b/apps/web-antd/src/views/property/roomBooking/conferenceReservations/conferenceReservations-modal.vue @@ -1,13 +1,25 @@