1、房屋收费
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

2、退费审核
3、房间添加套内面积
This commit is contained in:
2025-07-18 18:40:13 +08:00
parent 8c606397df
commit a5f93c3a6c
21 changed files with 1801 additions and 96 deletions

View File

@@ -0,0 +1,61 @@
import type { HouseChargeVO, HouseChargeForm, HouseChargeQuery } 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 houseChargeList(params?: HouseChargeQuery) {
return requestClient.get<PageResult<HouseChargeVO>>('/property/houseCharge/list', { params });
}
/**
* 导出房屋收费列表
* @param params
* @returns 房屋收费列表
*/
export function houseChargeExport(params?: HouseChargeQuery) {
return commonExport('/property/houseCharge/export', params ?? {});
}
/**
* 查询房屋收费详情
* @param id id
* @returns 房屋收费详情
*/
export function houseChargeInfo(id: ID) {
return requestClient.get<HouseChargeVO>(`/property/houseCharge/${id}`);
}
/**
* 新增房屋收费
* @param data
* @returns void
*/
export function houseChargeAdd(data: HouseChargeForm) {
return requestClient.postWithMsg<void>('/property/houseCharge', data);
}
/**
* 更新房屋收费
* @param data
* @returns void
*/
export function houseChargeUpdate(data: HouseChargeForm) {
return requestClient.putWithMsg<void>('/property/houseCharge', data);
}
/**
* 删除房屋收费
* @param id id
* @returns void
*/
export function houseChargeRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/houseCharge/${id}`);
}