common.ts 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. export const base = '/survey'
  2. export interface IDataQuery {
  3. checkCode: string
  4. checkResult: string
  5. checkTargetName: string
  6. checkValue: number
  7. collectTime: string
  8. groupId: number
  9. groupName: string
  10. id: number
  11. iscancel: number
  12. partitionId: number
  13. partitionName: string
  14. siteAddress: string
  15. siteId: string
  16. siteName: string
  17. thresholdScope: string
  18. unit: string
  19. }
  20. export interface IDataQueryParam {
  21. /** 数据开始时间 yyyy-MM-dd HH:mm:ss */
  22. beginDate: string
  23. /** 数据结束时间 yyyy-MM-dd HH:mm:ss */
  24. endDate: string
  25. /** 判定结果 多个以,号分割 如果全部就不传 */
  26. checkResult: string
  27. /** 监测指标名称 多个以,号分割 */
  28. checkTargetName: string
  29. /** 数据有效性 不传为全部 只能单选 */
  30. iscancel: string
  31. /** 模糊查询 排水分区、分组、监测站点 */
  32. queryLike: string
  33. }
  34. interface IStatisticsDataItem {
  35. avgValue: string
  36. maxValue: string
  37. minValue: string
  38. xposition: string
  39. }
  40. interface IStatisticsRainFallItem {
  41. avgFall: number
  42. maxFall: number
  43. minFall: number
  44. rfall: number
  45. rfallTotal: number
  46. xposition: string
  47. }
  48. export interface IStatisticsData {
  49. checkCode: string
  50. siteAndIndicateVo: {
  51. yearData: IStatisticsDataItem[]
  52. quarterData: IStatisticsDataItem[]
  53. monthData: IStatisticsDataItem[]
  54. }
  55. }
  56. export interface IStatisticsDayNHour {
  57. datas: {
  58. checkCode: string
  59. statisticalData: IStatisticsDataItem[]
  60. }[]
  61. rainFallVos: IStatisticsRainFallItem[]
  62. xlist: string[]
  63. }
  64. export interface IStatisticsBase {
  65. beginDate: string
  66. endDate: string
  67. days: number
  68. partitionName: string
  69. notes: string
  70. groupByName: string
  71. siteName: string
  72. siteNote: string
  73. longitude: string
  74. latitude: string
  75. }
  76. export interface IAssessmentBase {
  77. assessmentPipes: {
  78. pipeLength: number
  79. pipeLevel: string
  80. pipePerCent: string
  81. }[]
  82. contentGauge: number
  83. coverPipe: number
  84. monitoringPoint: number
  85. pipeLength: number
  86. pipeMonitor: number
  87. waterMonitor: number
  88. }
  89. export interface IAssessmentFlaw {
  90. legendData: string[]
  91. seriesDatas: {
  92. name: string
  93. seriesData: number[]
  94. }[]
  95. xaxis: string[]
  96. }
  97. export interface IAssessmentHealth {
  98. value: number
  99. name: string
  100. }
  101. export interface IAssessmentAssessment {
  102. value: number
  103. name: string
  104. }
  105. export interface IAssessment {
  106. drainageType: string
  107. groundwaterIntrusion: number
  108. healthLever: string
  109. id: number
  110. length: number
  111. networkBroken: number
  112. pipeDiameter: number
  113. pipeNo: string
  114. pipelineLevel: string
  115. rainSewageHybrid: number
  116. roadName: string
  117. sewageStraightLine: number
  118. texture: string
  119. }