房屋详情待完善
This commit is contained in:
@@ -100,3 +100,69 @@ export function getVillageTree(id: string) {
|
||||
method: 'GET'
|
||||
});
|
||||
}
|
||||
|
||||
/** 根据小区id,获取当前小区的树状结构 */
|
||||
export function getHouseMain(id: string): Promise<Response> {
|
||||
return request({
|
||||
url: `/house/ByIdList?houseId=` + id,
|
||||
method: 'GET'
|
||||
});
|
||||
}
|
||||
|
||||
export interface Response {
|
||||
code: number;
|
||||
data: Data;
|
||||
msg: string;
|
||||
}
|
||||
|
||||
export interface Data {
|
||||
billResidentList: BillResidentList[];
|
||||
chargeItemList: string[];
|
||||
house: House;
|
||||
parking: null;
|
||||
residentList: ResidentList[];
|
||||
storeroom: Storeroom;
|
||||
}
|
||||
|
||||
export interface BillResidentList {
|
||||
billCode: string;
|
||||
billName: string;
|
||||
chargeItemId: string;
|
||||
chargeTypeName: string;
|
||||
money: string;
|
||||
payStatus: string;
|
||||
useCount: string;
|
||||
}
|
||||
|
||||
export interface House {
|
||||
buildingName: string;
|
||||
floorNo: number;
|
||||
houseArea: string;
|
||||
houseId: number;
|
||||
houseNo: string;
|
||||
houseType: string;
|
||||
internalArea: string;
|
||||
shareArea: string;
|
||||
unitNo: number;
|
||||
villageName: string;
|
||||
}
|
||||
|
||||
export interface ResidentList {
|
||||
gender: string;
|
||||
ownerRelationship: string;
|
||||
phone: string;
|
||||
residentId: string;
|
||||
residentName: string;
|
||||
residentStatus: string;
|
||||
residentType: string;
|
||||
}
|
||||
|
||||
export interface Storeroom {
|
||||
buildingName: string;
|
||||
houseArea: string;
|
||||
internalArea: string;
|
||||
shareArea: string;
|
||||
storeroomId: number;
|
||||
storeroomNo: string;
|
||||
unitNo: number;
|
||||
}
|
||||
|
||||
@@ -87,4 +87,6 @@ export interface addHouseType {
|
||||
'internalArea': string;
|
||||
'shareArea': string;
|
||||
'houseType': string;
|
||||
'storeroomId': string;
|
||||
'parkingId': string;
|
||||
}
|
||||
|
||||
@@ -65,10 +65,11 @@ export const delParking = (id: string | number | Array<string | number>) => {
|
||||
* 改变车位审核装填
|
||||
* @param id
|
||||
*/
|
||||
export const getParkingReview = (id: string) => {
|
||||
export const getParkingReview = (data: { id: string; propertyReviewFeedback: string; propertyStatus: number }) => {
|
||||
return request({
|
||||
url: '/parkingReview/checkStatus',
|
||||
method: 'POST'
|
||||
method: 'POST',
|
||||
data
|
||||
});
|
||||
};
|
||||
/**
|
||||
@@ -84,3 +85,15 @@ export const getParkingReviewInfo = (id: string) => {
|
||||
}
|
||||
});
|
||||
};
|
||||
/**
|
||||
* 查询小区内车位列表
|
||||
* @param { string } villageid
|
||||
* @returns {*}
|
||||
*/
|
||||
|
||||
export const GetVillageListParking = (villageid?: string): AxiosPromise<ParkingVO[]> => {
|
||||
return request({
|
||||
url: `/parking/getList/${villageid}`,
|
||||
method: 'GET'
|
||||
});
|
||||
};
|
||||
|
||||
@@ -61,3 +61,26 @@ export const delStoreroom = (id: string | number | Array<string | number>) => {
|
||||
method: 'delete'
|
||||
});
|
||||
};
|
||||
/**
|
||||
* 查询小区内储藏室管理列表
|
||||
* @param query
|
||||
* @returns {*}
|
||||
*/
|
||||
|
||||
export const GetVillagelistStoreroom = (
|
||||
data: { villageid: string; unitNo: string; buildingId: string } = {
|
||||
villageid: null,
|
||||
buildingId: null,
|
||||
unitNo: null
|
||||
}
|
||||
): AxiosPromise<StoreroomVO[]> => {
|
||||
return request({
|
||||
url: `/storeroom/getList`,
|
||||
method: 'POST',
|
||||
data: {
|
||||
villageId: data.villageid,
|
||||
buildingId: data.buildingId,
|
||||
unitNo: data.unitNo
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user