@vtx/modals2 2.10.7 → 2.10.12

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 (718) hide show
  1. package/lib/index.js +14 -0
  2. package/lib/index.js.map +1 -1
  3. package/lib/style/css.js.map +1 -1
  4. package/lib/style/index.css +63 -0
  5. package/lib/style/index.js.map +1 -1
  6. package/lib/style/index.less +1 -0
  7. package/lib/style/themes/dark.css +4 -0
  8. package/lib/style/themes/dark.less +2 -0
  9. package/lib/style/themes/default.css +2 -0
  10. package/lib/style/themes/default.less +3 -0
  11. package/lib/style/themes/index.css +4 -0
  12. package/lib/style/themesHZ/dark.css +59 -0
  13. package/lib/style/themesHZ/dark.less +60 -0
  14. package/lib/style/themesHZ/default.css +17 -0
  15. package/lib/style/themesHZ/default.less +17 -0
  16. package/lib/style/themesHZ/index.css +59 -0
  17. package/lib/style/themesHZ/index.less +1 -0
  18. package/lib/util/index.js.map +1 -1
  19. package/lib/vm-alarm-info/Components/AlarmRecord.js +22 -58
  20. package/lib/vm-alarm-info/Components/AlarmRecord.js.map +1 -1
  21. package/lib/vm-alarm-info/Components/AlarmStatistics.js +22 -90
  22. package/lib/vm-alarm-info/Components/AlarmStatistics.js.map +1 -1
  23. package/lib/vm-alarm-info/Components/AlarmTrend.js +37 -63
  24. package/lib/vm-alarm-info/Components/AlarmTrend.js.map +1 -1
  25. package/lib/vm-alarm-info/Components/CurrentAlarm.js +15 -85
  26. package/lib/vm-alarm-info/Components/CurrentAlarm.js.map +1 -1
  27. package/lib/vm-alarm-info/Components/CurrentAlarmNew.js +3 -5
  28. package/lib/vm-alarm-info/Components/CurrentAlarmNew.js.map +1 -1
  29. package/lib/vm-alarm-info/Components/index.css +3 -8
  30. package/lib/vm-alarm-info/Components/index.less +4 -6
  31. package/lib/vm-alarm-info/api.js +17 -20
  32. package/lib/vm-alarm-info/api.js.map +1 -1
  33. package/lib/vm-alarm-info/index.js +22 -17
  34. package/lib/vm-alarm-info/index.js.map +1 -1
  35. package/lib/vm-alarm-info/style/css.js.map +1 -1
  36. package/lib/vm-alarm-info/style/index.js.map +1 -1
  37. package/lib/vm-alarm-situation/api.js.map +1 -1
  38. package/lib/vm-alarm-situation/index.js +3 -5
  39. package/lib/vm-alarm-situation/index.js.map +1 -1
  40. package/lib/vm-alarm-situation/style/css.js.map +1 -1
  41. package/lib/vm-alarm-situation/style/index.js.map +1 -1
  42. package/lib/vm-alarm-situation-pt/api.js.map +1 -1
  43. package/lib/vm-alarm-situation-pt/index.js +2 -2
  44. package/lib/vm-alarm-situation-pt/index.js.map +1 -1
  45. package/lib/vm-alarm-situation-pt/style/css.js.map +1 -1
  46. package/lib/vm-alarm-situation-pt/style/index.js.map +1 -1
  47. package/lib/vm-analysis-comparison/api.js.map +1 -1
  48. package/lib/vm-analysis-comparison/index.js +3 -5
  49. package/lib/vm-analysis-comparison/index.js.map +1 -1
  50. package/lib/vm-analysis-comparison/style/css.js.map +1 -1
  51. package/lib/vm-analysis-comparison/style/index.js.map +1 -1
  52. package/lib/vm-appraisal-info/AppraisalBase.js.map +1 -1
  53. package/lib/vm-appraisal-info/AppraisalTop5.js.map +1 -1
  54. package/lib/vm-appraisal-info/List.js +3 -5
  55. package/lib/vm-appraisal-info/List.js.map +1 -1
  56. package/lib/vm-appraisal-info/ListKh.js +3 -5
  57. package/lib/vm-appraisal-info/ListKh.js.map +1 -1
  58. package/lib/vm-appraisal-info/ListZg.js +3 -5
  59. package/lib/vm-appraisal-info/ListZg.js.map +1 -1
  60. package/lib/vm-appraisal-info/Wtlx.js.map +1 -1
  61. package/lib/vm-appraisal-info/Zgxxhz.js.map +1 -1
  62. package/lib/vm-appraisal-info/api.js.map +1 -1
  63. package/lib/vm-appraisal-info/index.js +3 -5
  64. package/lib/vm-appraisal-info/index.js.map +1 -1
  65. package/lib/vm-appraisal-info/style/css.js.map +1 -1
  66. package/lib/vm-appraisal-info/style/index.js.map +1 -1
  67. package/lib/vm-base-list/OpenArrow.js.map +1 -1
  68. package/lib/vm-base-list/index.js +2 -2
  69. package/lib/vm-base-list/index.js.map +1 -1
  70. package/lib/vm-base-list/style/css.js.map +1 -1
  71. package/lib/vm-base-list/style/index.js.map +1 -1
  72. package/lib/vm-button/index.js.map +1 -1
  73. package/lib/vm-button/style/css.js.map +1 -1
  74. package/lib/vm-button/style/index.js.map +1 -1
  75. package/lib/vm-charts/Distribute1.js +1 -1
  76. package/lib/vm-charts/Distribute1.js.map +1 -1
  77. package/lib/vm-charts/Gauge1.js.map +1 -1
  78. package/lib/vm-charts/Line.js +5 -3
  79. package/lib/vm-charts/Line.js.map +1 -1
  80. package/lib/vm-charts/Line1.js.map +1 -1
  81. package/lib/vm-charts/Pie.js.map +1 -1
  82. package/lib/vm-charts/index.js.map +1 -1
  83. package/lib/vm-checkbox/index.js.map +1 -1
  84. package/lib/vm-checkbox/style/css.js.map +1 -1
  85. package/lib/vm-checkbox/style/index.js.map +1 -1
  86. package/lib/vm-common-components/common/index.js +28 -0
  87. package/lib/vm-common-components/common/index.js.map +1 -0
  88. package/lib/vm-common-components/common/vm-modal/index.js +32 -0
  89. package/lib/vm-common-components/common/vm-modal/index.js.map +1 -0
  90. package/lib/vm-common-components/common/vm-modal/style/css.js +4 -0
  91. package/lib/vm-common-components/common/vm-modal/style/css.js.map +1 -0
  92. package/lib/vm-common-components/common/vm-modal/style/index.css +80 -0
  93. package/lib/vm-common-components/common/vm-modal/style/index.js +4 -0
  94. package/lib/vm-common-components/common/vm-modal/style/index.js.map +1 -0
  95. package/lib/vm-common-components/common/vm-modal/style/index.less +95 -0
  96. package/lib/vm-common-components/common/vm-select/index.js +22 -0
  97. package/lib/vm-common-components/common/vm-select/index.js.map +1 -0
  98. package/lib/vm-common-components/common/vm-select/style/css.js +4 -0
  99. package/lib/vm-common-components/common/vm-select/style/css.js.map +1 -0
  100. package/lib/vm-common-components/common/vm-select/style/index.css +47 -0
  101. package/lib/vm-common-components/common/vm-select/style/index.js +4 -0
  102. package/lib/vm-common-components/common/vm-select/style/index.js.map +1 -0
  103. package/lib/vm-common-components/common/vm-select/style/index.less +51 -0
  104. package/lib/vm-common-components/common/vm-tabs/index.js +75 -0
  105. package/lib/vm-common-components/common/vm-tabs/index.js.map +1 -0
  106. package/lib/vm-common-components/common/vm-tabs/style/css.js +4 -0
  107. package/lib/vm-common-components/common/vm-tabs/style/css.js.map +1 -0
  108. package/lib/vm-common-components/common/vm-tabs/style/index.css +63 -0
  109. package/lib/vm-common-components/common/vm-tabs/style/index.js +4 -0
  110. package/lib/vm-common-components/common/vm-tabs/style/index.js.map +1 -0
  111. package/lib/vm-common-components/common/vm-tabs/style/index.less +56 -0
  112. package/lib/vm-common-components/components/Compare/index.js +54 -0
  113. package/lib/vm-common-components/components/Compare/index.js.map +1 -0
  114. package/lib/vm-common-components/components/Compare/style/css.js +4 -0
  115. package/lib/vm-common-components/components/Compare/style/css.js.map +1 -0
  116. package/lib/vm-common-components/components/Compare/style/index.css +40 -0
  117. package/lib/vm-common-components/components/Compare/style/index.js +4 -0
  118. package/lib/vm-common-components/components/Compare/style/index.js.map +1 -0
  119. package/lib/vm-common-components/components/Compare/style/index.less +36 -0
  120. package/lib/vm-common-components/components/ImagesGroup/index.js +30 -0
  121. package/lib/vm-common-components/components/ImagesGroup/index.js.map +1 -0
  122. package/lib/vm-common-components/components/ImagesGroup/style/css.js +4 -0
  123. package/lib/vm-common-components/components/ImagesGroup/style/css.js.map +1 -0
  124. package/lib/vm-common-components/components/ImagesGroup/style/index.css +11 -0
  125. package/lib/vm-common-components/components/ImagesGroup/style/index.js +4 -0
  126. package/lib/vm-common-components/components/ImagesGroup/style/index.js.map +1 -0
  127. package/lib/vm-common-components/components/ImagesGroup/style/index.less +11 -0
  128. package/lib/vm-common-components/components/RadionButton/index.js +44 -0
  129. package/lib/vm-common-components/components/RadionButton/index.js.map +1 -0
  130. package/lib/vm-common-components/components/RadionButton/style/css.js +4 -0
  131. package/lib/vm-common-components/components/RadionButton/style/css.js.map +1 -0
  132. package/lib/vm-common-components/components/RadionButton/style/index.css +35 -0
  133. package/lib/vm-common-components/components/RadionButton/style/index.js +4 -0
  134. package/lib/vm-common-components/components/RadionButton/style/index.js.map +1 -0
  135. package/lib/vm-common-components/components/RadionButton/style/index.less +26 -0
  136. package/lib/vm-common-components/components/Statistics/index.js +177 -0
  137. package/lib/vm-common-components/components/Statistics/index.js.map +1 -0
  138. package/lib/vm-common-components/components/Statistics/style/css.js +4 -0
  139. package/lib/vm-common-components/components/Statistics/style/css.js.map +1 -0
  140. package/lib/vm-common-components/components/Statistics/style/index.css +71 -0
  141. package/lib/vm-common-components/components/Statistics/style/index.js +4 -0
  142. package/lib/vm-common-components/components/Statistics/style/index.js.map +1 -0
  143. package/lib/vm-common-components/components/Statistics/style/index.less +66 -0
  144. package/lib/vm-common-components/components/SubTitle/index.js +61 -0
  145. package/lib/vm-common-components/components/SubTitle/index.js.map +1 -0
  146. package/lib/vm-common-components/components/SubTitle/style/css.js +2 -0
  147. package/lib/vm-common-components/components/SubTitle/style/css.js.map +1 -0
  148. package/lib/vm-common-components/components/SubTitle/style/index.css +63 -0
  149. package/lib/vm-common-components/components/SubTitle/style/index.js +2 -0
  150. package/lib/vm-common-components/components/SubTitle/style/index.js.map +1 -0
  151. package/lib/vm-common-components/components/SubTitle/style/index.less +63 -0
  152. package/lib/vm-common-components/components/TimePeriodSwitch/index.js +44 -0
  153. package/lib/vm-common-components/components/TimePeriodSwitch/index.js.map +1 -0
  154. package/lib/vm-common-components/components/TimePeriodSwitch/style/index.css +41 -0
  155. package/lib/vm-common-components/components/TimePeriodSwitch/style/index.less +28 -0
  156. package/lib/vm-common-components/components/vm-alarm-title/imgs/alarm.png +0 -0
  157. package/lib/vm-common-components/components/vm-alarm-title/index.js +31 -0
  158. package/lib/vm-common-components/components/vm-alarm-title/index.js.map +1 -0
  159. package/lib/vm-common-components/components/vm-alarm-title/style/css.js +4 -0
  160. package/lib/vm-common-components/components/vm-alarm-title/style/css.js.map +1 -0
  161. package/lib/vm-common-components/components/vm-alarm-title/style/index.css +25 -0
  162. package/lib/vm-common-components/components/vm-alarm-title/style/index.js +4 -0
  163. package/lib/vm-common-components/components/vm-alarm-title/style/index.js.map +1 -0
  164. package/lib/vm-common-components/components/vm-alarm-title/style/index.less +20 -0
  165. package/lib/vm-common-components/components/vm-chart/index.css +9 -0
  166. package/lib/vm-common-components/components/vm-chart/index.js +388 -0
  167. package/lib/vm-common-components/components/vm-chart/index.js.map +1 -0
  168. package/lib/vm-common-components/components/vm-chart/index.less +12 -0
  169. package/lib/vm-common-components/components/vm-collect/imgs/collect.png +0 -0
  170. package/lib/vm-common-components/components/vm-collect/imgs/collect_light.png +0 -0
  171. package/lib/vm-common-components/components/vm-collect/index.js +43 -0
  172. package/lib/vm-common-components/components/vm-collect/index.js.map +1 -0
  173. package/lib/vm-common-components/components/vm-collect/style/css.js +4 -0
  174. package/lib/vm-common-components/components/vm-collect/style/css.js.map +1 -0
  175. package/lib/vm-common-components/components/vm-collect/style/index.css +17 -0
  176. package/lib/vm-common-components/components/vm-collect/style/index.js +4 -0
  177. package/lib/vm-common-components/components/vm-collect/style/index.js.map +1 -0
  178. package/lib/vm-common-components/components/vm-collect/style/index.less +13 -0
  179. package/lib/vm-common-components/components/vm-container/index.js +48 -0
  180. package/lib/vm-common-components/components/vm-container/index.js.map +1 -0
  181. package/lib/vm-common-components/components/vm-container/style/css.js +4 -0
  182. package/lib/vm-common-components/components/vm-container/style/css.js.map +1 -0
  183. package/lib/vm-common-components/components/vm-container/style/index.css +14 -0
  184. package/lib/vm-common-components/components/vm-container/style/index.js +4 -0
  185. package/lib/vm-common-components/components/vm-container/style/index.js.map +1 -0
  186. package/lib/vm-common-components/components/vm-container/style/index.less +17 -0
  187. package/lib/vm-common-components/components/vm-nodata/imgs/no_chart.png +0 -0
  188. package/lib/vm-common-components/components/vm-nodata/imgs/no_data.png +0 -0
  189. package/lib/vm-common-components/components/vm-nodata/imgs/no_data_2.png +0 -0
  190. package/lib/vm-common-components/components/vm-nodata/imgs/no_news.png +0 -0
  191. package/lib/vm-common-components/components/vm-nodata/imgs/no_permission.png +0 -0
  192. package/lib/vm-common-components/components/vm-nodata/imgs/no_picture.png +0 -0
  193. package/lib/vm-common-components/components/vm-nodata/imgs/no_result.png +0 -0
  194. package/lib/vm-common-components/components/vm-nodata/imgs/page_error.png +0 -0
  195. package/lib/vm-common-components/components/vm-nodata/index.js +73 -0
  196. package/lib/vm-common-components/components/vm-nodata/index.js.map +1 -0
  197. package/lib/vm-common-components/components/vm-nodata/style/css.js +4 -0
  198. package/lib/vm-common-components/components/vm-nodata/style/css.js.map +1 -0
  199. package/lib/vm-common-components/components/vm-nodata/style/index.css +27 -0
  200. package/lib/vm-common-components/components/vm-nodata/style/index.js +4 -0
  201. package/lib/vm-common-components/components/vm-nodata/style/index.js.map +1 -0
  202. package/lib/vm-common-components/components/vm-nodata/style/index.less +21 -0
  203. package/lib/vm-common-components/components/vm-water-wave/index.css +51 -0
  204. package/lib/vm-common-components/components/vm-water-wave/index.js +161 -0
  205. package/lib/vm-common-components/components/vm-water-wave/index.js.map +1 -0
  206. package/lib/vm-common-components/components/vm-water-wave/index.less +44 -0
  207. package/lib/vm-common-components/index.js +328 -0
  208. package/lib/vm-common-components/index.js.map +1 -0
  209. package/lib/vm-common-components/style/css.js +4 -0
  210. package/lib/vm-common-components/style/css.js.map +1 -0
  211. package/lib/vm-common-components/style/index.css +147 -0
  212. package/lib/vm-common-components/style/index.js +4 -0
  213. package/lib/vm-common-components/style/index.js.map +1 -0
  214. package/lib/vm-common-components/style/index.less +1 -0
  215. package/lib/vm-container/index.js.map +1 -1
  216. package/lib/vm-container/style/css.js.map +1 -1
  217. package/lib/vm-container/style/index.js.map +1 -1
  218. package/lib/vm-correlation-comparison/api.js.map +1 -1
  219. package/lib/vm-correlation-comparison/index.js +2 -2
  220. package/lib/vm-correlation-comparison/index.js.map +1 -1
  221. package/lib/vm-correlation-comparison/style/css.js.map +1 -1
  222. package/lib/vm-correlation-comparison/style/index.js.map +1 -1
  223. package/lib/vm-empty/index.js.map +1 -1
  224. package/lib/vm-empty/style/css.js.map +1 -1
  225. package/lib/vm-empty/style/index.js.map +1 -1
  226. package/lib/vm-filter/index.js +35 -3
  227. package/lib/vm-filter/index.js.map +1 -1
  228. package/lib/vm-filter/style/css.js.map +1 -1
  229. package/lib/vm-filter/style/index.css +4 -4
  230. package/lib/vm-filter/style/index.js.map +1 -1
  231. package/lib/vm-filter/style/index.less +4 -4
  232. package/lib/vm-hooks/useSettings.js.map +1 -1
  233. package/lib/vm-image-text/index.js.map +1 -1
  234. package/lib/vm-image-text/style/css.js.map +1 -1
  235. package/lib/vm-image-text/style/index.js.map +1 -1
  236. package/lib/vm-info-collection/index.js.map +1 -1
  237. package/lib/vm-info-collection/style/css.js.map +1 -1
  238. package/lib/vm-info-collection/style/index.js.map +1 -1
  239. package/lib/vm-map/index.js +5 -6
  240. package/lib/vm-map/index.js.map +1 -1
  241. package/lib/vm-map/mapStyle.js.map +1 -1
  242. package/lib/vm-modal-table/index.js.map +1 -1
  243. package/lib/vm-modal-table/style/css.js.map +1 -1
  244. package/lib/vm-modal-table/style/index.js.map +1 -1
  245. package/lib/vm-nodata/index.js.map +1 -1
  246. package/lib/vm-radio/index.js.map +1 -1
  247. package/lib/vm-radio/style/css.js.map +1 -1
  248. package/lib/vm-radio/style/index.js.map +1 -1
  249. package/lib/vm-real-time-monitor/api.js.map +1 -1
  250. package/lib/vm-real-time-monitor/index.js +3 -5
  251. package/lib/vm-real-time-monitor/index.js.map +1 -1
  252. package/lib/vm-real-time-monitor/style/css.js.map +1 -1
  253. package/lib/vm-real-time-monitor/style/index.js.map +1 -1
  254. package/lib/vm-repair-maintain/RmInfoSummary.js.map +1 -1
  255. package/lib/vm-repair-maintain/RmMonthTrend.js.map +1 -1
  256. package/lib/vm-repair-maintain/RmRecord.js +4 -9
  257. package/lib/vm-repair-maintain/RmRecord.js.map +1 -1
  258. package/lib/vm-repair-maintain/RmType.js.map +1 -1
  259. package/lib/vm-repair-maintain/api.js.map +1 -1
  260. package/lib/vm-repair-maintain/index.js.map +1 -1
  261. package/lib/vm-repair-maintain/style/css.js.map +1 -1
  262. package/lib/vm-repair-maintain/style/index.js.map +1 -1
  263. package/lib/vm-round-content/index.js +3 -5
  264. package/lib/vm-round-content/index.js.map +1 -1
  265. package/lib/vm-round-content/style/css.js.map +1 -1
  266. package/lib/vm-round-content/style/index.js.map +1 -1
  267. package/lib/vm-row-col/index.js.map +1 -1
  268. package/lib/vm-row-col/style/css.js.map +1 -1
  269. package/lib/vm-row-col/style/index.js.map +1 -1
  270. package/lib/vm-select-device/index.js +2 -2
  271. package/lib/vm-select-device/index.js.map +1 -1
  272. package/lib/vm-select-device/style/css.js.map +1 -1
  273. package/lib/vm-select-device/style/index.js.map +1 -1
  274. package/lib/vm-sub-tabs/index.js.map +1 -1
  275. package/lib/vm-sub-tabs/style/css.js.map +1 -1
  276. package/lib/vm-sub-tabs/style/index.js.map +1 -1
  277. package/lib/vm-sub-title/index.js.map +1 -1
  278. package/lib/vm-sub-title/style/css.js.map +1 -1
  279. package/lib/vm-sub-title/style/index.js.map +1 -1
  280. package/lib/vm-table/index.js +16 -16
  281. package/lib/vm-table/index.js.map +1 -1
  282. package/lib/vm-table/style/css.js.map +1 -1
  283. package/lib/vm-table/style/index.css +2 -2
  284. package/lib/vm-table/style/index.js.map +1 -1
  285. package/lib/vm-table/style/index.less +2 -2
  286. package/lib/vm-time-line/index.js.map +1 -1
  287. package/lib/vm-time-line/style/css.js.map +1 -1
  288. package/lib/vm-time-line/style/index.js.map +1 -1
  289. package/lib/vm-video/api.js.map +1 -1
  290. package/lib/vm-video/index.css +63 -0
  291. package/lib/vm-video/index.js.map +1 -1
  292. package/lib/vtx-base-modal/api.js.map +1 -1
  293. package/lib/vtx-base-modal/index.js +2 -2
  294. package/lib/vtx-base-modal/index.js.map +1 -1
  295. package/lib/vtx-base-modal/style/css.js.map +1 -1
  296. package/lib/vtx-base-modal/style/index.css +2 -2
  297. package/lib/vtx-base-modal/style/index.js.map +1 -1
  298. package/lib/vtx-base-modal/style/index.less +2 -2
  299. package/lib/vtx-base-modal-hz/index.js +38 -0
  300. package/lib/vtx-base-modal-hz/index.js.map +1 -0
  301. package/lib/vtx-car-modal/api.js +1 -1
  302. package/lib/vtx-car-modal/api.js.map +1 -1
  303. package/lib/vtx-car-modal/components/AlarmInfo/Charts.js.map +1 -1
  304. package/lib/vtx-car-modal/components/AlarmInfo/List.js +3 -5
  305. package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -1
  306. package/lib/vtx-car-modal/components/AlarmInfo/index.js +3 -5
  307. package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -1
  308. package/lib/vtx-car-modal/components/BaseInfo/Charts.js.map +1 -1
  309. package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js.map +1 -1
  310. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js.map +1 -1
  311. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js.map +1 -1
  312. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js.map +1 -1
  313. package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js.map +1 -1
  314. package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js.map +1 -1
  315. package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js.map +1 -1
  316. package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js.map +1 -1
  317. package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js.map +1 -1
  318. package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -1
  319. package/lib/vtx-car-modal/components/BaseInfo/index.js +2 -2
  320. package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -1
  321. package/lib/vtx-car-modal/components/Maintenance/index.js.map +1 -1
  322. package/lib/vtx-car-modal/components/OilConsumption/List.js +3 -5
  323. package/lib/vtx-car-modal/components/OilConsumption/List.js.map +1 -1
  324. package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js.map +1 -1
  325. package/lib/vtx-car-modal/components/OilConsumption/index.js +3 -5
  326. package/lib/vtx-car-modal/components/OilConsumption/index.js.map +1 -1
  327. package/lib/vtx-car-modal/components/StaticInfo/Charts.js.map +1 -1
  328. package/lib/vtx-car-modal/components/StaticInfo/List.js.map +1 -1
  329. package/lib/vtx-car-modal/components/StaticInfo/index.js +3 -5
  330. package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -1
  331. package/lib/vtx-car-modal/components/WaterConsumption/index.js +3 -5
  332. package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +1 -1
  333. package/lib/vtx-car-modal/components/WorkInfo/Wcl.js.map +1 -1
  334. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js +2 -2
  335. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +1 -1
  336. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js +2 -2
  337. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js.map +1 -1
  338. package/lib/vtx-car-modal/components/WorkInfo/index.js.map +1 -1
  339. package/lib/vtx-car-modal/components/index.js.map +1 -1
  340. package/lib/vtx-car-modal/index.js.map +1 -1
  341. package/lib/vtx-car-modal/style/css.js.map +1 -1
  342. package/lib/vtx-car-modal/style/index.css +63 -0
  343. package/lib/vtx-car-modal/style/index.js.map +1 -1
  344. package/lib/vtx-cc-cp-modal/api.js +15 -13
  345. package/lib/vtx-cc-cp-modal/api.js.map +1 -1
  346. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +2 -2
  347. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  348. package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  349. package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
  350. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js.map +1 -1
  351. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js.map +1 -1
  352. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js.map +1 -1
  353. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js.map +1 -1
  354. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +2 -2
  355. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js.map +1 -1
  356. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js.map +1 -1
  357. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js +2 -2
  358. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js.map +1 -1
  359. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js.map +1 -1
  360. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js.map +1 -1
  361. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js.map +1 -1
  362. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +2 -2
  363. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js.map +1 -1
  364. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
  365. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js.map +1 -1
  366. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +2 -2
  367. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js.map +1 -1
  368. package/lib/vtx-cc-cp-modal/components/index.js.map +1 -1
  369. package/lib/vtx-cc-cp-modal/index.js.map +1 -1
  370. package/lib/vtx-cc-cp-modal/style/css.js.map +1 -1
  371. package/lib/vtx-cc-cp-modal/style/index.css +63 -0
  372. package/lib/vtx-cc-cp-modal/style/index.js.map +1 -1
  373. package/lib/vtx-cp-modal/api.js.map +1 -1
  374. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +3 -5
  375. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  376. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  377. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +3 -5
  378. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
  379. package/lib/vtx-cp-modal/components/AlarmInfo/index.js.map +1 -1
  380. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js.map +1 -1
  381. package/lib/vtx-cp-modal/components/BaseInfo/Rules.js.map +1 -1
  382. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js.map +1 -1
  383. package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +1 -1
  384. package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js +3 -5
  385. package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js.map +1 -1
  386. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js.map +1 -1
  387. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +3 -5
  388. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -1
  389. package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js.map +1 -1
  390. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
  391. package/lib/vtx-cp-modal/components/SyInfo/index.js +3 -5
  392. package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -1
  393. package/lib/vtx-cp-modal/components/index.js.map +1 -1
  394. package/lib/vtx-cp-modal/index.js.map +1 -1
  395. package/lib/vtx-cp-modal/style/css.js.map +1 -1
  396. package/lib/vtx-cp-modal/style/index.css +63 -0
  397. package/lib/vtx-cp-modal/style/index.js.map +1 -1
  398. package/lib/vtx-default-modal/api.js.map +1 -1
  399. package/lib/vtx-default-modal/components/BaseInfo/index.js +0 -2
  400. package/lib/vtx-default-modal/components/BaseInfo/index.js.map +1 -1
  401. package/lib/vtx-default-modal/components/index.js.map +1 -1
  402. package/lib/vtx-default-modal/index.js +7 -21
  403. package/lib/vtx-default-modal/index.js.map +1 -1
  404. package/lib/vtx-default-modal/style/css.js.map +1 -1
  405. package/lib/vtx-default-modal/style/index.css +63 -0
  406. package/lib/vtx-default-modal/style/index.js.map +1 -1
  407. package/lib/vtx-device-modal/api.js.map +1 -1
  408. package/lib/vtx-device-modal/components/BaseInfo/index.js.map +1 -1
  409. package/lib/vtx-device-modal/components/DataAnalysis/index.js +3 -5
  410. package/lib/vtx-device-modal/components/DataAnalysis/index.js.map +1 -1
  411. package/lib/vtx-device-modal/components/FacilityFile/index.js.map +1 -1
  412. package/lib/vtx-device-modal/components/LiftInfo/index.js.map +1 -1
  413. package/lib/vtx-device-modal/components/OverViewInfo/Left.js.map +1 -1
  414. package/lib/vtx-device-modal/components/OverViewInfo/index.js +2 -2
  415. package/lib/vtx-device-modal/components/OverViewInfo/index.js.map +1 -1
  416. package/lib/vtx-device-modal/components/VideoInfo/index.js.map +1 -1
  417. package/lib/vtx-device-modal/config.js.map +1 -1
  418. package/lib/vtx-device-modal/index.js.map +1 -1
  419. package/lib/vtx-device-modal/style/css.js.map +1 -1
  420. package/lib/vtx-device-modal/style/index.js.map +1 -1
  421. package/lib/vtx-df-modal/api.js.map +1 -1
  422. package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js.map +1 -1
  423. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +2 -2
  424. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +1 -1
  425. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +3 -5
  426. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +1 -1
  427. package/lib/vtx-df-modal/components/BaseInfo/Situation.js.map +1 -1
  428. package/lib/vtx-df-modal/components/BaseInfo/index.js +2 -2
  429. package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -1
  430. package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +1 -1
  431. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +1 -1
  432. package/lib/vtx-df-modal/components/Metering/List.js +3 -5
  433. package/lib/vtx-df-modal/components/Metering/List.js.map +1 -1
  434. package/lib/vtx-df-modal/components/Metering/index.js +3 -5
  435. package/lib/vtx-df-modal/components/Metering/index.js.map +1 -1
  436. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +3 -5
  437. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -1
  438. package/lib/vtx-df-modal/components/WorkCondition/Situation.js +3 -5
  439. package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +1 -1
  440. package/lib/vtx-df-modal/components/WorkCondition/index.js +3 -5
  441. package/lib/vtx-df-modal/components/WorkCondition/index.js.map +1 -1
  442. package/lib/vtx-df-modal/components/index.js.map +1 -1
  443. package/lib/vtx-df-modal/index.js.map +1 -1
  444. package/lib/vtx-df-modal/style/css.js.map +1 -1
  445. package/lib/vtx-df-modal/style/index.css +63 -0
  446. package/lib/vtx-df-modal/style/index.js.map +1 -1
  447. package/lib/vtx-facility-modal/api.js +32 -28
  448. package/lib/vtx-facility-modal/api.js.map +1 -1
  449. package/lib/vtx-facility-modal/components/OverView/Left.js.map +1 -1
  450. package/lib/vtx-facility-modal/components/OverView/index.js +2 -2
  451. package/lib/vtx-facility-modal/components/OverView/index.js.map +1 -1
  452. package/lib/vtx-facility-modal/components/index.js.map +1 -1
  453. package/lib/vtx-facility-modal/config.js.map +1 -1
  454. package/lib/vtx-facility-modal/index.js.map +1 -1
  455. package/lib/vtx-facility-modal/style/css.js.map +1 -1
  456. package/lib/vtx-facility-modal/style/index.js.map +1 -1
  457. package/lib/vtx-housing-estate-modal/api.js +32 -28
  458. package/lib/vtx-housing-estate-modal/api.js.map +1 -1
  459. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +2 -2
  460. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +1 -1
  461. package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js +2 -2
  462. package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js.map +1 -1
  463. package/lib/vtx-housing-estate-modal/components/Alarm/MY.js +2 -2
  464. package/lib/vtx-housing-estate-modal/components/Alarm/MY.js.map +1 -1
  465. package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js.map +1 -1
  466. package/lib/vtx-housing-estate-modal/components/Alarm/index.js +2 -2
  467. package/lib/vtx-housing-estate-modal/components/Alarm/index.js.map +1 -1
  468. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +2 -2
  469. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js.map +1 -1
  470. package/lib/vtx-housing-estate-modal/components/OverView/Left.js.map +1 -1
  471. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +1 -1
  472. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js.map +1 -1
  473. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +2 -2
  474. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js.map +1 -1
  475. package/lib/vtx-housing-estate-modal/components/OverView/Trend.js.map +1 -1
  476. package/lib/vtx-housing-estate-modal/components/OverView/index.js.map +1 -1
  477. package/lib/vtx-housing-estate-modal/components/SPJK/index.js +2 -2
  478. package/lib/vtx-housing-estate-modal/components/SPJK/index.js.map +1 -1
  479. package/lib/vtx-housing-estate-modal/components/TFRD/index.js +2 -2
  480. package/lib/vtx-housing-estate-modal/components/TFRD/index.js.map +1 -1
  481. package/lib/vtx-housing-estate-modal/components/WGGS/Content.js.map +1 -1
  482. package/lib/vtx-housing-estate-modal/components/WGGS/index.js +2 -2
  483. package/lib/vtx-housing-estate-modal/components/WGGS/index.js.map +1 -1
  484. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js.map +1 -1
  485. package/lib/vtx-housing-estate-modal/components/WGXW/index.js +2 -2
  486. package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +1 -1
  487. package/lib/vtx-housing-estate-modal/components/index.js.map +1 -1
  488. package/lib/vtx-housing-estate-modal/config.js +1 -1
  489. package/lib/vtx-housing-estate-modal/config.js.map +1 -1
  490. package/lib/vtx-housing-estate-modal/index.js +1 -1
  491. package/lib/vtx-housing-estate-modal/index.js.map +1 -1
  492. package/lib/vtx-housing-estate-modal/style/css.js.map +1 -1
  493. package/lib/vtx-housing-estate-modal/style/index.js.map +1 -1
  494. package/lib/vtx-hz-facility-modal/api.js +686 -0
  495. package/lib/vtx-hz-facility-modal/api.js.map +1 -0
  496. package/lib/vtx-hz-facility-modal/components/DetectedData/index.js +229 -0
  497. package/lib/vtx-hz-facility-modal/components/DetectedData/index.js.map +1 -0
  498. package/lib/vtx-hz-facility-modal/components/DetectedData/style/css.js +4 -0
  499. package/lib/vtx-hz-facility-modal/components/DetectedData/style/css.js.map +1 -0
  500. package/lib/vtx-hz-facility-modal/components/DetectedData/style/index.js +4 -0
  501. package/lib/vtx-hz-facility-modal/components/DetectedData/style/index.js.map +1 -0
  502. package/lib/vtx-hz-facility-modal/components/DetectedData/style/inedx.css +0 -0
  503. package/lib/vtx-hz-facility-modal/components/DetectedData/style/inedx.less +0 -0
  504. package/lib/vtx-hz-facility-modal/components/FacilityFile/index.js +25 -0
  505. package/lib/vtx-hz-facility-modal/components/FacilityFile/index.js.map +1 -0
  506. package/lib/vtx-hz-facility-modal/components/FacilityFile/style/css.js +4 -0
  507. package/lib/vtx-hz-facility-modal/components/FacilityFile/style/css.js.map +1 -0
  508. package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.css +22 -0
  509. package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.js +4 -0
  510. package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.js.map +1 -0
  511. package/lib/vtx-hz-facility-modal/components/FacilityFile/style/index.less +26 -0
  512. package/lib/vtx-hz-facility-modal/components/FacilityFile1/index.js +272 -0
  513. package/lib/vtx-hz-facility-modal/components/FacilityFile1/index.js.map +1 -0
  514. package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/css.js +4 -0
  515. package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/css.js.map +1 -0
  516. package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.css +29 -0
  517. package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.js +4 -0
  518. package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.js.map +1 -0
  519. package/lib/vtx-hz-facility-modal/components/FacilityFile1/style/index.less +33 -0
  520. package/lib/vtx-hz-facility-modal/components/FacilityFile2/index.js +279 -0
  521. package/lib/vtx-hz-facility-modal/components/FacilityFile2/index.js.map +1 -0
  522. package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/css.js +4 -0
  523. package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/css.js.map +1 -0
  524. package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.css +37 -0
  525. package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.js +4 -0
  526. package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.js.map +1 -0
  527. package/lib/vtx-hz-facility-modal/components/FacilityFile2/style/index.less +39 -0
  528. package/lib/vtx-hz-facility-modal/components/MonitorData/index.js +386 -0
  529. package/lib/vtx-hz-facility-modal/components/MonitorData/index.js.map +1 -0
  530. package/lib/vtx-hz-facility-modal/components/MonitorData/style/css.js +4 -0
  531. package/lib/vtx-hz-facility-modal/components/MonitorData/style/css.js.map +1 -0
  532. package/lib/vtx-hz-facility-modal/components/MonitorData/style/index.js +4 -0
  533. package/lib/vtx-hz-facility-modal/components/MonitorData/style/index.js.map +1 -0
  534. package/lib/vtx-hz-facility-modal/components/MonitorData/style/inedx.css +4 -0
  535. package/lib/vtx-hz-facility-modal/components/MonitorData/style/inedx.less +4 -0
  536. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/index.js +414 -0
  537. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/index.js.map +1 -0
  538. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/css.js +4 -0
  539. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/css.js.map +1 -0
  540. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.css +49 -0
  541. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.js +4 -0
  542. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.js.map +1 -0
  543. package/lib/vtx-hz-facility-modal/components/OverViewInfo1/style/index.less +40 -0
  544. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/index.js +270 -0
  545. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/index.js.map +1 -0
  546. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/css.js +4 -0
  547. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/css.js.map +1 -0
  548. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.css +58 -0
  549. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.js +4 -0
  550. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.js.map +1 -0
  551. package/lib/vtx-hz-facility-modal/components/OverViewInfo2/style/index.less +52 -0
  552. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/index.js +97 -0
  553. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/index.js.map +1 -0
  554. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/css.js +4 -0
  555. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/css.js.map +1 -0
  556. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.css +15 -0
  557. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.js +4 -0
  558. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.js.map +1 -0
  559. package/lib/vtx-hz-facility-modal/components/OverViewInfo3/style/index.less +19 -0
  560. package/lib/vtx-hz-facility-modal/components/OverViewInfo4/index.js +343 -0
  561. package/lib/vtx-hz-facility-modal/components/OverViewInfo4/index.js.map +1 -0
  562. package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/css.js +4 -0
  563. package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/css.js.map +1 -0
  564. package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/index.css +44 -0
  565. package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/index.js +4 -0
  566. package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/index.js.map +1 -0
  567. package/lib/vtx-hz-facility-modal/components/OverViewInfo4/style/index.less +39 -0
  568. package/lib/vtx-hz-facility-modal/components/OverviewInfo/index.js +29 -0
  569. package/lib/vtx-hz-facility-modal/components/OverviewInfo/index.js.map +1 -0
  570. package/lib/vtx-hz-facility-modal/index.js +84 -0
  571. package/lib/vtx-hz-facility-modal/index.js.map +1 -0
  572. package/lib/vtx-hz-facility-modal/style/css.js +4 -0
  573. package/lib/vtx-hz-facility-modal/style/css.js.map +1 -0
  574. package/lib/vtx-hz-facility-modal/style/index.css +0 -0
  575. package/lib/vtx-hz-facility-modal/style/index.js +4 -0
  576. package/lib/vtx-hz-facility-modal/style/index.js.map +1 -0
  577. package/lib/vtx-hz-facility-modal/style/index.less +0 -0
  578. package/lib/vtx-kh-modal/api.js.map +1 -1
  579. package/lib/vtx-kh-modal/components/BaseInfo/index.js.map +1 -1
  580. package/lib/vtx-kh-modal/components/index.js.map +1 -1
  581. package/lib/vtx-kh-modal/index.js +1 -3
  582. package/lib/vtx-kh-modal/index.js.map +1 -1
  583. package/lib/vtx-kh-modal/style/css.js.map +1 -1
  584. package/lib/vtx-kh-modal/style/index.css +63 -0
  585. package/lib/vtx-kh-modal/style/index.js.map +1 -1
  586. package/lib/vtx-restaurant-modal/api.js +16 -14
  587. package/lib/vtx-restaurant-modal/api.js.map +1 -1
  588. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js.map +1 -1
  589. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +1 -1
  590. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +1 -1
  591. package/lib/vtx-restaurant-modal/components/Alarm/index.js +2 -2
  592. package/lib/vtx-restaurant-modal/components/Alarm/index.js.map +1 -1
  593. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js.map +1 -1
  594. package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +1 -1
  595. package/lib/vtx-restaurant-modal/components/Basic/Summary.js.map +1 -1
  596. package/lib/vtx-restaurant-modal/components/Basic/index.js.map +1 -1
  597. package/lib/vtx-restaurant-modal/components/Collection/index.js +2 -2
  598. package/lib/vtx-restaurant-modal/components/Collection/index.js.map +1 -1
  599. package/lib/vtx-restaurant-modal/components/index.js.map +1 -1
  600. package/lib/vtx-restaurant-modal/config.js.map +1 -1
  601. package/lib/vtx-restaurant-modal/index.js.map +1 -1
  602. package/lib/vtx-restaurant-modal/style/css.js.map +1 -1
  603. package/lib/vtx-restaurant-modal/style/index.js.map +1 -1
  604. package/lib/vtx-road-modal/api.js.map +1 -1
  605. package/lib/vtx-road-modal/components/BaseInfo/Rules.js.map +1 -1
  606. package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js.map +1 -1
  607. package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js.map +1 -1
  608. package/lib/vtx-road-modal/components/BaseInfo/index.js.map +1 -1
  609. package/lib/vtx-road-modal/components/Statistical/Zylc.js.map +1 -1
  610. package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +1 -1
  611. package/lib/vtx-road-modal/components/Statistical/index.js +3 -5
  612. package/lib/vtx-road-modal/components/Statistical/index.js.map +1 -1
  613. package/lib/vtx-road-modal/components/index.js.map +1 -1
  614. package/lib/vtx-road-modal/index.js.map +1 -1
  615. package/lib/vtx-road-modal/style/css.js.map +1 -1
  616. package/lib/vtx-road-modal/style/index.css +63 -0
  617. package/lib/vtx-road-modal/style/index.js.map +1 -1
  618. package/lib/vtx-staff-modal/api.js.map +1 -1
  619. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js.map +1 -1
  620. package/lib/vtx-staff-modal/components/AlarmInfo/List.js +3 -5
  621. package/lib/vtx-staff-modal/components/AlarmInfo/List.js.map +1 -1
  622. package/lib/vtx-staff-modal/components/AlarmInfo/index.js +3 -5
  623. package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +1 -1
  624. package/lib/vtx-staff-modal/components/Attendance/Exeception.js.map +1 -1
  625. package/lib/vtx-staff-modal/components/Attendance/Record.js +3 -5
  626. package/lib/vtx-staff-modal/components/Attendance/Record.js.map +1 -1
  627. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js.map +1 -1
  628. package/lib/vtx-staff-modal/components/Attendance/index.js.map +1 -1
  629. package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js.map +1 -1
  630. package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js.map +1 -1
  631. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js.map +1 -1
  632. package/lib/vtx-staff-modal/components/BaseInfo/index.js +2 -2
  633. package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -1
  634. package/lib/vtx-staff-modal/components/Equipment/index.js.map +1 -1
  635. package/lib/vtx-staff-modal/components/index.js.map +1 -1
  636. package/lib/vtx-staff-modal/index.js.map +1 -1
  637. package/lib/vtx-staff-modal/style/css.js.map +1 -1
  638. package/lib/vtx-staff-modal/style/index.css +63 -0
  639. package/lib/vtx-staff-modal/style/index.js.map +1 -1
  640. package/lib/vtx-theme-provider/index.js.map +1 -1
  641. package/lib/vtx-throw-point-modal/api.js +32 -28
  642. package/lib/vtx-throw-point-modal/api.js.map +1 -1
  643. package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js +2 -2
  644. package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js.map +1 -1
  645. package/lib/vtx-throw-point-modal/components/Alarm/LDB.js +2 -2
  646. package/lib/vtx-throw-point-modal/components/Alarm/LDB.js.map +1 -1
  647. package/lib/vtx-throw-point-modal/components/Alarm/MY.js +2 -2
  648. package/lib/vtx-throw-point-modal/components/Alarm/MY.js.map +1 -1
  649. package/lib/vtx-throw-point-modal/components/Alarm/Rank.js.map +1 -1
  650. package/lib/vtx-throw-point-modal/components/Alarm/index.js +2 -2
  651. package/lib/vtx-throw-point-modal/components/Alarm/index.js.map +1 -1
  652. package/lib/vtx-throw-point-modal/components/OverView/Hot.js +2 -2
  653. package/lib/vtx-throw-point-modal/components/OverView/Hot.js.map +1 -1
  654. package/lib/vtx-throw-point-modal/components/OverView/Left.js.map +1 -1
  655. package/lib/vtx-throw-point-modal/components/OverView/Manage.js +1 -1
  656. package/lib/vtx-throw-point-modal/components/OverView/Manage.js.map +1 -1
  657. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js +2 -2
  658. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js.map +1 -1
  659. package/lib/vtx-throw-point-modal/components/OverView/Trend.js.map +1 -1
  660. package/lib/vtx-throw-point-modal/components/OverView/index.js.map +1 -1
  661. package/lib/vtx-throw-point-modal/components/SBZJ/Content.js.map +1 -1
  662. package/lib/vtx-throw-point-modal/components/SBZJ/index.js +2 -2
  663. package/lib/vtx-throw-point-modal/components/SBZJ/index.js.map +1 -1
  664. package/lib/vtx-throw-point-modal/components/TFRD/index.js +2 -2
  665. package/lib/vtx-throw-point-modal/components/TFRD/index.js.map +1 -1
  666. package/lib/vtx-throw-point-modal/components/WGGS/Content.js.map +1 -1
  667. package/lib/vtx-throw-point-modal/components/WGGS/index.js +2 -2
  668. package/lib/vtx-throw-point-modal/components/WGGS/index.js.map +1 -1
  669. package/lib/vtx-throw-point-modal/components/WGXW/Content.js.map +1 -1
  670. package/lib/vtx-throw-point-modal/components/WGXW/index.js +2 -2
  671. package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +1 -1
  672. package/lib/vtx-throw-point-modal/components/index.js.map +1 -1
  673. package/lib/vtx-throw-point-modal/config.js +1 -1
  674. package/lib/vtx-throw-point-modal/config.js.map +1 -1
  675. package/lib/vtx-throw-point-modal/index.js +1 -1
  676. package/lib/vtx-throw-point-modal/index.js.map +1 -1
  677. package/lib/vtx-throw-point-modal/style/css.js.map +1 -1
  678. package/lib/vtx-throw-point-modal/style/index.js.map +1 -1
  679. package/lib/vtx-wr-modal/api.js.map +1 -1
  680. package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js +3 -5
  681. package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  682. package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  683. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js +3 -5
  684. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -1
  685. package/lib/vtx-wr-modal/components/AlarmInfo/index.js.map +1 -1
  686. package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js.map +1 -1
  687. package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js +1 -2
  688. package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js.map +1 -1
  689. package/lib/vtx-wr-modal/components/BaseInfo/Situation.js.map +1 -1
  690. package/lib/vtx-wr-modal/components/BaseInfo/index.css +1 -1
  691. package/lib/vtx-wr-modal/components/BaseInfo/index.js +6 -7
  692. package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -1
  693. package/lib/vtx-wr-modal/components/BaseInfo/index.less +1 -1
  694. package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js +3 -5
  695. package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js.map +1 -1
  696. package/lib/vtx-wr-modal/components/Evaluate/Radar.js.map +1 -1
  697. package/lib/vtx-wr-modal/components/Evaluate/Summary.js +3 -5
  698. package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -1
  699. package/lib/vtx-wr-modal/components/Evaluate/index.js +3 -5
  700. package/lib/vtx-wr-modal/components/Evaluate/index.js.map +1 -1
  701. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +3 -5
  702. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +1 -1
  703. package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js.map +1 -1
  704. package/lib/vtx-wr-modal/components/Monitor/index.js.map +1 -1
  705. package/lib/vtx-wr-modal/components/index.js.map +1 -1
  706. package/lib/vtx-wr-modal/index.js.map +1 -1
  707. package/lib/vtx-wr-modal/style/css.js.map +1 -1
  708. package/lib/vtx-wr-modal/style/index.css +63 -0
  709. package/lib/vtx-wr-modal/style/index.js.map +1 -1
  710. package/lib/vtx-zg-modal/api.js.map +1 -1
  711. package/lib/vtx-zg-modal/components/BaseInfo/index.js.map +1 -1
  712. package/lib/vtx-zg-modal/components/index.js.map +1 -1
  713. package/lib/vtx-zg-modal/index.js +1 -3
  714. package/lib/vtx-zg-modal/index.js.map +1 -1
  715. package/lib/vtx-zg-modal/style/css.js.map +1 -1
  716. package/lib/vtx-zg-modal/style/index.css +63 -0
  717. package/lib/vtx-zg-modal/style/index.js.map +1 -1
  718. package/package.json +1 -1
