statistics.js 1002 Bytes
import request from '@/utils/request'
import SERVER from './config'

/**
 * dataReceiveQuality
 * @param startDate
 * @param endDate
 * @returns {AxiosPromise}
 */
export function dataReceiveQuality (startDate, endDate) {
  return request({
    url: SERVER.SERVERAPI + '/rest/statistics/Efficient/dataReceiveQuality?startDate='+startDate+'&endDate='+endDate,
    method: 'post'
  })
}

/**
 * 空项率统计
 * @returns {AxiosPromise}
 * @param startDate
 * @param endDate
 */
export function nonNullSta (startDate, endDate) {
  return request({
    url: SERVER.SERVERAPI + '/rest/statistics/Efficient/nonNullSta?startDate='+startDate+'&endDate='+endDate,
    method: 'post'
  })
}

/**
 * 登簿质量统计
 * @returns {AxiosPromise}
 * @param startDate
 * @param endDate
 */
export function registerBookQuality (startDate, endDate) {
  return request({
    url: SERVER.SERVERAPI + '/rest/statistics/Efficient/registerBookQuality?startDate='+startDate+'&endDate='+endDate,
    method: 'post'
  })
}