business.js
690 Bytes
/*
* @Description: 统计率
* @Autor: renchao
* @LastEditTime: 2023-03-21 16:25:26
*/
/* 引入请求文件 */
import request from '@/utils/request'
/* 引入配置文件 */
let SERVER = JSON.parse(localStorage.getItem('ApiUrl'))
class business {
/**
* @description: 成功率统计
* @param {*} startDate
* @param {*} endDate
* @param {*} qxdm
* @author: renchao
*/
async getSuucessRate (startDate, endDate, qxdm) {
return request({
url: SERVER.SERVERAPI + '/rest/statistics/Business/sf',
method: 'get',
params: {
startDate: startDate,
endDate: endDate,
qxdm: qxdm
}
})
}
}
export default new business()