8/6 校验问题
This commit is contained in:
@@ -64,9 +64,7 @@ export const billEdit = (data: { 'detailsId': string[]; 'payType': string; 'payS
|
||||
url: '/cash/billEdit',
|
||||
method: 'post',
|
||||
data: data,
|
||||
headers: {
|
||||
'isEncrypt': 'true'
|
||||
}
|
||||
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
@@ -74,11 +74,11 @@ interface uploadHouseImagetype {
|
||||
}[];
|
||||
'error': string[];
|
||||
}
|
||||
export const uploadHouseImage = (formdata: FormData): AxiosPromise<uploadHouseImagetype> => {
|
||||
export const uploadHouseImage = (formData: FormData): AxiosPromise<uploadHouseImagetype> => {
|
||||
return request({
|
||||
url: '/houseRental/uploadImages',
|
||||
method: 'POST',
|
||||
data: formdata
|
||||
data: formData
|
||||
});
|
||||
};
|
||||
export const getHouseOwnUser = (houseId: string): AxiosPromise<uploadHouseImagetype> => {
|
||||
@@ -88,7 +88,6 @@ export const getHouseOwnUser = (houseId: string): AxiosPromise<uploadHouseImaget
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* 房屋租赁管理 改变状态 0:下架 1:上架
|
||||
* @param houseId
|
||||
@@ -96,7 +95,7 @@ export const getHouseOwnUser = (houseId: string): AxiosPromise<uploadHouseImaget
|
||||
export const changeHouseRedientStatus = (houseId: string): AxiosPromise<uploadHouseImagetype> => {
|
||||
return request({
|
||||
url: `/houseRental/changeStatus/${houseId}`,
|
||||
method: 'PUT',
|
||||
method: 'PUT'
|
||||
});
|
||||
};
|
||||
|
||||
@@ -111,3 +110,16 @@ export const HouseRedientSign = (data: HouseRentalForm): AxiosPromise<uploadHous
|
||||
data: data
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* 房屋租赁管理 签约上传
|
||||
* @param url
|
||||
* @param data
|
||||
*/
|
||||
export const HouseRedientSignUpload = (url: string, data: FormData) => {
|
||||
return request({
|
||||
url: url,
|
||||
method: 'POST',
|
||||
data: data
|
||||
});
|
||||
};
|
||||
|
||||
@@ -57,7 +57,7 @@ export interface HouseRentalVO {
|
||||
/**
|
||||
* 手机号
|
||||
*/
|
||||
phone: number;
|
||||
phone: string;
|
||||
|
||||
/**
|
||||
* 微信
|
||||
@@ -92,50 +92,25 @@ export interface HouseRentalVO {
|
||||
}
|
||||
|
||||
export interface HouseRentalForm extends BaseEntity {
|
||||
/**
|
||||
* 收费模式
|
||||
*/
|
||||
chargeMode: string;
|
||||
/**
|
||||
* 收费标准
|
||||
*/
|
||||
chargeStandard: string;
|
||||
/**
|
||||
* 合同编号
|
||||
*/
|
||||
contractNo: string;
|
||||
/**
|
||||
* 合同状态
|
||||
*/
|
||||
contractStatus: string;
|
||||
/**
|
||||
* 房屋id
|
||||
*/
|
||||
houseId?: string;
|
||||
/**
|
||||
* 租赁结束时间
|
||||
*/
|
||||
leaseEndDate: string;
|
||||
/**
|
||||
* 租赁起始时间
|
||||
*/
|
||||
leaseStartDate: string;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
remark?: string;
|
||||
/**
|
||||
* 房屋租赁ID
|
||||
*/
|
||||
rentalId: string;
|
||||
/**
|
||||
* 承租方姓名
|
||||
*/
|
||||
tenantName: string;
|
||||
/**
|
||||
* 承租方联系电话
|
||||
*/
|
||||
tenantPhone: string;
|
||||
id: string;
|
||||
houseId: string;
|
||||
rentalName: string; // 租户姓名
|
||||
rent: string; // 租金
|
||||
houseFace: string; // 房屋朝向
|
||||
rentalType: string; // 整租合租
|
||||
phone: string; //手机号
|
||||
houseArea: number; // 房屋面积
|
||||
floorNo: number; //楼层号
|
||||
inTime: string; //入住时间
|
||||
facilities: string; //房屋设施
|
||||
houseImageUrl: string; //房屋图片
|
||||
supInfo: string; //补充租房信息
|
||||
vx: string; //微信
|
||||
houseUse: string; //房屋用途
|
||||
rentalStatus: number; //租赁状态
|
||||
buildingId: string; //楼栋id
|
||||
unitNoId: string; //单元id
|
||||
email: string; //邮箱
|
||||
/**
|
||||
* 小区id
|
||||
*/
|
||||
@@ -153,6 +128,7 @@ export interface HouseRentalSigningVO {
|
||||
'leaseStartDate': string;
|
||||
'leaseEndDate': string;
|
||||
'houseId': string;
|
||||
contractUrl: string;
|
||||
'villageId': string;
|
||||
'remark': string;
|
||||
'createTime': string;
|
||||
|
||||
Reference in New Issue
Block a user