bdcdj.js 899 Bytes
/*
 * @Description: 统计率
 * @Autor: renchao
 * @LastEditTime: 2023-03-21 16:25:26
 */
/* 引入请求文件 */
import request from '@/utils/request'
/* 引入配置文件 */
let SERVER = window.config ? window.config : JSON.parse(localStorage.getItem('ApiUrl'))
class bdcdj {
  /**
   * @description: 成功率统计
   * @param {*} startDate
   * @param {*} endDate
   * @param {*} qxdm
   * @author: renchao
   */
  async list (data) {
    return request({
      url: SERVER.SERVERAPI + '/rest/statistics/gd/list',
      method: 'post',
      data
    })
  }

  /**
   * @description: 成功率统计
   * @param {*} startDate
   * @param {*} endDate
   * @param {*} qxdm
   * @author: renchao
   */
  async getQjdcCount (data) {
    return request({
      url: SERVER.SERVERAPI + '/rest/statistics/qjdc/getQjdcCount',
      method: 'post',
      data
    })
  }
}
export default new bdcdj()