Merge branch 'master' of http://47.109.37.87:3000/by2025/admin-vben5
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

This commit is contained in:
2025-07-19 16:48:23 +08:00
69 changed files with 6131 additions and 342 deletions

View File

@@ -0,0 +1,61 @@
import type { ShiftVO, ShiftForm, ShiftQuery } 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 shiftList(params?: ShiftQuery) {
return requestClient.get<PageResult<ShiftVO>>('/Property/shift/list', { params });
}
/**
* 导出班次表列表
* @param params
* @returns 班次表列表
*/
export function shiftExport(params?: ShiftQuery) {
return commonExport('/Property/shift/export', params ?? {});
}
/**
* 查询班次表详情
* @param id id
* @returns 班次表详情
*/
export function shiftInfo(id: ID) {
return requestClient.get<ShiftVO>(`/Property/shift/${id}`);
}
/**
* 新增班次表
* @param data
* @returns void
*/
export function shiftAdd(data: ShiftForm) {
return requestClient.postWithMsg<void>('/Property/shift', data);
}
/**
* 更新班次表
* @param data
* @returns void
*/
export function shiftUpdate(data: ShiftForm) {
return requestClient.putWithMsg<void>('/Property/shift', data);
}
/**
* 删除班次表
* @param id id
* @returns void
*/
export function shiftRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/Property/shift/${id}`);
}

View File

@@ -0,0 +1,129 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface ShiftVO {
/**
* 主键id
*/
id: string | number;
/**
* 班次名称
*/
name: string;
/**
* 考勤开始时间
*/
startTime: string;
/**
* 考勤结束时间
*/
endTime: string;
/**
* 状态0off1on
*/
status: number;
/**
* 是否休息0不休息1休息
*/
isRest: number;
/**
* 休息开始时间
*/
restStartTime: string;
/**
* 休息结束时间
*/
restEndTime: string;
}
export interface ShiftForm extends BaseEntity {
/**
* 主键id
*/
id?: string | number;
/**
* 班次名称
*/
name?: string;
/**
* 考勤开始时间
*/
startTime?: string;
/**
* 考勤结束时间
*/
endTime?: string;
/**
* 状态0off1on
*/
status?: number;
/**
* 是否休息0不休息1休息
*/
isRest?: number;
/**
* 休息开始时间
*/
restStartTime?: string;
/**
* 休息结束时间
*/
restEndTime?: string;
}
export interface ShiftQuery extends PageQuery {
/**
* 班次名称
*/
name?: string;
/**
* 考勤开始时间
*/
startTime?: string;
/**
* 考勤结束时间
*/
endTime?: string;
/**
* 状态0off1on
*/
status?: number;
/**
* 是否休息0不休息1休息
*/
isRest?: number;
/**
* 休息开始时间
*/
restStartTime?: string;
/**
* 休息结束时间
*/
restEndTime?: string;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -0,0 +1,61 @@
import type { CarChargeVO, CarChargeForm, CarChargeQuery } 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 carChargeList(params?: CarChargeQuery) {
return requestClient.get<PageResult<CarChargeVO>>('/property/carCharge/list', { params });
}
/**
* 导出费用-车辆收费列表
* @param params
* @returns 费用-车辆收费列表
*/
export function carChargeExport(params?: CarChargeQuery) {
return commonExport('/property/carCharge/export', params ?? {});
}
/**
* 查询费用-车辆收费详情
* @param id id
* @returns 费用-车辆收费详情
*/
export function carChargeInfo(id: ID) {
return requestClient.get<CarChargeVO>(`/property/carCharge/${id}`);
}
/**
* 新增费用-车辆收费
* @param data
* @returns void
*/
export function carChargeAdd(data: CarChargeForm) {
return requestClient.postWithMsg<void>('/property/carCharge', data);
}
/**
* 更新费用-车辆收费
* @param data
* @returns void
*/
export function carChargeUpdate(data: CarChargeForm) {
return requestClient.putWithMsg<void>('/property/carCharge', data);
}
/**
* 删除费用-车辆收费
* @param id id
* @returns void
*/
export function carChargeRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/carCharge/${id}`);
}

View File

