allData.ts 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. import {ElementColumnsList, ResPage, ResultData} from "@/api/interface/index";
  2. import { PORT1 } from "@/api/config/servicePort";
  3. import http from "@/api";
  4. /**
  5. * @name 实时监测报警模块
  6. */
  7. // 获取自动站基本信息
  8. export const getPlatformList = (params: {}) => {
  9. return http.post<ResPage<any>>(PORT1 + `/queryasinfo`, params,{ loading: false });
  10. };
  11. //查询所有人工要素字典表
  12. export const getRgDataList = () => {
  13. return http.post<ResPage<ElementColumnsList[]>>(PORT1 + `/queryalldataList`);
  14. };
  15. //查询观测要素
  16. export const getDataItemList = (params:{}) => {
  17. return http.post<ResPage<any>>(PORT1 + `/querydataitem`,params);
  18. };
  19. //根据条件查询危险天气记录表
  20. export const getTacRecordList = (params:{}) => {
  21. return http.post<ResPage<any>>(PORT1 + `/querytactrecordlist`,params);
  22. };
  23. //查询所有自动站部件字典
  24. export const getYallSensorList = () => {
  25. return http.post<ResPage<any>>(PORT1 + `/queryallsensorlist`);
  26. };
  27. //查询工况数据
  28. export const getStaitemList = (params:{}) => {
  29. return http.post<ResPage<any>>(PORT1 + `/querystaitem`,params);
  30. };
  31. //查询所有自动站部件字典
  32. export const getQuerCertList = (params:{}) => {
  33. return http.post<ResPage<any>>(PORT1 + `/queryascalinfolist`,params);
  34. };
  35. // 统计到报率
  36. export const getArriveList = (params:{}) => {
  37. return http.post<ResPage<any>>(PORT1 + `/censusdataarrive`,params);
  38. };
  39. // 统计自动站定检证书
  40. export const getCertificateList = () => {
  41. return http.post<ResPage<any>>(PORT1 + `/censusascalinfomap`);
  42. };
  43. // 获取FTP链接状态
  44. export const getFTPList = () => {
  45. return http.post<ResPage<any>>(PORT1 + `/censusftpstate`);
  46. };
  47. //获取所有系统配置【queryallsysitem】
  48. export const getQueryAllSysItem = () => {
  49. return http.post<ResPage<any>>(PORT1 + `/queryallsysitem`);
  50. };
  51. //获取所有北斗通信机【queryallbeidouitem】
  52. export const getBeidouAllSysItem = () => {
  53. return http.post<ResPage<any>>(PORT1 + `/queryallbeidouitem`);
  54. };
  55. //获取所有FTP连接【queryallftpitem】
  56. export const getFTPAllSysItem = () => {
  57. return http.post<ResPage<any>>(PORT1 + `/queryallftpitem`);
  58. };
  59. // 获取站点维护记录查询结果
  60. export const getMaintainrecordList = (params:{}) => {
  61. return http.post<ResPage<any>>(PORT1 + `/querymaintainrecord`,params);
  62. };