|
|
@@ -51,6 +51,10 @@ const userManageDormitoryApi = { |
|
|
|
update(params: SysDormitory.ChamberInfo) { |
|
|
|
return httpChamber.put("update", params); |
|
|
|
}, |
|
|
|
// 获取寝室列表 |
|
|
|
info(params: SysDormitory.Page) { |
|
|
|
return httpChamber.get("getInfo", params); |
|
|
|
}, |
|
|
|
/** 删除寝室 */ |
|
|
|
delete(params: ReqId) { |
|
|
|
return httpChamber.delete("delete", params); |
|
|
@@ -58,11 +62,27 @@ const userManageDormitoryApi = { |
|
|
|
/**寝室分配人员*/ |
|
|
|
assignPersonnel(params: SysDormitory.ChamberPersonnel) { |
|
|
|
return httpChamber.post("assignPersonnel", params); |
|
|
|
} |
|
|
|
/** 获取单页详情 */ |
|
|
|
// detail(params: ReqId) { |
|
|
|
// return http.get("getPersionById", params); |
|
|
|
// }, |
|
|
|
}, |
|
|
|
/**归寝寝室列表*/ |
|
|
|
returnList(params: any) { |
|
|
|
return httpChamber.get("getReturnPageList", params); |
|
|
|
}, |
|
|
|
/**归寝寝室列表*/ |
|
|
|
returnDetail(params: any) { |
|
|
|
return httpChamber.get("getReturnInfo", params); |
|
|
|
}, |
|
|
|
/** 获取详情(带寝室人员) */ |
|
|
|
detail(params: ReqId) { |
|
|
|
return httpChamber.get("getInfo", params); |
|
|
|
}, |
|
|
|
/** 设置归寝时间 */ |
|
|
|
setReturnTime(params: ReqId) { |
|
|
|
return httpChamber.post("setReturnTime", params); |
|
|
|
}, |
|
|
|
/** 获取归寝时间 */ |
|
|
|
getReturnTime(params: ReqId) { |
|
|
|
return httpChamber.get("getReturnTime", params); |
|
|
|
}, |
|
|
|
}; |
|
|
|
|
|
|
|
const dormitoryButtonCode = { |
|
|
|