提交代码
This commit is contained in:
1 parent
6bffe5fa08
commit
900ca0ad19
11 files changed
+791
-45
No files matched your search
@@ -52,10 +52,34 @@ export function getStudentPersonalInfo(userId?: number): AxiosPromise<any> {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取宿舍房间信息
|
||||
* @param roomId 房间ID
|
||||
*/
|
||||
export function getDormRoomInfo(roomId: number): AxiosPromise<R<any>> {
|
||||
return request({
|
||||
url: `/xgss/dormRoom/${roomId}`,
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取宿舍床位信息
|
||||
* @param bedId 床位ID
|
||||
*/
|
||||
export function getDormBedInfo(bedId: number): AxiosPromise<R<any>> {
|
||||
return request({
|
||||
url: `/dormbed/dormBed/${bedId}`,
|
||||
method: 'get'
|
||||
});
|
||||
}
|
||||
|
||||
export default {
|
||||
XgDeptTreeSelect,
|
||||
deptTreeSelect,
|
||||
listStudentRoster,
|
||||
exportStudentRoster,
|
||||
getStudentPersonalInfo
|
||||
getStudentPersonalInfo,
|
||||
getDormRoomInfo,
|
||||
getDormBedInfo
|
||||
};
|
||||
Reference in new issue
Block a user