liuxiaolong
2019-05-06 8700cf1dc46c350371d865532c2914595187788e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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
  })
}