8/7 应收欠费汇总表,应收欠费明细表
This commit is contained in:
12
src/api/system/report/aging/index.ts
Normal file
12
src/api/system/report/aging/index.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import request from '@/utils/request';
|
||||
import { AgingListResponse, OwnerArrearsDetailVo } from '@/api/system/report/aging/type';
|
||||
import { AxiosPromise } from 'axios';
|
||||
|
||||
export const getAgingList = (query): Promise<AgingListResponse> => {
|
||||
return request({
|
||||
url: '/agingAnalysis/summary',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
};
|
||||
|
||||
74
src/api/system/report/aging/type.ts
Normal file
74
src/api/system/report/aging/type.ts
Normal file
@@ -0,0 +1,74 @@
|
||||
export interface AgingListResponse {
|
||||
total: number;
|
||||
rows: AgingSummary[];
|
||||
summary: AgingSummary;
|
||||
code: number;
|
||||
msg: string;
|
||||
}
|
||||
|
||||
export interface AgingSummary {
|
||||
amountLe6: string;
|
||||
amountM6To12: string;
|
||||
amountOver5: string;
|
||||
amountY1To2: string;
|
||||
amountY2To3: string;
|
||||
amountY3To4: string;
|
||||
amountY4To5: string;
|
||||
cutoffPeriod: string;
|
||||
houseTypeName: string;
|
||||
totalAmount: string;
|
||||
villageName: string;
|
||||
}
|
||||
// 明细 ---------------------------------
|
||||
/**
|
||||
* 业主欠费明细视图对象
|
||||
*
|
||||
* OwnerArrearsDetailVo
|
||||
*/
|
||||
export type OwnerArrearsDetailVo = {
|
||||
/**
|
||||
* 区域(小区名称)
|
||||
*/
|
||||
area?: string;
|
||||
/**
|
||||
* 欠费月数
|
||||
*/
|
||||
arrearsMonths?: number;
|
||||
/**
|
||||
* 应账账期(如:20170101-20171231)
|
||||
*/
|
||||
billPeriod?: string;
|
||||
/**
|
||||
* 客户(业主姓名)
|
||||
*/
|
||||
customerName?: string;
|
||||
/**
|
||||
* 垃圾清运费
|
||||
*/
|
||||
garbageFee?: number;
|
||||
/**
|
||||
* 房号
|
||||
*/
|
||||
houseNo?: string;
|
||||
/**
|
||||
* 其他费用合计
|
||||
*/
|
||||
otherFee?: number;
|
||||
/**
|
||||
* 联系电话
|
||||
*/
|
||||
phone?: string;
|
||||
/**
|
||||
* 物业费
|
||||
*/
|
||||
propertyFee?: number;
|
||||
/**
|
||||
* 序号
|
||||
*/
|
||||
serialNumber?: number;
|
||||
/**
|
||||
* 金额合计
|
||||
*/
|
||||
totalAmount?: number;
|
||||
[property: string]: any;
|
||||
};
|
||||
18
src/api/system/report/arrears/arrears.ts
Normal file
18
src/api/system/report/arrears/arrears.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import request from '@/utils/request';
|
||||
import { ArrearsDetailQuery, ArrearsListResponse, ArrearsQuery, OwnerArrearsDetailVo } from '@/api/system/report/arrears/type';
|
||||
import { AxiosPromise } from 'axios';
|
||||
|
||||
export const getArrearsList = (query?: ArrearsQuery): Promise<ArrearsListResponse> => {
|
||||
return request({
|
||||
url: '/outstandingFeeSummary/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
};
|
||||
export const getArrearsDetails = (query?: ArrearsDetailQuery): AxiosPromise<OwnerArrearsDetailVo[]> => {
|
||||
return request({
|
||||
url: '/outstandingFeeSummary/ownerArrearsDetail',
|
||||
method: 'get',
|
||||
params: query
|
||||
});
|
||||
};
|
||||
113
src/api/system/report/arrears/type.ts
Normal file
113
src/api/system/report/arrears/type.ts
Normal file
@@ -0,0 +1,113 @@
|
||||
|
||||
export interface ArrearsQuery extends PageQuery {
|
||||
/**
|
||||
* 视图类型:
|
||||
* 1 - 维度一(收费类型为行)
|
||||
* 2 - 维度二(房屋类型为行)
|
||||
* */
|
||||
viewType: number;
|
||||
chargeItemId?: string;
|
||||
houseUseId?: string;
|
||||
villageId?: string;
|
||||
}
|
||||
|
||||
export interface ArrearsListResponse {
|
||||
code: number;
|
||||
msg: string;
|
||||
data: ArrearsVO[];
|
||||
}
|
||||
|
||||
export interface ArrearsVO extends ArrearsType1, ArrearsType2 {
|
||||
'villageName': string;
|
||||
'totalAmount': string;
|
||||
}
|
||||
|
||||
|
||||
export interface ArrearsType1 {
|
||||
'chargeItemName'?: string;
|
||||
'houseTypeAmounts'?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
}
|
||||
|
||||
export interface ArrearsType2 {
|
||||
'houseTypeName'?: string;
|
||||
'chargeItemAmounts'?: {
|
||||
[key: string]: string;
|
||||
};
|
||||
}
|
||||
|
||||
export interface ArrearsDetailQuery extends PageQuery {
|
||||
/**
|
||||
* 客户姓名(模糊查询)
|
||||
*/
|
||||
customerName?: string;
|
||||
/**
|
||||
* 结束时间
|
||||
*/
|
||||
endTime?: string;
|
||||
/**
|
||||
* 房号(模糊查询)
|
||||
*/
|
||||
houseNo?: string;
|
||||
/**
|
||||
* 联系电话(模糊查询)
|
||||
*/
|
||||
phone?: string;
|
||||
/**
|
||||
* 开始时间
|
||||
*/
|
||||
startTime?: string;
|
||||
}
|
||||
/**
|
||||
* 业主欠费明细视图对象
|
||||
*
|
||||
* OwnerArrearsDetailVo
|
||||
*/
|
||||
export type OwnerArrearsDetailVo = {
|
||||
/**
|
||||
* 区域(小区名称)
|
||||
*/
|
||||
area?: string;
|
||||
/**
|
||||
* 欠费月数
|
||||
*/
|
||||
arrearsMonths?: number;
|
||||
/**
|
||||
* 应账账期(如:20170101-20171231)
|
||||
*/
|
||||
billPeriod?: string;
|
||||
/**
|
||||
* 各收费类型金额(key: 收费类型名称, value: 金额)
|
||||
*/
|
||||
chargeItemAmounts?: MapBigDecimal;
|
||||
/**
|
||||
* 客户(业主姓名)
|
||||
*/
|
||||
customerName?: string;
|
||||
/**
|
||||
* 房号
|
||||
*/
|
||||
houseNo?: string;
|
||||
/**
|
||||
* 联系电话
|
||||
*/
|
||||
phone?: string;
|
||||
/**
|
||||
* 序号
|
||||
*/
|
||||
serialNumber?: number | string;
|
||||
/**
|
||||
* 金额合计
|
||||
*/
|
||||
totalAmount?: number;
|
||||
};
|
||||
|
||||
/**
|
||||
* 各收费类型金额(key: 收费类型名称, value: 金额)
|
||||
*
|
||||
* MapBigDecimal
|
||||
*/
|
||||
export type MapBigDecimal = {
|
||||
[property: string]: number;
|
||||
};
|
||||
@@ -1,140 +0,0 @@
|
||||
export interface ResidentReviewProcessVO {
|
||||
/**
|
||||
* 住户审核表
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 住户表id
|
||||
*/
|
||||
residentId: string | number;
|
||||
|
||||
/**
|
||||
* 提交时间
|
||||
*/
|
||||
submitTime: string;
|
||||
|
||||
/**
|
||||
* 提交状态 0未提交 1已提交
|
||||
*/
|
||||
submitStatus: number;
|
||||
|
||||
/**
|
||||
* 物业审核时间
|
||||
*/
|
||||
propertyTime: string;
|
||||
|
||||
/**
|
||||
* 物业审核状态 0 待审核 1审核通过 2审核未通过
|
||||
*/
|
||||
propertyStatus: number;
|
||||
|
||||
/**
|
||||
* 物业审核意见
|
||||
*/
|
||||
propertyReviewFeedback: string;
|
||||
|
||||
/**
|
||||
* 认证时间
|
||||
*/
|
||||
certificationTime: string;
|
||||
|
||||
/**
|
||||
* 认证状态 0未认证 1已认证
|
||||
*/
|
||||
certificationStatus: number;
|
||||
}
|
||||
|
||||
export interface ResidentReviewProcessForm extends BaseEntity {
|
||||
/**
|
||||
* 住户审核表
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 住户表id
|
||||
*/
|
||||
residentId?: string | number;
|
||||
|
||||
/**
|
||||
* 提交时间
|
||||
*/
|
||||
submitTime?: string;
|
||||
|
||||
/**
|
||||
* 提交状态 0未提交 1已提交
|
||||
*/
|
||||
submitStatus?: number;
|
||||
|
||||
/**
|
||||
* 物业审核时间
|
||||
*/
|
||||
propertyTime?: string;
|
||||
|
||||
/**
|
||||
* 物业审核状态 0 待审核 1审核通过 2审核未通过
|
||||
*/
|
||||
propertyStatus?: number;
|
||||
|
||||
/**
|
||||
* 物业审核意见
|
||||
*/
|
||||
propertyReviewFeedback?: string;
|
||||
|
||||
/**
|
||||
* 认证时间
|
||||
*/
|
||||
certificationTime?: string;
|
||||
|
||||
/**
|
||||
* 认证状态 0未认证 1已认证
|
||||
*/
|
||||
certificationStatus?: number;
|
||||
}
|
||||
|
||||
export interface ResidentReviewProcessQuery extends PageQuery {
|
||||
/**
|
||||
* 住户表id
|
||||
*/
|
||||
residentId?: string | number;
|
||||
|
||||
/**
|
||||
* 提交时间
|
||||
*/
|
||||
submitTime?: string;
|
||||
|
||||
/**
|
||||
* 提交状态 0未提交 1已提交
|
||||
*/
|
||||
submitStatus?: number;
|
||||
|
||||
/**
|
||||
* 物业审核时间
|
||||
*/
|
||||
propertyTime?: string;
|
||||
|
||||
/**
|
||||
* 物业审核状态 0 待审核 1审核通过 2审核未通过
|
||||
*/
|
||||
propertyStatus?: number;
|
||||
|
||||
/**
|
||||
* 物业审核意见
|
||||
*/
|
||||
propertyReviewFeedback?: string;
|
||||
|
||||
/**
|
||||
* 认证时间
|
||||
*/
|
||||
certificationTime?: string;
|
||||
|
||||
/**
|
||||
* 认证状态 0未认证 1已认证
|
||||
*/
|
||||
certificationStatus?: number;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user