会议管理
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

This commit is contained in:
FLL
2025-07-04 17:56:14 +08:00
parent e21c76cc6f
commit e28ddabf57
20 changed files with 1433 additions and 520 deletions

View File

@@ -0,0 +1,61 @@
import type { AttachVO, AttachForm, AttachQuery } from './model';
import type { ID, IDS } from '#/api/common';
import type { PageResult } from '#/api/common';
import { commonExport } from '#/api/helper';
import { requestClient } from '#/api/request';
/**
* 查询会议室增值服务列表
* @param params
* @returns 会议室增值服务列表
*/
export function attachList(params?: AttachQuery) {
return requestClient.get<PageResult<AttachVO>>('/property/attach/list', { params });
}
/**
* 导出会议室增值服务列表
* @param params
* @returns 会议室增值服务列表
*/
export function attachExport(params?: AttachQuery) {
return commonExport('/property/attach/export', params ?? {});
}
/**
* 查询会议室增值服务详情
* @param id id
* @returns 会议室增值服务详情
*/
export function attachInfo(id: ID) {
return requestClient.get<AttachVO>(`/property/attach/${id}`);
}
/**
* 新增会议室增值服务
* @param data
* @returns void
*/
export function attachAdd(data: AttachForm) {
return requestClient.postWithMsg<void>('/property/attach', data);
}
/**
* 更新会议室增值服务
* @param data
* @returns void
*/
export function attachUpdate(data: AttachForm) {
return requestClient.putWithMsg<void>('/property/attach', data);
}
/**
* 删除会议室增值服务
* @param id id
* @returns void
*/
export function attachRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/attach/${id}`);
}