import { httpGET, httpPOST } from './common/httpFetch'
|
|
/**
|
* @description 师生签到( 总数、 实到、 未到)
|
* @param { string } signDate 签到日期(当天) 2018-08-23
|
* @param { string } type teacher或student
|
* @param { string } orgId
|
*/
|
export const getTeacherSignCountData = body => {
|
return httpPOST('data/api-v/AttDay/todaySign', {
|
body
|
})
|
}
|
/**
|
* @description 进出入管理 首页统计
|
* @param { string } time 日期 2018-08-23
|
* @param { string } orgId 分库orgId
|
*/
|
export const getDSDoorwayCountData = body => {
|
return httpPOST('data/api-v/findVisitorParentTeamCounts', {
|
body
|
})
|
}
|
/**
|
* @description 预警信息首页列表
|
* @param { string } startTime 开始时间 2018-08-23 00:00:00
|
* @param { string } endTime 结束时间 2018-08-23 23:59:59
|
* @param { string } orgId 分库orgId
|
*/
|
export const getActiveAlarmList = body => {
|
return httpGET('data/api-a/CanAlarmRedord/findAlarmList', {
|
body
|
})
|
}
|
/**
|
* @description 根据地图id查询设备分类数量(用于首页)
|
* @param { string } orgId 分库orgId
|
* @param { string } mapId 地图id
|
*/
|
export const getMapDeviceType = body => {
|
return httpGET('data/api-d/mapDevice/findCountByType', {
|
body
|
})
|
}
|