2、退费审核 3、房间添加套内面积
This commit is contained in:
@@ -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}`);
|
||||
}
|
Reference in New Issue
Block a user