Blame view

src/api/efficient.js 926 Bytes
yangwei committed
1 2 3 4 5 6 7 8 9
import request from "@/utils/request";
import SERVER from "./config";

class efficient {
  /* 
    获取对应的业务量总数
    startDate:开始日期
    endDate:结束日期 
  */
10
  async getProcessCounts(startDate, endDate,qxdm) {
yangwei committed
11 12 13 14 15 16
    return request({
      url: SERVER.SERVERAPI + "/rest/statistics/Efficient/getProcessCounts",
      method: "post",
      params: {
        startDate: startDate,
        endDate: endDate,
17
        qxdm:qxdm
yangwei committed
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
      },
    });
  }
  /* 
    获取各区县业务对应的天数
    recType:业务代码
    startDate:开始日期
    endDate:结束日期 
  */
  async getProcessDays(recType, startDate, endDate) {
    return request({
      url: SERVER.SERVERAPI + "/rest/statistics/Efficient/getProcessDays",
      method: "post",
      params: {
        recType: recType,
        startDate: startDate,
        endDate: endDate,
      },
    });
  }
}
export default new efficient();