@vtx/modals2 2.10.38 → 2.10.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (777) hide show
  1. package/lib/index.js +0 -21
  2. package/lib/index.js.map +1 -1
  3. package/lib/style/index.css +0 -69
  4. package/lib/style/index.less +0 -1
  5. package/lib/style/themes/dark.css +0 -4
  6. package/lib/style/themes/dark.less +0 -2
  7. package/lib/style/themes/default.css +0 -2
  8. package/lib/style/themes/default.less +0 -3
  9. package/lib/style/themes/index.css +0 -4
  10. package/lib/typings.d.ts +1 -1
  11. package/lib/vm-alarm-info/Components/AlarmRecord.js +58 -22
  12. package/lib/vm-alarm-info/Components/AlarmRecord.js.map +1 -1
  13. package/lib/vm-alarm-info/Components/AlarmStatistics.js +87 -21
  14. package/lib/vm-alarm-info/Components/AlarmStatistics.js.map +1 -1
  15. package/lib/vm-alarm-info/Components/AlarmTrend.js +60 -36
  16. package/lib/vm-alarm-info/Components/AlarmTrend.js.map +1 -1
  17. package/lib/vm-alarm-info/Components/CurrentAlarm.js +90 -14
  18. package/lib/vm-alarm-info/Components/CurrentAlarm.js.map +1 -1
  19. package/lib/vm-alarm-info/Components/CurrentAlarmNew.js +2 -2
  20. package/lib/vm-alarm-info/Components/CurrentAlarmNew.js.map +1 -1
  21. package/lib/vm-alarm-info/Components/index.css +4 -8
  22. package/lib/vm-alarm-info/Components/index.less +5 -5
  23. package/lib/vm-alarm-info/api.js +20 -17
  24. package/lib/vm-alarm-info/api.js.map +1 -1
  25. package/lib/vm-alarm-info/index.js +15 -17
  26. package/lib/vm-alarm-info/index.js.map +1 -1
  27. package/lib/vm-alarm-info/style/index.less +11 -11
  28. package/lib/vm-alarm-situation/api.js.map +1 -1
  29. package/lib/vm-alarm-situation/index.js +2 -2
  30. package/lib/vm-alarm-situation/index.js.map +1 -1
  31. package/lib/vm-alarm-situation/style/index.less +1 -1
  32. package/lib/vm-alarm-situation-pt/index.js +2 -2
  33. package/lib/vm-alarm-situation-pt/index.js.map +1 -1
  34. package/lib/vm-alarm-situation-pt/style/index.less +1 -1
  35. package/lib/vm-analysis-comparison/api.js.map +1 -1
  36. package/lib/vm-analysis-comparison/index.js +2 -2
  37. package/lib/vm-analysis-comparison/index.js.map +1 -1
  38. package/lib/vm-analysis-comparison/style/index.less +8 -8
  39. package/lib/vm-appraisal-info/AppraisalBase.js.map +1 -1
  40. package/lib/vm-appraisal-info/AppraisalTop5.js.map +1 -1
  41. package/lib/vm-appraisal-info/List.js +1 -1
  42. package/lib/vm-appraisal-info/List.js.map +1 -1
  43. package/lib/vm-appraisal-info/ListKh.js +1 -1
  44. package/lib/vm-appraisal-info/ListKh.js.map +1 -1
  45. package/lib/vm-appraisal-info/ListZg.js +1 -1
  46. package/lib/vm-appraisal-info/ListZg.js.map +1 -1
  47. package/lib/vm-appraisal-info/Wtlx.js.map +1 -1
  48. package/lib/vm-appraisal-info/Zgxxhz.js.map +1 -1
  49. package/lib/vm-appraisal-info/index.js +2 -2
  50. package/lib/vm-appraisal-info/index.js.map +1 -1
  51. package/lib/vm-base-list/OpenArrow.js +1 -1
  52. package/lib/vm-base-list/OpenArrow.js.map +1 -1
  53. package/lib/vm-base-list/index.js +8 -8
  54. package/lib/vm-base-list/index.js.map +1 -1
  55. package/lib/vm-base-list/style/index.css +7 -7
  56. package/lib/vm-base-list/style/index.less +8 -8
  57. package/lib/vm-button/index.js.map +1 -1
  58. package/lib/vm-charts/Distribute1.js.map +1 -1
  59. package/lib/vm-charts/Line.js +3 -5
  60. package/lib/vm-charts/Line.js.map +1 -1
  61. package/lib/vm-charts/Pie.js +2 -2
  62. package/lib/vm-charts/Pie.js.map +1 -1
  63. package/lib/vm-checkbox/index.js.map +1 -1
  64. package/lib/vm-checkbox/style/index.less +21 -21
  65. package/lib/vm-container/style/index.less +2 -1
  66. package/lib/vm-correlation-comparison/api.js.map +1 -1
  67. package/lib/vm-correlation-comparison/index.js +2 -2
  68. package/lib/vm-correlation-comparison/index.js.map +1 -1
  69. package/lib/vm-correlation-comparison/style/index.less +11 -11
  70. package/lib/vm-empty/index.js.map +1 -1
  71. package/lib/vm-filter/index.js +3 -35
  72. package/lib/vm-filter/index.js.map +1 -1
  73. package/lib/vm-filter/style/index.css +4 -4
  74. package/lib/vm-filter/style/index.less +4 -4
  75. package/lib/vm-info-collection/index.js.map +1 -1
  76. package/lib/vm-map/index.js +66 -23
  77. package/lib/vm-map/index.js.map +1 -1
  78. package/lib/vm-modal-table/style/index.less +18 -18
  79. package/lib/vm-nodata/index.js.map +1 -1
  80. package/lib/vm-real-time-monitor/api.js.map +1 -1
  81. package/lib/vm-real-time-monitor/index.js +2 -2
  82. package/lib/vm-real-time-monitor/index.js.map +1 -1
  83. package/lib/vm-real-time-monitor/style/index.less +9 -10
  84. package/lib/vm-repair-maintain/RmInfoSummary.js.map +1 -1
  85. package/lib/vm-repair-maintain/RmMonthTrend.js.map +1 -1
  86. package/lib/vm-repair-maintain/RmRecord.js +5 -2
  87. package/lib/vm-repair-maintain/RmRecord.js.map +1 -1
  88. package/lib/vm-repair-maintain/RmType.js.map +1 -1
  89. package/lib/vm-repair-maintain/index.js.map +1 -1
  90. package/lib/vm-round-content/index.js +2 -2
  91. package/lib/vm-round-content/index.js.map +1 -1
  92. package/lib/vm-round-content/style/index.less +1 -0
  93. package/lib/vm-select-device/index.js +2 -2
  94. package/lib/vm-select-device/index.js.map +1 -1
  95. package/lib/vm-sub-tabs/index.js.map +1 -1
  96. package/lib/vm-sub-title/index.js.map +1 -1
  97. package/lib/vm-table/index.js +17 -17
  98. package/lib/vm-table/index.js.map +1 -1
  99. package/lib/vm-table/style/index.css +3 -3
  100. package/lib/vm-table/style/index.less +3 -3
  101. package/lib/vm-video/index.css +0 -69
  102. package/lib/vm-video/index.js.map +1 -1
  103. package/lib/vtx-base-modal/index.js +2 -2
  104. package/lib/vtx-base-modal/index.js.map +1 -1
  105. package/lib/vtx-base-modal/style/index.css +2 -2
  106. package/lib/vtx-base-modal/style/index.less +2 -2
  107. package/lib/vtx-car-modal/api.js.map +1 -1
  108. package/lib/vtx-car-modal/components/AlarmInfo/Charts.js.map +1 -1
  109. package/lib/vtx-car-modal/components/AlarmInfo/List.js +2 -2
  110. package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -1
  111. package/lib/vtx-car-modal/components/AlarmInfo/index.js +2 -2
  112. package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -1
  113. package/lib/vtx-car-modal/components/BaseInfo/Charts.js.map +1 -1
  114. package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js.map +1 -1
  115. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js.map +1 -1
  116. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js.map +1 -1
  117. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js.map +1 -1
  118. package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js.map +1 -1
  119. package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js.map +1 -1
  120. package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js.map +1 -1
  121. package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js +1 -1
  122. package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js.map +1 -1
  123. package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js +1 -1
  124. package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js.map +1 -1
  125. package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js +1 -1
  126. package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -1
  127. package/lib/vtx-car-modal/components/BaseInfo/index.js +2 -2
  128. package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -1
  129. package/lib/vtx-car-modal/components/OilConsumption/List.js +1 -1
  130. package/lib/vtx-car-modal/components/OilConsumption/List.js.map +1 -1
  131. package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js.map +1 -1
  132. package/lib/vtx-car-modal/components/OilConsumption/index.js +1 -1
  133. package/lib/vtx-car-modal/components/OilConsumption/index.js.map +1 -1
  134. package/lib/vtx-car-modal/components/StaticInfo/Charts.js.map +1 -1
  135. package/lib/vtx-car-modal/components/StaticInfo/index.js +2 -2
  136. package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -1
  137. package/lib/vtx-car-modal/components/WaterConsumption/index.js +1 -1
  138. package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +1 -1
  139. package/lib/vtx-car-modal/components/WorkInfo/Wcl.js +1 -1
  140. package/lib/vtx-car-modal/components/WorkInfo/Wcl.js.map +1 -1
  141. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js +2 -2
  142. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +1 -1
  143. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js +1 -1
  144. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js.map +1 -1
  145. package/lib/vtx-car-modal/index.js +1 -1
  146. package/lib/vtx-car-modal/index.js.map +1 -1
  147. package/lib/vtx-car-modal/style/index.css +0 -69
  148. package/lib/vtx-cc-cp-modal/api.js +2 -2
  149. package/lib/vtx-cc-cp-modal/api.js.map +1 -1
  150. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +2 -2
  151. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  152. package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js +1 -1
  153. package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  154. package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js +1 -1
  155. package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
  156. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +1 -1
  157. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js.map +1 -1
  158. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +1 -1
  159. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js.map +1 -1
  160. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +1 -1
  161. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js.map +1 -1
  162. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +2 -2
  163. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js.map +1 -1
  164. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js.map +1 -1
  165. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js +2 -2
  166. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js.map +1 -1
  167. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js +1 -1
  168. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js.map +1 -1
  169. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js +1 -1
  170. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js.map +1 -1
  171. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +2 -2
  172. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js.map +1 -1
  173. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +1 -1
  174. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
  175. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +1 -1
  176. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js.map +1 -1
  177. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +1 -1
  178. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js.map +1 -1
  179. package/lib/vtx-cc-cp-modal/components/SyInfo/index.less +1 -0
  180. package/lib/vtx-cc-cp-modal/index.js +1 -1
  181. package/lib/vtx-cc-cp-modal/index.js.map +1 -1
  182. package/lib/vtx-cc-cp-modal/style/index.css +0 -69
  183. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +2 -2
  184. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  185. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  186. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +2 -2
  187. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
  188. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js.map +1 -1
  189. package/lib/vtx-cp-modal/components/BaseInfo/Rules.js.map +1 -1
  190. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js.map +1 -1
  191. package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +1 -1
  192. package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js +2 -2
  193. package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js.map +1 -1
  194. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js.map +1 -1
  195. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +2 -2
  196. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -1
  197. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +1 -1
  198. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
  199. package/lib/vtx-cp-modal/components/SyInfo/index.js +2 -2
  200. package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -1
  201. package/lib/vtx-cp-modal/components/SyInfo/index.less +1 -0
  202. package/lib/vtx-cp-modal/index.js +1 -1
  203. package/lib/vtx-cp-modal/index.js.map +1 -1
  204. package/lib/vtx-cp-modal/style/index.css +0 -69
  205. package/lib/vtx-default-modal/components/BaseInfo/index.js +9 -2
  206. package/lib/vtx-default-modal/components/BaseInfo/index.js.map +1 -1
  207. package/lib/vtx-default-modal/index.js +19 -7
  208. package/lib/vtx-default-modal/index.js.map +1 -1
  209. package/lib/vtx-default-modal/style/index.css +0 -69
  210. package/lib/vtx-device-modal/components/DataAnalysis/index.js +2 -2
  211. package/lib/vtx-device-modal/components/DataAnalysis/index.js.map +1 -1
  212. package/lib/vtx-device-modal/components/OverViewInfo/index.js +2 -2
  213. package/lib/vtx-device-modal/components/OverViewInfo/index.js.map +1 -1
  214. package/lib/vtx-device-modal/config.js +2 -6
  215. package/lib/vtx-device-modal/config.js.map +1 -1
  216. package/lib/vtx-device-modal/index.js +2 -2
  217. package/lib/vtx-device-modal/index.js.map +1 -1
  218. package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js +1 -1
  219. package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js.map +1 -1
  220. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +2 -2
  221. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +1 -1
  222. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +2 -2
  223. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +1 -1
  224. package/lib/vtx-df-modal/components/BaseInfo/Situation.js.map +1 -1
  225. package/lib/vtx-df-modal/components/BaseInfo/index.js +8 -3
  226. package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -1
  227. package/lib/vtx-df-modal/components/Metering/ChartJccc.js +1 -1
  228. package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +1 -1
  229. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +1 -1
  230. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +1 -1
  231. package/lib/vtx-df-modal/components/Metering/List.js +1 -1
  232. package/lib/vtx-df-modal/components/Metering/List.js.map +1 -1
  233. package/lib/vtx-df-modal/components/Metering/index.js +2 -2
  234. package/lib/vtx-df-modal/components/Metering/index.js.map +1 -1
  235. package/lib/vtx-df-modal/components/Metering/index.less +1 -1
  236. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +2 -2
  237. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -1
  238. package/lib/vtx-df-modal/components/WorkCondition/Situation.js +2 -2
  239. package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +1 -1
  240. package/lib/vtx-df-modal/components/WorkCondition/index.js +2 -2
  241. package/lib/vtx-df-modal/components/WorkCondition/index.js.map +1 -1
  242. package/lib/vtx-df-modal/index.js +1 -1
  243. package/lib/vtx-df-modal/index.js.map +1 -1
  244. package/lib/vtx-df-modal/style/index.css +0 -69
  245. package/lib/vtx-facility-modal/api.js +2 -2
  246. package/lib/vtx-facility-modal/api.js.map +1 -1
  247. package/lib/vtx-facility-modal/components/OverView/Left.js.map +1 -1
  248. package/lib/vtx-facility-modal/components/OverView/index.js +2 -2
  249. package/lib/vtx-facility-modal/components/OverView/index.js.map +1 -1
  250. package/lib/vtx-housing-estate-modal/api.js +2 -2
  251. package/lib/vtx-housing-estate-modal/api.js.map +1 -1
  252. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +2 -2
  253. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +1 -1
  254. package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js +2 -2
  255. package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js.map +1 -1
  256. package/lib/vtx-housing-estate-modal/components/Alarm/MY.js +2 -2
  257. package/lib/vtx-housing-estate-modal/components/Alarm/MY.js.map +1 -1
  258. package/lib/vtx-housing-estate-modal/components/Alarm/index.js +2 -2
  259. package/lib/vtx-housing-estate-modal/components/Alarm/index.js.map +1 -1
  260. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +2 -2
  261. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js.map +1 -1
  262. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js.map +1 -1
  263. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +2 -2
  264. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js.map +1 -1
  265. package/lib/vtx-housing-estate-modal/components/SPJK/index.js +2 -2
  266. package/lib/vtx-housing-estate-modal/components/SPJK/index.js.map +1 -1
  267. package/lib/vtx-housing-estate-modal/components/TFRD/index.js +2 -2
  268. package/lib/vtx-housing-estate-modal/components/TFRD/index.js.map +1 -1
  269. package/lib/vtx-housing-estate-modal/components/WGGS/index.js +2 -2
  270. package/lib/vtx-housing-estate-modal/components/WGGS/index.js.map +1 -1
  271. package/lib/vtx-housing-estate-modal/components/WGXW/index.js +2 -2
  272. package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +1 -1
  273. package/lib/vtx-housing-estate-modal/config.js.map +1 -1
  274. package/lib/vtx-kh-modal/index.js +1 -1
  275. package/lib/vtx-kh-modal/index.js.map +1 -1
  276. package/lib/vtx-kh-modal/style/index.css +0 -69
  277. package/lib/vtx-restaurant-modal/api.js +3 -3
  278. package/lib/vtx-restaurant-modal/api.js.map +1 -1
  279. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +1 -1
  280. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +1 -1
  281. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +1 -1
  282. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +1 -1
  283. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +1 -1
  284. package/lib/vtx-restaurant-modal/components/Alarm/index.js +2 -2
  285. package/lib/vtx-restaurant-modal/components/Alarm/index.js.map +1 -1
  286. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +1 -1
  287. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js.map +1 -1
  288. package/lib/vtx-restaurant-modal/components/Basic/Info.js +1 -1
  289. package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +1 -1
  290. package/lib/vtx-restaurant-modal/components/Basic/Summary.js +1 -1
  291. package/lib/vtx-restaurant-modal/components/Basic/index.js +1 -1
  292. package/lib/vtx-restaurant-modal/components/Basic/index.js.map +1 -1
  293. package/lib/vtx-restaurant-modal/components/Collection/index.js +2 -2
  294. package/lib/vtx-restaurant-modal/components/Collection/index.js.map +1 -1
  295. package/lib/vtx-restaurant-modal/index.js +1 -1
  296. package/lib/vtx-restaurant-modal/index.js.map +1 -1
  297. package/lib/vtx-road-modal/api.js.map +1 -1
  298. package/lib/vtx-road-modal/components/BaseInfo/Rules.js.map +1 -1
  299. package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js.map +1 -1
  300. package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js.map +1 -1
  301. package/lib/vtx-road-modal/components/BaseInfo/index.js.map +1 -1
  302. package/lib/vtx-road-modal/components/Statistical/Zylc.js +1 -1
  303. package/lib/vtx-road-modal/components/Statistical/Zylc.js.map +1 -1
  304. package/lib/vtx-road-modal/components/Statistical/Zywcl.js +1 -1
  305. package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +1 -1
  306. package/lib/vtx-road-modal/components/Statistical/index.js +1 -1
  307. package/lib/vtx-road-modal/components/Statistical/index.js.map +1 -1
  308. package/lib/vtx-road-modal/index.js +1 -1
  309. package/lib/vtx-road-modal/index.js.map +1 -1
  310. package/lib/vtx-road-modal/style/index.css +0 -69
  311. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js.map +1 -1
  312. package/lib/vtx-staff-modal/components/AlarmInfo/List.js +1 -1
  313. package/lib/vtx-staff-modal/components/AlarmInfo/List.js.map +1 -1
  314. package/lib/vtx-staff-modal/components/AlarmInfo/index.js +2 -2
  315. package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +1 -1
  316. package/lib/vtx-staff-modal/components/Attendance/Exeception.js.map +1 -1
  317. package/lib/vtx-staff-modal/components/Attendance/Record.js +1 -1
  318. package/lib/vtx-staff-modal/components/Attendance/Record.js.map +1 -1
  319. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js.map +1 -1
  320. package/lib/vtx-staff-modal/components/Attendance/index.js.map +1 -1
  321. package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js +1 -1
  322. package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js.map +1 -1
  323. package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js.map +1 -1
  324. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js.map +1 -1
  325. package/lib/vtx-staff-modal/components/BaseInfo/index.js +2 -2
  326. package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -1
  327. package/lib/vtx-staff-modal/index.js +1 -1
  328. package/lib/vtx-staff-modal/index.js.map +1 -1
  329. package/lib/vtx-staff-modal/style/index.css +0 -69
  330. package/lib/vtx-theme-provider/index.js.map +1 -1
  331. package/lib/vtx-throw-point-modal/api.js +2 -2
  332. package/lib/vtx-throw-point-modal/api.js.map +1 -1
  333. package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js +2 -2
  334. package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js.map +1 -1
  335. package/lib/vtx-throw-point-modal/components/Alarm/LDB.js +2 -2
  336. package/lib/vtx-throw-point-modal/components/Alarm/LDB.js.map +1 -1
  337. package/lib/vtx-throw-point-modal/components/Alarm/MY.js +2 -2
  338. package/lib/vtx-throw-point-modal/components/Alarm/MY.js.map +1 -1
  339. package/lib/vtx-throw-point-modal/components/Alarm/index.js +2 -2
  340. package/lib/vtx-throw-point-modal/components/Alarm/index.js.map +1 -1
  341. package/lib/vtx-throw-point-modal/components/OverView/Hot.js +2 -2
  342. package/lib/vtx-throw-point-modal/components/OverView/Hot.js.map +1 -1
  343. package/lib/vtx-throw-point-modal/components/OverView/Left.js.map +1 -1
  344. package/lib/vtx-throw-point-modal/components/OverView/Manage.js.map +1 -1
  345. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js +2 -2
  346. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js.map +1 -1
  347. package/lib/vtx-throw-point-modal/components/SBZJ/Content.js.map +1 -1
  348. package/lib/vtx-throw-point-modal/components/SBZJ/index.js +2 -2
  349. package/lib/vtx-throw-point-modal/components/SBZJ/index.js.map +1 -1
  350. package/lib/vtx-throw-point-modal/components/TFRD/index.js +2 -2
  351. package/lib/vtx-throw-point-modal/components/TFRD/index.js.map +1 -1
  352. package/lib/vtx-throw-point-modal/components/WGGS/index.js +2 -2
  353. package/lib/vtx-throw-point-modal/components/WGGS/index.js.map +1 -1
  354. package/lib/vtx-throw-point-modal/components/WGXW/index.js +2 -2
  355. package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +1 -1
  356. package/lib/vtx-throw-point-modal/config.js.map +1 -1
  357. package/lib/vtx-wr-modal/api.js.map +1 -1
  358. package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js +2 -2
  359. package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  360. package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  361. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js +2 -2
  362. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -1
  363. package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js.map +1 -1
  364. package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js +7 -2
  365. package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js.map +1 -1
  366. package/lib/vtx-wr-modal/components/BaseInfo/Situation.js.map +1 -1
  367. package/lib/vtx-wr-modal/components/BaseInfo/index.css +1 -1
  368. package/lib/vtx-wr-modal/components/BaseInfo/index.js +7 -6
  369. package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -1
  370. package/lib/vtx-wr-modal/components/BaseInfo/index.less +1 -1
  371. package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js +1 -1
  372. package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js.map +1 -1
  373. package/lib/vtx-wr-modal/components/Evaluate/Radar.js.map +1 -1
  374. package/lib/vtx-wr-modal/components/Evaluate/Summary.js +2 -2
  375. package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -1
  376. package/lib/vtx-wr-modal/components/Evaluate/index.js +1 -1
  377. package/lib/vtx-wr-modal/components/Evaluate/index.js.map +1 -1
  378. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +2 -2
  379. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +1 -1
  380. package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js.map +1 -1
  381. package/lib/vtx-wr-modal/index.js +1 -1
  382. package/lib/vtx-wr-modal/index.js.map +1 -1
  383. package/lib/vtx-wr-modal/style/index.css +0 -69
  384. package/lib/vtx-zg-modal/components/BaseInfo/index.js.map +1 -1
  385. package/lib/vtx-zg-modal/index.js +1 -1
  386. package/lib/vtx-zg-modal/index.js.map +1 -1
  387. package/lib/vtx-zg-modal/style/index.css +0 -69
  388. package/package.json +5 -1
  389. package/lib/style/themesHZ/dark.css +0 -65
  390. package/lib/style/themesHZ/dark.less +0 -70
  391. package/lib/style/themesHZ/default.css +0 -20
  392. package/lib/style/themesHZ/default.less +0 -24
  393. package/lib/style/themesHZ/index.css +0 -65
  394. package/lib/style/themesHZ/index.less +0 -1
  395. package/lib/vm-alarm-situation/assets/downIcon.png +0 -0
  396. package/lib/vm-alarm-situation/assets/upIcon.png +0 -0
  397. package/lib/vm-alarm-situation-pt/assets/downIcon.png +0 -0
  398. package/lib/vm-alarm-situation-pt/assets/upIcon.png +0 -0
  399. package/lib/vm-common-components/assets/levelBg.png +0 -0
  400. package/lib/vm-common-components/assets/timeBg.png +0 -0
  401. package/lib/vm-common-components/common/index.js +0 -28
  402. package/lib/vm-common-components/common/index.js.map +0 -1
  403. package/lib/vm-common-components/common/vm-modal/assets/honeycomb.png +0 -0
  404. package/lib/vm-common-components/common/vm-modal/assets/titleBg.png +0 -0
  405. package/lib/vm-common-components/common/vm-modal/index.js +0 -35
  406. package/lib/vm-common-components/common/vm-modal/index.js.map +0 -1
  407. package/lib/vm-common-components/common/vm-modal/style/css.js +0 -4
  408. package/lib/vm-common-components/common/vm-modal/style/css.js.map +0 -1
  409. package/lib/vm-common-components/common/vm-modal/style/index.css +0 -94
  410. package/lib/vm-common-components/common/vm-modal/style/index.js +0 -4
  411. package/lib/vm-common-components/common/vm-modal/style/index.js.map +0 -1
  412. package/lib/vm-common-components/common/vm-modal/style/index.less +0 -108
  413. package/lib/vm-common-components/common/vm-scrollable/index.js +0 -51
  414. package/lib/vm-common-components/common/vm-scrollable/index.js.map +0 -1
  415. package/lib/vm-common-components/common/vm-scrollable/style/css.js +0 -4
  416. package/lib/vm-common-components/common/vm-scrollable/style/css.js.map +0 -1
  417. package/lib/vm-common-components/common/vm-scrollable/style/index.css +0 -15
  418. package/lib/vm-common-components/common/vm-scrollable/style/index.js +0 -4
  419. package/lib/vm-common-components/common/vm-scrollable/style/index.js.map +0 -1
  420. package/lib/vm-common-components/common/vm-scrollable/style/index.less +0 -18
  421. package/lib/vm-common-components/common/vm-scrollableRow/index.js +0 -185
  422. package/lib/vm-common-components/common/vm-scrollableRow/index.js.map +0 -1
  423. package/lib/vm-common-components/common/vm-scrollableRow/style/css.js +0 -4
  424. package/lib/vm-common-components/common/vm-scrollableRow/style/css.js.map +0 -1
  425. package/lib/vm-common-components/common/vm-scrollableRow/style/index.css +0 -110
  426. package/lib/vm-common-components/common/vm-scrollableRow/style/index.js +0 -4
  427. package/lib/vm-common-components/common/vm-scrollableRow/style/index.js.map +0 -1
  428. package/lib/vm-common-components/common/vm-scrollableRow/style/index.less +0 -113
  429. package/lib/vm-common-components/common/vm-select/index.js +0 -22
  430. package/lib/vm-common-components/common/vm-select/index.js.map +0 -1
  431. package/lib/vm-common-components/common/vm-select/style/css.js +0 -4
  432. package/lib/vm-common-components/common/vm-select/style/css.js.map +0 -1
  433. package/lib/vm-common-components/common/vm-select/style/index.css +0 -47
  434. package/lib/vm-common-components/common/vm-select/style/index.js +0 -4
  435. package/lib/vm-common-components/common/vm-select/style/index.js.map +0 -1
  436. package/lib/vm-common-components/common/vm-select/style/index.less +0 -51
  437. package/lib/vm-common-components/common/vm-tabs/assets/honeycomb.png +0 -0
  438. package/lib/vm-common-components/common/vm-tabs/assets/titleBg.png +0 -0
  439. package/lib/vm-common-components/common/vm-tabs/index.js +0 -80
  440. package/lib/vm-common-components/common/vm-tabs/index.js.map +0 -1
  441. package/lib/vm-common-components/common/vm-tabs/style/css.js +0 -4
  442. package/lib/vm-common-components/common/vm-tabs/style/css.js.map +0 -1
  443. package/lib/vm-common-components/common/vm-tabs/style/index.css +0 -68
  444. package/lib/vm-common-components/common/vm-tabs/style/index.js +0 -4
  445. package/lib/vm-common-components/common/vm-tabs/style/index.js.map +0 -1
  446. package/lib/vm-common-components/common/vm-tabs/style/index.less +0 -60
  447. package/lib/vm-common-components/components/Compare/index.js +0 -52
  448. package/lib/vm-common-components/components/Compare/index.js.map +0 -1
  449. package/lib/vm-common-components/components/Compare/style/css.js +0 -4
  450. package/lib/vm-common-components/components/Compare/style/css.js.map +0 -1
  451. package/lib/vm-common-components/components/Compare/style/index.css +0 -40
  452. package/lib/vm-common-components/components/Compare/style/index.js +0 -4
  453. package/lib/vm-common-components/components/Compare/style/index.js.map +0 -1
  454. package/lib/vm-common-components/components/Compare/style/index.less +0 -35
  455. package/lib/vm-common-components/components/ImagesGroup/index.js +0 -30
  456. package/lib/vm-common-components/components/ImagesGroup/index.js.map +0 -1
  457. package/lib/vm-common-components/components/ImagesGroup/style/css.js +0 -4
  458. package/lib/vm-common-components/components/ImagesGroup/style/css.js.map +0 -1
  459. package/lib/vm-common-components/components/ImagesGroup/style/index.css +0 -11
  460. package/lib/vm-common-components/components/ImagesGroup/style/index.js +0 -4
  461. package/lib/vm-common-components/components/ImagesGroup/style/index.js.map +0 -1
  462. package/lib/vm-common-components/components/ImagesGroup/style/index.less +0 -11
  463. package/lib/vm-common-components/components/Portrait/LinePortrait.js +0 -155
  464. package/lib/vm-common-components/components/Portrait/LinePortrait.js.map +0 -1
  465. package/lib/vm-common-components/components/Portrait/PointPortrait.js +0 -125
  466. package/lib/vm-common-components/components/Portrait/PointPortrait.js.map +0 -1
  467. package/lib/vm-common-components/components/Portrait/api.js +0 -92
  468. package/lib/vm-common-components/components/Portrait/api.js.map +0 -1
  469. package/lib/vm-common-components/components/Portrait/imgs/dx.svg +0 -6
  470. package/lib/vm-common-components/components/Portrait/imgs/gj.svg +0 -7
  471. package/lib/vm-common-components/components/Portrait/imgs/jt.svg +0 -6
  472. package/lib/vm-common-components/components/Portrait/imgs/pipeline.jpg +0 -0
  473. package/lib/vm-common-components/components/Portrait/imgs/point.jpg +0 -0
  474. package/lib/vm-common-components/components/Portrait/style/css.js +0 -4
  475. package/lib/vm-common-components/components/Portrait/style/css.js.map +0 -1
  476. package/lib/vm-common-components/components/Portrait/style/index.css +0 -244
  477. package/lib/vm-common-components/components/Portrait/style/index.js +0 -4
  478. package/lib/vm-common-components/components/Portrait/style/index.js.map +0 -1
  479. package/lib/vm-common-components/components/Portrait/style/index.less +0 -226
  480. package/lib/vm-common-components/components/RadionButton/index.js +0 -44
  481. package/lib/vm-common-components/components/RadionButton/index.js.map +0 -1
  482. package/lib/vm-common-components/components/RadionButton/style/css.js +0 -4
  483. package/lib/vm-common-components/components/RadionButton/style/css.js.map +0 -1
  484. package/lib/vm-common-components/components/RadionButton/style/index.css +0 -35
  485. package/lib/vm-common-components/components/RadionButton/style/index.js +0 -4
  486. package/lib/vm-common-components/components/RadionButton/style/index.js.map +0 -1
  487. package/lib/vm-common-components/components/RadionButton/style/index.less +0 -25
  488. package/lib/vm-common-components/components/Statistics/index.js +0 -177
  489. package/lib/vm-common-components/components/Statistics/index.js.map +0 -1
  490. package/lib/vm-common-components/components/Statistics/style/css.js +0 -4
  491. package/lib/vm-common-components/components/Statistics/style/css.js.map +0 -1
  492. package/lib/vm-common-components/components/Statistics/style/index.css +0 -75
  493. package/lib/vm-common-components/components/Statistics/style/index.js +0 -4
  494. package/lib/vm-common-components/components/Statistics/style/index.js.map +0 -1
  495. package/lib/vm-common-components/components/Statistics/style/index.less +0 -68
  496. package/lib/vm-common-components/components/SubTitle/assets/arrow.png +0 -0
  497. package/lib/vm-common-components/components/SubTitle/index.js +0 -61
  498. package/lib/vm-common-components/components/SubTitle/index.js.map +0 -1
  499. package/lib/vm-common-components/components/SubTitle/style/css.js +0 -2
  500. package/lib/vm-common-components/components/SubTitle/style/css.js.map +0 -1
  501. package/lib/vm-common-components/components/SubTitle/style/index.css +0 -64
  502. package/lib/vm-common-components/components/SubTitle/style/index.js +0 -2
  503. package/lib/vm-common-components/components/SubTitle/style/index.js.map +0 -1
  504. package/lib/vm-common-components/components/SubTitle/style/index.less +0 -63
  505. package/lib/vm-common-components/components/TimePeriodSwitch/assets/active.png +0 -0
  506. package/lib/vm-common-components/components/TimePeriodSwitch/assets/normal.png +0 -0
  507. package/lib/vm-common-components/components/TimePeriodSwitch/index.js +0 -48
  508. package/lib/vm-common-components/components/TimePeriodSwitch/index.js.map +0 -1
  509. package/lib/vm-common-components/components/TimePeriodSwitch/style/index.css +0 -70
  510. package/lib/vm-common-components/components/TimePeriodSwitch/style/index.less +0 -44
  511. package/lib/vm-common-components/components/index.js +0 -114
  512. package/lib/vm-common-components/components/index.js.map +0 -1
  513. package/lib/vm-common-components/components/vm-alarm-title/imgs/alarm.png +0 -0
  514. package/lib/vm-common-components/components/vm-alarm-title/index.js +0 -31
  515. package/lib/vm-common-components/components/vm-alarm-title/index.js.map +0 -1
  516. package/lib/vm-common-components/components/vm-alarm-title/style/css.js +0 -4
  517. package/lib/vm-common-components/components/vm-alarm-title/style/css.js.map +0 -1
  518. package/lib/vm-common-components/components/vm-alarm-title/style/index.css +0 -25
  519. package/lib/vm-common-components/components/vm-alarm-title/style/index.js +0 -4
  520. package/lib/vm-common-components/components/vm-alarm-title/style/index.js.map +0 -1
  521. package/lib/vm-common-components/components/vm-alarm-title/style/index.less +0 -25
  522. package/lib/vm-common-components/components/vm-chart/index.css +0 -9
  523. package/lib/vm-common-components/components/vm-chart/index.js +0 -389
  524. package/lib/vm-common-components/components/vm-chart/index.js.map +0 -1
  525. package/lib/vm-common-components/components/vm-chart/index.less +0 -12
  526. package/lib/vm-common-components/components/vm-collect/api.js +0 -35
  527. package/lib/vm-common-components/components/vm-collect/api.js.map +0 -1
  528. package/lib/vm-common-components/components/vm-collect/imgs/collect.png +0 -0
  529. package/lib/vm-common-components/components/vm-collect/imgs/collect_light.png +0 -0
  530. package/lib/vm-common-components/components/vm-collect/index.js +0 -66
  531. package/lib/vm-common-components/components/vm-collect/index.js.map +0 -1
  532. package/lib/vm-common-components/components/vm-collect/style/css.js +0 -4
  533. package/lib/vm-common-components/components/vm-collect/style/css.js.map +0 -1
  534. package/lib/vm-common-components/components/vm-collect/style/index.css +0 -17
  535. package/lib/vm-common-components/components/vm-collect/style/index.js +0 -4
  536. package/lib/vm-common-components/components/vm-collect/style/index.js.map +0 -1
  537. package/lib/vm-common-components/components/vm-collect/style/index.less +0 -13
  538. package/lib/vm-common-components/components/vm-container/index.js +0 -48
  539. package/lib/vm-common-components/components/vm-container/index.js.map +0 -1
  540. package/lib/vm-common-components/components/vm-container/style/css.js +0 -4
  541. package/lib/vm-common-components/components/vm-container/style/css.js.map +0 -1
  542. package/lib/vm-common-components/components/vm-container/style/index.css +0 -14
  543. package/lib/vm-common-components/components/vm-container/style/index.js +0 -4
  544. package/lib/vm-common-components/components/vm-container/style/index.js.map +0 -1
  545. package/lib/vm-common-components/components/vm-container/style/index.less +0 -16
  546. package/lib/vm-common-components/components/vm-defects/api.js +0 -60
  547. package/lib/vm-common-components/components/vm-defects/api.js.map +0 -1
  548. package/lib/vm-common-components/components/vm-defects/index.js +0 -127
  549. package/lib/vm-common-components/components/vm-defects/index.js.map +0 -1
  550. package/lib/vm-common-components/components/vm-defects/style/css.js +0 -4
  551. package/lib/vm-common-components/components/vm-defects/style/css.js.map +0 -1
  552. package/lib/vm-common-components/components/vm-defects/style/index.css +0 -27
  553. package/lib/vm-common-components/components/vm-defects/style/index.js +0 -4
  554. package/lib/vm-common-components/components/vm-defects/style/index.js.map +0 -1
  555. package/lib/vm-common-components/components/vm-defects/style/index.less +0 -23
  556. package/lib/vm-common-components/components/vm-nodata/imgs/no_chart.png +0 -0
  557. package/lib/vm-common-components/components/vm-nodata/imgs/no_data.png +0 -0
  558. package/lib/vm-common-components/components/vm-nodata/imgs/no_data_2.png +0 -0
  559. package/lib/vm-common-components/components/vm-nodata/imgs/no_news.png +0 -0
  560. package/lib/vm-common-components/components/vm-nodata/imgs/no_permission.png +0 -0
  561. package/lib/vm-common-components/components/vm-nodata/imgs/no_picture.png +0 -0
  562. package/lib/vm-common-components/components/vm-nodata/imgs/no_result.png +0 -0
  563. package/lib/vm-common-components/components/vm-nodata/imgs/page_error.png +0 -0
  564. package/lib/vm-common-components/components/vm-nodata/index.js +0 -77
  565. package/lib/vm-common-components/components/vm-nodata/index.js.map +0 -1
  566. package/lib/vm-common-components/components/vm-nodata/style/css.js +0 -4
  567. package/lib/vm-common-components/components/vm-nodata/style/css.js.map +0 -1
  568. package/lib/vm-common-components/components/vm-nodata/style/index.css +0 -27
  569. package/lib/vm-common-components/components/vm-nodata/style/index.js +0 -4
  570. package/lib/vm-common-components/components/vm-nodata/style/index.js.map +0 -1
  571. package/lib/vm-common-components/components/vm-nodata/style/index.less +0 -20
  572. package/lib/vm-common-components/components/vm-radar/index.js +0 -82
  573. package/lib/vm-common-components/components/vm-radar/index.js.map +0 -1
  574. package/lib/vm-common-components/components/vm-water-wave/index.css +0 -51
  575. package/lib/vm-common-components/components/vm-water-wave/index.js +0 -161
  576. package/lib/vm-common-components/components/vm-water-wave/index.js.map +0 -1
  577. package/lib/vm-common-components/components/vm-water-wave/index.less +0 -56
  578. package/lib/vm-common-components/index.js +0 -331
  579. package/lib/vm-common-components/index.js.map +0 -1
  580. package/lib/vm-common-components/style/css.js +0 -4
  581. package/lib/vm-common-components/style/css.js.map +0 -1
  582. package/lib/vm-common-components/style/index.css +0 -153
  583. package/lib/vm-common-components/style/index.js +0 -4
  584. package/lib/vm-common-components/style/index.js.map +0 -1
  585. package/lib/vm-common-components/style/index.less +0 -1
  586. package/lib/vtx-base-modal-hz/index.js +0 -42
  587. package/lib/vtx-base-modal-hz/index.js.map +0 -1
  588. package/lib/vtx-health-modal/api.js +0 -225
  589. package/lib/vtx-health-modal/api.js.map +0 -1
  590. package/lib/vtx-health-modal/components/Health/index.js +0 -307
  591. package/lib/vtx-health-modal/components/Health/index.js.map +0 -1
  592. package/lib/vtx-health-modal/components/Health/style/css.js +0 -4
  593. package/lib/vtx-health-modal/components/Health/style/css.js.map +0 -1
  594. package/lib/vtx-health-modal/components/Health/style/index.css +0 -25
  595. package/lib/vtx-health-modal/components/Health/style/index.js +0 -4
  596. package/lib/vtx-health-modal/components/Health/style/index.js.map +0 -1
  597. package/lib/vtx-health-modal/components/Health/style/index.less +0 -32
  598. package/lib/vtx-health-modal/index.js +0 -37
  599. package/lib/vtx-health-modal/index.js.map +0 -1
  600. package/lib/vtx-health-modal/style/css.js +0 -4
  601. package/lib/vtx-health-modal/style/css.js.map +0 -1
  602. package/lib/vtx-health-modal/style/index.css +0 -0
  603. package/lib/vtx-health-modal/style/index.js +0 -4
  604. package/lib/vtx-health-modal/style/index.js.map +0 -1
  605. package/lib/vtx-health-modal/style/index.less +0 -0
  606. package/lib/vtx-hz-facility-modal/api.js +0 -1351
  607. package/lib/vtx-hz-facility-modal/api.js.map +0 -1
  608. package/lib/vtx-hz-facility-modal/components/BJGK/index.js +0 -171
  609. package/lib/vtx-hz-facility-modal/components/BJGK/index.js.map +0 -1
  610. package/lib/vtx-hz-facility-modal/components/BaseInfo/index.css +0 -11
  611. package/lib/vtx-hz-facility-modal/components/BaseInfo/index.js +0 -39
  612. package/lib/vtx-hz-facility-modal/components/BaseInfo/index.js.map +0 -1
  613. package/lib/vtx-hz-facility-modal/components/BaseInfo/index.less +0 -7
  614. package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/index.js +0 -24
  615. package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/index.js.map +0 -1
  616. package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/css.js +0 -4
  617. package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/css.js.map +0 -1
  618. package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/index.css +0 -36
  619. package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/index.js +0 -4
  620. package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/index.js.map +0 -1
  621. package/lib/vtx-hz-facility-modal/components/CommonOverViewInfo/style/index.less +0 -26
  622. package/lib/vtx-hz-facility-modal/components/DetectedData/index.js +0 -231
  623. package/lib/vtx-hz-facility-modal/components/DetectedData/index.js.map +0 -1
  624. package/lib/vtx-hz-facility-modal/components/DetectedData/style/css.js +0 -4
  625. package/lib/vtx-hz-facility-modal/components/DetectedData/style/css.js.map +0 -1
  626. package/lib/vtx-hz-facility-modal/components/DetectedData/style/index.js +0 -4
  627. package/lib/vtx-hz-facility-modal/components/DetectedData/style/index.js.map +0 -1
  628. package/lib/vtx-hz-facility-modal/components/DetectedData/style/inedx.css +0 -0
  629. package/lib/vtx-hz-facility-modal/components/DetectedData/style/inedx.less +0 -0
  630. package/lib/vtx-hz-facility-modal/components/FacilityFile/index.js +0 -33
  631. package/lib/vtx-hz-facility-modal/components/FacilityFile/index.js.map +0 -1
  632. package/lib/vtx-hz-facility-modal/components/FacilityFile/style/css.js +0 -4
  633. package/lib/vtx-hz-facility-modal/components/FacilityFile/style/css.js.map +0 -1
  634. package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.css +0 -22
  635. package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.js +0 -4
  636. package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.js.map +0 -1
  637. package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.less +0 -22
  638. package/lib/vtx-hz-facility-modal/components/FacilityFile1/index.js +0 -101
  639. package/lib/vtx-hz-facility-modal/components/FacilityFile1/index.js.map +0 -1
  640. package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/css.js +0 -4
  641. package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/css.js.map +0 -1
  642. package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.css +0 -30
  643. package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.js +0 -4
  644. package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.js.map +0 -1
  645. package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.less +0 -30
  646. package/lib/vtx-hz-facility-modal/components/FacilityFile2/index.js +0 -326
  647. package/lib/vtx-hz-facility-modal/components/FacilityFile2/index.js.map +0 -1
  648. package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/css.js +0 -4
  649. package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/css.js.map +0 -1
  650. package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.css +0 -15
  651. package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.js +0 -4
  652. package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.js.map +0 -1
  653. package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.less +0 -15
  654. package/lib/vtx-hz-facility-modal/components/FacilityFileLine/index.js +0 -41
  655. package/lib/vtx-hz-facility-modal/components/FacilityFileLine/index.js.map +0 -1
  656. package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/index.js +0 -43
  657. package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/index.js.map +0 -1
  658. package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/css.js +0 -4
  659. package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/css.js.map +0 -1
  660. package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/index.css +0 -30
  661. package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/index.js +0 -4
  662. package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/index.js.map +0 -1
  663. package/lib/vtx-hz-facility-modal/components/FacilityFilePoint/style/index.less +0 -34
  664. package/lib/vtx-hz-facility-modal/components/Flaw/index.js +0 -54
  665. package/lib/vtx-hz-facility-modal/components/Flaw/index.js.map +0 -1
  666. package/lib/vtx-hz-facility-modal/components/Flaw/style/css.js +0 -4
  667. package/lib/vtx-hz-facility-modal/components/Flaw/style/css.js.map +0 -1
  668. package/lib/vtx-hz-facility-modal/components/Flaw/style/index.css +0 -3
  669. package/lib/vtx-hz-facility-modal/components/Flaw/style/index.js +0 -4
  670. package/lib/vtx-hz-facility-modal/components/Flaw/style/index.js.map +0 -1
  671. package/lib/vtx-hz-facility-modal/components/Flaw/style/index.less +0 -3
  672. package/lib/vtx-hz-facility-modal/components/HasDevicePoint/index.js +0 -46
  673. package/lib/vtx-hz-facility-modal/components/HasDevicePoint/index.js.map +0 -1
  674. package/lib/vtx-hz-facility-modal/components/HealthRadar/index.js +0 -94
  675. package/lib/vtx-hz-facility-modal/components/HealthRadar/index.js.map +0 -1
  676. package/lib/vtx-hz-facility-modal/components/MonitorData/index.js +0 -388
  677. package/lib/vtx-hz-facility-modal/components/MonitorData/index.js.map +0 -1
  678. package/lib/vtx-hz-facility-modal/components/MonitorData/style/css.js +0 -4
  679. package/lib/vtx-hz-facility-modal/components/MonitorData/style/css.js.map +0 -1
  680. package/lib/vtx-hz-facility-modal/components/MonitorData/style/index.js +0 -4
  681. package/lib/vtx-hz-facility-modal/components/MonitorData/style/index.js.map +0 -1
  682. package/lib/vtx-hz-facility-modal/components/MonitorData/style/inedx.css +0 -4
  683. package/lib/vtx-hz-facility-modal/components/MonitorData/style/inedx.less +0 -4
  684. package/lib/vtx-hz-facility-modal/components/NoDevicePoint/index.js +0 -43
  685. package/lib/vtx-hz-facility-modal/components/NoDevicePoint/index.js.map +0 -1
  686. package/lib/vtx-hz-facility-modal/components/OverViewInfo/index.js +0 -46
  687. package/lib/vtx-hz-facility-modal/components/OverViewInfo/index.js.map +0 -1
  688. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/index.js +0 -437
  689. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/index.js.map +0 -1
  690. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/css.js +0 -4
  691. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/css.js.map +0 -1
  692. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.css +0 -55
  693. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.js +0 -4
  694. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.js.map +0 -1
  695. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.less +0 -42
  696. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/index.js +0 -253
  697. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/index.js.map +0 -1
  698. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/css.js +0 -4
  699. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/css.js.map +0 -1
  700. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.css +0 -63
  701. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.js +0 -4
  702. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.js.map +0 -1
  703. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.less +0 -50
  704. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/index.js +0 -97
  705. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/index.js.map +0 -1
  706. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/css.js +0 -4
  707. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/css.js.map +0 -1
  708. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.css +0 -15
  709. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.js +0 -4
  710. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.js.map +0 -1
  711. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.less +0 -16
  712. package/lib/vtx-hz-facility-modal/components/OverViewInfo4/index.js +0 -138
  713. package/lib/vtx-hz-facility-modal/components/OverViewInfo4/index.js.map +0 -1
  714. package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/css.js +0 -4
  715. package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/css.js.map +0 -1
  716. package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/index.css +0 -10
  717. package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/index.js +0 -4
  718. package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/index.js.map +0 -1
  719. package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/index.less +0 -10
  720. package/lib/vtx-hz-facility-modal/components/OverViewLine/index.js +0 -51
  721. package/lib/vtx-hz-facility-modal/components/OverViewLine/index.js.map +0 -1
  722. package/lib/vtx-hz-facility-modal/components/OverViewPoint/index.js +0 -16
  723. package/lib/vtx-hz-facility-modal/components/OverViewPoint/index.js.map +0 -1
  724. package/lib/vtx-hz-facility-modal/components/OverViewPoint/style/index.css +0 -55
  725. package/lib/vtx-hz-facility-modal/components/OverViewPoint/style/index.less +0 -42
  726. package/lib/vtx-hz-facility-modal/components/PipeLine/index.js +0 -44
  727. package/lib/vtx-hz-facility-modal/components/PipeLine/index.js.map +0 -1
  728. package/lib/vtx-hz-facility-modal/components/PipeLine/style/css.js +0 -4
  729. package/lib/vtx-hz-facility-modal/components/PipeLine/style/css.js.map +0 -1
  730. package/lib/vtx-hz-facility-modal/components/PipeLine/style/index.css +0 -36
  731. package/lib/vtx-hz-facility-modal/components/PipeLine/style/index.js +0 -4
  732. package/lib/vtx-hz-facility-modal/components/PipeLine/style/index.js.map +0 -1
  733. package/lib/vtx-hz-facility-modal/components/PipeLine/style/index.less +0 -26
  734. package/lib/vtx-hz-facility-modal/components/PipePoint/index.js +0 -69
  735. package/lib/vtx-hz-facility-modal/components/PipePoint/index.js.map +0 -1
  736. package/lib/vtx-hz-facility-modal/components/PipePoint/style/css.js +0 -4
  737. package/lib/vtx-hz-facility-modal/components/PipePoint/style/css.js.map +0 -1
  738. package/lib/vtx-hz-facility-modal/components/PipePoint/style/index.css +0 -36
  739. package/lib/vtx-hz-facility-modal/components/PipePoint/style/index.js +0 -4
  740. package/lib/vtx-hz-facility-modal/components/PipePoint/style/index.js.map +0 -1
  741. package/lib/vtx-hz-facility-modal/components/PipePoint/style/index.less +0 -26
  742. package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.css +0 -72
  743. package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.js +0 -156
  744. package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.js.map +0 -1
  745. package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/CustomRatingChart/index.less +0 -48
  746. package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/RadarCharts/index.js +0 -110
  747. package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/RadarCharts/index.js.map +0 -1
  748. package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/index.css +0 -77
  749. package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/index.js +0 -343
  750. package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/index.js.map +0 -1
  751. package/lib/vtx-hz-facility-modal/components/PipelineHealthRating/index.less +0 -62
  752. package/lib/vtx-hz-facility-modal/components/RealTime/index.js +0 -55
  753. package/lib/vtx-hz-facility-modal/components/RealTime/index.js.map +0 -1
  754. package/lib/vtx-hz-facility-modal/components/Record/index.js +0 -120
  755. package/lib/vtx-hz-facility-modal/components/Record/index.js.map +0 -1
  756. package/lib/vtx-hz-facility-modal/components/RecordOrder/index.js +0 -125
  757. package/lib/vtx-hz-facility-modal/components/RecordOrder/index.js.map +0 -1
  758. package/lib/vtx-hz-facility-modal/components/RecordOrderWrap/index.js +0 -88
  759. package/lib/vtx-hz-facility-modal/components/RecordOrderWrap/index.js.map +0 -1
  760. package/lib/vtx-hz-facility-modal/components/RecordTask/index.js +0 -137
  761. package/lib/vtx-hz-facility-modal/components/RecordTask/index.js.map +0 -1
  762. package/lib/vtx-hz-facility-modal/components/RecordTaskWrap/index.js +0 -88
  763. package/lib/vtx-hz-facility-modal/components/RecordTaskWrap/index.js.map +0 -1
  764. package/lib/vtx-hz-facility-modal/components/RelevanceDevice/index.js +0 -86
  765. package/lib/vtx-hz-facility-modal/components/RelevanceDevice/index.js.map +0 -1
  766. package/lib/vtx-hz-facility-modal/components/YWGL/index.js +0 -150
  767. package/lib/vtx-hz-facility-modal/components/YWGL/index.js.map +0 -1
  768. package/lib/vtx-hz-facility-modal/components/index.js +0 -28
  769. package/lib/vtx-hz-facility-modal/components/index.js.map +0 -1
  770. package/lib/vtx-hz-facility-modal/index.js +0 -132
  771. package/lib/vtx-hz-facility-modal/index.js.map +0 -1
  772. package/lib/vtx-hz-facility-modal/style/css.js +0 -4
  773. package/lib/vtx-hz-facility-modal/style/css.js.map +0 -1
  774. package/lib/vtx-hz-facility-modal/style/index.css +0 -0
  775. package/lib/vtx-hz-facility-modal/style/index.js +0 -4
  776. package/lib/vtx-hz-facility-modal/style/index.js.map +0 -1
  777. package/lib/vtx-hz-facility-modal/style/index.less +0 -0
