home.js 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. import request from '@/utils/request'
  2. // 获取本月已完成的SAI数量
  3. export function getCurrentMonthFinishedSaiCount() {
  4. return request({
  5. url: '/eoeg/home/currentMonthFinishedSaiCount',
  6. method: 'get'
  7. })
  8. }
  9. // 获取本月已完成的TPM数量
  10. export function getCurrentMonthFinishedTpmCount() {
  11. return request({
  12. url: '/eoeg/home/currentMonthFinishedTpmCount',
  13. method: 'get'
  14. })
  15. }
  16. // 获取进行中的锁开锁关数量
  17. export function getInProgressLockChangeCount() {
  18. return request({
  19. url: '/eoeg/home/inProgressLockChangeCount',
  20. method: 'get'
  21. })
  22. }
  23. // 获取即将到期或已过期的装置程序清单数量
  24. export function getExpiringSoonPlantproglistCount() {
  25. return request({
  26. url: '/eoeg/home/expiringSoonPlantproglistCount',
  27. method: 'get'
  28. })
  29. }
  30. // 获取5个班组当年的SAI数量统计
  31. export function getTeamAnalysis() {
  32. return request({
  33. url: '/eoeg/home/teamAnalysis',
  34. method: 'get'
  35. })
  36. }
  37. // 获取EOEG日常管理首页统计数据
  38. export function getDashboardData(query) {
  39. return request({
  40. url: '/eoeg/home/eoegDailyManagementDashboard',
  41. method: 'get',
  42. params: query
  43. })
  44. }