提交宿舍楼树形结构的代码

This commit is contained in:
zlwu committed 2025-07-22 10:20:15 +08:00
1 parent 12b4b58647
commit 92f2598017
21 files changed
+1156 -515

No files matched your search

@@ -14,6 +14,7 @@ export interface DormBuildingVO {
remark: string;
areaName?: string;
campusName?: string;
floors: number;
}
export interface DormBuildingForm extends Omit<DormBuildingVO, 'createTime' | 'createBy' | 'updateTime' | 'updateBy' | 'areaName' | 'campusName'> {
@@ -25,6 +26,7 @@ export interface DormBuildingQuery {
areaId?: string | number;
campusId?: string | number;
buildingType?: string;
floors?: number;
params?: Record<string, any>;
}
@@ -40,6 +42,7 @@ export interface BuildingTreeSelectVo {
createBy?: number;
createTime?: string;
updateBy?: number;
floors?: number;
updateTime?: string;
}
+2 -2
View File
@@ -5,11 +5,11 @@ import { DormQuery, RoomForm, BedForm, DormTreeNode, RoomInfo, BedInfo } from '.
const baseUrl = '/xsssfjgl';
/**
* 获取宿舍树形结构
* 获取宿舍楼树形结构
*/
export function getDormTree() {
return request({
url: baseUrl + '/tree',
url: '/xgss/dormBuildingTree/list',
method: 'get'
});
}