import service from "./index";
const apiMediate = '/mediate/'

const systemLogApi = {
    
    //========================start::工作台管理======================================
    // 工作台头部查询
    topStatistics: data => {
        return service.service.post(`${apiMediate}statistics/workbench/topStatistics`, data, {hideLoading:true})
    },
    // 最近调解案件
    recentStatistics: data => {
        return service.service.post(`${apiMediate}statistics/workbench/recentStatistics`, data)
    },
    // 工作台折线图查询
    lineChartStatistics: data => {
        
        return service.service.post(`${apiMediate}statistics/workbench/lineChartStatistics`, data, {hideLoading:true})
    },
    // 区域业绩查询
    rankingStatistics: data => {
        return service.service.post(`${apiMediate}statistics/workbench/rankingStatistics`, data, {hideLoading:true})
    },

    // 待办汇总
    statistic_cases: data => {
        return service.service.post(`${apiMediate}workbench/statistic-cases`, data, {hideLoading:true})
    },
    // 追踪汇总
    statistic_trace: data => {
        return service.service.post(`${apiMediate}workbench/statistic-trace`, data, {hideLoading:true})
    },

    // 我的案件包列表,下拉
    getmy_case_pkg: data => {
        return service.service.post(`${apiMediate}api/case_pkg/my-case-pkg`, data, {hideLoading:true})
    },
    // 根据当前登录人员统计案件包的状态
    getmy_case_pkg_statistics: data => {
        return service.service.post(`${apiMediate}api/case_pkg/statistics`, data, {hideLoading:true})
    },


    
    
    //========================end::工作台管理======================================
     
}
export default systemLogApi;
