liuxiaolong
2019-05-06 acc45d2ece02563964d7b8a22ff0c40bd8358889
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
45
46
47
48
// 字典、公共接口
 
import {
  httpGET
} from './common/httpFetch'
 
/**
 * @description 日常上报统计
 */
export const getDailySubmitCount = body => {
  return httpGET('data/api-c/Count/dailySubmitCount', {
    body
  })
}
/**
 * @description 紧急上报列表
 * @param {string} orgId
 * @param {string} length 每页大小
 * @param { string } start 分页开始位置
 * @param { string } seachName 学校名称或应急上报表名称
 * @param { string } startTime 开始时间  当日
 * @param { string } endTime 结束时间   当日
 * @param { string } isSubmit 是否上报  1
 */
export const getEmergencyList = body => {
  return httpGET('data/api-c/OrgEmergencyChecks/findOrgEmergencyCheckssHome', {
    body
  })
}
/**  临时禁用 使用 common下getDistrictAllSchoolById方法
 * @description 紧急上报列表
 * @param { string } type 要查找的机构类型  500
 * @param { string } currentId  指定的机构id查它之下的机构
 */
export const getFindOrgSchool = body => {
  return httpGET('data/api-u/org/findDownByType', {
    body
  })
}
/**
 * @description 学校上报统计
 * @param { string } id 学校id
 */
export const getSchoolInfo = body => {
  return httpGET('data/api-c/Count/schoolSubmitCount', {
    body
  })
}