费用管理
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
import type { PaymentReviewVO, PaymentReviewForm, PaymentReviewQuery } 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 paymentReviewList(params?: PaymentReviewQuery) {
|
||||
return requestClient.get<PageResult<PaymentReviewVO>>('/property/payFeeAudit/list', { params });
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出缴费审核列表
|
||||
* @param params
|
||||
* @returns 缴费审核列表
|
||||
*/
|
||||
export function paymentReviewExport(params?: PaymentReviewQuery) {
|
||||
return commonExport('/property/payFeeAudit/export', params ?? {});
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询缴费审核详情
|
||||
* @param id id
|
||||
* @returns 缴费审核详情
|
||||
*/
|
||||
export function paymentReviewInfo(id: ID) {
|
||||
return requestClient.get<PaymentReviewVO>(`/property/payFeeAudit/${id}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增缴费审核
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
export function paymentReviewAdd(data: PaymentReviewForm) {
|
||||
return requestClient.postWithMsg<void>('/property/payFeeAudit', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新缴费审核
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
export function paymentReviewUpdate(data: PaymentReviewForm) {
|
||||
return requestClient.putWithMsg<void>('/property/payFeeAudit', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除缴费审核
|
||||
* @param id id
|
||||
* @returns void
|
||||
*/
|
||||
export function paymentReviewRemove(id: ID | IDS) {
|
||||
return requestClient.deleteWithMsg<void>(`/property/payFeeAudit/${id}`);
|
||||
}
|
175
apps/web-antd/src/api/property/costManagement/paymentReview/model.d.ts
vendored
Normal file
175
apps/web-antd/src/api/property/costManagement/paymentReview/model.d.ts
vendored
Normal file
@@ -0,0 +1,175 @@
|
||||
import type { PageQuery, BaseEntity } from '#/api/common';
|
||||
|
||||
export interface PaymentReviewVO {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 房屋收费id
|
||||
*/
|
||||
houseChargeId: string | number;
|
||||
|
||||
/**
|
||||
* 费用项目id
|
||||
*/
|
||||
itemId: string | number;
|
||||
|
||||
/**
|
||||
* 缴费开始时间
|
||||
*/
|
||||
startTime: string;
|
||||
|
||||
/**
|
||||
* 缴费结束时间
|
||||
*/
|
||||
endTime: string;
|
||||
|
||||
/**
|
||||
* 实付金额
|
||||
*/
|
||||
receivedAmount: string;
|
||||
|
||||
/**
|
||||
* 应收金额
|
||||
*/
|
||||
receivableAmount: number;
|
||||
|
||||
/**
|
||||
* 缴费时间
|
||||
|
||||
|
||||
*/
|
||||
payTime: string;
|
||||
|
||||
/**
|
||||
* 审核状态
|
||||
*/
|
||||
state: string;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
remark: string;
|
||||
|
||||
/**
|
||||
* 搜索值
|
||||
*/
|
||||
searchValue: string;
|
||||
|
||||
}
|
||||
|
||||
export interface PaymentReviewForm extends BaseEntity {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 房屋收费id
|
||||
*/
|
||||
houseChargeId?: string | number;
|
||||
|
||||
/**
|
||||
* 费用项目id
|
||||
*/
|
||||
itemId?: string | number;
|
||||
|
||||
/**
|
||||
* 缴费开始时间
|
||||
*/
|
||||
startTime?: string;
|
||||
|
||||
/**
|
||||
* 缴费结束时间
|
||||
*/
|
||||
endTime?: string;
|
||||
|
||||
/**
|
||||
* 实付金额
|
||||
*/
|
||||
receivedAmount?: string;
|
||||
|
||||
/**
|
||||
* 应收金额
|
||||
*/
|
||||
receivableAmount?: number;
|
||||
|
||||
/**
|
||||
* 缴费时间
|
||||
|
||||
|
||||
*/
|
||||
payTime?: string;
|
||||
|
||||
/**
|
||||
* 审核状态
|
||||
*/
|
||||
state?: string;
|
||||
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
remark?: string;
|
||||
|
||||
/**
|
||||
* 搜索值
|
||||
*/
|
||||
searchValue?: string;
|
||||
|
||||
}
|
||||
|
||||
export interface PaymentReviewQuery extends PageQuery {
|
||||
/**
|
||||
* 房屋收费id
|
||||
*/
|
||||
houseChargeId?: string | number;
|
||||
|
||||
/**
|
||||
* 费用项目id
|
||||
*/
|
||||
itemId?: string | number;
|
||||
|
||||
/**
|
||||
* 缴费开始时间
|
||||
*/
|
||||
startTime?: string;
|
||||
|
||||
/**
|
||||
* 缴费结束时间
|
||||
*/
|
||||
endTime?: string;
|
||||
|
||||
/**
|
||||
* 实付金额
|
||||
*/
|
||||
receivedAmount?: string;
|
||||
|
||||
/**
|
||||
* 应收金额
|
||||
*/
|
||||
receivableAmount?: number;
|
||||
|
||||
/**
|
||||
* 缴费时间
|
||||
|
||||
|
||||
*/
|
||||
payTime?: string;
|
||||
|
||||
/**
|
||||
* 审核状态
|
||||
*/
|
||||
state?: string;
|
||||
|
||||
/**
|
||||
* 搜索值
|
||||
*/
|
||||
searchValue?: string;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
Reference in New Issue
Block a user