7/30 限制前端输入字数

This commit is contained in:
Zy
2026-07-30 17:59:32 +08:00
parent 903c92fef0
commit 2907f9202c
115 changed files with 2561 additions and 1213 deletions

View File

@@ -61,3 +61,61 @@ export const delParkingCost = (id: string | number | Array<string | number>) =>
method: 'delete'
});
};
export type Request = {
/**
* 区域id
*/
areaId?: string;
/**
* 0 审核中 1 审核通过 2 审核不通过
*/
checkStatus?: string;
/**
* 添加者姓名sys_user nickname
*/
createName?: string;
/**
* id车位管理表
*/
id?: string;
/**
* 车位面积(单位㎡)
*/
parkingArea?: number;
/**
* 车位编号
*/
parkingCode?: string;
/**
* 车位楼层
*/
parkingFloor?: string;
/**
* 车位状态 0 闲置 1自用 2出租
*/
parkingStatus?: string;
/**
* 备注
*/
remark?: string;
/**
* 住户id
*/
residentId?: string;
/**
* 所属小区id
*/
villageId?: string;
};
/**
* 查询停车缴费 车位列表
* @param {Request} queryParams
*/
export const getParkingCostCarAreaApi = (queryParams: Request) => {
return request({
url: '/parkingCost/parkingList',
method: 'get',
params: queryParams
});
};

View File

@@ -22,8 +22,9 @@ export const cashQuery = (data: { residentName?: string; queryType: number }): A
};
export type billlistType = {
actualAccount: string;
singleDiscountAmount: string;
needPayAmount: string; // 需要支付金额
actualAccount: string; // 实际支付金额
singleDiscountAmount: string; // 单笔优惠金额
'villageId': string;
'residentId': string;
'houseId': string;
@@ -61,7 +62,10 @@ export const billEdit = (data: { 'detailsId': string[]; 'payType': string; 'payS
return request({
url: '/cash/billEdit',
method: 'post',
data: data
data: data,
headers: {
'isEncrypt': 'true'
}
});
};

View File

@@ -4,9 +4,9 @@ export interface communitylist_rows_type {
villageCode: string;
address: string;
houseUse: number | null;
villageArea: number;
villageArea: string;
remark: string;
parkingSpaceCount: number;
parkingSpaceCount: string;
villageImageUrl: string;
city: string;
status: '0' | '1';

View File

@@ -5,6 +5,7 @@ export interface ResidentVO {
userId: string;
id: string;
unitNoId: string;
idCardType: string;
/**
* 住户编号
*/
@@ -81,7 +82,13 @@ export interface ResidentForm extends BaseEntity {
*/
userId?: string;
unitNoId?: string;
/**
* 证件类型
* 0 身份证
* 1 护照
* 2 港澳通行证
*/
idCardType?: string;
/**
* 住户编号
*/

View File

@@ -212,10 +212,11 @@ export const deptTreeSelect = (): AxiosPromise<DeptTreeVO[]> => {
/**
* 查询用户 根据不同的角色key
*/
export const getUserByRoleKey = (roleKey: string = 'repair') => {
export const getUserByRoleKey = (data: { roleKey: string; pageSize?: number; pageNum?: number; phonenumber?: string; nickName?: string }) => {
return request({
url: '/system/user/list/byRoleKey?roleKey=' + roleKey,
method: 'get'
url: '/system/user/list/byRoleKey',
method: 'get',
params: data
});
};