index.js 798 B

123456789101112131415161718192021222324252627282930
  1. import request from "@/tools/request.js";
  2. // 查询综合指标所有指标
  3. export function getComprehensiveTargets(data) {
  4. return request({
  5. url: `/comprehensive/targets?type=${data.type}`,
  6. method: "get",
  7. });
  8. }
  9. // 查询综合指标列表
  10. export function getComprehensiveList(data) {
  11. return request({
  12. url: `comprehensive/listing?company=${data.company}&targets=${data.targets}&type=${data.type}`,
  13. method: "get",
  14. });
  15. }
  16. // 查询状态监视列表
  17. export function getStatusDatas(data) {
  18. return request({
  19. url: `status/monitor?company=${data.company}&type=${data.type}`,
  20. method: "get",
  21. });
  22. }
  23. // 查询agc监视列表
  24. export function getAgcDatas(data) {
  25. return request({
  26. url: `agc/monitor?company=${data.company}&type=${data.type}`,
  27. method: "get",
  28. });
  29. }