feat: 会议室查看
This commit is contained in:
@@ -70,7 +70,7 @@ export interface Clean_orderVO {
|
||||
* 联系电话
|
||||
*/
|
||||
phone: string;
|
||||
|
||||
relationList: any[];
|
||||
}
|
||||
|
||||
export interface Clean_orderForm extends BaseEntity {
|
||||
|
@@ -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';
|
||||
|
@@ -222,3 +222,4 @@ export interface MeetbookingQuery extends PageQuery {
|
||||
*/
|
||||
params?: any;
|
||||
}
|
||||
|
||||
|
@@ -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');
|
||||
}
|
||||
|
@@ -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;
|
||||
}
|
@@ -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 });
|
||||
}
|
@@ -1,5 +1,9 @@
|
||||
import type { PageQuery, BaseEntity } from '#/api/common';
|
||||
|
||||
export interface GetMeetNameVO {
|
||||
id: string;
|
||||
name: string;
|
||||
}
|
||||
export interface RoomBookingVO {
|
||||
/**
|
||||
* 会议室id
|
||||
|
Reference in New Issue
Block a user