You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
839 B
44 lines
839 B
import { request } from './http.js';
|
|
export const listHouseWithCount = (data) => {
|
|
return request({
|
|
url: '/system/dict/data/list',
|
|
method: 'get',
|
|
data,
|
|
});
|
|
};
|
|
|
|
// 巡检上报
|
|
export function addInspection(data) {
|
|
return request({
|
|
url: '/mz/inspection/add',
|
|
method: 'post',
|
|
data,
|
|
});
|
|
};
|
|
|
|
// 房屋专属左侧组织树
|
|
export function getdeptList() {
|
|
return request({
|
|
url: '/mz/building/getdeptList',
|
|
method: 'get'
|
|
})
|
|
}
|
|
// 待释放房间列表
|
|
export function listWaitingReleaseRooms() {
|
|
return request({
|
|
url: "/apartment/manager/listWaitingReleaseRooms",
|
|
method: "get",
|
|
});
|
|
}
|
|
|
|
// 上传文件
|
|
export function uploadFile(data) {
|
|
return request({
|
|
url: '/common/upload',
|
|
method: 'post',
|
|
data: data,
|
|
headers: {
|
|
'Content-Type': 'multipart/form-data'
|
|
}
|
|
})
|
|
}
|