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}`);
|
||||
}
|
130
apps/web-antd/src/api/property/costManagement/houseCharge/model.d.ts
vendored
Normal file
130
apps/web-antd/src/api/property/costManagement/houseCharge/model.d.ts
vendored
Normal file
@@ -0,0 +1,130 @@
|
||||
import type {PageQuery, BaseEntity} from '#/api/common';
|
||||
|
||||
export interface HouseChargeVO {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 房屋
|
||||
*/
|
||||
roomId: string | number;
|
||||
|
||||
/**
|
||||
* 收费项目
|
||||
*/
|
||||
costItemsId: string | number;
|
||||
|
||||
/**
|
||||
* 应收金额
|
||||
*/
|
||||
amountReceivable: number;
|
||||
|
||||
/**
|
||||
* 计费开始时间
|
||||
*/
|
||||
startTime: string;
|
||||
|
||||
/**
|
||||
* 计费结束时间
|
||||
*/
|
||||
endTime: string;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
state: string;
|
||||
|
||||
/**
|
||||
* 说明
|
||||
*/
|
||||
remark: string;
|
||||
|
||||
chargeTime: any[];
|
||||
/**
|
||||
* 缴费周期
|
||||
*/
|
||||
chargeCycle: number;
|
||||
|
||||
}
|
||||
|
||||
export interface HouseChargeForm extends BaseEntity {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 房屋
|
||||
*/
|
||||
roomId?: string | number;
|
||||
|
||||
/**
|
||||
* 收费项目
|
||||
*/
|
||||
costItemsId?: string | number;
|
||||
|
||||
/**
|
||||
* 应收金额
|
||||
*/
|
||||
amountReceivable?: number;
|
||||
|
||||
/**
|
||||
* 计费开始时间
|
||||
*/
|
||||
startTime?: string;
|
||||
|
||||
/**
|
||||
* 计费结束时间
|
||||
*/
|
||||
endTime?: string;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
state?: string;
|
||||
|
||||
/**
|
||||
* 说明
|
||||
*/
|
||||
remark?: string;
|
||||
|
||||
}
|
||||
|
||||
export interface HouseChargeQuery extends PageQuery {
|
||||
/**
|
||||
* 房屋
|
||||
*/
|
||||
roomId?: string | number;
|
||||
|
||||
/**
|
||||
* 收费项目
|
||||
*/
|
||||
costItemsId?: string | number;
|
||||
|
||||
/**
|
||||
* 应收金额
|
||||
*/
|
||||
amountReceivable?: number;
|
||||
|
||||
/**
|
||||
* 计费开始时间
|
||||
*/
|
||||
startTime?: string;
|
||||
|
||||
/**
|
||||
* 计费结束时间
|
||||
*/
|
||||
endTime?: string;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
state?: string;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
@@ -0,0 +1,61 @@
|
||||
import type { ReturnPayFeeVO, ReturnPayFeeForm, ReturnPayFeeQuery } 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 returnPayFeeList(params?: ReturnPayFeeQuery) {
|
||||
return requestClient.get<PageResult<ReturnPayFeeVO>>('/property/returnPayFee/list', { params });
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出退费审核列表
|
||||
* @param params
|
||||
* @returns 退费审核列表
|
||||
*/
|
||||
export function returnPayFeeExport(params?: ReturnPayFeeQuery) {
|
||||
return commonExport('/property/returnPayFee/export', params ?? {});
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询退费审核详情
|
||||
* @param id id
|
||||
* @returns 退费审核详情
|
||||
*/
|
||||
export function returnPayFeeInfo(id: ID) {
|
||||
return requestClient.get<ReturnPayFeeVO>(`/property/returnPayFee/${id}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增退费审核
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
export function returnPayFeeAdd(data: ReturnPayFeeForm) {
|
||||
return requestClient.postWithMsg<void>('/property/returnPayFee', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新退费审核
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
export function returnPayFeeUpdate(data: ReturnPayFeeForm) {
|
||||
return requestClient.putWithMsg<void>('/property/returnPayFee', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除退费审核
|
||||
* @param id id
|
||||
* @returns void
|
||||
*/
|
||||
export function returnPayFeeRemove(id: ID | IDS) {
|
||||
return requestClient.deleteWithMsg<void>(`/property/returnPayFee/${id}`);
|
||||
}
|
154
apps/web-antd/src/api/property/costManagement/returnPayFee/model.d.ts
vendored
Normal file
154
apps/web-antd/src/api/property/costManagement/returnPayFee/model.d.ts
vendored
Normal file
@@ -0,0 +1,154 @@
|
||||
import type { PageQuery, BaseEntity } from '#/api/common';
|
||||
|
||||
export interface ReturnPayFeeVO {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 退款单号
|
||||
*/
|
||||
returnNo?: string;
|
||||
|
||||
/**
|
||||
* 支付单号
|
||||
*/
|
||||
payNo?: string;
|
||||
|
||||
/**
|
||||
* 退款原因
|
||||
*/
|
||||
reason?: string;
|
||||
|
||||
/**
|
||||
* 费用类型id
|
||||
*/
|
||||
itemId?: string | number;
|
||||
|
||||
/**
|
||||
* 业主id
|
||||
*/
|
||||
userId?: string | number;
|
||||
|
||||
/**
|
||||
* 支付金额
|
||||
*/
|
||||
payAcount?: number;
|
||||
|
||||
/**
|
||||
* 支付时间
|
||||
*/
|
||||
payTime?: string;
|
||||
|
||||
/**
|
||||
* 退费状态
|
||||
*/
|
||||
state: string;
|
||||
|
||||
/**
|
||||
* 说明
|
||||
*/
|
||||
remark: string;
|
||||
|
||||
}
|
||||
|
||||
export interface ReturnPayFeeForm extends BaseEntity {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 退款单号
|
||||
*/
|
||||
returnNo?: string;
|
||||
|
||||
/**
|
||||
* 支付单号
|
||||
*/
|
||||
payNo?: string;
|
||||
|
||||
/**
|
||||
* 退款原因
|
||||
*/
|
||||
reason?: string;
|
||||
|
||||
/**
|
||||
* 费用类型id
|
||||
*/
|
||||
itemId?: string | number;
|
||||
|
||||
/**
|
||||
* 业主id
|
||||
*/
|
||||
userId?: string | number;
|
||||
|
||||
/**
|
||||
* 支付金额
|
||||
*/
|
||||
payAcount?: number;
|
||||
|
||||
/**
|
||||
* 支付时间
|
||||
*/
|
||||
payTime?: string;
|
||||
|
||||
/**
|
||||
* 退费状态
|
||||
*/
|
||||
state?: string;
|
||||
|
||||
/**
|
||||
* 说明
|
||||
*/
|
||||
remark?: string;
|
||||
|
||||
}
|
||||
|
||||
export interface ReturnPayFeeQuery extends PageQuery {
|
||||
/**
|
||||
* 退款单号
|
||||
*/
|
||||
returnNo?: string;
|
||||
|
||||
/**
|
||||
* 支付单号
|
||||
*/
|
||||
payNo?: string;
|
||||
|
||||
/**
|
||||
* 退款原因
|
||||
*/
|
||||
reason?: string;
|
||||
|
||||
/**
|
||||
* 费用类型id
|
||||
*/
|
||||
itemId?: string | number;
|
||||
|
||||
/**
|
||||
* 业主id
|
||||
*/
|
||||
userId?: string | number;
|
||||
|
||||
/**
|
||||
* 支付金额
|
||||
*/
|
||||
payAcount?: number;
|
||||
|
||||
/**
|
||||
* 支付时间
|
||||
*/
|
||||
payTime?: string;
|
||||
|
||||
/**
|
||||
* 退费状态
|
||||
*/
|
||||
state?: string;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
@@ -1,4 +1,4 @@
|
||||
import type { PageQuery, BaseEntity } from '#/api/common';
|
||||
import type {PageQuery, BaseEntity} from '#/api/common';
|
||||
|
||||
export interface MaintainPlanVO {
|
||||
/**
|
||||
@@ -56,6 +56,11 @@ export interface MaintainPlanVO {
|
||||
*/
|
||||
state: string;
|
||||
|
||||
planDate: any[]
|
||||
|
||||
userId: string[];
|
||||
|
||||
machineMaintainPlanStaffBoList:any[];
|
||||
}
|
||||
|
||||
export interface MaintainPlanForm extends BaseEntity {
|
||||
@@ -168,7 +173,7 @@ export interface MaintainPlanQuery extends PageQuery {
|
||||
state?: string;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
||||
|
11
apps/web-antd/src/api/property/room/model.d.ts
vendored
11
apps/web-antd/src/api/property/room/model.d.ts
vendored
@@ -2,7 +2,7 @@ import type { PageQuery, BaseEntity } from '#/api/common';
|
||||
|
||||
export interface RoomVO {
|
||||
/**
|
||||
*
|
||||
*
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
@@ -22,10 +22,15 @@ export interface RoomVO {
|
||||
roomType: number;
|
||||
|
||||
/**
|
||||
* 面积(平方米)
|
||||
* 建筑面积(平方米)
|
||||
*/
|
||||
area: number;
|
||||
|
||||
/**
|
||||
* 套内面积(平方米)
|
||||
*/
|
||||
insideInArea: number;
|
||||
|
||||
/**
|
||||
* 户型(如2室1厅1卫)
|
||||
*/
|
||||
@@ -50,7 +55,7 @@ export interface RoomVO {
|
||||
|
||||
export interface RoomForm extends BaseEntity {
|
||||
/**
|
||||
*
|
||||
*
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
|
Reference in New Issue
Block a user