// 字典、公共接口
|
|
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
|
})
|
}
|