overview.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. import httputils from '@/api/httputils'
  2. // 查询广场概况
  3. export function queryFact({ getParams }) {
  4. return httputils.getJson(`/data/plaza/fact`, getParams)
  5. }
  6. // 根据类型统计说明书更新记录数量
  7. export function queryRecordCount({ getParams }) {
  8. return httputils.getJson(`/data/rpt_change_record/queryObjTypeCount`, getParams)
  9. }
  10. // 查询事件类型下拉菜单
  11. export function queryEventypes({ data, postParams }) {
  12. return httputils.fetchJson(`/data/base/queryOptions`, data, postParams)
  13. }
  14. // 说明书变更记录
  15. export function getChangeList({ getParams }) {
  16. return httputils.getJson(`/data/rpt_change_record/query`, getParams)
  17. }
  18. /**
  19. * 变更记录详情接口
  20. *
  21. */
  22. // 1. 维保
  23. export function getUpdateDetail1({ getParams }) {
  24. return httputils.getJson(`/data/sms_wbsms/query`, getParams)
  25. }
  26. // 2.维修
  27. export function getUpdateDetail4({ getParams }) {
  28. return httputils.getJson(`/data/sms_wx/query`, getParams)
  29. }
  30. // 其他事项
  31. export function getUpdateDetail5({ getParams }) {
  32. return httputils.getJson(`/data/sms_qtsx/query`, getParams)
  33. }
  34. // 综合事项
  35. export function getUpdateDetail3({ getParams }) {
  36. return httputils.getJson(`/data/sms_zhsxjl/query`, getParams)
  37. }