statistics-api.js 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496
  1. (function(exports) {
  2. var statisticAPI = {
  3. /*************首页*******************/
  4. getSignInfo: function(data){
  5. return httpRequest.get("/statistics/sign_info", {data: data});
  6. },
  7. /*************总体分析页面接口列表**************/
  8. //1、顶部各个tab的值
  9. statisticTotal: function(data){
  10. return httpRequest.get("/statistics/total", {data: data});
  11. },
  12. //微信绑定和设备绑定数据接口
  13. statisticBindAll: function(data){
  14. return httpRequest.get("/statistics/index_all", {data: data});
  15. },
  16. //健康文章发送数量
  17. articleAll: function(data){
  18. return httpRequest.get("/statistics/article_total", {data: data});
  19. },
  20. //2、中间折线图接口
  21. //增量(咨询量3、随访量4、健康教育5、代预约量27),到达量(绑定微信21、绑定设备20)
  22. interval: function(data){
  23. return httpRequest.get("statistics/interval", {data: data});
  24. },
  25. intervalTotal: function(data){
  26. return httpRequest.get("statistics/interval_total", {data: data});
  27. },
  28. //3、底部区域数据接口
  29. lowlevelTotal: function(data){
  30. return httpRequest.get("statistics/lowlevel_total", {data: data});
  31. },
  32. //微信绑定和设备绑定
  33. lowlevelAll: function(data){
  34. return httpRequest.get("statistics/lowlevel_all", {data: data});
  35. },
  36. //咨询量数据
  37. lowlevelTotalMesh: function(data){
  38. return httpRequest.get("statistics/lowlevel_total_mesh", {data: data});
  39. },
  40. articleLowlevelTotal: function(data){
  41. return httpRequest.get("/statistics/article_lowlevel_total", {data: data});
  42. },
  43. lowlevelData: function(url, data){
  44. return httpRequest.get(url, {data: data});
  45. },
  46. //获得团队的详情
  47. getTeamInfo: function(data){
  48. return httpRequest.get("doctor/admin-teams/teams/info", {data: data});
  49. },
  50. //获取居民分析相关数据
  51. leveltwoIncrementData: function(data){
  52. return httpRequest.get("/statistics/leveltwo_increment", {data: data});
  53. },
  54. statisticsTime:function(data){
  55. return httpRequest.get("/statistics/time", {data: data});
  56. },
  57. //长处方分析接口
  58. getPrescriptionTotalHistogram: function(data){
  59. return httpRequest.get("statistics/getPrescriptionTotalHistogram", {data: data})
  60. },
  61. //评价分析
  62. //按月份获得个月的评价平均分
  63. getAVGSocreByMonth: function(data){
  64. return httpRequest.get("/statistics/getAVGSocreByMonth", {data: data});
  65. },
  66. //资质分析
  67. doorQualificationAnalyze: function(data){
  68. return httpRequest.get("/doctor/statisticAnalyze/doorQualificationAnalyze", {data: data});
  69. },
  70. //资质分析导出excel
  71. doorQualificationAnalyzeExport:httpRequest.server+"doctor/statisticAnalyze/doorQualificationAnalyzeExport",
  72. //响应速度分析
  73. doorResponseAnalyze: function(data){
  74. return httpRequest.get("/doctor/statisticAnalyze/doorResponseAnalyze", {data: data});
  75. },
  76. //响应速度分析导出excel
  77. doorResponseAnalyzeExport:httpRequest.server+"doctor/statisticAnalyze/doorResponseAnalyzeExport",
  78. //服务工单分析
  79. doorServiceOrderAnalyze: function(data){
  80. return httpRequest.get("/doctor/statisticAnalyze/doorServiceOrderAnalyze", {data: data});
  81. },
  82. //服务工单分析导出excel
  83. doorServiceOrderAnalyzeExport:httpRequest.server+"doctor/statisticAnalyze/doorServiceOrderAnalyzeExport",
  84. //补助费用
  85. subsidyExpense: function(data){
  86. return httpRequest.get("/doctor/statisticAnalyze/subsidyExpense", {data: data});
  87. },
  88. //补助费用导出excel
  89. subsidyExpenseExport:httpRequest.server+"doctor/statisticAnalyze/subsidyExpenseExport",
  90. //代预约记录
  91. GetReservationByTeamId: function(data){
  92. return httpRequest.post("/doctor/guahao/GetReservationByTeamId", {data: data});
  93. },
  94. //数据导出查询
  95. getStatisticDataList: function(data){
  96. return httpRequest.get("statisticsExport/getStatisticDataList", {data: data});
  97. },
  98. //数据导出查询-左侧树
  99. exportTreeList: function(data){
  100. return httpRequest.get("statisticsExport/treeList", {data: data});
  101. },
  102. // 专病分析-疾病类型
  103. specialistAnalysisDiseaseType: function(data){
  104. return httpRequest.get("specialistStatistics/specialistAnalysisDiseaseType", {data: data});
  105. },
  106. selectHospital: function(data){
  107. return httpRequest.get("specialistStatistics/selectHospital", {data: data});
  108. },
  109. //数据导出查询
  110. getWHFInfoList: function(data){
  111. return httpRequest.get("third/door/getWHFInfoList", {data: data});
  112. },
  113. // 咨询分析明细
  114. getConsultList: function(data){
  115. return httpRequest.get("statisticsExport/getConsultList", {data: data});
  116. },
  117. // 签约分析明细
  118. getSignList: function(data){
  119. return httpRequest.get("statisticsExport/getSignList", {data: data});
  120. },
  121. // 专病分析明细
  122. getSickList: function(data){
  123. return httpRequest.get("statisticsExport/getSickList", {data: data});
  124. },
  125. // 生日祝福分析明细
  126. getBirthdayPatientList: function(data){
  127. return httpRequest.get("statisticsExport/getBirthdayPatientList", {data: data});
  128. },
  129. //导出生日祝福分析明细
  130. getBirthdayPatientListExport: function(data){
  131. return httpRequest.get("statisticsExport/getBirthdayPatientListExport", {data: data});
  132. },
  133. // 上门服务分析明细
  134. getDoorServiceList: function(data){
  135. return httpRequest.get("statisticsExport/getDoorServiceList", {data: data});
  136. },
  137. // 长处方分析明细
  138. getPrescriptionList: function(data){
  139. return httpRequest.get("statisticsExport/getPrescriptionList", {data: data});
  140. },
  141. // 获取专病疾病类型
  142. getDiseaseTypeList: function(data){
  143. return httpRequest.get("statisticsExport/getDiseaseTypeList", {data: data});
  144. },
  145. // 年度考核报表
  146. getAnnualAssessment: function(data){
  147. return httpRequest.get("statisticsExport/getAnnualAssessment", {data: data});
  148. },
  149. // 体征数据列表
  150. getHealthList: function(data){
  151. return httpRequest.get("statisticsExport/getHealthList", {data: data});
  152. },
  153. // 上转预约列表
  154. getDoctorReservationList: function(data){
  155. return httpRequest.get("statisticsExport/getDoctorReservationList", {data: data});
  156. },
  157. // 专病复诊明细列表
  158. getXxzxMedicalHistoryList: function(data){
  159. return httpRequest.get("statisticsExport/getXxzxMedicalHistoryList", {data: data});
  160. },
  161. // 微信绑定列表
  162. getWexinBindingList: function(data){
  163. return httpRequest.get("statisticsExport/getWexinBindingList", {data: data});
  164. },
  165. // 查询上转预约科室和医院
  166. getReservationHosAndDept: function(data){
  167. return httpRequest.get("statisticsExport/getReservationHosAndDept", {data: data});
  168. },
  169. // 获取汇总数据的专科医院
  170. getSpecialHospital: function(data){
  171. return httpRequest.get("statisticsExport/getSpecialHospital", {data: data});
  172. },
  173. //专病汇总查询
  174. getSpecialDiseaseReport: function(data){
  175. return httpRequest.get("statisticsExport/getSpecialDiseaseReport", {data: data});
  176. },
  177. //体征分析查询
  178. getDeviceHealthReport: function(data){
  179. return httpRequest.get("statisticsExport/getDeviceHealthReport", {data: data});
  180. },
  181. //上门汇总
  182. getDoorServerOrderReport: function(data){
  183. return httpRequest.get("statisticsExport/getDoorServerOrderReport", {data: data});
  184. },
  185. // 居民积分明细
  186. patinetIntegralAnalysis: function(data){
  187. return httpRequest.get("statisticsExport/patinetIntegralAnalysis", {data: data});
  188. },
  189. // 入户访视明细
  190. findPatientFollowListByCondition: function(data){
  191. return httpRequest.get("statisticsExport/findPatientFollowListByCondition", {data: data});
  192. },
  193. //康复下转明细
  194. rehabilitationPatientInfo: function(data){
  195. return httpRequest.get("doctor/specialist/rehabilitation/rehabilitationPatientInfo", {data: data});
  196. },
  197. // 康复下转分配,同步居民,同步病历
  198. synchronizePationSingle: function(data){
  199. return httpRequest.post("doctor/specialist/rehabilitation/synchronizePationSingle", {data: data});
  200. },
  201. //康复下转获取签约信息
  202. kangfuGetSignInfo: function(data){
  203. return httpRequest.get("doctor/specialist/rehabilitation/getSignInfo", {data: data});
  204. },
  205. // 获取社区医院
  206. hospitalsByType: function(data){
  207. return httpRequest.get("hospitals/hospitalsByType", {data: data});
  208. },
  209. // 邀请专科医生回复明细列表
  210. consultHelpDetailPage: function(data){
  211. return httpRequest.get("statisticsExport/consultHelpDetailPage", {data: data});
  212. },
  213. // 邀请专科医生回复统计列表
  214. consultHelpCountPage: function(data){
  215. return httpRequest.get("statisticsExport/consultHelpCountPage", {data: data});
  216. },
  217. // 获取慢阻肺医院工作量表
  218. hospitalWorkStatistics: function(data){
  219. return httpRequest.get("copd/statistics/hospitalWorkStatistics", {data: data});
  220. },
  221. // 级联查询医院
  222. cascadingFindHosptail: function(data){
  223. return httpRequest.get("copd/statistics/cascadingFindHosptail", {data: data});
  224. },
  225. // 获取慢阻肺V1\入组情况报表
  226. findHospitalEntryCount: function(data){
  227. return httpRequest.get("copd/statistics/findHospitalEntryCount", {data: data});
  228. },
  229. //慢阻肺患者查询
  230. getCopdPatientInfoList: function(data){
  231. return httpRequest.get("copd/statistics/getCopdPatientInfoList", {data: data});
  232. },
  233. //慢阻肺入组进度表
  234. getCopdEntryData: function(data){
  235. return httpRequest.get("copd/statistics/getCopdEntryData", {data: data});
  236. },
  237. //慢阻肺入组明细
  238. getCopdEntryCommunityData: function(data){
  239. return httpRequest.get("copd/statistics/getCopdEntryCommunityData", {data: data});
  240. },
  241. //慢阻肺随访进度表
  242. getCopdFollowData: function(data){
  243. return httpRequest.get("copd/statistics/getCopdFollowData", {data: data});
  244. },
  245. //慢阻肺随访明细表-PC
  246. getCopdFollowDetailData: function(data){
  247. return httpRequest.get("copd/statistics/getCopdFollowDetailData", {data: data});
  248. },
  249. //阻肺呼吸训练数据【获取慢阻肺的呼吸的列表数据】
  250. findCopdHealthInfoList: function(data){
  251. return httpRequest.get("copd/statistics/findCopdHealthInfoList", {data: data});
  252. },
  253. // 一个患者所有的呼吸数据
  254. findCopdHealthInfoByCode: function(data){
  255. return httpRequest.get("copd/statistics/findCopdHealthInfoByCode", {data: data});
  256. },
  257. // 获取个案的随访信息【随访计划】
  258. findCopdPatientFollowList: function(data){
  259. return httpRequest.get("copd/statistics/findCopdPatientFollowList", {data: data});
  260. },
  261. // 获取慢阻肺手表数据
  262. watchStatisticsList: function(data){
  263. return httpRequest.get("copd/statistics/watchStatisticsList", {data: data});
  264. },
  265. // 获取慢阻肺手表亚组居民列表
  266. watchPage: function(data){
  267. return httpRequest.get("copd/statistics/watchPage", {data: data});
  268. },
  269. // 获取慢阻肺手表体征数据明细
  270. copdList: function(data){
  271. return httpRequest.get("doctor/health_index/copdList", {data: data});
  272. },
  273. // 慢阻肺监查、稽查情况统计查询
  274. getCopdCheckExamineData: function(data){
  275. return httpRequest.get("copd/statistics/getCopdCheckExamineData", {data: data});
  276. },
  277. // 慢阻肺第二阶段三级医院入组进度
  278. getGradeHospitalEntryData: function(data){
  279. return httpRequest.get("/copd/statistics/getGradeHospitalEntryData", {data: data});
  280. },
  281. // 慢阻肺第二阶段社区医院入组进度
  282. getCommunityHospitalEntryData: function(data){
  283. return httpRequest.get("/copd/statistics/getCommunityHospitalEntryData", {data: data});
  284. },
  285. // 慢阻肺第二阶段三级医院随访进度
  286. getGradeHospitalFollowData: function(data){
  287. return httpRequest.get("/copd/statistics/getGradeHospitalFollowData", {data: data});
  288. },
  289. // 慢阻肺第二阶段社区医院随访进度
  290. getCommunityHospitalFollowData: function(data){
  291. return httpRequest.get("/copd/statistics/getCommunityHospitalFollowData", {data: data});
  292. },
  293. // 慢阻肺第一阶段入组随访进度
  294. getFirstStageEntryData: function(data){
  295. return httpRequest.get("/copd/statistics/getFirstStageEntryData", {data: data});
  296. },
  297. // 综合分析导出
  298. statisticsExportExport: function(data, filename){
  299. return httpRequest.downLoadFileForAjax("statisticsExport/export", filename, data);
  300. },
  301. // 咨询分析导出
  302. statisticsExportExportConsultList: function(data, filename){
  303. return httpRequest.downLoadFileForAjax("statisticsExport/exportConsultList", filename, data);
  304. },
  305. // 签约分析导出
  306. statisticsExportExportSignList: function(data, filename){
  307. return httpRequest.downLoadFileForAjax("statisticsExport/exportSignList", filename, data);
  308. },
  309. // 专病分析导出
  310. statisticsExportExportSickList: function(data, filename){
  311. return httpRequest.downLoadFileForAjax("statisticsExport/exportSickList", filename, data);
  312. },
  313. // 生日祝福分析导出
  314. statisticsExportGetBirthdayPatientListExport: function(data, filename){
  315. return httpRequest.downLoadFileForAjax("statisticsExport/getBirthdayPatientListExport", filename, data);
  316. },
  317. // 上门服务导出
  318. statisticsExportExportDoorServiceList: function(data, filename){
  319. return httpRequest.downLoadFileForAjax("statisticsExport/exportDoorServiceList", filename, data);
  320. },
  321. // 长处方导出
  322. statisticsExportExportPrescriptionList: function(data, filename){
  323. return httpRequest.downLoadFileForAjax("statisticsExport/exportPrescriptionList", filename, data);
  324. },
  325. // 年度考核报表导出
  326. statisticsExportExportAnnualAssessment: function(data, filename){
  327. return httpRequest.downLoadFileForAjax("statisticsExport/exportAnnualAssessment", filename, data);
  328. },
  329. // 咨询未及时回复导出
  330. appAdminToExcel: function(data, filename){
  331. return httpRequest.downLoadFileForAjax("third/door/appAdminToExcel", filename, data);
  332. },
  333. //体征数据导出
  334. exportHealthList: function(data, filename){
  335. return httpRequest.downLoadFileForAjax("statisticsExport/exportHealthList", filename, data);
  336. },
  337. //上转预约导出
  338. exportDoctorReservationList: function(data, filename){
  339. return httpRequest.downLoadFileForAjax("statisticsExport/exportDoctorReservationList", filename, data);
  340. },
  341. //微信绑定导出
  342. exportWexinBindingList: function(data, filename){
  343. return httpRequest.downLoadFileForAjax("statisticsExport/exportWexinBindingList", filename, data);
  344. },
  345. // 专病汇总导出
  346. exportSpecialDiseaseReport: function(data, filename){
  347. return httpRequest.downLoadFileForAjax("statisticsExport/exportSpecialDiseaseReport", filename, data);
  348. },
  349. // 体征分析导出
  350. exportDeviceHealthReport: function(data, filename){
  351. return httpRequest.downLoadFileForAjax("statisticsExport/exportDeviceHealthReport", filename, data);
  352. },
  353. // 上门汇总导出
  354. exportDoorServerOrderReport: function(data, filename){
  355. return httpRequest.downLoadFileForAjax("statisticsExport/exportDoorServerOrderReport", filename, data);
  356. },
  357. // 居民积分明细导出
  358. exPatinetIntegralAnalysis: function(data, filename){
  359. return httpRequest.downLoadFileForAjax("statisticsExport/exPatinetIntegralAnalysis", filename, data);
  360. },
  361. // 入户访视明细导出
  362. exfindPatientFollowListByCondition: function(data, filename){
  363. return httpRequest.downLoadFileForAjax("statisticsExport/exfindPatientFollowListByCondition", filename, data);
  364. },
  365. // 康复下转明细导出
  366. exportRehabilitationPatientInfo: function(data, filename){
  367. return httpRequest.downLoadFileForAjax("doctor/specialist/rehabilitation/exportRehabilitationPatientInfo", filename, data);
  368. },
  369. // 邀请专科医生回复明细导出
  370. exportConsultHelpDetailPage: function(data, filename){
  371. return httpRequest.downLoadFileForAjax("statisticsExport/exportConsultHelpDetailPage", filename, data);
  372. },
  373. // 邀请专科医生回复统计导出
  374. exportConsultHelpCountPage: function(data, filename){
  375. return httpRequest.downLoadFileForAjax("statisticsExport/exportConsultHelpCountPage", filename, data);
  376. },
  377. // 慢阻肺医院工作量表导出
  378. exportHospitalWorkStatistics: function(data, filename){
  379. return httpRequest.downLoadFileForAjax("copd/statistics/exportHospitalWorkStatistics", filename, data);
  380. },
  381. // v1入组导出
  382. exportHospitalEntryCount: function(data, filename){
  383. return httpRequest.downLoadFileForAjax("copd/statistics/exportHospitalEntryCount", filename, data);
  384. },
  385. // 专病复诊明细表导出
  386. exportXxzxMedicalHistoryList: function(data, filename){
  387. return httpRequest.downLoadFileForAjax("statisticsExport/exportXxzxMedicalHistoryList", filename, data);
  388. },
  389. // 慢阻肺入组进度表-PC-导出
  390. exportCopdEntryData: function(data, filename){
  391. return httpRequest.downLoadFileForAjax("copd/statistics/exportCopdEntryData", filename, data);
  392. },
  393. // 慢阻肺入组明细表-PC-导出
  394. exportCopdEntryCommunityData: function(data, filename){
  395. return httpRequest.downLoadFileForAjax("copd/statistics/exportCopdEntryCommunityData", filename, data);
  396. },
  397. //慢阻肺随访进度表-PC-导出
  398. exportCopdFollowData: function(data, filename){
  399. return httpRequest.downLoadFileForAjax("copd/statistics/exportCopdFollowData", filename, data);
  400. },
  401. //慢阻肺随访明细表-PC-导出
  402. exportCopdFollowDetailData: function(data, filename){
  403. return httpRequest.downLoadFileForAjax("copd/statistics/exportCopdFollowDetailData", filename, data);
  404. },
  405. // 呼吸数据导出
  406. exoprtCopdHealthInfoList: function(data, filename){
  407. return httpRequest.downLoadFileForAjax("copd/statistics/exoprtCopdHealthInfoList", filename, data);
  408. },
  409. // 慢阻肺患者查询导出
  410. exportCopdPatientInfoList: function(data, filename){
  411. return httpRequest.downLoadFileForAjax("copd/statistics/exportCopdPatientInfoList", filename, data);
  412. },
  413. //导出随访计划
  414. exportConclusionList: function(data, filename){
  415. return httpRequest.downLoadFileForAjax("doctor/copd/exportConclusionList", filename, data);
  416. },
  417. // 手表亚组数据导出
  418. exportWatchStatisticsList: function(data, filename){
  419. return httpRequest.downLoadFileForAjax("copd/statistics/exportWatchStatisticsList", filename, data);
  420. },
  421. // 手表亚组居民数据导出
  422. exportWatchPage: function(data, filename){
  423. return httpRequest.downLoadFileForAjax("copd/statistics/exportWatchPage", filename, data);
  424. },
  425. // 慢阻肺监查、稽查情况统计导出
  426. exportCopdCheckExamineData: function(data, filename){
  427. return httpRequest.downLoadFileForAjax("copd/statistics/exportCopdCheckExamineData", filename, data);
  428. },
  429. // 慢阻肺第一阶段入组随访情况统计导出
  430. exportFirstStageEntryData: function(data, filename){
  431. return httpRequest.downLoadFileForAjax("/copd/statistics/exportFirstStageEntryData", filename, data);
  432. },
  433. // 慢阻肺第二阶段社区医院随访情况导出
  434. exportCommunityHospitalFollowData: function(data, filename){
  435. return httpRequest.downLoadFileForAjax("/copd/statistics/exportCommunityHospitalFollowData", filename, data);
  436. },
  437. // 慢阻肺第二阶段三级医院随访情况统计导出
  438. exportGradeHospitalFollowData: function(data, filename){
  439. return httpRequest.downLoadFileForAjax("/copd/statistics/exportGradeHospitalFollowData", filename, data);
  440. },
  441. // 慢阻肺第二阶段社区医院入组情况统计导出
  442. exportCommunityHospitalEntryData: function(data, filename){
  443. return httpRequest.downLoadFileForAjax("/copd/statistics/exportCommunityHospitalEntryData", filename, data);
  444. },
  445. // 慢阻肺第二阶段三级医院入组情况统计导出
  446. exportGradeHospitalEntryData: function(data, filename){
  447. return httpRequest.downLoadFileForAjax("/copd/statistics/exportGradeHospitalEntryData", filename, data);
  448. },
  449. }
  450. exports.statisticAPI = statisticAPI;
  451. })(window)