cockpit.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. // 驾驶舱相关接口
  2. import request from '@/utils/request'
  3. // 获取驾驶舱总览
  4. export function getOverview(query) {
  5. return request({
  6. url: '/core/cockpit/app/overview',
  7. method: 'get',
  8. params: query
  9. })
  10. }
  11. // 获取基础信息
  12. export function getAllbaseInfo(query) {
  13. return request({
  14. url: '/core/cockpit/app/baseInfo',
  15. method: 'get',
  16. params: query
  17. })
  18. }
  19. // 获取履职情况信息
  20. export function getAllresumption(query) {
  21. return request({
  22. url: '/core/cockpit/app/ranking/resumption',
  23. method: 'get',
  24. params: query
  25. })
  26. }
  27. // 获取综合履职数据情况
  28. export function getSyntheticResumption(query) {
  29. return request({
  30. url: '/core/cockpit/app/synthetic/resumption',
  31. method: 'get',
  32. params: query
  33. })
  34. }
  35. // 获取综合问题整改情况
  36. export function getSyntheticQuestion(query) {
  37. return request({
  38. url: '/core/cockpit/app/synthetic/question',
  39. method: 'get',
  40. params: query
  41. })
  42. }
  43. // 安全检查
  44. export function safetycheck(query) {
  45. return request({
  46. url: '/core/cockpit/app/synthetic/safetycheck',
  47. method: 'get',
  48. params: query
  49. })
  50. }
  51. // 其他
  52. export function getotherHandler(query) {
  53. return request({
  54. url: '/core/cockpit/app/synthetic/other',
  55. method: 'get',
  56. params: query
  57. })
  58. }