statistics.js 1.17 KB
/*
 * @Author: yangwei
 * @Date: 2023-03-09 09:29:52
 * @LastEditors: yangwei
 * @LastEditTime: 2023-03-09 10:31:31
 * @FilePath: \bdcjg-web\src\api\statistics.js
 * @Description: 
 * 
 * Copyright (c) 2023 by ${git_name_email}, All Rights Reserved. 
 */
import request from '@/utils/request'
import SERVER from './config'
const url = SERVER.SERVERAPI + '/rest/statistics/Efficient/'
/**
 * dataReceiveQuality
 * @param startDate
 * @param endDate
 * @returns {AxiosPromise}
 */
export function dataReceiveQuality (startDate, endDate) {
  return request({
    url: url + 'dataReceiveQuality?startDate='+startDate+'&endDate='+endDate,
    method: 'post'
  })
}

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

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