@@ -0,0 +1,686 @@
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
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
12
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
13
+ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
14
+ 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."); }
15
+ 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); }
16
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
17
+ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
18
+ 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; }
19
+ 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 exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
20
+ var _getUrlParam = (0, _utils.getUrlParam)(),
21
+ token = _getUrlParam.token;
22
+ var getDetectData = function getDetectData(current, size, id, reportType) {
23
+ return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
24
+ var _a, _b, _c, _d, res;
25
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
26
+ while (1) {
27
+ switch (_context.prev = _context.next) {
28
+ case 0:
29
+ _context.next = 2;
30
+ return _axios["default"].post('/cloud/zhsw-gsfw/api/manualDataEntry/page', {
31
+ current: current,
32
+ size: size,
33
+ facilityId: id,
34
+ reportType: reportType
35
+ }, {
36
+ headers: {
37
+ Authorization: token ? "Bearer ".concat(token) : '',
38
+ 'Cache-Control': 'no-cache',
39
+ 'content-type': 'application/json;charset=UTF-8'
40
+ }
41
+ });
42
+ case 2:
43
+ res = _context.sent;
44
+ return _context.abrupt("return", {
45
+ 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) || [],
46
+ 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
47
+ });
48
+ case 4:
49
+ case "end":
50
+ return _context.stop();
51
+ }
52
+ }
53
+ }, _callee);
54
+ }));
55
+ };
56
+ //计算同比环比
57
+ exports.getDetectData = getDetectData;
58
+ var getValue = function getValue(n1, n2) {
59
+ //n1 同比 环比数 n2 当前数据
60
+ if (n1 == 0) {
61
+ return 0;
62
+ } else {
63
+ return parseFloat(String(n2 / n1 - 1)).toFixed(2);
64
+ }
65
+ };
66
+ //日月年转换
67
+ var getTransformUnit = {
68
+ YEAR: '年',
69
+ MONYH: '月',
70
+ DAY: '日'
71
+ };
72
+ var Service = {
73
+ getTableData: function getTableData(_ref) {
74
+ var id = _ref.id,
75
+ publicUrlJCSS = _ref.publicUrlJCSS,
76
+ collectFrequency = _ref.collectFrequency,
77
+ startTime = _ref.startTime,
78
+ endTime = _ref.endTime;
79
+ return _utils.request.get("".concat(publicUrlJCSS, "/api/facility/hisDataByTime"), {
80
+ data: {
81
+ facilityId: id,
82
+ collectFrequency: collectFrequency,
83
+ startTime: startTime,
84
+ endTime: endTime
85
+ }
86
+ });
87
+ },
88
+ UseBaseInfo: function UseBaseInfo(_ref2) {
89
+ var id = _ref2.id;
90
+ var _a;
91
+ // 基本信息
92
+ var _useRequest = (0, _ahooks.useRequest)(function () {
93
+ return _utils.request.get('/cloud/zhsw-device/api/device/getById', {
94
+ body: {
95
+ id: id
96
+ }
97
+ });
98
+ }, {
99
+ refreshDeps: [id]
100
+ }),
101
+ baseInfoRes = _useRequest.data;
102
+ var info = baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data;
103
+ if ((_a = info === null || info === void 0 ? void 0 : info.monitorItems) === null || _a === void 0 ? void 0 : _a.length) {
104
+ var monitorItems = info.monitorItems.map(function (item) {
105
+ return item.value;
106
+ });
107
+ info.monitorItemsName = monitorItems.join(',');
108
+ }
109
+ var baseInfo = [{
110
+ label: '设备编码',
111
+ key: 'code',
112
+ value: info === null || info === void 0 ? void 0 : info.code
113
+ }, {
114
+ label: '设备名称',
115
+ key: 'name',
116
+ value: info === null || info === void 0 ? void 0 : info.name
117
+ }, {
118
+ label: '设备类型',
119
+ key: 'deviceTypeName',
120
+ value: info === null || info === void 0 ? void 0 : info.deviceTypeName
121
+ }, {
122
+ label: '设备型号',
123
+ key: 'modelName',
124
+ value: info === null || info === void 0 ? void 0 : info.modelName
125
+ }, {
126
+ label: '设备厂家',
127
+ key: 'factoryName',
128
+ value: info === null || info === void 0 ? void 0 : info.factoryName
129
+ }, {
130
+ label: '安装位置',
131
+ key: 'facilityName',
132
+ value: info === null || info === void 0 ? void 0 : info.facilityName
133
+ }, {
134
+ label: '设备ID',
135
+ key: 'iotId',
136
+ value: info === null || info === void 0 ? void 0 : info.iotId
137
+ }, {
138
+ label: '监测项目',
139
+ key: 'monitorItems',
140
+ value: info === null || info === void 0 ? void 0 : info.monitorItemsName
141
+ }, {
142
+ label: '资产编号',
143
+ key: 'assetNumber',
144
+ value: info === null || info === void 0 ? void 0 : info.assetNumber
145
+ }, {
146
+ label: '设备位号',
147
+ key: 'tagNumber',
148
+ value: info === null || info === void 0 ? void 0 : info.tagNumber
149
+ }, {
150
+ label: '性能参数',
151
+ key: 'performanceParameter',
152
+ value: info === null || info === void 0 ? void 0 : info.performanceParameter
153
+ }, {
154
+ label: '主要材质',
155
+ key: 'mainMaterial',
156
+ value: info === null || info === void 0 ? void 0 : info.mainMaterial
157
+ }, {
158
+ label: '出厂编号',
159
+ key: 'factoryNumber',
160
+ value: info === null || info === void 0 ? void 0 : info.factoryNumber
161
+ }, {
162
+ label: '出厂日期',
163
+ key: 'factoryDate',
164
+ value: info === null || info === void 0 ? void 0 : info.factoryDate
165
+ }, {
166
+ label: '设备供应商',
167
+ key: 'supplier',
168
+ value: info === null || info === void 0 ? void 0 : info.supplier
169
+ }, {
170
+ label: '启用时间',
171
+ key: 'enableDate',
172
+ value: info === null || info === void 0 ? void 0 : info.enableDate
173
+ }, {
174
+ label: '寿命周期',
175
+ key: 'expectServiceLifeUnit',
176
+ value: getTransformUnit[info === null || info === void 0 ? void 0 : info.expectServiceLifeUnit]
177
+ }, {
178
+ label: '预计使用寿命',
179
+ key: 'expectServiceLifeNumber',
180
+ value: info === null || info === void 0 ? void 0 : info.expectServiceLifeNumber
181
+ }, {
182
+ label: '所属单位',
183
+ key: 'manageUnitName',
184
+ value: info === null || info === void 0 ? void 0 : info.manageUnitName
185
+ }, {
186
+ label: '设备负责人',
187
+ key: 'responsiblePersonName',
188
+ value: info === null || info === void 0 ? void 0 : info.responsiblePersonName
189
+ }, {
190
+ label: '联系方式',
191
+ key: 'phone',
192
+ value: info === null || info === void 0 ? void 0 : info.phone
193
+ }];
194
+ return {
195
+ baseInfo: baseInfo,
196
+ info: Object.assign(Object.assign({}, info), {
197
+ expectServiceLifeUnitStr: getTransformUnit[info === null || info === void 0 ? void 0 : info.expectServiceLifeUnit],
198
+ expectServiceLifeUnit: (info === null || info === void 0 ? void 0 : info.expectServiceLifeUnit) == 'MONYH' ? 'MONTH' : info === null || info === void 0 ? void 0 : info.expectServiceLifeUnit
199
+ })
200
+ };
201
+ },
202
+ //实时信息
203
+ UseRealInfo: function UseRealInfo(_ref3) {
204
+ var code = _ref3.code;
205
+ var _a, _b;
206
+ var _useRequest2 = (0, _ahooks.useRequest)(function () {
207
+ return _utils.request.get('/cloud/zhsw-jcyj/api/dataQuery/getFactorInfoFromFacilityId', {
208
+ body: {
209
+ deviceCode: code
210
+ }
211
+ });
212
+ }, {
213
+ refreshDeps: [code]
214
+ }),
215
+ baseInfoReal = _useRequest2.data;
216
+ var realdata = baseInfoReal === null || baseInfoReal === void 0 ? void 0 : baseInfoReal.data;
217
+ 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) {
218
+ return {
219
+ label: item.name,
220
+ key: item.id,
221
+ value: item.value
222
+ };
223
+ });
224
+ return {
225
+ realInfo: realInfo
226
+ };
227
+ },
228
+ //运维概览状态统计
229
+ UseStatusInfo: function UseStatusInfo(_ref4) {
230
+ var id = _ref4.id;
231
+ var _a;
232
+ //运维概览
233
+ var _useRequest3 = (0, _ahooks.useRequest)(function () {
234
+ return _utils.request.get('/cloud/zhsw-device/api/deviceUpdateRecord/getTransferStatus', {
235
+ body: {
236
+ deviceId: id
237
+ }
238
+ });
239
+ }, {
240
+ refreshDeps: [id]
241
+ }),
242
+ baseInfoYwgl = _useRequest3.data;
243
+ var statusInfo = (_a = baseInfoYwgl === null || baseInfoYwgl === void 0 ? void 0 : baseInfoYwgl.data) === null || _a === void 0 ? void 0 : _a.map(function (item) {
244
+ return {
245
+ label: item.statusName,
246
+ code: item.status,
247
+ value: item.total
248
+ };
249
+ });
250
+ return {
251
+ statusInfo: statusInfo
252
+ };
253
+ },
254
+ //运维概览
255
+ UseYwglInfo: function UseYwglInfo(_ref5) {
256
+ var code = _ref5.code;
257
+ //运维概览
258
+ var _useRequest4 = (0, _ahooks.useRequest)(function () {
259
+ return _utils.request.get('/cloud/zhsw-device/api/deviceUpdateRecord/getDeviceHisStatus', {
260
+ body: {
261
+ deviceCode: code
262
+ }
263
+ });
264
+ }, {
265
+ refreshDeps: [code]
266
+ }),
267
+ baseInfoYwgl = _useRequest4.data;
268
+ var deviceHisStatusInfo = baseInfoYwgl === null || baseInfoYwgl === void 0 ? void 0 : baseInfoYwgl.data;
269
+ return {
270
+ deviceHisStatusInfo: deviceHisStatusInfo
271
+ };
272
+ },
273
+ //运维概览table
274
+ UseYWGLTableInfo: function UseYWGLTableInfo(_ref6) {
275
+ var id = _ref6.id,
276
+ statusType = _ref6.statusType;
277
+ var _a, _b;
278
+ //运维概览
279
+ var _useRequest5 = (0, _ahooks.useRequest)(function () {
280
+ return _utils.request.post('/cloud/zhsw-device/api/deviceUpdateRecord/page', {
281
+ body: JSON.stringify({
282
+ deviceId: id,
283
+ statusType: statusType
284
+ })
285
+ });
286
+ }, {
287
+ refreshDeps: [id, statusType]
288
+ }),
289
+ baseInfoYwgl = _useRequest5.data;
290
+ 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) {
291
+ return Object.assign(Object.assign(Object.assign({}, item), item.object), {
292
+ id: item.id,
293
+ key: item.id
294
+ });
295
+ });
296
+ return {
297
+ ywglTable: ywglTable
298
+ };
299
+ },
300
+ //报警概括
301
+ alarmInfo: function alarmInfo(_ref7) {
302
+ var id = _ref7.id,
303
+ timeType = _ref7.timeType,
304
+ startTimeLocalDate = _ref7.startTimeLocalDate,
305
+ endTimeLocalDate = _ref7.endTimeLocalDate;
306
+ var _useRequest6 = (0, _ahooks.useRequest)(function () {
307
+ return _utils.request.post('/cloud/zhsw-jcyj/api/alarmCenter/getDeviceAlarmStatistics', {
308
+ body: JSON.stringify({
309
+ deviceId: id,
310
+ timeType: timeType,
311
+ startTimeLocalDate: startTimeLocalDate,
312
+ endTimeLocalDate: endTimeLocalDate
313
+ })
314
+ });
315
+ }, {
316
+ refreshDeps: [id, timeType, startTimeLocalDate, endTimeLocalDate]
317
+ }),
318
+ alarmData = _useRequest6.data;
319
+ var alarmDataInfo = alarmData === null || alarmData === void 0 ? void 0 : alarmData.data;
320
+ var hb = getValue(alarmDataInfo === null || alarmDataInfo === void 0 ? void 0 : alarmDataInfo.hbTotal, alarmDataInfo === null || alarmDataInfo === void 0 ? void 0 : alarmDataInfo.total);
321
+ var tb = getValue(alarmDataInfo === null || alarmDataInfo === void 0 ? void 0 : alarmDataInfo.tbTotal, alarmDataInfo === null || alarmDataInfo === void 0 ? void 0 : alarmDataInfo.total);
322
+ var xAxis = []; //x轴
323
+ var tbArray = [];
324
+ var hbArray = [];
325
+ var factorArray = []; //监测数值
326
+ var failureArray = []; //故障
327
+ var offlineArray = []; //离线
328
+ alarmDataInfo === null || alarmDataInfo === void 0 ? void 0 : alarmDataInfo.alarms.forEach(function (item) {
329
+ var ahb = getValue(item === null || item === void 0 ? void 0 : item.hbTotal, item === null || item === void 0 ? void 0 : item.factor);
330
+ var atb = getValue(item === null || item === void 0 ? void 0 : item.tbTotal, item === null || item === void 0 ? void 0 : item.factor);
331
+ xAxis = [].concat(_toConsumableArray(xAxis), [item.time]);
332
+ tbArray = [].concat(_toConsumableArray(tbArray), [ahb * 100]);
333
+ hbArray = [].concat(_toConsumableArray(hbArray), [atb * 100]);
334
+ factorArray = [].concat(_toConsumableArray(factorArray), [item.factor]);
335
+ failureArray = [].concat(_toConsumableArray(failureArray), [item.failure]);
336
+ offlineArray = [].concat(_toConsumableArray(offlineArray), [item.offline]);
337
+ });
338
+ return {
339
+ alarmDataInfo: Object.assign(Object.assign({}, alarmDataInfo), {
340
+ hb: hb,
341
+ tb: tb,
342
+ xAxis: xAxis,
343
+ tbArray: tbArray,
344
+ hbArray: hbArray,
345
+ factorArray: factorArray,
346
+ failureArray: failureArray,
347
+ offlineArray: offlineArray
348
+ })
349
+ };
350
+ },
351
+ UseDetectInfo: function UseDetectInfo(_ref8) {
352
+ var id = _ref8.id,
353
+ reportType = _ref8.reportType,
354
+ facilityType = _ref8.facilityType;
355
+ var _a, _b;
356
+ var _useRequest7 = (0, _ahooks.useRequest)(function () {
357
+ return _utils.request.post('/cloud/zhsw-gsfw/api/manualDataEntry/statistics', {
358
+ body: JSON.stringify({
359
+ facilityId: id,
360
+ reportType: reportType,
361
+ facilityType: facilityType
362
+ })
363
+ });
364
+ }, {
365
+ refreshDeps: [id, reportType, facilityType]
366
+ }),
367
+ statistics = _useRequest7.data;
368
+ var _useRequest8 = (0, _ahooks.useRequest)(function () {
369
+ return _utils.request.post('/cloud/zhsw-gsfw/api/manualDataEntry/list', {
370
+ body: JSON.stringify({
371
+ facilityId: id,
372
+ reportType: reportType,
373
+ facilityType: facilityType
374
+ })
375
+ });
376
+ }, {
377
+ refreshDeps: [id, reportType, facilityType]
378
+ }),
379
+ list = _useRequest8.data;
380
+ return {
381
+ statistics: ((_a = statistics === null || statistics === void 0 ? void 0 : statistics.data) === null || _a === void 0 ? void 0 : _a.data) || {},
382
+ list: ((_b = list === null || list === void 0 ? void 0 : list.data) === null || _b === void 0 ? void 0 : _b.data) || []
383
+ };
384
+ }
385
+ };
386
+ //设施接口
387
+ exports.Service = Service;
388
+ var facilityService = {
389
+ //水源地基础信息
390
+ UseWaterSourceBaseInfo: function UseWaterSourceBaseInfo(_ref9) {
391
+ var id = _ref9.id;
392
+ // 基本信息
393
+ var _useRequest9 = (0, _ahooks.useRequest)(function () {
394
+ return _utils.request.get('/cloud/zhsw-jcss/api/waterSource/getById', {
395
+ body: {
396
+ id: id
397
+ }
398
+ });
399
+ }, {
400
+ refreshDeps: [id]
401
+ }),
402
+ baseInfoRes = _useRequest9.data;
403
+ var info = baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data;
404
+ var baseInfo = [{
405
+ label: '水源地编码',
406
+ key: 'code',
407
+ value: info === null || info === void 0 ? void 0 : info.code
408
+ }, {
409
+ label: '水源地名称',
410
+ key: 'name',
411
+ value: info === null || info === void 0 ? void 0 : info.name
412
+ }, {
413
+ label: '总库容',
414
+ key: 'totalStorageCapacity',
415
+ value: info === null || info === void 0 ? void 0 : info.totalStorageCapacity
416
+ }, {
417
+ label: '供应水厂',
418
+ key: 'waterSupplyPlantsStr',
419
+ value: info === null || info === void 0 ? void 0 : info.waterSupplyPlantsStr
420
+ }, {
421
+ label: '水质等级',
422
+ key: 'qualityLevel',
423
+ value: info === null || info === void 0 ? void 0 : info.qualityLevel
424
+ }, {
425
+ label: '地址',
426
+ key: 'address',
427
+ value: info === null || info === void 0 ? void 0 : info.address
428
+ }, {
429
+ label: '管理单位',
430
+ key: 'orgName',
431
+ value: info === null || info === void 0 ? void 0 : info.orgName
432
+ }, {
433
+ label: '责任人',
434
+ key: 'dutyUserName',
435
+ value: info === null || info === void 0 ? void 0 : info.dutyUserName
436
+ }];
437
+ return {
438
+ baseInfo: baseInfo,
439
+ info: info
440
+ };
441
+ },
442
+ //供水厂
443
+ UseWaterSupplyPlantBaseInfo: function UseWaterSupplyPlantBaseInfo(_ref10) {
444
+ var id = _ref10.id;
445
+ var _a;
446
+ // 基本信息
447
+ var _useRequest10 = (0, _ahooks.useRequest)(function () {
448
+ return _utils.request.get('/cloud/zhsw-jcss/api/waterSupplyPlant/getById', {
449
+ body: {
450
+ id: id
451
+ }
452
+ });
453
+ }, {
454
+ refreshDeps: [id]
455
+ }),
456
+ baseInfoRes = _useRequest10.data;
457
+ var info = baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data;
458
+ var baseInfo = [{
459
+ label: '编码',
460
+ key: 'code',
461
+ value: info === null || info === void 0 ? void 0 : info.code
462
+ }, {
463
+ label: '供水厂名称',
464
+ key: 'name',
465
+ value: info === null || info === void 0 ? void 0 : info.name
466
+ }, {
467
+ label: '计划日供水能力(万吨/天)',
468
+ key: 'supplyCapacity',
469
+ value: info === null || info === void 0 ? void 0 : info.supplyCapacity
470
+ }, {
471
+ label: '管理单位',
472
+ key: 'orgName',
473
+ value: info === null || info === void 0 ? void 0 : info.orgName
474
+ }, {
475
+ label: '责任人',
476
+ key: 'dutyPeopleName',
477
+ value: info === null || info === void 0 ? void 0 : info.dutyPeopleName
478
+ }, {
479
+ label: '设施地址',
480
+ key: 'address',
481
+ value: info === null || info === void 0 ? void 0 : info.address
482
+ }, {
483
+ label: '行政区划',
484
+ key: 'divisionName',
485
+ value: info === null || info === void 0 ? void 0 : info.divisionName
486
+ }, {
487
+ label: '所属公司',
488
+ key: 'waterDivision',
489
+ value: (_a = info === null || info === void 0 ? void 0 : info.waterDivision) === null || _a === void 0 ? void 0 : _a.name
490
+ }, {
491
+ label: '水厂介绍',
492
+ key: 'introduce',
493
+ value: info === null || info === void 0 ? void 0 : info.introduce
494
+ }];
495
+ return {
496
+ baseInfo: baseInfo,
497
+ info: info
498
+ };
499
+ },
500
+ //污水厂
501
+ UseSewagePlantBaseInfo: function UseSewagePlantBaseInfo(_ref11) {
502
+ var id = _ref11.id;
503
+ var _a;
504
+ // 基本信息
505
+ var _useRequest11 = (0, _ahooks.useRequest)(function () {
506
+ return _utils.request.get('/cloud/zhsw-jcss/api/sewagePlant/getById', {
507
+ body: {
508
+ id: id
509
+ }
510
+ });
511
+ }, {
512
+ refreshDeps: [id]
513
+ }),
514
+ baseInfoRes = _useRequest11.data;
515
+ var info = baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data;
516
+ var baseInfo = [{
517
+ label: '编码',
518
+ key: 'code',
519
+ value: info === null || info === void 0 ? void 0 : info.code
520
+ }, {
521
+ label: '污水厂名称',
522
+ key: 'name',
523
+ value: info === null || info === void 0 ? void 0 : info.name
524
+ }, {
525
+ label: '关联管点',
526
+ key: 'pointId',
527
+ value: info === null || info === void 0 ? void 0 : info.pointId
528
+ }, {
529
+ label: '污水处理级别',
530
+ key: 'dealLevelStr',
531
+ value: info === null || info === void 0 ? void 0 : info.dealLevelStr
532
+ }, {
533
+ label: '污水处理工艺',
534
+ key: 'dealProcessStr',
535
+ value: info === null || info === void 0 ? void 0 : info.dealProcessStr
536
+ }, {
537
+ label: '日处理能力(万吨/天)',
538
+ key: 'supplyCapacity',
539
+ value: info === null || info === void 0 ? void 0 : info.supplyCapacity
540
+ }, {
541
+ label: '管理单位',
542
+ key: 'orgName',
543
+ value: info === null || info === void 0 ? void 0 : info.orgName
544
+ }, {
545
+ label: '责任人',
546
+ key: 'dutyPeopleName',
547
+ value: info === null || info === void 0 ? void 0 : info.dutyPeopleName
548
+ }, {
549
+ label: '行政区划',
550
+ key: 'divisionName',
551
+ value: info === null || info === void 0 ? void 0 : info.divisionName
552
+ }, {
553
+ label: '所属公司',
554
+ key: 'waterDivision',
555
+ value: (_a = info === null || info === void 0 ? void 0 : info.waterDivision) === null || _a === void 0 ? void 0 : _a.name
556
+ }, {
557
+ label: '水厂介绍',
558
+ key: 'introduce',
559
+ value: info === null || info === void 0 ? void 0 : info.introduce
560
+ }];
561
+ return {
562
+ baseInfo: baseInfo,
563
+ info: info
564
+ };
565
+ },
566
+ //运维概览状态统计
567
+ UseStatusInfo: function UseStatusInfo(_ref12) {
568
+ var id = _ref12.id,
569
+ type = _ref12.type,
570
+ state = _ref12.state,
571
+ YWJLCurrent = _ref12.YWJLCurrent;
572
+ var _a, _b, _c;
573
+ //运维概览
574
+ var _useRequest12 = (0, _ahooks.useRequest)(function () {
575
+ return _utils.request.get('/cloud/zhsw-xcgl/api/taskRecord/getTaskCountByFacilityId', {
576
+ body: {
577
+ facilityId: id
578
+ }
579
+ });
580
+ }, {
581
+ refreshDeps: [id]
582
+ }),
583
+ baseInfoYwgl = _useRequest12.data;
584
+ //table
585
+ var _useRequest13 = (0, _ahooks.useRequest)(function () {
586
+ return _utils.request.get('/cloud/zhsw-xcgl/api/taskRecord/page', {
587
+ body: {
588
+ facilityId: id,
589
+ type: type,
590
+ state: state,
591
+ current: YWJLCurrent,
592
+ size: 10
593
+ }
594
+ });
595
+ }, {
596
+ refreshDeps: [id, type, state, YWJLCurrent]
597
+ }),
598
+ tableData = _useRequest13.data;
599
+ var d = baseInfoYwgl === null || baseInfoYwgl === void 0 ? void 0 : baseInfoYwgl.data;
600
+ var statusInfo = [];
601
+ var codeObj = {
602
+ 任务总数: 'all',
603
+ 循环任务: 'type-1',
604
+ 指派任务: 'type-2',
605
+ 超时完成: 'state-4',
606
+ 待完成: 'state-1',
607
+ 按时完成: 'state-3'
608
+ };
609
+ for (var p in codeObj) {
610
+ statusInfo.push({
611
+ label: p,
612
+ value: d === null || d === void 0 ? void 0 : d[p],
613
+ code: codeObj[p]
614
+ });
615
+ }
616
+ 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) {
617
+ var _a;
618
+ return Object.assign(Object.assign(Object.assign({}, item), item.object), {
619
+ staffName: (_a = item === null || item === void 0 ? void 0 : item.staffList) === null || _a === void 0 ? void 0 : _a[0].staffName,
620
+ id: item.id,
621
+ key: item.id
622
+ });
623
+ });
624
+ return {
625
+ statusInfo: statusInfo,
626
+ ywglTable: ywglTable,
627
+ pages: (_c = tableData === null || tableData === void 0 ? void 0 : tableData.data) === null || _c === void 0 ? void 0 : _c.pages
628
+ };
629
+ },
630
+ //关联设备
631
+ UseDeviceInfo: function UseDeviceInfo(_ref13) {
632
+ var id = _ref13.id,
633
+ deviceCurrent = _ref13.deviceCurrent;
634
+ var _a;
635
+ //运维概览
636
+ var _useRequest14 = (0, _ahooks.useRequest)(function () {
637
+ return _utils.request.post('/cloud/zhsw-device/api/device/page', {
638
+ body: JSON.stringify({
639
+ objectId: id,
640
+ current: deviceCurrent,
641
+ size: 10
642
+ })
643
+ });
644
+ }, {
645
+ refreshDeps: [id, deviceCurrent]
646
+ }),
647
+ deviceData = _useRequest14.data;
648
+ var deviceList = (_a = (deviceData === null || deviceData === void 0 ? void 0 : deviceData.data.rows) || []) === null || _a === void 0 ? void 0 : _a.map(function (item) {
649
+ return Object.assign(Object.assign({}, item), {
650
+ id: item.id,
651
+ key: item.id
652
+ });
653
+ });
654
+ return {
655
+ deviceList: deviceList,
656
+ deviceTotal: deviceData === null || deviceData === void 0 ? void 0 : deviceData.data.total
657
+ };
658
+ },
659
+ //设施报警
660
+ UseAlarmInfo: function UseAlarmInfo(_ref14) {
661
+ var id = _ref14.id,
662
+ timeType = _ref14.timeType,
663
+ startTime = _ref14.startTime,
664
+ endTime = _ref14.endTime;
665
+ //运维概览
666
+ var _useRequest15 = (0, _ahooks.useRequest)(function () {
667
+ return _utils.request.post('/cloud/zhsw-qxjc/api/netWorkCockpit/warningStatistics', {
668
+ body: JSON.stringify({
669
+ facilityId: id,
670
+ timeType: timeType,
671
+ startTime: startTime,
672
+ endTime: endTime
673
+ })
674
+ });
675
+ }, {
676
+ refreshDeps: [id, timeType, endTime]
677
+ }),
678
+ alarmData = _useRequest15.data;
679
+ var alarmInfo = alarmData === null || alarmData === void 0 ? void 0 : alarmData.data;
680
+ return {
681
+ alarmInfo: alarmInfo
682
+ };
683
+ }
684
+ };
685
+ exports.facilityService = facilityService;
686
+ //# sourceMappingURL=api.js.map