@@ -1,1351 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.getDetectData = exports.facilityService = exports.Service = void 0;
7
- var _tslib = require("tslib");
8
- var _utils = require("@vtx/utils");
9
- var _ahooks = require("ahooks");
10
- var _axios = _interopRequireDefault(require("axios"));
11
- var _moment = _interopRequireDefault(require("moment"));
12
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
14
- function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
15
- function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
16
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
17
- function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
18
- function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
19
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
20
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
21
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
22
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
23
- function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator["return"] && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, "catch": function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
24
- var _getUrlParam = (0, _utils.getUrlParam)(),
25
- token = _getUrlParam.token;
26
- var getDetectData = function getDetectData(current, size, id, reportType) {
27
- return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
28
- var _a, _b, _c, _d, res;
29
- return _regeneratorRuntime().wrap(function _callee$(_context) {
30
- while (1) switch (_context.prev = _context.next) {
31
- case 0:
32
- _context.next = 2;
33
- return _axios["default"].post('/cloud/zhsw-gsfw/api/manualDataEntry/page', {
34
- current: current,
35
- size: size,
36
- facilityId: id,
37
- reportType: reportType
38
- }, {
39
- headers: {
40
- Authorization: token ? "Bearer ".concat(token) : '',
41
- 'Cache-Control': 'no-cache',
42
- 'content-type': 'application/json;charset=UTF-8'
43
- }
44
- });
45
- case 2:
46
- res = _context.sent;
47
- return _context.abrupt("return", {
48
- list: ((_b = (_a = res === null || res === void 0 ? void 0 : res.data) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.records) || [],
49
- total: ((_d = (_c = res === null || res === void 0 ? void 0 : res.data) === null || _c === void 0 ? void 0 : _c.data) === null || _d === void 0 ? void 0 : _d.total) || 0
50
- });
51
- case 4:
52
- case "end":
53
- return _context.stop();
54
- }
55
- }, _callee);
56
- }));
57
- };
58
- //计算同比环比
59
- exports.getDetectData = getDetectData;
60
- var getValue = function getValue(n1, n2) {
61
- //n1 同比 环比数 n2 当前数据
62
- if (n1 == 0) {
63
- return 0;
64
- } else {
65
- return parseFloat(String(n2 / n1 - 1)).toFixed(2);
66
- }
67
- };
68
- //日月年转换
69
- var getTransformUnit = {
70
- YEAR: '年',
71
- MONYH: '月',
72
- DAY: '日'
73
- };
74
- var Service = {
75
- getByCode: function getByCode(params) {
76
- var _a;
77
- var _params$typeCode = params.typeCode,
78
- typeCode = _params$typeCode === void 0 ? '' : _params$typeCode,
79
- dataJson = params.dataJson;
80
- if (!typeCode) return {};
81
- var _useRequest = (0, _ahooks.useRequest)(function () {
82
- return _utils.request.get('/cloud/jcss-reborn/facility/type/getByCode', {
83
- body: {
84
- code: typeCode
85
- }
86
- });
87
- }, {
88
- refreshDeps: [typeCode]
89
- }),
90
- baseInfoRes = _useRequest.data;
91
- var fieldJson = (_a = baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data) === null || _a === void 0 ? void 0 : _a.fieldJson;
92
- if (!(fieldJson === null || fieldJson === void 0 ? void 0 : fieldJson.length)) return {};
93
- var baseInfo = fieldJson.map(function (item) {
94
- return {
95
- label: item.name,
96
- key: item.key,
97
- value: dataJson[item.key]
98
- };
99
- });
100
- return {
101
- baseInfo: baseInfo
102
- };
103
- },
104
- getTableData: function getTableData(_ref) {
105
- var _data;
106
- var id = _ref.id,
107
- type = _ref.type,
108
- publicUrlJCSS = _ref.publicUrlJCSS,
109
- collectFrequency = _ref.collectFrequency,
110
- startTime = _ref.startTime,
111
- endTime = _ref.endTime;
112
- return _utils.request.get("".concat(publicUrlJCSS, "/api/facility/hisDataByTime"), {
113
- data: (_data = {}, _defineProperty(_data, type == 1 ? 'facilityId' : 'deviceId', id), _defineProperty(_data, "collectFrequency", collectFrequency), _defineProperty(_data, "startTime", startTime), _defineProperty(_data, "endTime", endTime), _data)
114
- });
115
- },
116
- UseBaseInfo: function UseBaseInfo(_ref2) {
117
- var id = _ref2.id;
118
- var _a;
119
- // 基本信息
120
- var _useRequest2 = (0, _ahooks.useRequest)(function () {
121
- return _utils.request.get('/cloud/zhsw-device/api/device/getById', {
122
- body: {
123
- id: id
124
- }
125
- });
126
- }, {
127
- refreshDeps: [id]
128
- }),
129
- baseInfoRes = _useRequest2.data;
130
- var info = baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data;
131
- var _useRequest3 = (0, _ahooks.useRequest)(function () {
132
- return _utils.request.get('/cloud/vis/base/np/videoDevice/loadVideoChannelByBillId.smvc', {
133
- body: {
134
- billId: "".concat(info === null || info === void 0 ? void 0 : info.deviceTypeId, "_").concat(info === null || info === void 0 ? void 0 : info.code)
135
- }
136
- });
137
- }, {
138
- refreshDeps: [info]
139
- }),
140
- data = _useRequest3.data;
141
- var video = (data === null || data === void 0 ? void 0 : data.data) ? JSON.parse(data === null || data === void 0 ? void 0 : data.data) : [];
142
- if ((_a = info === null || info === void 0 ? void 0 : info.monitorItems) === null || _a === void 0 ? void 0 : _a.length) {
143
- var monitorItems = info.monitorItems.map(function (item) {
144
- return item.value;
145
- });
146
- info.monitorItemsName = monitorItems.join(',');
147
- }
148
- var baseInfo = [{
149
- label: '设备编码',
150
- key: 'code',
151
- value: info === null || info === void 0 ? void 0 : info.code
152
- }, {
153
- label: '设备名称',
154
- key: 'name',
155
- value: info === null || info === void 0 ? void 0 : info.name
156
- }, {
157
- label: '设备类型',
158
- key: 'deviceTypeName',
159
- value: info === null || info === void 0 ? void 0 : info.deviceTypeName
160
- }, {
161
- label: '设备型号',
162
- key: 'modelName',
163
- value: info === null || info === void 0 ? void 0 : info.modelName
164
- }, {
165
- label: '设备厂家',
166
- key: 'factoryName',
167
- value: info === null || info === void 0 ? void 0 : info.factoryName
168
- }, {
169
- label: '安装位置',
170
- key: 'facilityName',
171
- value: info === null || info === void 0 ? void 0 : info.facilityName
172
- }, {
173
- label: '设备ID',
174
- key: 'iotId',
175
- value: info === null || info === void 0 ? void 0 : info.iotId
176
- }, {
177
- label: '监测项目',
178
- key: 'monitorItems',
179
- value: info === null || info === void 0 ? void 0 : info.monitorItemsName
180
- }, {
181
- label: '资产编号',
182
- key: 'assetNumber',
183
- value: info === null || info === void 0 ? void 0 : info.assetNumber
184
- }, {
185
- label: '设备位号',
186
- key: 'tagNumber',
187
- value: info === null || info === void 0 ? void 0 : info.tagNumber
188
- }, {
189
- label: '性能参数',
190
- key: 'performanceParameter',
191
- value: info === null || info === void 0 ? void 0 : info.performanceParameter
192
- }, {
193
- label: '主要材质',
194
- key: 'mainMaterial',
195
- value: info === null || info === void 0 ? void 0 : info.mainMaterial
196
- }, {
197
- label: '出厂编号',
198
- key: 'factoryNumber',
199
- value: info === null || info === void 0 ? void 0 : info.factoryNumber
200
- }, {
201
- label: '出厂日期',
202
- key: 'factoryDate',
203
- value: info === null || info === void 0 ? void 0 : info.factoryDate
204
- }, {
205
- label: '设备供应商',
206
- key: 'supplier',
207
- value: info === null || info === void 0 ? void 0 : info.supplier
208
- }, {
209
- label: '启用时间',
210
- key: 'enableDate',
211
- value: info === null || info === void 0 ? void 0 : info.enableDate
212
- }, {
213
- label: '寿命周期',
214
- key: 'expectServiceLifeUnit',
215
- value: getTransformUnit[info === null || info === void 0 ? void 0 : info.expectServiceLifeUnit]
216
- }, {
217
- label: '预计使用寿命',
218
- key: 'expectServiceLifeNumber',
219
- value: info === null || info === void 0 ? void 0 : info.expectServiceLifeNumber
220
- }, {
221
- label: '所属单位',
222
- key: 'manageUnitName',
223
- value: info === null || info === void 0 ? void 0 : info.manageUnitName
224
- }, {
225
- label: '设备负责人',
226
- key: 'responsiblePersonName',
227
- value: info === null || info === void 0 ? void 0 : info.responsiblePersonName
228
- }, {
229
- label: '联系方式',
230
- key: 'phone',
231
- value: info === null || info === void 0 ? void 0 : info.phone
232
- }];
233
- return {
234
- baseInfo: baseInfo,
235
- info: Object.assign(Object.assign({}, info), {
236
- expectServiceLifeUnitStr: getTransformUnit[info === null || info === void 0 ? void 0 : info.expectServiceLifeUnit],
237
- expectServiceLifeUnit: (info === null || info === void 0 ? void 0 : info.expectServiceLifeUnit) == 'MONYH' ? 'MONTH' : info === null || info === void 0 ? void 0 : info.expectServiceLifeUnit,
238
- hasVideo: video.length > 0 ? true : false,
239
- hasDevice: true
240
- })
241
- };
242
- },
243
- //实时信息
244
- UseRealInfo: function UseRealInfo(_ref3) {
245
- var code = _ref3.code,
246
- id = _ref3.id;
247
- var _a, _b;
248
- var _useRequest4 = (0, _ahooks.useRequest)(function () {
249
- return _utils.request.get('/cloud/zhsw-jcyj/api/dataQuery/getFactorInfoFromFacilityId', {
250
- body: {
251
- deviceCode: code,
252
- facilityId: id
253
- }
254
- });
255
- }, {
256
- refreshDeps: [code, id]
257
- }),
258
- baseInfoReal = _useRequest4.data;
259
- var realdata = baseInfoReal === null || baseInfoReal === void 0 ? void 0 : baseInfoReal.data;
260
- var monitorItemArray = [];
261
- var realInfo = (_b = (_a = realdata === null || realdata === void 0 ? void 0 : realdata[0]) === null || _a === void 0 ? void 0 : _a.factorValues) === null || _b === void 0 ? void 0 : _b.map(function (item) {
262
- var name = monitorItemArray.find(function (i) {
263
- i.label == item.monitorItemName;
264
- });
265
- var info = {
266
- onAlarm: item.onAlarm,
267
- label: item.name,
268
- key: item.id,
269
- value: item.value,
270
- unit: item.unit,
271
- color: item.onAlarm ? 'red' : ''
272
- };
273
- if (name) {
274
- monitorItemArray = monitorItemArray === null || monitorItemArray === void 0 ? void 0 : monitorItemArray.map(function (i) {
275
- if (i.label == item.monitorItemName) {
276
- return Object.assign(Object.assign({}, i), {
277
- list: [].concat(_toConsumableArray(i.list), [info])
278
- });
279
- } else {
280
- return i.name;
281
- }
282
- });
283
- } else {
284
- monitorItemArray.push({
285
- label: item.monitorItemName,
286
- key: item.id,
287
- value: item.monitorTypeName,
288
- list: [info]
289
- });
290
- }
291
- return info;
292
- });
293
- return {
294
- realInfo: realInfo,
295
- monitorItemArray: monitorItemArray
296
- };
297
- },
298
- //运维概览状态统计
299
- UseStatusInfo: function UseStatusInfo(_ref4) {
300
- var id = _ref4.id;
301
- var _a;
302
- //运维概览
303
- var _useRequest5 = (0, _ahooks.useRequest)(function () {
304
- return _utils.request.get('/cloud/zhsw-device/api/deviceUpdateRecord/getTransferStatus', {
305
- body: {
306
- deviceId: id
307
- }
308
- });
309
- }, {
310
- refreshDeps: [id]
311
- }),
312
- baseInfoYwgl = _useRequest5.data;
313
- var statusInfo = (_a = baseInfoYwgl === null || baseInfoYwgl === void 0 ? void 0 : baseInfoYwgl.data) === null || _a === void 0 ? void 0 : _a.map(function (item) {
314
- return {
315
- label: item.statusName,
316
- code: item.status,
317
- value: item.total
318
- };
319
- });
320
- return {
321
- statusInfo: statusInfo
322
- };
323
- },
324
- //运维概览
325
- UseYwglInfo: function UseYwglInfo(_ref5) {
326
- var code = _ref5.code;
327
- //运维概览
328
- var _useRequest6 = (0, _ahooks.useRequest)(function () {
329
- return _utils.request.get('/cloud/zhsw-device/api/deviceUpdateRecord/getDeviceHisStatus', {
330
- body: {
331
- deviceCode: code
332
- }
333
- });
334
- }, {
335
- refreshDeps: [code]
336
- }),
337
- baseInfoYwgl = _useRequest6.data;
338
- var deviceHisStatusInfo = baseInfoYwgl === null || baseInfoYwgl === void 0 ? void 0 : baseInfoYwgl.data;
339
- return {
340
- deviceHisStatusInfo: deviceHisStatusInfo
341
- };
342
- },
343
- //运维概览table
344
- UseYWGLTableInfo: function UseYWGLTableInfo(_ref6) {
345
- var id = _ref6.id,
346
- statusType = _ref6.statusType,
347
- current = _ref6.current;
348
- var _a, _b, _c;
349
- //运维概览
350
- var _useRequest7 = (0, _ahooks.useRequest)(function () {
351
- return _utils.request.post('/cloud/zhsw-device/api/deviceUpdateRecord/page', {
352
- body: JSON.stringify({
353
- deviceId: id,
354
- statusType: statusType,
355
- current: current
356
- })
357
- });
358
- }, {
359
- refreshDeps: [id, statusType, current]
360
- }),
361
- baseInfoYwgl = _useRequest7.data;
362
- var ywglTable = (_b = (_a = baseInfoYwgl === null || baseInfoYwgl === void 0 ? void 0 : baseInfoYwgl.data) === null || _a === void 0 ? void 0 : _a.records) === null || _b === void 0 ? void 0 : _b.map(function (item) {
363
- return Object.assign(Object.assign(Object.assign({}, item), item.object), {
364
- id: item.id,
365
- key: item.id
366
- });
367
- });
368
- return {
369
- ywglTable: ywglTable,
370
- ywglTotal: (_c = ywglTable === null || ywglTable === void 0 ? void 0 : ywglTable.data) === null || _c === void 0 ? void 0 : _c.total
371
- };
372
- },
373
- //报警概括
374
- alarmInfo: function alarmInfo(_ref7) {
375
- var id = _ref7.id,
376
- timeType = _ref7.timeType,
377
- startTimeLocalDate = _ref7.startTimeLocalDate,
378
- endTimeLocalDate = _ref7.endTimeLocalDate;
379
- var _useRequest8 = (0, _ahooks.useRequest)(function () {
380
- return _utils.request.post('/cloud/zhsw-jcyj/api/alarmCenter/getDeviceAlarmStatistics', {
381
- body: JSON.stringify({
382
- deviceId: id,
383
- timeType: timeType,
384
- startTimeLocalDate: startTimeLocalDate,
385
- endTimeLocalDate: endTimeLocalDate
386
- })
387
- });
388
- }, {
389
- refreshDeps: [id, timeType, startTimeLocalDate, endTimeLocalDate]
390
- }),
391
- alarmData = _useRequest8.data;
392
- var alarmDataInfo = alarmData === null || alarmData === void 0 ? void 0 : alarmData.data;
393
- var hb = getValue(alarmDataInfo === null || alarmDataInfo === void 0 ? void 0 : alarmDataInfo.hbTotal, alarmDataInfo === null || alarmDataInfo === void 0 ? void 0 : alarmDataInfo.total);
394
- var tb = getValue(alarmDataInfo === null || alarmDataInfo === void 0 ? void 0 : alarmDataInfo.tbTotal, alarmDataInfo === null || alarmDataInfo === void 0 ? void 0 : alarmDataInfo.total);
395
- var xAxis = []; //x轴
396
- var tbArray = [];
397
- var hbArray = [];
398
- var factorArray = []; //监测数值
399
- var failureArray = []; //故障
400
- var offlineArray = []; //离线
401
- alarmDataInfo === null || alarmDataInfo === void 0 ? void 0 : alarmDataInfo.alarms.forEach(function (item) {
402
- var ahb = getValue(item === null || item === void 0 ? void 0 : item.hbTotal, item === null || item === void 0 ? void 0 : item.factor);
403
- var atb = getValue(item === null || item === void 0 ? void 0 : item.tbTotal, item === null || item === void 0 ? void 0 : item.factor);
404
- xAxis = [].concat(_toConsumableArray(xAxis), [item.time]);
405
- tbArray = [].concat(_toConsumableArray(tbArray), [ahb * 100]);
406
- hbArray = [].concat(_toConsumableArray(hbArray), [atb * 100]);
407
- factorArray = [].concat(_toConsumableArray(factorArray), [item.factor]);
408
- failureArray = [].concat(_toConsumableArray(failureArray), [item.failure]);
409
- offlineArray = [].concat(_toConsumableArray(offlineArray), [item.offline]);
410
- });
411
- return {
412
- alarmDataInfo: Object.assign(Object.assign({}, alarmDataInfo), {
413
- hb: hb,
414
- tb: tb,
415
- xAxis: xAxis,
416
- tbArray: tbArray,
417
- hbArray: hbArray,
418
- factorArray: factorArray,
419
- failureArray: failureArray,
420
- offlineArray: offlineArray
421
- })
422
- };
423
- },
424
- UseDetectInfo: function UseDetectInfo(_ref8) {
425
- var id = _ref8.id,
426
- reportType = _ref8.reportType,
427
- facilityType = _ref8.facilityType;
428
- var _a, _b;
429
- var _useRequest9 = (0, _ahooks.useRequest)(function () {
430
- return _utils.request.post('/cloud/zhsw-gsfw/api/manualDataEntry/statistics', {
431
- body: JSON.stringify({
432
- facilityId: id,
433
- reportType: reportType,
434
- facilityType: facilityType
435
- })
436
- });
437
- }, {
438
- refreshDeps: [id, reportType, facilityType]
439
- }),
440
- statistics = _useRequest9.data;
441
- var _useRequest10 = (0, _ahooks.useRequest)(function () {
442
- return _utils.request.post('/cloud/zhsw-gsfw/api/manualDataEntry/list', {
443
- body: JSON.stringify({
444
- facilityId: id,
445
- reportType: reportType,
446
- facilityType: facilityType
447
- })
448
- });
449
- }, {
450
- refreshDeps: [id, reportType, facilityType]
451
- }),
452
- list = _useRequest10.data;
453
- return {
454
- statistics: ((_a = statistics === null || statistics === void 0 ? void 0 : statistics.data) === null || _a === void 0 ? void 0 : _a.data) || {},
455
- list: ((_b = list === null || list === void 0 ? void 0 : list.data) === null || _b === void 0 ? void 0 : _b.data) || []
456
- };
457
- }
458
- };
459
- //设施接口
460
- exports.Service = Service;
461
- var facilityService = {
462
- //水源地基础信息
463
- water_resource: function water_resource(_ref9) {
464
- var id = _ref9.id;
465
- // 基本信息
466
- var _useRequest11 = (0, _ahooks.useRequest)(function () {
467
- return _utils.request.get('/cloud/zhsw-jcss/api/waterSource/getByFacilityId', {
468
- body: {
469
- facilityId: id
470
- }
471
- });
472
- }, {
473
- refreshDeps: [id]
474
- }),
475
- baseInfoRes = _useRequest11.data;
476
- var info = baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data;
477
- var baseInfo = [{
478
- label: '水源地编码',
479
- key: 'code',
480
- value: info === null || info === void 0 ? void 0 : info.code
481
- }, {
482
- label: '水源地名称',
483
- key: 'name',
484
- value: info === null || info === void 0 ? void 0 : info.name
485
- }, {
486
- label: '总库容',
487
- key: 'totalStorageCapacity',
488
- value: info === null || info === void 0 ? void 0 : info.totalStorageCapacity
489
- }, {
490
- label: '供应水厂',
491
- key: 'waterSupplyPlantsStr',
492
- value: info === null || info === void 0 ? void 0 : info.waterSupplyPlantsStr
493
- }, {
494
- label: '水质等级',
495
- key: 'qualityLevel',
496
- value: info === null || info === void 0 ? void 0 : info.qualityLevel
497
- }, {
498
- label: '地址',
499
- key: 'address',
500
- value: info === null || info === void 0 ? void 0 : info.address
501
- }, {
502
- label: '管理单位',
503
- key: 'orgName',
504
- value: info === null || info === void 0 ? void 0 : info.orgName
505
- }, {
506
- label: '责任人',
507
- key: 'dutyUserName',
508
- value: info === null || info === void 0 ? void 0 : info.dutyUserName
509
- }];
510
- return {
511
- baseInfo: baseInfo,
512
- info: info
513
- };
514
- },
515
- //供水厂
516
- water_supply_plant: function water_supply_plant(_ref10) {
517
- var id = _ref10.id;
518
- var _a;
519
- // 基本信息
520
- var _useRequest12 = (0, _ahooks.useRequest)(function () {
521
- return _utils.request.get('/cloud/zhsw-jcss/api/waterSupplyPlant/getByFacilityId', {
522
- body: {
523
- facilityId: id
524
- }
525
- });
526
- }, {
527
- refreshDeps: [id]
528
- }),
529
- baseInfoRes = _useRequest12.data;
530
- var info = baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data;
531
- var baseInfo = [{
532
- label: '编码',
533
- key: 'code',
534
- value: info === null || info === void 0 ? void 0 : info.code
535
- }, {
536
- label: '供水厂名称',
537
- key: 'name',
538
- value: info === null || info === void 0 ? void 0 : info.name
539
- }, {
540
- label: '计划日供水能力(万吨/天)',
541
- key: 'supplyCapacity',
542
- value: info === null || info === void 0 ? void 0 : info.supplyCapacity
543
- }, {
544
- label: '管理单位',
545
- key: 'orgName',
546
- value: info === null || info === void 0 ? void 0 : info.orgName
547
- }, {
548
- label: '责任人',
549
- key: 'dutyPeopleName',
550
- value: info === null || info === void 0 ? void 0 : info.dutyPeopleName
551
- }, {
552
- label: '设施地址',
553
- key: 'address',
554
- value: info === null || info === void 0 ? void 0 : info.address
555
- }, {
556
- label: '行政区划',
557
- key: 'divisionName',
558
- value: info === null || info === void 0 ? void 0 : info.divisionName
559
- }, {
560
- label: '所属公司',
561
- key: 'waterDivision',
562
- value: (_a = info === null || info === void 0 ? void 0 : info.waterDivision) === null || _a === void 0 ? void 0 : _a.name
563
- }, {
564
- label: '水厂介绍',
565
- key: 'introduce',
566
- value: info === null || info === void 0 ? void 0 : info.introduce
567
- }];
568
- return {
569
- baseInfo: baseInfo,
570
- info: info
571
- };
572
- },
573
- //污水厂
574
- sewage_plant: function sewage_plant(_ref11) {
575
- var id = _ref11.id;
576
- var _a;
577
- // 基本信息
578
- var _useRequest13 = (0, _ahooks.useRequest)(function () {
579
- return _utils.request.get('/cloud/zhsw-jcss/api/sewagePlant/getByFacilityId', {
580
- body: {
581
- facilityId: id
582
- }
583
- });
584
- }, {
585
- refreshDeps: [id]
586
- }),
587
- baseInfoRes = _useRequest13.data;
588
- var info = baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data;
589
- var baseInfo = [{
590
- label: '编码',
591
- key: 'code',
592
- value: info === null || info === void 0 ? void 0 : info.code
593
- }, {
594
- label: '污水厂名称',
595
- key: 'name',
596
- value: info === null || info === void 0 ? void 0 : info.name
597
- }, {
598
- label: '关联管点',
599
- key: 'pointId',
600
- value: info === null || info === void 0 ? void 0 : info.pointId
601
- }, {
602
- label: '污水处理级别',
603
- key: 'dealLevelStr',
604
- value: info === null || info === void 0 ? void 0 : info.dealLevelStr
605
- }, {
606
- label: '污水处理工艺',
607
- key: 'dealProcessStr',
608
- value: info === null || info === void 0 ? void 0 : info.dealProcessStr
609
- }, {
610
- label: '日处理能力(万吨/天)',
611
- key: 'supplyCapacity',
612
- value: info === null || info === void 0 ? void 0 : info.supplyCapacity
613
- }, {
614
- label: '管理单位',
615
- key: 'orgName',
616
- value: info === null || info === void 0 ? void 0 : info.orgName
617
- }, {
618
- label: '责任人',
619
- key: 'dutyPeopleName',
620
- value: info === null || info === void 0 ? void 0 : info.dutyPeopleName
621
- }, {
622
- label: '行政区划',
623
- key: 'divisionName',
624
- value: info === null || info === void 0 ? void 0 : info.divisionName
625
- }, {
626
- label: '所属公司',
627
- key: 'waterDivision',
628
- value: (_a = info === null || info === void 0 ? void 0 : info.waterDivision) === null || _a === void 0 ? void 0 : _a.name
629
- }, {
630
- label: '水厂介绍',
631
- key: 'introduce',
632
- value: info === null || info === void 0 ? void 0 : info.introduce
633
- }];
634
- return {
635
- baseInfo: baseInfo,
636
- info: info
637
- };
638
- },
639
- //任务统计
640
- UseStatusInfo: function UseStatusInfo(_ref12) {
641
- var id = _ref12.id,
642
- type = _ref12.type,
643
- state = _ref12.state,
644
- YWJLCurrent = _ref12.YWJLCurrent,
645
- startTime = _ref12.startTime,
646
- endTime = _ref12.endTime,
647
- timeType = _ref12.timeType;
648
- var _a, _b, _c;
649
- //运维概览
650
- var _useRequest14 = (0, _ahooks.useRequest)(function () {
651
- return _utils.request.get('/cloud/zhsw-xcgl/api/taskRecord/getTaskCountByFacilityId', {
652
- body: {
653
- facilityId: id,
654
- startTime: startTime,
655
- endTime: endTime,
656
- timeType: timeType
657
- }
658
- });
659
- }, {
660
- refreshDeps: [id, startTime, endTime, timeType]
661
- }),
662
- baseInfoYwgl = _useRequest14.data;
663
- //table
664
- var _useRequest15 = (0, _ahooks.useRequest)(function () {
665
- return _utils.request.get('/cloud/zhsw-xcgl/api/taskRecord/page', {
666
- body: {
667
- facilityId: id,
668
- type: type,
669
- state: state,
670
- current: YWJLCurrent,
671
- size: 10,
672
- startTime: startTime,
673
- endTime: endTime,
674
- timeType: timeType
675
- }
676
- });
677
- }, {
678
- refreshDeps: [id, type, state, YWJLCurrent, startTime, endTime, timeType]
679
- }),
680
- tableData = _useRequest15.data;
681
- var d = baseInfoYwgl === null || baseInfoYwgl === void 0 ? void 0 : baseInfoYwgl.data;
682
- var statusInfo = [];
683
- var codeObj = {
684
- 任务总数: 'all',
685
- 循环任务: 'type-1',
686
- 指派任务: 'type-2',
687
- 超时完成: 'state-4',
688
- 待完成: 'state-1',
689
- 按时完成: 'state-3'
690
- };
691
- for (var p in codeObj) {
692
- statusInfo.push({
693
- label: p,
694
- value: d === null || d === void 0 ? void 0 : d[p],
695
- code: codeObj[p]
696
- });
697
- }
698
- var ywglTable = (_b = (_a = tableData === null || tableData === void 0 ? void 0 : tableData.data) === null || _a === void 0 ? void 0 : _a.records) === null || _b === void 0 ? void 0 : _b.map(function (item) {
699
- var _a;
700
- return Object.assign(Object.assign(Object.assign({}, item), item.object), {
701
- staffName: (_a = item === null || item === void 0 ? void 0 : item.staffList) === null || _a === void 0 ? void 0 : _a[0].staffName,
702
- id: item.id,
703
- key: item.id
704
- });
705
- });
706
- return {
707
- statusInfo: statusInfo,
708
- ywglTable: ywglTable,
709
- pages: (_c = tableData === null || tableData === void 0 ? void 0 : tableData.data) === null || _c === void 0 ? void 0 : _c.total
710
- };
711
- },
712
- //关联设备
713
- UseDeviceInfo: function UseDeviceInfo(_ref13) {
714
- var id = _ref13.id,
715
- deviceCurrent = _ref13.deviceCurrent;
716
- var _a;
717
- //运维概览
718
- var _useRequest16 = (0, _ahooks.useRequest)(function () {
719
- return _utils.request.post('/cloud/zhsw-device/api/device/page', {
720
- body: JSON.stringify({
721
- objectId: id,
722
- current: deviceCurrent,
723
- size: 10
724
- })
725
- });
726
- }, {
727
- refreshDeps: [id, deviceCurrent]
728
- }),
729
- deviceData = _useRequest16.data;
730
- var deviceList = (_a = (deviceData === null || deviceData === void 0 ? void 0 : deviceData.data.rows) || []) === null || _a === void 0 ? void 0 : _a.map(function (item) {
731
- var _a;
732
- var monitorItems = [];
733
- if ((_a = item === null || item === void 0 ? void 0 : item.monitorItems) === null || _a === void 0 ? void 0 : _a.length) {
734
- monitorItems = item.monitorItems.map(function (item) {
735
- return item.value;
736
- });
737
- }
738
- return Object.assign(Object.assign({}, item), {
739
- id: item.id,
740
- key: item.id,
741
- monitorItemsName: monitorItems.join(',')
742
- });
743
- });
744
- return {
745
- deviceList: deviceList,
746
- deviceTotal: deviceData === null || deviceData === void 0 ? void 0 : deviceData.data.total
747
- };
748
- },
749
- //设施报警
750
- UseAlarmInfo: function UseAlarmInfo(_ref14) {
751
- var id = _ref14.id,
752
- timeType = _ref14.timeType,
753
- startTime = _ref14.startTime,
754
- endTime = _ref14.endTime;
755
- var _useRequest17 = (0, _ahooks.useRequest)(function () {
756
- return _utils.request.post('/cloud/zhsw-qxjc/api/netWorkCockpit/warningStatistics', {
757
- body: JSON.stringify({
758
- facilityId: id,
759
- timeType: timeType,
760
- startTime: startTime,
761
- endTime: endTime
762
- })
763
- });
764
- }, {
765
- refreshDeps: [id, timeType, endTime]
766
- }),
767
- alarmData = _useRequest17.data;
768
- var alarmInfo = alarmData === null || alarmData === void 0 ? void 0 : alarmData.data;
769
- return {
770
- alarmInfo: alarmInfo
771
- };
772
- },
773
- //昨日供水量
774
- UseDataValueInfo: function UseDataValueInfo(_ref15) {
775
- var id = _ref15.id,
776
- startTime = _ref15.startTime,
777
- endTime = _ref15.endTime;
778
- var _useRequest18 = (0, _ahooks.useRequest)(function () {
779
- return _utils.request.get('/cloud/zhsw-jcyj/api/dataQuery/getDataValueTongHuanRate', {
780
- body: {
781
- facilityId: id,
782
- collectFrequency: 'hour',
783
- timeType: 1,
784
- startTime: startTime,
785
- endTime: endTime
786
- }
787
- });
788
- }, {
789
- refreshDeps: [id, startTime, endTime]
790
- }),
791
- dataValue = _useRequest18.data;
792
- var waterData = dataValue === null || dataValue === void 0 ? void 0 : dataValue.data;
793
- return {
794
- waterData: waterData
795
- };
796
- },
797
- //当前水质等级
798
- UseWaterLevelInfo: function UseWaterLevelInfo(_ref16) {
799
- var id = _ref16.id,
800
- startTime = _ref16.startTime,
801
- endTime = _ref16.endTime;
802
- var _useRequest19 = (0, _ahooks.useRequest)(function () {
803
- return _utils.request.get('/cloud/zhsw-gsfw/api/manualDataEntry/getByFacilityId', {
804
- body: {
805
- facilityId: id,
806
- collectFrequency: 'hour',
807
- timeType: 1,
808
- startTime: startTime,
809
- endTime: endTime
810
- }
811
- });
812
- }, {
813
- refreshDeps: [id, startTime, endTime]
814
- }),
815
- dataValue = _useRequest19.data;
816
- var levelData = dataValue === null || dataValue === void 0 ? void 0 : dataValue.data;
817
- return {
818
- levelData: levelData
819
- };
820
- },
821
- //运维概览
822
- UseBusinessTypeDistribution: function UseBusinessTypeDistribution(_ref17) {
823
- var id = _ref17.id,
824
- startTime = _ref17.startTime,
825
- endTime = _ref17.endTime,
826
- facilityTypeCode = _ref17.facilityTypeCode;
827
- var _useRequest20 = (0, _ahooks.useRequest)(function () {
828
- return _utils.request.post('/cloud/zhsw-xcgl/api/patrolStatistics/businessTypeDistribution', {
829
- body: JSON.stringify({
830
- fromId: id,
831
- facilityTypeCode: facilityTypeCode,
832
- startTime: startTime,
833
- endTime: endTime
834
- })
835
- });
836
- }, {
837
- refreshDeps: [id, startTime, endTime, facilityTypeCode]
838
- }),
839
- dataValue = _useRequest20.data;
840
- var ywglData = dataValue === null || dataValue === void 0 ? void 0 : dataValue.data;
841
- return {
842
- ywglData: ywglData
843
- };
844
- },
845
- UseFactorValues: function UseFactorValues(_ref18) {
846
- var id = _ref18.id;
847
- var _useRequest21 = (0, _ahooks.useRequest)(function () {
848
- return _utils.request.get('/cloud/device/sdk/factor/realTime/factorValues', {
849
- body: {
850
- facilityId: id,
851
- monitorItemCode: 'pressure'
852
- }
853
- });
854
- }, {
855
- refreshDeps: [id]
856
- }),
857
- dataValue = _useRequest21.data;
858
- var factorValue = dataValue === null || dataValue === void 0 ? void 0 : dataValue.data;
859
- return {
860
- factorValue: factorValue
861
- };
862
- },
863
- //运维概览
864
- UseMaintenanceOverview: function UseMaintenanceOverview(_ref19) {
865
- var id = _ref19.id,
866
- startTime = _ref19.startTime,
867
- endTime = _ref19.endTime,
868
- timeType = _ref19.timeType;
869
- var _useRequest22 = (0, _ahooks.useRequest)(function () {
870
- return _utils.request.post('/cloud/zhsw-sjgd/api/workOrderStatistics/maintenanceOverview', {
871
- body: JSON.stringify({
872
- facilityId: id,
873
- processDefinitionKey: 'clock_event_process',
874
- startTime: startTime,
875
- endTime: endTime,
876
- timeType: timeType
877
- })
878
- });
879
- }, {
880
- refreshDeps: [id,, startTime, endTime, timeType]
881
- }),
882
- dataValue = _useRequest22.data;
883
- var ywglData = (dataValue === null || dataValue === void 0 ? void 0 : dataValue.data) || [];
884
- return {
885
- ywglData: ywglData
886
- };
887
- },
888
- UseBaseInfo: function UseBaseInfo(_ref20) {
889
- var id = _ref20.id,
890
- source = _ref20.source;
891
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22;
892
- // 基本信息
893
- var _useRequest23 = (0, _ahooks.useRequest)(function () {
894
- return _utils.request.get('/cloud/jcss-reborn/facility/get', {
895
- data: {
896
- id: id,
897
- desensitization: false,
898
- coordType: 'wgs84'
899
- }
900
- });
901
- }, {
902
- refreshDeps: [id]
903
- }),
904
- baseInfoRes = _useRequest23.data;
905
- var _useRequest24 = (0, _ahooks.useRequest)(function () {
906
- return _utils.request.get('/cloud/device/sdk/device/info/deviceList', {
907
- body: {
908
- objectId: id
909
- }
910
- });
911
- }, {
912
- refreshDeps: [id]
913
- }),
914
- data = _useRequest24.data;
915
- var hasDevice = (data === null || data === void 0 ? void 0 : data.data) && (data === null || data === void 0 ? void 0 : data.data.length) > 0 ? true : false;
916
- var info = baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data;
917
- var baseInfo = [{
918
- label: '管网编码',
919
- key: 'code',
920
- value: info === null || info === void 0 ? void 0 : info.code
921
- }, {
922
- label: '起点编码',
923
- key: 'startPointName',
924
- value: (_a = info === null || info === void 0 ? void 0 : info.dataJson) === null || _a === void 0 ? void 0 : _a.startPointName
925
- }, {
926
- label: '终点编码',
927
- key: 'endPointName',
928
- value: (_b = info === null || info === void 0 ? void 0 : info.dataJson) === null || _b === void 0 ? void 0 : _b.endPointName
929
- }, {
930
- label: '管网类别',
931
- key: 'networkTypeName',
932
- value: (_c = info === null || info === void 0 ? void 0 : info.dataJson) === null || _c === void 0 ? void 0 : _c.networkTypeName
933
- }, {
934
- label: '管网长度(m)',
935
- key: 'lineLength',
936
- value: (_d = info === null || info === void 0 ? void 0 : info.dataJson) === null || _d === void 0 ? void 0 : _d.lineLength
937
- }, {
938
- label: '起点管底标高(m)',
939
- key: 'startZ',
940
- value: (_e = info === null || info === void 0 ? void 0 : info.dataJson) === null || _e === void 0 ? void 0 : _e.startZ
941
- }, {
942
- label: '终点管底标高(m)',
943
- key: 'endZ',
944
- value: (_f = info === null || info === void 0 ? void 0 : info.dataJson) === null || _f === void 0 ? void 0 : _f.endZ
945
- }, {
946
- label: '管道断面形式',
947
- key: 'sectionFormName',
948
- value: (_g = info === null || info === void 0 ? void 0 : info.dataJson) === null || _g === void 0 ? void 0 : _g.sectionFormName
949
- }, {
950
- label: '管径(mm)',
951
- key: 'ds',
952
- value: (_h = info === null || info === void 0 ? void 0 : info.dataJson) === null || _h === void 0 ? void 0 : _h.ds
953
- }, {
954
- label: '起点埋深(m)',
955
- key: 'startDeep',
956
- value: (_j = info === null || info === void 0 ? void 0 : info.dataJson) === null || _j === void 0 ? void 0 : _j.startDeep
957
- }, {
958
- label: '终点埋深(m)',
959
- key: 'endDeep',
960
- value: (_k = info === null || info === void 0 ? void 0 : info.dataJson) === null || _k === void 0 ? void 0 : _k.endDeep
961
- }, {
962
- label: '管网流向',
963
- key: 'flowDirectionName',
964
- value: (_l = info === null || info === void 0 ? void 0 : info.dataJson) === null || _l === void 0 ? void 0 : _l.flowDirectionName
965
- }, {
966
- label: '管网材质',
967
- key: 'lineTextureName',
968
- value: (_m = info === null || info === void 0 ? void 0 : info.dataJson) === null || _m === void 0 ? void 0 : _m.lineTextureName
969
- }, {
970
- label: '管道糙率',
971
- key: 'roughness',
972
- value: (_o = info === null || info === void 0 ? void 0 : info.dataJson) === null || _o === void 0 ? void 0 : _o.roughness
973
- }, {
974
- label: '所属道路',
975
- key: 'roadName',
976
- value: (_p = info === null || info === void 0 ? void 0 : info.dataJson) === null || _p === void 0 ? void 0 : _p.roadName
977
- }, {
978
- label: '所属片区',
979
- key: 'districtName',
980
- value: (_q = info === null || info === void 0 ? void 0 : info.dataJson) === null || _q === void 0 ? void 0 : _q.districtName
981
- }, {
982
- label: '是否倒虹管',
983
- key: 'isInvertedSiphon',
984
- value: (_r = info === null || info === void 0 ? void 0 : info.dataJson) === null || _r === void 0 ? void 0 : _r.isInvertedSiphonName
985
- }, {
986
- label: '埋设方式',
987
- key: 'layWayName',
988
- value: (_s = info === null || info === void 0 ? void 0 : info.dataJson) === null || _s === void 0 ? void 0 : _s.layWayName
989
- }, {
990
- label: '建设时间',
991
- key: 'buildDate',
992
- value: info === null || info === void 0 ? void 0 : info.buildDate
993
- }, {
994
- label: '权属单位',
995
- key: 'ownershipUnit',
996
- value: (_t = info === null || info === void 0 ? void 0 : info.dataJson) === null || _t === void 0 ? void 0 : _t.ownershipUnit
997
- }];
998
- if (source === 'putian') {
999
- switch (info === null || info === void 0 ? void 0 : info.typeCode) {
1000
- case 'water_supply_line':
1001
- baseInfo = [{
1002
- label: '管线编码',
1003
- key: 'code',
1004
- value: info === null || info === void 0 ? void 0 : info.code
1005
- }, {
1006
- label: '起点编码',
1007
- key: 'startPointName',
1008
- value: (_u = info === null || info === void 0 ? void 0 : info.dataJson) === null || _u === void 0 ? void 0 : _u.startPointName
1009
- }, {
1010
- label: '终点编码',
1011
- key: 'endPointName',
1012
- value: (_v = info === null || info === void 0 ? void 0 : info.dataJson) === null || _v === void 0 ? void 0 : _v.endPointName
1013
- }, {
1014
- label: '管网类型',
1015
- key: 'typeName',
1016
- value: info === null || info === void 0 ? void 0 : info.typeName
1017
- }, {
1018
- label: '管道长度(m)',
1019
- key: 'lineLength',
1020
- value: (_w = info === null || info === void 0 ? void 0 : info.dataJson) === null || _w === void 0 ? void 0 : _w.lineLength
1021
- }, {
1022
- label: '起点地面高程(m)',
1023
- key: 'startPointGroundElevation',
1024
- value: (_x = info === null || info === void 0 ? void 0 : info.dataJson) === null || _x === void 0 ? void 0 : _x.startPointGroundElevation
1025
- }, {
1026
- label: '终点地面高程(m)',
1027
- key: 'endPointGroundElevation',
1028
- value: (_y = info === null || info === void 0 ? void 0 : info.dataJson) === null || _y === void 0 ? void 0 : _y.endPointGroundElevation
1029
- }, {
1030
- label: '起点管顶高程(m)',
1031
- key: 'startPointTopElevation',
1032
- value: (_z = info === null || info === void 0 ? void 0 : info.dataJson) === null || _z === void 0 ? void 0 : _z.startPointTopElevation
1033
- }, {
1034
- label: '终点管顶高程(m)',
1035
- key: 'endPointTopElevation',
1036
- value: (_0 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _0 === void 0 ? void 0 : _0.endPointTopElevation
1037
- }, {
1038
- label: '管径(mm)',
1039
- key: 'ds',
1040
- value: (_1 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _1 === void 0 ? void 0 : _1.ds
1041
- }, {
1042
- label: '管材',
1043
- key: 'lineTextureName',
1044
- value: (_2 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _2 === void 0 ? void 0 : _2.lineTextureName
1045
- }, {
1046
- label: '流向',
1047
- key: 'flowDirectionName',
1048
- value: (_3 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _3 === void 0 ? void 0 : _3.flowDirectionName
1049
- }, {
1050
- label: '埋设方式',
1051
- key: 'layWayName',
1052
- value: (_4 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _4 === void 0 ? void 0 : _4.layWayName
1053
- }, {
1054
- label: '所在道路',
1055
- key: 'roadName',
1056
- value: (_5 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _5 === void 0 ? void 0 : _5.roadName
1057
- }, {
1058
- label: '行政区划',
1059
- key: 'districtName',
1060
- value: info === null || info === void 0 ? void 0 : info.divisionName
1061
- }, {
1062
- label: '管理单位',
1063
- key: 'orgName',
1064
- value: (_6 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _6 === void 0 ? void 0 : _6.orgName
1065
- }, {
1066
- label: '数据获取时间',
1067
- key: 'infoTime',
1068
- value: (_7 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _7 === void 0 ? void 0 : _7.infoTime
1069
- }, {
1070
- label: '备注',
1071
- key: 'description',
1072
- value: info === null || info === void 0 ? void 0 : info.description
1073
- }];
1074
- break;
1075
- case 'line':
1076
- baseInfo = [{
1077
- label: '管线编码',
1078
- key: 'code',
1079
- value: info === null || info === void 0 ? void 0 : info.code
1080
- }, {
1081
- label: '起点编码',
1082
- key: 'startPointName',
1083
- value: (_8 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _8 === void 0 ? void 0 : _8.startPointName
1084
- }, {
1085
- label: '终点编码',
1086
- key: 'endPointName',
1087
- value: (_9 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _9 === void 0 ? void 0 : _9.endPointName
1088
- }, {
1089
- label: '管网类型',
1090
- key: 'typeName',
1091
- value: info === null || info === void 0 ? void 0 : info.typeName
1092
- }, {
1093
- label: '管道长度(m)',
1094
- key: 'lineLength',
1095
- value: (_10 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _10 === void 0 ? void 0 : _10.lineLength
1096
- }, {
1097
- label: '起点地面高程(m)',
1098
- key: 'startZ',
1099
- value: (_11 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _11 === void 0 ? void 0 : _11.startZ
1100
- }, {
1101
- label: '终点地面高程(m)',
1102
- key: 'endZ',
1103
- value: (_12 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _12 === void 0 ? void 0 : _12.endZ
1104
- }, {
1105
- label: '起点埋深(m)',
1106
- key: 'startDeep',
1107
- value: (_13 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _13 === void 0 ? void 0 : _13.startDeep
1108
- }, {
1109
- label: '终点埋深(m)',
1110
- key: 'endDeep',
1111
- value: (_14 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _14 === void 0 ? void 0 : _14.endDeep
1112
- }, {
1113
- label: '管径(mm)',
1114
- key: 'ds',
1115
- value: (_15 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _15 === void 0 ? void 0 : _15.ds
1116
- }, {
1117
- label: '管材',
1118
- key: 'lineTextureName',
1119
- value: (_16 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _16 === void 0 ? void 0 : _16.lineTextureName
1120
- }, {
1121
- label: '流向',
1122
- key: 'flowDirectionName',
1123
- value: (_17 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _17 === void 0 ? void 0 : _17.flowDirectionName
1124
- }, {
1125
- label: '埋设方式',
1126
- key: 'layWayName',
1127
- value: (_18 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _18 === void 0 ? void 0 : _18.layWayName
1128
- }, {
1129
- label: '压力类型',
1130
- key: 'pressureTypeName',
1131
- value: (_19 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _19 === void 0 ? void 0 : _19.pressureTypeName
1132
- }, {
1133
- label: '所属道路',
1134
- key: 'roadName',
1135
- value: (_20 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _20 === void 0 ? void 0 : _20.roadName
1136
- }, {
1137
- label: '行政区划',
1138
- key: 'divisionName',
1139
- value: info === null || info === void 0 ? void 0 : info.divisionName
1140
- }, {
1141
- label: '管理单位',
1142
- key: 'orgName',
1143
- value: (_21 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _21 === void 0 ? void 0 : _21.orgName
1144
- }, {
1145
- label: '数据获取时间',
1146
- key: 'infoTime',
1147
- value: (_22 = info === null || info === void 0 ? void 0 : info.dataJson) === null || _22 === void 0 ? void 0 : _22.infoTime
1148
- }, {
1149
- label: '备注',
1150
- key: 'description',
1151
- value: info === null || info === void 0 ? void 0 : info.description
1152
- }];
1153
- break;
1154
- default:
1155
- baseInfo = [{
1156
- label: '编码',
1157
- key: 'code',
1158
- value: info === null || info === void 0 ? void 0 : info.code
1159
- }, {
1160
- label: '名称',
1161
- key: 'code',
1162
- value: info === null || info === void 0 ? void 0 : info.name
1163
- }, {
1164
- label: '行政区划',
1165
- key: 'divisionName',
1166
- value: info === null || info === void 0 ? void 0 : info.divisionName
1167
- }, {
1168
- label: '地址',
1169
- key: 'address',
1170
- value: info === null || info === void 0 ? void 0 : info.address
1171
- }];
1172
- break;
1173
- }
1174
- }
1175
- return {
1176
- baseInfo: baseInfo,
1177
- info: Object.assign(Object.assign({}, info), {
1178
- dataJson: Object.assign(Object.assign({}, info === null || info === void 0 ? void 0 : info.dataJson), {
1179
- code: info === null || info === void 0 ? void 0 : info.code,
1180
- name: info === null || info === void 0 ? void 0 : info.name
1181
- }),
1182
- hasDevice: hasDevice
1183
- })
1184
- };
1185
- },
1186
- //工单统计
1187
- UseCountAllType: function UseCountAllType(_ref21) {
1188
- var id = _ref21.id,
1189
- startTime = _ref21.startTime,
1190
- endTime = _ref21.endTime,
1191
- timeType = _ref21.timeType;
1192
- var _useRequest25 = (0, _ahooks.useRequest)(function () {
1193
- return _utils.request.post('/cloud/zhsw-sjgd/api/workOrderStatistics/countAllType', {
1194
- body: JSON.stringify({
1195
- facilityId: id,
1196
- processDefinitionKey: 'clock_event_process',
1197
- startTime: startTime,
1198
- endTime: endTime,
1199
- timeType: timeType
1200
- })
1201
- });
1202
- }, {
1203
- refreshDeps: [id,, startTime, endTime, timeType]
1204
- }),
1205
- dataValue = _useRequest25.data;
1206
- var orderStatistics = (dataValue === null || dataValue === void 0 ? void 0 : dataValue.data) || [];
1207
- return {
1208
- orderStatistics: orderStatistics
1209
- };
1210
- },
1211
- //工单统计
1212
- UseOrderInfo: function UseOrderInfo(_ref22) {
1213
- var id = _ref22.id,
1214
- param = _ref22.param,
1215
- YWJLCurrent = _ref22.YWJLCurrent,
1216
- startTime = _ref22.startTime,
1217
- endTime = _ref22.endTime,
1218
- timeType = _ref22.timeType;
1219
- var _a, _b, _c;
1220
- var _useRequest26 = (0, _ahooks.useRequest)(function () {
1221
- return _utils.request.post('/cloud/zhsw-sjgd/api/workOrderStatistics/countAllType', {
1222
- body: JSON.stringify({
1223
- facilityId: id,
1224
- processDefinitionKey: 'clock_event_process',
1225
- startTime: (0, _moment["default"])(startTime).format('YYYY-MM-DD'),
1226
- endTime: (0, _moment["default"])(endTime).format('YYYY-MM-DD'),
1227
- timeType: timeType
1228
- })
1229
- });
1230
- }, {
1231
- refreshDeps: [id,, startTime, endTime, timeType]
1232
- }),
1233
- countAllType = _useRequest26.data;
1234
- //table
1235
- var _useRequest27 = (0, _ahooks.useRequest)(function () {
1236
- return _utils.request.get('/cloud/zhxt/case/supervises/urge/record/allCasePage', {
1237
- body: Object.assign({
1238
- facilityId: id,
1239
- // caseSource:type,
1240
- current: YWJLCurrent,
1241
- size: 10,
1242
- finishLimitTimeStart: startTime,
1243
- finishLimitTimeEnd: endTime,
1244
- processDefinitionKey: 'clock_event_process'
1245
- }, param)
1246
- });
1247
- }, {
1248
- refreshDeps: [id, param, YWJLCurrent, startTime, endTime, timeType]
1249
- }),
1250
- tableData = _useRequest27.data;
1251
- var d = (countAllType === null || countAllType === void 0 ? void 0 : countAllType.data) || [];
1252
- var statusInfo = d.map(function (item) {
1253
- return Object.assign(Object.assign({}, item), {
1254
- label: item.name,
1255
- value: item.count,
1256
- code: item.paramCode ? "".concat(item.paramCode, "_").concat(item.paramValue) : 'all'
1257
- });
1258
- });
1259
- var ywglTable = (_b = (_a = tableData === null || tableData === void 0 ? void 0 : tableData.data) === null || _a === void 0 ? void 0 : _a.records) === null || _b === void 0 ? void 0 : _b.map(function (item) {
1260
- var _a;
1261
- return Object.assign(Object.assign(Object.assign({}, item), item.object), {
1262
- staffName: (_a = item === null || item === void 0 ? void 0 : item.staffList) === null || _a === void 0 ? void 0 : _a[0].staffName,
1263
- id: item.id,
1264
- key: item.id
1265
- });
1266
- });
1267
- return {
1268
- statusInfo: statusInfo,
1269
- ywglTable: ywglTable,
1270
- pages: (_c = tableData === null || tableData === void 0 ? void 0 : tableData.data) === null || _c === void 0 ? void 0 : _c.total
1271
- };
1272
- },
1273
- //缺陷
1274
- UseFlaw: function UseFlaw(_ref23) {
1275
- var code = _ref23.code;
1276
- var _a;
1277
- var _useRequest28 = (0, _ahooks.useRequest)(function () {
1278
- return _utils.request.get('/cloud/zhsw-psfw/api/cctv/flaw/getDetail', {
1279
- body: {
1280
- lineCode: code
1281
- }
1282
- });
1283
- }, {
1284
- refreshDeps: [code]
1285
- }),
1286
- dataValue = _useRequest28.data;
1287
- var tableData = ((_a = dataValue === null || dataValue === void 0 ? void 0 : dataValue.data) === null || _a === void 0 ? void 0 : _a.thins) || [];
1288
- return {
1289
- tableData: tableData
1290
- };
1291
- },
1292
- UseSynthesisScore: function UseSynthesisScore(_ref24) {
1293
- var code = _ref24.code;
1294
- var _useRequest29 = (0, _ahooks.useRequest)(function () {
1295
- return _utils.request.get('/cloud/zhsw-psfw/api/lineHealth/getSynthesisScore', {
1296
- body: {
1297
- lineCode: code
1298
- }
1299
- });
1300
- }, {
1301
- refreshDeps: [code]
1302
- }),
1303
- data = _useRequest29.data;
1304
- var score = {};
1305
- var max = 0;
1306
- var zhdf = 0;
1307
- var indicator = [];
1308
- var healthScoreData = [];
1309
- data === null || data === void 0 ? void 0 : data.data.map(function (item) {
1310
- if (item.name !== '综合得分') {
1311
- if (Number(item.value) > 0) {
1312
- max = Number(item.value);
1313
- }
1314
- indicator.push({
1315
- name: item.name,
1316
- max: max
1317
- });
1318
- healthScoreData.push(Number(item.value) || 0);
1319
- } else {
1320
- zhdf = Number(item.value);
1321
- }
1322
- score = Object.assign(Object.assign({}, score), _defineProperty({}, item.name, item.value));
1323
- });
1324
- return {
1325
- score: score,
1326
- indicator: indicator,
1327
- healthScoreData: healthScoreData,
1328
- zhdf: zhdf
1329
- };
1330
- },
1331
- sewerage_user: function sewerage_user(_ref25) {
1332
- var id = _ref25.id;
1333
- // 基本信息
1334
- var _useRequest30 = (0, _ahooks.useRequest)(function () {
1335
- return _utils.request.get('/cloud/zhsw-psfw/api/sewageUser/detail', {
1336
- body: {
1337
- id: id
1338
- }
1339
- });
1340
- }, {
1341
- refreshDeps: [id]
1342
- }),
1343
- baseInfoRes = _useRequest30.data;
1344
- var info = baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data;
1345
- return {
1346
- info: info
1347
- };
1348
- }
1349
- };
1350
- exports.facilityService = facilityService;
1351
- //# sourceMappingURL=api.js.map