(function(exports) { var statisticAPI = { /*************首页*******************/ getSignInfo: function(data){ return httpRequest.get("/statistics/sign_info", {data: data}); }, /*************总体分析页面接口列表**************/ //1、顶部各个tab的值 statisticTotal: function(data){ return httpRequest.get("/statistics/total", {data: data}); }, //微信绑定和设备绑定数据接口 statisticBindAll: function(data){ return httpRequest.get("/statistics/index_all", {data: data}); }, //健康文章发送数量 articleAll: function(data){ return httpRequest.get("/statistics/article_total", {data: data}); }, //2、中间折线图接口 //增量(咨询量3、随访量4、健康教育5、代预约量27),到达量(绑定微信21、绑定设备20) interval: function(data){ return httpRequest.get("statistics/interval", {data: data}); }, intervalTotal: function(data){ return httpRequest.get("statistics/interval_total", {data: data}); }, //3、底部区域数据接口 lowlevelTotal: function(data){ return httpRequest.get("statistics/lowlevel_total", {data: data}); }, //微信绑定和设备绑定 lowlevelAll: function(data){ return httpRequest.get("statistics/lowlevel_all", {data: data}); }, //咨询量数据 lowlevelTotalMesh: function(data){ return httpRequest.get("statistics/lowlevel_total_mesh", {data: data}); }, articleLowlevelTotal: function(data){ return httpRequest.get("/statistics/article_lowlevel_total", {data: data}); }, lowlevelData: function(url, data){ return httpRequest.get(url, {data: data}); }, //获得团队的详情 getTeamInfo: function(data){ return httpRequest.get("doctor/admin-teams/teams/info", {data: data}); }, //获取居民分析相关数据 leveltwoIncrementData: function(data){ return httpRequest.get("/statistics/leveltwo_increment", {data: data}); }, statisticsTime:function(data){ return httpRequest.get("/statistics/time", {data: data}); }, //长处方分析接口 getPrescriptionTotalHistogram: function(data){ return httpRequest.get("statistics/getPrescriptionTotalHistogram", {data: data}) }, //评价分析 //按月份获得个月的评价平均分 getAVGSocreByMonth: function(data){ return httpRequest.get("/statistics/getAVGSocreByMonth", {data: data}); }, //资质分析 doorQualificationAnalyze: function(data){ return httpRequest.get("/doctor/statisticAnalyze/doorQualificationAnalyze", {data: data}); }, //资质分析导出excel doorQualificationAnalyzeExport:httpRequest.server+"doctor/statisticAnalyze/doorQualificationAnalyzeExport", //响应速度分析 doorResponseAnalyze: function(data){ return httpRequest.get("/doctor/statisticAnalyze/doorResponseAnalyze", {data: data}); }, //响应速度分析导出excel doorResponseAnalyzeExport:httpRequest.server+"doctor/statisticAnalyze/doorResponseAnalyzeExport", //服务工单分析 doorServiceOrderAnalyze: function(data){ return httpRequest.get("/doctor/statisticAnalyze/doorServiceOrderAnalyze", {data: data}); }, //服务工单分析导出excel doorServiceOrderAnalyzeExport:httpRequest.server+"doctor/statisticAnalyze/doorServiceOrderAnalyzeExport", //补助费用 subsidyExpense: function(data){ return httpRequest.get("/doctor/statisticAnalyze/subsidyExpense", {data: data}); }, //补助费用导出excel subsidyExpenseExport:httpRequest.server+"doctor/statisticAnalyze/subsidyExpenseExport", //代预约记录 GetReservationByTeamId: function(data){ return httpRequest.post("/doctor/guahao/GetReservationByTeamId", {data: data}); }, //数据导出查询 getStatisticDataList: function(data){ return httpRequest.get("statisticsExport/getStatisticDataList", {data: data}); }, //数据导出查询-左侧树 exportTreeList: function(data){ return httpRequest.get("statisticsExport/treeList", {data: data}); }, // 专病分析-疾病类型 specialistAnalysisDiseaseType: function(data){ return httpRequest.get("specialistStatistics/specialistAnalysisDiseaseType", {data: data}); }, selectHospital: function(data){ return httpRequest.get("specialistStatistics/selectHospital", {data: data}); }, //数据导出查询 getWHFInfoList: function(data){ return httpRequest.get("third/door/getWHFInfoList", {data: data}); }, // 咨询分析明细 getConsultList: function(data){ return httpRequest.get("statisticsExport/getConsultList", {data: data}); }, // 签约分析明细 getSignList: function(data){ return httpRequest.get("statisticsExport/getSignList", {data: data}); }, // 专病分析明细 getSickList: function(data){ return httpRequest.get("statisticsExport/getSickList", {data: data}); }, // 生日祝福分析明细 getBirthdayPatientList: function(data){ return httpRequest.get("statisticsExport/getBirthdayPatientList", {data: data}); }, //导出生日祝福分析明细 getBirthdayPatientListExport: function(data){ return httpRequest.get("statisticsExport/getBirthdayPatientListExport", {data: data}); }, // 上门服务分析明细 getDoorServiceList: function(data){ return httpRequest.get("statisticsExport/getDoorServiceList", {data: data}); }, // 长处方分析明细 getPrescriptionList: function(data){ return httpRequest.get("statisticsExport/getPrescriptionList", {data: data}); }, // 获取专病疾病类型 getDiseaseTypeList: function(data){ return httpRequest.get("statisticsExport/getDiseaseTypeList", {data: data}); }, // 年度考核报表 getAnnualAssessment: function(data){ return httpRequest.get("statisticsExport/getAnnualAssessment", {data: data}); }, // 综合分析导出 statisticsExportExport: function(data, filename){ return httpRequest.downLoadFileForAjax("statisticsExport/export", filename, data); }, // 咨询分析导出 statisticsExportExportConsultList: function(data, filename){ return httpRequest.downLoadFileForAjax("statisticsExport/exportConsultList", filename, data); }, // 签约分析导出 statisticsExportExportSignList: function(data, filename){ return httpRequest.downLoadFileForAjax("statisticsExport/exportSignList", filename, data); }, // 专病分析导出 statisticsExportExportSickList: function(data, filename){ return httpRequest.downLoadFileForAjax("statisticsExport/exportSickList", filename, data); }, // 生日祝福分析导出 statisticsExportGetBirthdayPatientListExport: function(data, filename){ return httpRequest.downLoadFileForAjax("statisticsExport/getBirthdayPatientListExport", filename, data); }, // 上门服务导出 statisticsExportExportDoorServiceList: function(data, filename){ return httpRequest.downLoadFileForAjax("statisticsExport/exportDoorServiceList", filename, data); }, // 长处方导出 statisticsExportExportPrescriptionList: function(data, filename){ return httpRequest.downLoadFileForAjax("statisticsExport/exportPrescriptionList", filename, data); }, // 年度考核报表导出 statisticsExportExportAnnualAssessment: function(data, filename){ return httpRequest.downLoadFileForAjax("statisticsExport/exportAnnualAssessment", filename, data); }, // 咨询未及时回复导出 appAdminToExcel: function(data, filename){ return httpRequest.downLoadFileForAjax("third/door/appAdminToExcel", filename, data); }, } exports.statisticAPI = statisticAPI; })(window)