feat: 会议室查看

This commit is contained in:
fyy
2025-07-09 18:18:48 +08:00
parent 38012ccdb1
commit d8174111c2
26 changed files with 659 additions and 162 deletions

View File

@@ -70,7 +70,7 @@ export interface Clean_orderVO {
* 联系电话
*/
phone: string;
relationList: any[];
}
export interface Clean_orderForm extends BaseEntity {

View File

@@ -1,4 +1,4 @@
import type { MeetbookingVO, MeetbookingForm, MeetbookingQuery } from './model';
import type { MeetbookingVO, MeetbookingForm, MeetbookingQuery, MeetbookingAppointmentQuery } from './model';
import type { ID, IDS } from '#/api/common';
import type { PageResult } from '#/api/common';

View File

@@ -222,3 +222,4 @@ export interface MeetbookingQuery extends PageQuery {
*/
params?: any;
}

View File

@@ -68,3 +68,12 @@ export function countAchieved() {
export function countByCusScore() {
return requestClient.get<any>('/property/orderMaintain/countByCusScore');
}
/**
* 统计下单客户总数
* @param
* @returns void
*/
export function countCustomers() {
return requestClient.get<any>('/property/rentalOrder/countCustomers');
}

View File

@@ -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 });
}

View File

@@ -0,0 +1,12 @@
export interface getAppointmentListByDateQuery {
/**
* 日期
*/
appointmentDate?: string;
}
export interface getAppointmentListByIdQuery {
/**
* 会议室id
*/
meetId?: string;
}

View File

@@ -1,4 +1,4 @@
import type { RoomBookingVO, RoomBookingForm, RoomBookingQuery } from './model';
import type { RoomBookingVO, RoomBookingForm, RoomBookingQuery,GetMeetNameVO } from './model';
import type { ID, IDS } from '#/api/common';
import type { PageResult } from '#/api/common';
@@ -6,6 +6,15 @@ import type { PageResult } from '#/api/common';
import { commonExport } from '#/api/helper';
import { requestClient } from '#/api/request';
/**
* 查询会议室名称列表
* @param getMeetName 后端约定传'getMeetName'
* @returns 会议室名称列表
*/
export function getMeetName() {
return requestClient.get<PageResult<GetMeetNameVO>>(`/property/enum-fetcher/enum-values/${'getMeetName'}`);
}
/**
* 查询会议管理列表
* @param params
@@ -59,3 +68,11 @@ export function roomBookingUpdate(data: RoomBookingForm) {
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 });
}

View File

@@ -1,5 +1,9 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface GetMeetNameVO {
id: string;
name: string;
}
export interface RoomBookingVO {
/**
* 会议室id