@@ -0,0 +1,169 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface CarChargeVO {
/**
* 主键
*/
id: string | number;
/**
* 车牌号
*/
carNumber: string;
/**
* 业主
*/
personId: string | number;
/**
* 楼层
*/
floorId: string | number;
/**
* 车位
*/
location: string;
/**
* 状态
*/
state: string;
/**
* 收费项目
*/
costItemsId: string | number;
/**
* 计费开始时间
*/
starTime: string;
/**
* 计费结束时间
*/
endTime: string;
/**
* 说明
*/
remark: string;
/**
* 搜索值
*/
searchValue: string;
}
export interface CarChargeForm extends BaseEntity {
/**
* 主键
*/
id?: string | number;
/**
* 车牌号
*/
carNumber?: string;
/**
* 业主
*/
personId?: string | number;
/**
* 楼层
*/
floorId?: string | number;
/**
* 车位
*/
location?: string;
/**
* 状态
*/
state?: string;
/**
* 收费项目
*/
costItemsId?: string | number;
/**
* 计费开始时间
*/
starTime?: string;
/**
* 计费结束时间
*/
endTime?: string;
/**
* 说明
*/
remark?: string;
/**
* 搜索值
*/
searchValue?: string;
}
export interface CarChargeQuery extends PageQuery {
/**
* 车牌号
*/
carNumber?: string;
/**
* 业主
*/
personId?: string | number;
/**
* 楼层
*/
floorId?: string | number;
/**
* 车位
*/
location?: string;
/**
* 状态
*/
state?: string;
/**
* 收费项目
*/
costItemsId?: string | number;
/**
* 计费开始时间
*/
starTime?: string;
/**
* 计费结束时间
*/
endTime?: string;
/**
* 搜索值
*/
searchValue?: string;
/**
* 日期范围参数
*/
params?: any;
}

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}`);
}

View File

@@ -0,0 +1,145 @@
import type {PageQuery, BaseEntity} from '#/api/common';
import type {RoomVO} from "#/api/property/room/model";
import type {CostItemSettingVO} from "#/api/property/costManagement/costItemSetting/model";
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;
/**
* 支付方式
*/
payType: string;
roomVo: RoomVO;
costItemsVo: CostItemSettingVO;
chargeStatus: string;
}
export interface HouseChargeForm extends BaseEntity {
/**
* 主键
*/
id?: string | number;
/**
* 房屋
*/
roomId?: string | number;
/**
* 收费项目
*/
costItemsId?: string | number;
/**
* 应收金额
*/
amountReceivable?: number;
/**
* 计费开始时间
*/
startTime?: string;
/**
* 计费结束时间
*/
endTime?: string;
/**
* 状态
*/
state?: string;
/**
* 说明
*/
remark?: string;
/**
* 缴费状态
*/
chargeStatus?: string;
}
export interface HouseChargeQuery extends PageQuery {
/**
* 房屋
*/
roomId?: string | number;
/**
* 收费项目
*/
costItemsId?: string | number;
/**
* 应收金额
*/
amountReceivable?: number;
/**
* 计费开始时间
*/
startTime?: string;
/**
* 计费结束时间
*/
endTime?: string;
/**
* 状态
*/
state?: string;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -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}`);
}

View 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;
}

View File

@@ -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}`);
}

View 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;
}

View File

@@ -0,0 +1,61 @@
import type { CostMeterWaterVO, CostMeterWaterForm, CostMeterWaterQuery } 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 costMeterWaterList(params?: CostMeterWaterQuery) {
return requestClient.get<PageResult<CostMeterWaterVO>>('/property/costMeterWater/list', { params });
}
/**
* 导出费用-水电抄列表
* @param params
* @returns 费用-水电抄列表
*/
export function costMeterWaterExport(params?: CostMeterWaterQuery) {
return commonExport('/property/costMeterWater/export', params ?? {});
}
/**
* 查询费用-水电抄详情
* @param id id
* @returns 费用-水电抄详情
*/
export function costMeterWaterInfo(id: ID) {
return requestClient.get<CostMeterWaterVO>(`/property/costMeterWater/${id}`);
}
/**
* 新增费用-水电抄
* @param data
* @returns void
*/
export function costMeterWaterAdd(data: CostMeterWaterForm) {
return requestClient.postWithMsg<void>('/property/costMeterWater', data);
}
/**
* 更新费用-水电抄
* @param data
* @returns void
*/
export function costMeterWaterUpdate(data: CostMeterWaterForm) {
return requestClient.putWithMsg<void>('/property/costMeterWater', data);
}
/**
* 删除费用-水电抄
* @param id id
* @returns void
*/
export function costMeterWaterRemove(id: ID | IDS) {
return requestClient.deleteWithMsg<void>(`/property/costMeterWater/${id}`);
}

View File

@@ -0,0 +1,157 @@
import type { PageQuery, BaseEntity } from '#/api/common';
export interface CostMeterWaterVO {
/**
* 主键
*/
id: string | number;
/**
* 费用类型id
*/
itemId: string | number;
/**
* 抄表类型id
*/
meterTypeId: string | number;
/**
* 对象名称
*/
objName: string;
/**
* 本期度数
*/
curDegrees: string;
/**
* 上期度数
*/
preDegrees: string;
/**
* 上期读表时间
*/
preReadingTime: string;
/**
* 本期读表时间
*/
curReadingTime: string;
/**
* 备注
*/
remark: string;
/**
* 搜索值
*/
searchValue: string;
}
export interface CostMeterWaterForm extends BaseEntity {
/**
* 主键
*/
id?: string | number;
/**
* 费用类型id
*/
itemId?: string | number;
/**
* 抄表类型id
*/
meterTypeId?: string | number;
/**
* 对象名称
*/
objName?: string;
/**
* 本期度数
*/
curDegrees?: string;
/**
* 上期度数
*/
preDegrees?: string;
/**
* 上期读表时间
*/
preReadingTime?: string;
/**
* 本期读表时间
*/
curReadingTime?: string;
/**
* 备注
*/
remark?: string;
/**
* 搜索值
*/
searchValue?: string;
}
export interface CostMeterWaterQuery extends PageQuery {
/**
* 费用类型id
*/
itemId?: string | number;
/**
* 抄表类型id
*/
meterTypeId?: string | number;
/**
* 对象名称
*/
objName?: string;
/**
* 本期度数
*/
curDegrees?: string;
/**
* 上期度数
*/
preDegrees?: string;
/**
* 上期读表时间
*/
preReadingTime?: string;
/**
* 本期读表时间
*/
curReadingTime?: string;
/**
* 搜索值
*/
searchValue?: string;
/**
* 日期范围参数
*/
params?: any;
}

View File

@@ -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;
}

View File

@@ -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;