home-new.js 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. import request from '@/utils/request'
  2. // 查询我的任务列表(当天有效任务)shudong
  3. export function getHomePage(params) {
  4. return request({
  5. url: '/check/largeScreen/homePage',
  6. method: 'get',
  7. params: params
  8. })
  9. }
  10. //获取查获上报数据 xiaoxiong
  11. export function getSeizureReport(params) {
  12. return request({
  13. url: '/system/check/seizureReport/data',
  14. method: 'get',
  15. params: params
  16. })
  17. }
  18. //获取考勤统计数据 binge
  19. export function getAttendanceStats(params) {
  20. return request({
  21. url: '/attendance/stats/getAttendanceStats',
  22. method: 'get',
  23. params: params
  24. })
  25. }
  26. //抽问抽答,首页 binge
  27. export function getAccuracyStatistics(params) {
  28. return request({
  29. url: '/exam/daily/accuracy-statistics',
  30. method: 'get',
  31. params: params
  32. })
  33. }
  34. //根据角色获取查获排名 xiaoxiong
  35. export function getSeizureRanking(data) {
  36. return request({
  37. url: '/item/seizure/ranking/getRankingByRole',
  38. method: 'post',
  39. data: data
  40. })
  41. }
  42. //获取检查排名 shudong
  43. export function getCheckRanking(params) {
  44. return request({
  45. url: '/system/homePage/homePageRanking',
  46. method: 'get',
  47. params: params
  48. })
  49. }
  50. //首页-整体 shudong binge xiaoxiong
  51. export function getHomePageWhole(params) {
  52. return request({
  53. url: '/system/homePage/homePageWhole',
  54. method: 'get',
  55. params: params
  56. })
  57. }
  58. //首页-明细(能力对比) shudong binge xiaoxiong
  59. export function getHomePageDetail(data) {
  60. return request({
  61. url: '/system/homePage/homePageDetail',
  62. method: 'post',
  63. data: data
  64. })
  65. }
  66. //根据角色标识查询今日上岗用户列表
  67. export function selectUserListByRoleKey(data) {
  68. return request({
  69. url: '/attendance/postRecord/selectUserListByRoleKey',
  70. method: 'post',
  71. data: data
  72. })
  73. }
  74. //首页报表-整体
  75. export function getHomeReportWhole(params) {
  76. return request({
  77. url: '/system/homeReport/homeReportWhole',
  78. method: 'get',
  79. params: params
  80. })
  81. }
  82. //绩效指标列表
  83. export function getMetrics(data) {
  84. return request({
  85. url: '/item/performance/metrics',
  86. method: 'post',
  87. data: data
  88. })
  89. }
  90. //质控活动-问题分布统计
  91. export function getCheckProblemDistribution(query) {
  92. return request({
  93. url: '/system/analysisReport/checkProblemDistribution',
  94. method: 'get',
  95. params: query
  96. })
  97. }
  98. //培训测试正确率分析
  99. export function getAccuracyAnalysis(query) {
  100. return request({
  101. url: '/exam/quiz/accuracy-analysis',
  102. method: 'get',
  103. params: query
  104. })
  105. }
  106. //查询全站查获违禁品 TOP3
  107. export function getProhibitedTop3(query) {
  108. return request({
  109. url: '/item/performance/prohibited-top3',
  110. method: 'get',
  111. params: query
  112. })
  113. }
  114. //查询隐匿重点部位 Top1
  115. export function getConcealmentPositionTop1(query) {
  116. return request({
  117. url: '/item/performance/concealment-position-top1',
  118. method: 'get',
  119. params: query
  120. })
  121. }
  122. //获取查获消息推送数据
  123. export function getPushMessage(query) {
  124. return request({
  125. url: '/item/seizure/push/message',
  126. method: 'get',
  127. params: query
  128. })
  129. }