@vtx/modals2 2.15.8 → 2.15.10

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 (877) hide show
  1. package/README.md +33 -33
  2. package/lib/index.js +1 -1
  3. package/lib/index.js.map +1 -1
  4. package/lib/style/css.js.map +1 -1
  5. package/lib/style/index.js.map +1 -1
  6. package/lib/style/index.less +8 -8
  7. package/lib/style/themes/dark.less +119 -119
  8. package/lib/style/themes/default.less +40 -40
  9. package/lib/style/themes/index.less +1 -1
  10. package/lib/typings.d.ts +17 -17
  11. package/lib/util/index.js +15 -11
  12. package/lib/util/index.js.map +1 -1
  13. package/lib/vm-alarm-info/Components/AlarmRecord.js +13 -12
  14. package/lib/vm-alarm-info/Components/AlarmRecord.js.map +1 -1
  15. package/lib/vm-alarm-info/Components/AlarmStatistics.js +17 -16
  16. package/lib/vm-alarm-info/Components/AlarmStatistics.js.map +1 -1
  17. package/lib/vm-alarm-info/Components/AlarmTrend.js +13 -12
  18. package/lib/vm-alarm-info/Components/AlarmTrend.js.map +1 -1
  19. package/lib/vm-alarm-info/Components/CurrentAlarm.js +13 -12
  20. package/lib/vm-alarm-info/Components/CurrentAlarm.js.map +1 -1
  21. package/lib/vm-alarm-info/Components/CurrentAlarmNew.js +16 -15
  22. package/lib/vm-alarm-info/Components/CurrentAlarmNew.js.map +1 -1
  23. package/lib/vm-alarm-info/Components/index.less +43 -43
  24. package/lib/vm-alarm-info/api.js +2 -1
  25. package/lib/vm-alarm-info/api.js.map +1 -1
  26. package/lib/vm-alarm-info/index.js +18 -16
  27. package/lib/vm-alarm-info/index.js.map +1 -1
  28. package/lib/vm-alarm-info/style/css.js.map +1 -1
  29. package/lib/vm-alarm-info/style/index.js.map +1 -1
  30. package/lib/vm-alarm-info/style/index.less +16 -16
  31. package/lib/vm-alarm-situation/api.js +3 -2
  32. package/lib/vm-alarm-situation/api.js.map +1 -1
  33. package/lib/vm-alarm-situation/index.js +23 -21
  34. package/lib/vm-alarm-situation/index.js.map +1 -1
  35. package/lib/vm-alarm-situation/style/css.js.map +1 -1
  36. package/lib/vm-alarm-situation/style/index.js.map +1 -1
  37. package/lib/vm-alarm-situation/style/index.less +67 -67
  38. package/lib/vm-alarm-situation-pt/api.js +3 -1
  39. package/lib/vm-alarm-situation-pt/api.js.map +1 -1
  40. package/lib/vm-alarm-situation-pt/index.js +14 -13
  41. package/lib/vm-alarm-situation-pt/index.js.map +1 -1
  42. package/lib/vm-alarm-situation-pt/style/css.js.map +1 -1
  43. package/lib/vm-alarm-situation-pt/style/index.js.map +1 -1
  44. package/lib/vm-alarm-situation-pt/style/index.less +65 -65
  45. package/lib/vm-analysis-comparison/api.js +3 -2
  46. package/lib/vm-analysis-comparison/api.js.map +1 -1
  47. package/lib/vm-analysis-comparison/index.js +19 -17
  48. package/lib/vm-analysis-comparison/index.js.map +1 -1
  49. package/lib/vm-analysis-comparison/style/css.js.map +1 -1
  50. package/lib/vm-analysis-comparison/style/index.js.map +1 -1
  51. package/lib/vm-analysis-comparison/style/index.less +12 -12
  52. package/lib/vm-appraisal-info/AppraisalBase.js +3 -2
  53. package/lib/vm-appraisal-info/AppraisalBase.js.map +1 -1
  54. package/lib/vm-appraisal-info/AppraisalTop5.js +5 -4
  55. package/lib/vm-appraisal-info/AppraisalTop5.js.map +1 -1
  56. package/lib/vm-appraisal-info/List.js +10 -9
  57. package/lib/vm-appraisal-info/List.js.map +1 -1
  58. package/lib/vm-appraisal-info/ListKh.js +15 -14
  59. package/lib/vm-appraisal-info/ListKh.js.map +1 -1
  60. package/lib/vm-appraisal-info/ListZg.js +15 -14
  61. package/lib/vm-appraisal-info/ListZg.js.map +1 -1
  62. package/lib/vm-appraisal-info/Wtlx.js +6 -5
  63. package/lib/vm-appraisal-info/Wtlx.js.map +1 -1
  64. package/lib/vm-appraisal-info/Zgxxhz.js +3 -2
  65. package/lib/vm-appraisal-info/Zgxxhz.js.map +1 -1
  66. package/lib/vm-appraisal-info/api.js +2 -1
  67. package/lib/vm-appraisal-info/api.js.map +1 -1
  68. package/lib/vm-appraisal-info/index.js +20 -19
  69. package/lib/vm-appraisal-info/index.js.map +1 -1
  70. package/lib/vm-appraisal-info/style/css.js.map +1 -1
  71. package/lib/vm-appraisal-info/style/index.js.map +1 -1
  72. package/lib/vm-appraisal-info/style/index.less +136 -136
  73. package/lib/vm-base-list/OpenArrow.js +6 -5
  74. package/lib/vm-base-list/OpenArrow.js.map +1 -1
  75. package/lib/vm-base-list/index.js +16 -15
  76. package/lib/vm-base-list/index.js.map +1 -1
  77. package/lib/vm-base-list/style/css.js.map +1 -1
  78. package/lib/vm-base-list/style/index.js.map +1 -1
  79. package/lib/vm-base-list/style/index.less +39 -39
  80. package/lib/vm-button/index.js +3 -2
  81. package/lib/vm-button/index.js.map +1 -1
  82. package/lib/vm-button/style/css.js.map +1 -1
  83. package/lib/vm-button/style/index.js.map +1 -1
  84. package/lib/vm-button/style/index.less +20 -20
  85. package/lib/vm-charts/Distribute1.js +8 -7
  86. package/lib/vm-charts/Distribute1.js.map +1 -1
  87. package/lib/vm-charts/Gauge1.js +3 -2
  88. package/lib/vm-charts/Gauge1.js.map +1 -1
  89. package/lib/vm-charts/Line.js +14 -12
  90. package/lib/vm-charts/Line.js.map +1 -1
  91. package/lib/vm-charts/Line1.js +4 -2
  92. package/lib/vm-charts/Line1.js.map +1 -1
  93. package/lib/vm-charts/Pie.js +9 -7
  94. package/lib/vm-charts/Pie.js.map +1 -1
  95. package/lib/vm-charts/index.js +1 -1
  96. package/lib/vm-charts/index.js.map +1 -1
  97. package/lib/vm-charts/index.less +30 -30
  98. package/lib/vm-checkbox/index.js +5 -3
  99. package/lib/vm-checkbox/index.js.map +1 -1
  100. package/lib/vm-checkbox/style/css.js.map +1 -1
  101. package/lib/vm-checkbox/style/index.js.map +1 -1
  102. package/lib/vm-checkbox/style/index.less +25 -25
  103. package/lib/vm-container/index.js +7 -5
  104. package/lib/vm-container/index.js.map +1 -1
  105. package/lib/vm-container/style/css.js.map +1 -1
  106. package/lib/vm-container/style/index.js.map +1 -1
  107. package/lib/vm-container/style/index.less +30 -30
  108. package/lib/vm-correlation-comparison/api.js +3 -2
  109. package/lib/vm-correlation-comparison/api.js.map +1 -1
  110. package/lib/vm-correlation-comparison/index.js +18 -17
  111. package/lib/vm-correlation-comparison/index.js.map +1 -1
  112. package/lib/vm-correlation-comparison/style/css.js.map +1 -1
  113. package/lib/vm-correlation-comparison/style/index.js.map +1 -1
  114. package/lib/vm-correlation-comparison/style/index.less +13 -13
  115. package/lib/vm-custom/index.js +3 -2
  116. package/lib/vm-custom/index.js.map +1 -1
  117. package/lib/vm-custom/style/css.js.map +1 -1
  118. package/lib/vm-custom/style/index.js.map +1 -1
  119. package/lib/vm-custom/style/index.less +20 -20
  120. package/lib/vm-empty/index.js +3 -2
  121. package/lib/vm-empty/index.js.map +1 -1
  122. package/lib/vm-empty/style/css.js.map +1 -1
  123. package/lib/vm-empty/style/index.js.map +1 -1
  124. package/lib/vm-empty/style/index.less +23 -23
  125. package/lib/vm-filter/index.js +23 -16
  126. package/lib/vm-filter/index.js.map +1 -1
  127. package/lib/vm-filter/style/css.js.map +1 -1
  128. package/lib/vm-filter/style/index.js.map +1 -1
  129. package/lib/vm-filter/style/index.less +293 -293
  130. package/lib/vm-hooks/useSettings.js +2 -1
  131. package/lib/vm-hooks/useSettings.js.map +1 -1
  132. package/lib/vm-iframe-modal/index.js +5 -4
  133. package/lib/vm-iframe-modal/index.js.map +1 -1
  134. package/lib/vm-iframe-modal/style/css.js.map +1 -1
  135. package/lib/vm-iframe-modal/style/index.js.map +1 -1
  136. package/lib/vm-iframe-modal/style/index.less +9 -9
  137. package/lib/vm-image-text/index.js +5 -4
  138. package/lib/vm-image-text/index.js.map +1 -1
  139. package/lib/vm-image-text/style/css.js.map +1 -1
  140. package/lib/vm-image-text/style/index.js.map +1 -1
  141. package/lib/vm-image-text/style/index.less +32 -32
  142. package/lib/vm-info-collection/index.js +17 -15
  143. package/lib/vm-info-collection/index.js.map +1 -1
  144. package/lib/vm-info-collection/style/css.js.map +1 -1
  145. package/lib/vm-info-collection/style/index.css +1 -0
  146. package/lib/vm-info-collection/style/index.js.map +1 -1
  147. package/lib/vm-info-collection/style/index.less +48 -47
  148. package/lib/vm-map/index.js +16 -14
  149. package/lib/vm-map/index.js.map +1 -1
  150. package/lib/vm-map/mapStyle.js +14 -7
  151. package/lib/vm-map/mapStyle.js.map +1 -1
  152. package/lib/vm-map/style/css.js.map +1 -1
  153. package/lib/vm-map/style/index.js.map +1 -1
  154. package/lib/vm-map/style/index.less +3 -3
  155. package/lib/vm-modal-table/index.js +5 -4
  156. package/lib/vm-modal-table/index.js.map +1 -1
  157. package/lib/vm-modal-table/style/css.js.map +1 -1
  158. package/lib/vm-modal-table/style/index.js.map +1 -1
  159. package/lib/vm-modal-table/style/index.less +23 -23
  160. package/lib/vm-nodata/index.js +1 -1
  161. package/lib/vm-nodata/index.js.map +1 -1
  162. package/lib/vm-radio/index.js +5 -3
  163. package/lib/vm-radio/index.js.map +1 -1
  164. package/lib/vm-radio/style/css.js.map +1 -1
  165. package/lib/vm-radio/style/index.js.map +1 -1
  166. package/lib/vm-radio/style/index.less +26 -26
  167. package/lib/vm-real-time-monitor/api.js +3 -2
  168. package/lib/vm-real-time-monitor/api.js.map +1 -1
  169. package/lib/vm-real-time-monitor/index.js +18 -17
  170. package/lib/vm-real-time-monitor/index.js.map +1 -1
  171. package/lib/vm-real-time-monitor/style/css.js.map +1 -1
  172. package/lib/vm-real-time-monitor/style/index.js.map +1 -1
  173. package/lib/vm-real-time-monitor/style/index.less +12 -12
  174. package/lib/vm-repair-maintain/RmInfoSummary.js +7 -6
  175. package/lib/vm-repair-maintain/RmInfoSummary.js.map +1 -1
  176. package/lib/vm-repair-maintain/RmMonthTrend.js +3 -2
  177. package/lib/vm-repair-maintain/RmMonthTrend.js.map +1 -1
  178. package/lib/vm-repair-maintain/RmRecord.js +8 -8
  179. package/lib/vm-repair-maintain/RmRecord.js.map +1 -1
  180. package/lib/vm-repair-maintain/RmType.js +6 -5
  181. package/lib/vm-repair-maintain/RmType.js.map +1 -1
  182. package/lib/vm-repair-maintain/api.js +2 -1
  183. package/lib/vm-repair-maintain/api.js.map +1 -1
  184. package/lib/vm-repair-maintain/index.js +3 -2
  185. package/lib/vm-repair-maintain/index.js.map +1 -1
  186. package/lib/vm-repair-maintain/style/css.js.map +1 -1
  187. package/lib/vm-repair-maintain/style/index.js.map +1 -1
  188. package/lib/vm-repair-maintain/style/index.less +115 -115
  189. package/lib/vm-round-content/index.js +17 -15
  190. package/lib/vm-round-content/index.js.map +1 -1
  191. package/lib/vm-round-content/style/css.js.map +1 -1
  192. package/lib/vm-round-content/style/index.js.map +1 -1
  193. package/lib/vm-round-content/style/index.less +33 -33
  194. package/lib/vm-row-col/index.js +5 -3
  195. package/lib/vm-row-col/index.js.map +1 -1
  196. package/lib/vm-row-col/style/css.js.map +1 -1
  197. package/lib/vm-row-col/style/index.js.map +1 -1
  198. package/lib/vm-select-device/index.js +8 -8
  199. package/lib/vm-select-device/index.js.map +1 -1
  200. package/lib/vm-select-device/style/css.js.map +1 -1
  201. package/lib/vm-select-device/style/index.js.map +1 -1
  202. package/lib/vm-select-device/style/index.less +16 -16
  203. package/lib/vm-sub-tabs/index.js +7 -4
  204. package/lib/vm-sub-tabs/index.js.map +1 -1
  205. package/lib/vm-sub-tabs/style/css.js.map +1 -1
  206. package/lib/vm-sub-tabs/style/index.js.map +1 -1
  207. package/lib/vm-sub-tabs/style/index.less +179 -179
  208. package/lib/vm-sub-title/index.js +7 -6
  209. package/lib/vm-sub-title/index.js.map +1 -1
  210. package/lib/vm-sub-title/style/css.js.map +1 -1
  211. package/lib/vm-sub-title/style/index.js.map +1 -1
  212. package/lib/vm-sub-title/style/index.less +68 -68
  213. package/lib/vm-table/index.js +24 -18
  214. package/lib/vm-table/index.js.map +1 -1
  215. package/lib/vm-table/style/css.js.map +1 -1
  216. package/lib/vm-table/style/index.js.map +1 -1
  217. package/lib/vm-table/style/index.less +315 -315
  218. package/lib/vm-time-line/index.js +3 -3
  219. package/lib/vm-time-line/index.js.map +1 -1
  220. package/lib/vm-time-line/style/css.js.map +1 -1
  221. package/lib/vm-time-line/style/index.js.map +1 -1
  222. package/lib/vm-video/api.js +2 -1
  223. package/lib/vm-video/api.js.map +1 -1
  224. package/lib/vm-video/index.js +6 -5
  225. package/lib/vm-video/index.js.map +1 -1
  226. package/lib/vm-video/index.less +36 -36
  227. package/lib/vtx-base-info/index.js +16 -15
  228. package/lib/vtx-base-info/index.js.map +1 -1
  229. package/lib/vtx-base-info/style/css.js.map +1 -1
  230. package/lib/vtx-base-info/style/index.js.map +1 -1
  231. package/lib/vtx-base-info/style/index.less +66 -66
  232. package/lib/vtx-base-modal/api.js +12 -6
  233. package/lib/vtx-base-modal/api.js.map +1 -1
  234. package/lib/vtx-base-modal/config.js +5 -4
  235. package/lib/vtx-base-modal/config.js.map +1 -1
  236. package/lib/vtx-base-modal/index.js +30 -29
  237. package/lib/vtx-base-modal/index.js.map +1 -1
  238. package/lib/vtx-base-modal/style/css.js.map +1 -1
  239. package/lib/vtx-base-modal/style/index.js.map +1 -1
  240. package/lib/vtx-base-modal/style/index.less +1075 -1075
  241. package/lib/vtx-car-modal/api.js +33 -20
  242. package/lib/vtx-car-modal/api.js.map +1 -1
  243. package/lib/vtx-car-modal/components/AlarmInfo/Charts.js +9 -6
  244. package/lib/vtx-car-modal/components/AlarmInfo/Charts.js.map +1 -1
  245. package/lib/vtx-car-modal/components/AlarmInfo/List.js +15 -14
  246. package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -1
  247. package/lib/vtx-car-modal/components/AlarmInfo/index.js +22 -21
  248. package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -1
  249. package/lib/vtx-car-modal/components/AlarmInfo/index.less +40 -40
  250. package/lib/vtx-car-modal/components/BaseInfo/Chain.js +3 -2
  251. package/lib/vtx-car-modal/components/BaseInfo/Chain.js.map +1 -1
  252. package/lib/vtx-car-modal/components/BaseInfo/Charts.js +3 -3
  253. package/lib/vtx-car-modal/components/BaseInfo/Charts.js.map +1 -1
  254. package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js +1 -1
  255. package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js.map +1 -1
  256. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js +1 -1
  257. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js.map +1 -1
  258. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js +2 -2
  259. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js.map +1 -1
  260. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js +3 -3
  261. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js.map +1 -1
  262. package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js +6 -4
  263. package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js.map +1 -1
  264. package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js +1 -1
  265. package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js.map +1 -1
  266. package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js +1 -1
  267. package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js.map +1 -1
  268. package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js +8 -7
  269. package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js.map +1 -1
  270. package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js +10 -8
  271. package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js.map +1 -1
  272. package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js +10 -7
  273. package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -1
  274. package/lib/vtx-car-modal/components/BaseInfo/index.js +18 -17
  275. package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -1
  276. package/lib/vtx-car-modal/components/BaseInfo/index.less +290 -290
  277. package/lib/vtx-car-modal/components/Collection/index.js +16 -15
  278. package/lib/vtx-car-modal/components/Collection/index.js.map +1 -1
  279. package/lib/vtx-car-modal/components/Collection/index.less +18 -18
  280. package/lib/vtx-car-modal/components/DetailInfo/index.js +6 -5
  281. package/lib/vtx-car-modal/components/DetailInfo/index.js.map +1 -1
  282. package/lib/vtx-car-modal/components/DetailInfo/index.less +21 -21
  283. package/lib/vtx-car-modal/components/Maintenance/index.js +7 -6
  284. package/lib/vtx-car-modal/components/Maintenance/index.js.map +1 -1
  285. package/lib/vtx-car-modal/components/Maintenance/index.less +35 -35
  286. package/lib/vtx-car-modal/components/OilConsumption/List.js +10 -9
  287. package/lib/vtx-car-modal/components/OilConsumption/List.js.map +1 -1
  288. package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js +5 -4
  289. package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js.map +1 -1
  290. package/lib/vtx-car-modal/components/OilConsumption/index.js +10 -9
  291. package/lib/vtx-car-modal/components/OilConsumption/index.js.map +1 -1
  292. package/lib/vtx-car-modal/components/OilConsumption/index.less +39 -39
  293. package/lib/vtx-car-modal/components/StaticInfo/Charts.js +6 -5
  294. package/lib/vtx-car-modal/components/StaticInfo/Charts.js.map +1 -1
  295. package/lib/vtx-car-modal/components/StaticInfo/List.js +3 -2
  296. package/lib/vtx-car-modal/components/StaticInfo/List.js.map +1 -1
  297. package/lib/vtx-car-modal/components/StaticInfo/index.js +19 -18
  298. package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -1
  299. package/lib/vtx-car-modal/components/StaticInfo/index.less +82 -82
  300. package/lib/vtx-car-modal/components/WaterConsumption/index.js +10 -9
  301. package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +1 -1
  302. package/lib/vtx-car-modal/components/WaterConsumption/index.less +25 -25
  303. package/lib/vtx-car-modal/components/WorkInfo/Wcl.js +10 -8
  304. package/lib/vtx-car-modal/components/WorkInfo/Wcl.js.map +1 -1
  305. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js +15 -15
  306. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +1 -1
  307. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js +11 -11
  308. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js.map +1 -1
  309. package/lib/vtx-car-modal/components/WorkInfo/index.js +6 -5
  310. package/lib/vtx-car-modal/components/WorkInfo/index.js.map +1 -1
  311. package/lib/vtx-car-modal/components/WorkInfo/index.less +66 -66
  312. package/lib/vtx-car-modal/components/index.js +1 -1
  313. package/lib/vtx-car-modal/components/index.js.map +1 -1
  314. package/lib/vtx-car-modal/index.js +31 -28
  315. package/lib/vtx-car-modal/index.js.map +1 -1
  316. package/lib/vtx-car-modal/style/css.js.map +1 -1
  317. package/lib/vtx-car-modal/style/index.js.map +1 -1
  318. package/lib/vtx-car-modal/style/index.less +8 -8
  319. package/lib/vtx-cc-cp-modal/api.js +11 -7
  320. package/lib/vtx-cc-cp-modal/api.js.map +1 -1
  321. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +11 -10
  322. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  323. package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js +7 -5
  324. package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  325. package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js +13 -11
  326. package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
  327. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +3 -2
  328. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js.map +1 -1
  329. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.less +108 -108
  330. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +6 -5
  331. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js.map +1 -1
  332. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +6 -5
  333. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js.map +1 -1
  334. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +6 -5
  335. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js.map +1 -1
  336. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +11 -10
  337. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js.map +1 -1
  338. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +3 -2
  339. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js.map +1 -1
  340. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.less +95 -95
  341. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js +11 -10
  342. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js.map +1 -1
  343. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js +7 -5
  344. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js.map +1 -1
  345. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js +13 -11
  346. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js.map +1 -1
  347. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +3 -2
  348. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js.map +1 -1
  349. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.less +108 -108
  350. package/lib/vtx-cc-cp-modal/components/OrderInfo/MonthTrend.js +4 -2
  351. package/lib/vtx-cc-cp-modal/components/OrderInfo/MonthTrend.js.map +1 -1
  352. package/lib/vtx-cc-cp-modal/components/OrderInfo/OrderRecord.js +11 -10
  353. package/lib/vtx-cc-cp-modal/components/OrderInfo/OrderRecord.js.map +1 -1
  354. package/lib/vtx-cc-cp-modal/components/OrderInfo/Summary.js +10 -8
  355. package/lib/vtx-cc-cp-modal/components/OrderInfo/Summary.js.map +1 -1
  356. package/lib/vtx-cc-cp-modal/components/OrderInfo/index.js +6 -5
  357. package/lib/vtx-cc-cp-modal/components/OrderInfo/index.js.map +1 -1
  358. package/lib/vtx-cc-cp-modal/components/OrderInfo/index.less +108 -108
  359. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +11 -10
  360. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js.map +1 -1
  361. package/lib/vtx-cc-cp-modal/components/Restaurant/index.less +8 -8
  362. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +10 -8
  363. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
  364. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +6 -5
  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 +8 -7
  367. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js.map +1 -1
  368. package/lib/vtx-cc-cp-modal/components/SyInfo/index.less +46 -46
  369. package/lib/vtx-cc-cp-modal/components/index.js +1 -1
  370. package/lib/vtx-cc-cp-modal/components/index.js.map +1 -1
  371. package/lib/vtx-cc-cp-modal/index.js +11 -8
  372. package/lib/vtx-cc-cp-modal/index.js.map +1 -1
  373. package/lib/vtx-cc-cp-modal/style/css.js.map +1 -1
  374. package/lib/vtx-cc-cp-modal/style/index.js.map +1 -1
  375. package/lib/vtx-cc-cp-modal/style/index.less +1 -1
  376. package/lib/vtx-cc-cp-modal/type.js.map +1 -1
  377. package/lib/vtx-cp-modal/api.js +8 -4
  378. package/lib/vtx-cp-modal/api.js.map +1 -1
  379. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +11 -11
  380. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  381. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js +4 -2
  382. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  383. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +20 -18
  384. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
  385. package/lib/vtx-cp-modal/components/AlarmInfo/index.js +3 -2
  386. package/lib/vtx-cp-modal/components/AlarmInfo/index.js.map +1 -1
  387. package/lib/vtx-cp-modal/components/AlarmInfo/index.less +109 -109
  388. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js +1 -1
  389. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js.map +1 -1
  390. package/lib/vtx-cp-modal/components/BaseInfo/Rules.js +2 -2
  391. package/lib/vtx-cp-modal/components/BaseInfo/Rules.js.map +1 -1
  392. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +5 -3
  393. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js.map +1 -1
  394. package/lib/vtx-cp-modal/components/BaseInfo/index.js +3 -2
  395. package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +1 -1
  396. package/lib/vtx-cp-modal/components/BaseInfo/index.less +156 -156
  397. package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js +11 -11
  398. package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js.map +1 -1
  399. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js +4 -2
  400. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js.map +1 -1
  401. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +20 -18
  402. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -1
  403. package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js +3 -2
  404. package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js.map +1 -1
  405. package/lib/vtx-cp-modal/components/ExeceptionInfo/index.less +109 -109
  406. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +10 -8
  407. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
  408. package/lib/vtx-cp-modal/components/SyInfo/index.js +16 -15
  409. package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -1
  410. package/lib/vtx-cp-modal/components/SyInfo/index.less +47 -47
  411. package/lib/vtx-cp-modal/components/index.js +1 -1
  412. package/lib/vtx-cp-modal/components/index.js.map +1 -1
  413. package/lib/vtx-cp-modal/index.js +27 -24
  414. package/lib/vtx-cp-modal/index.js.map +1 -1
  415. package/lib/vtx-cp-modal/style/css.js.map +1 -1
  416. package/lib/vtx-cp-modal/style/index.js.map +1 -1
  417. package/lib/vtx-cp-modal/style/index.less +1 -1
  418. package/lib/vtx-default-modal/api.js +9 -5
  419. package/lib/vtx-default-modal/api.js.map +1 -1
  420. package/lib/vtx-default-modal/components/BaseInfo/index.js +6 -5
  421. package/lib/vtx-default-modal/components/BaseInfo/index.js.map +1 -1
  422. package/lib/vtx-default-modal/components/BaseInfo/index.less +38 -38
  423. package/lib/vtx-default-modal/components/index.js +1 -1
  424. package/lib/vtx-default-modal/components/index.js.map +1 -1
  425. package/lib/vtx-default-modal/index.js +26 -24
  426. package/lib/vtx-default-modal/index.js.map +1 -1
  427. package/lib/vtx-default-modal/style/css.js.map +1 -1
  428. package/lib/vtx-default-modal/style/index.js.map +1 -1
  429. package/lib/vtx-default-modal/style/index.less +1 -1
  430. package/lib/vtx-device-modal/api.js +528 -141
  431. package/lib/vtx-device-modal/api.js.map +1 -1
  432. package/lib/vtx-device-modal/components/BaseInfo/RealTimeList.js +385 -0
  433. package/lib/vtx-device-modal/components/BaseInfo/RealTimeList.js.map +1 -0
  434. package/lib/vtx-device-modal/components/BaseInfo/index.css +66 -0
  435. package/lib/vtx-device-modal/components/BaseInfo/index.js +51 -38
  436. package/lib/vtx-device-modal/components/BaseInfo/index.js.map +1 -1
  437. package/lib/vtx-device-modal/components/BaseInfo/index.less +45 -0
  438. package/lib/vtx-device-modal/components/DataAnalysis/Chart.js +855 -0
  439. package/lib/vtx-device-modal/components/DataAnalysis/Chart.js.map +1 -0
  440. package/lib/vtx-device-modal/components/DataAnalysis/index.css +70 -0
  441. package/lib/vtx-device-modal/components/DataAnalysis/index.js +130 -66
  442. package/lib/vtx-device-modal/components/DataAnalysis/index.js.map +1 -1
  443. package/lib/vtx-device-modal/components/DataAnalysis/index.less +46 -0
  444. package/lib/vtx-device-modal/config.js +27 -3
  445. package/lib/vtx-device-modal/config.js.map +1 -1
  446. package/lib/vtx-device-modal/index.js +85 -40
  447. package/lib/vtx-device-modal/index.js.map +1 -1
  448. package/lib/vtx-device-modal/style/css.js +1 -0
  449. package/lib/vtx-device-modal/style/css.js.map +1 -1
  450. package/lib/vtx-device-modal/style/index.css +0 -11
  451. package/lib/vtx-device-modal/style/index.js +1 -0
  452. package/lib/vtx-device-modal/style/index.js.map +1 -1
  453. package/lib/vtx-device-modal/style/index.less +0 -6
  454. package/lib/vtx-device-modal/types.js.map +1 -1
  455. package/lib/vtx-df-modal/api.js +9 -5
  456. package/lib/vtx-df-modal/api.js.map +1 -1
  457. package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js +6 -5
  458. package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js.map +1 -1
  459. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +9 -9
  460. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +1 -1
  461. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +13 -13
  462. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +1 -1
  463. package/lib/vtx-df-modal/components/BaseInfo/Situation.js +3 -3
  464. package/lib/vtx-df-modal/components/BaseInfo/Situation.js.map +1 -1
  465. package/lib/vtx-df-modal/components/BaseInfo/index.js +19 -18
  466. package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -1
  467. package/lib/vtx-df-modal/components/BaseInfo/index.less +173 -173
  468. package/lib/vtx-df-modal/components/Metering/ChartJccc.js +9 -8
  469. package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +1 -1
  470. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +8 -7
  471. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +1 -1
  472. package/lib/vtx-df-modal/components/Metering/List.js +10 -9
  473. package/lib/vtx-df-modal/components/Metering/List.js.map +1 -1
  474. package/lib/vtx-df-modal/components/Metering/index.js +21 -19
  475. package/lib/vtx-df-modal/components/Metering/index.js.map +1 -1
  476. package/lib/vtx-df-modal/components/Metering/index.less +83 -83
  477. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +13 -13
  478. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -1
  479. package/lib/vtx-df-modal/components/WorkCondition/Situation.js +14 -14
  480. package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +1 -1
  481. package/lib/vtx-df-modal/components/WorkCondition/index.js +16 -15
  482. package/lib/vtx-df-modal/components/WorkCondition/index.js.map +1 -1
  483. package/lib/vtx-df-modal/components/WorkCondition/index.less +136 -136
  484. package/lib/vtx-df-modal/components/index.js +1 -1
  485. package/lib/vtx-df-modal/components/index.js.map +1 -1
  486. package/lib/vtx-df-modal/index.js +25 -23
  487. package/lib/vtx-df-modal/index.js.map +1 -1
  488. package/lib/vtx-df-modal/style/css.js.map +1 -1
  489. package/lib/vtx-df-modal/style/index.js.map +1 -1
  490. package/lib/vtx-df-modal/style/index.less +1 -1
  491. package/lib/vtx-facility-modal/api.js +6 -4
  492. package/lib/vtx-facility-modal/api.js.map +1 -1
  493. package/lib/vtx-facility-modal/components/OverView/Left.js +3 -2
  494. package/lib/vtx-facility-modal/components/OverView/Left.js.map +1 -1
  495. package/lib/vtx-facility-modal/components/OverView/index.js +19 -18
  496. package/lib/vtx-facility-modal/components/OverView/index.js.map +1 -1
  497. package/lib/vtx-facility-modal/components/OverView/index.less +120 -120
  498. package/lib/vtx-facility-modal/components/index.js +1 -1
  499. package/lib/vtx-facility-modal/components/index.js.map +1 -1
  500. package/lib/vtx-facility-modal/config.js +6 -3
  501. package/lib/vtx-facility-modal/config.js.map +1 -1
  502. package/lib/vtx-facility-modal/index.js +5 -4
  503. package/lib/vtx-facility-modal/index.js.map +1 -1
  504. package/lib/vtx-facility-modal/style/css.js.map +1 -1
  505. package/lib/vtx-facility-modal/style/index.js.map +1 -1
  506. package/lib/vtx-facility-modal/style/index.less +1 -1
  507. package/lib/vtx-facility-modal/types.js.map +1 -1
  508. package/lib/vtx-housing-estate-modal/api.js +20 -11
  509. package/lib/vtx-housing-estate-modal/api.js.map +1 -1
  510. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +16 -13
  511. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +1 -1
  512. package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js +15 -14
  513. package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js.map +1 -1
  514. package/lib/vtx-housing-estate-modal/components/Alarm/MY.js +18 -17
  515. package/lib/vtx-housing-estate-modal/components/Alarm/MY.js.map +1 -1
  516. package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js +3 -2
  517. package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js.map +1 -1
  518. package/lib/vtx-housing-estate-modal/components/Alarm/index.js +17 -15
  519. package/lib/vtx-housing-estate-modal/components/Alarm/index.js.map +1 -1
  520. package/lib/vtx-housing-estate-modal/components/Alarm/index.less +66 -66
  521. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +13 -12
  522. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js.map +1 -1
  523. package/lib/vtx-housing-estate-modal/components/OverView/Left.js +3 -2
  524. package/lib/vtx-housing-estate-modal/components/OverView/Left.js.map +1 -1
  525. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +13 -11
  526. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js.map +1 -1
  527. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +25 -22
  528. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js.map +1 -1
  529. package/lib/vtx-housing-estate-modal/components/OverView/Trend.js +3 -2
  530. package/lib/vtx-housing-estate-modal/components/OverView/Trend.js.map +1 -1
  531. package/lib/vtx-housing-estate-modal/components/OverView/index.js +5 -4
  532. package/lib/vtx-housing-estate-modal/components/OverView/index.js.map +1 -1
  533. package/lib/vtx-housing-estate-modal/components/OverView/index.less +256 -256
  534. package/lib/vtx-housing-estate-modal/components/SPJK/index.js +10 -9
  535. package/lib/vtx-housing-estate-modal/components/SPJK/index.js.map +1 -1
  536. package/lib/vtx-housing-estate-modal/components/SPJK/index.less +6 -6
  537. package/lib/vtx-housing-estate-modal/components/TFRD/index.js +14 -13
  538. package/lib/vtx-housing-estate-modal/components/TFRD/index.js.map +1 -1
  539. package/lib/vtx-housing-estate-modal/components/TFRD/index.less +15 -15
  540. package/lib/vtx-housing-estate-modal/components/WGGS/Content.js +6 -5
  541. package/lib/vtx-housing-estate-modal/components/WGGS/Content.js.map +1 -1
  542. package/lib/vtx-housing-estate-modal/components/WGGS/index.js +11 -10
  543. package/lib/vtx-housing-estate-modal/components/WGGS/index.js.map +1 -1
  544. package/lib/vtx-housing-estate-modal/components/WGGS/index.less +38 -38
  545. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js +6 -5
  546. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js.map +1 -1
  547. package/lib/vtx-housing-estate-modal/components/WGXW/index.js +14 -13
  548. package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +1 -1
  549. package/lib/vtx-housing-estate-modal/components/WGXW/index.less +102 -102
  550. package/lib/vtx-housing-estate-modal/components/index.js +1 -1
  551. package/lib/vtx-housing-estate-modal/components/index.js.map +1 -1
  552. package/lib/vtx-housing-estate-modal/config.js +11 -8
  553. package/lib/vtx-housing-estate-modal/config.js.map +1 -1
  554. package/lib/vtx-housing-estate-modal/index.js +15 -13
  555. package/lib/vtx-housing-estate-modal/index.js.map +1 -1
  556. package/lib/vtx-housing-estate-modal/style/css.js.map +1 -1
  557. package/lib/vtx-housing-estate-modal/style/index.js.map +1 -1
  558. package/lib/vtx-housing-estate-modal/style/index.less +1 -1
  559. package/lib/vtx-housing-estate-modal/types.js.map +1 -1
  560. package/lib/vtx-kh-modal/api.js +2 -1
  561. package/lib/vtx-kh-modal/api.js.map +1 -1
  562. package/lib/vtx-kh-modal/components/BaseInfo/index.js +4 -3
  563. package/lib/vtx-kh-modal/components/BaseInfo/index.js.map +1 -1
  564. package/lib/vtx-kh-modal/components/BaseInfo/index.less +66 -66
  565. package/lib/vtx-kh-modal/components/index.js +1 -1
  566. package/lib/vtx-kh-modal/components/index.js.map +1 -1
  567. package/lib/vtx-kh-modal/index.js +11 -10
  568. package/lib/vtx-kh-modal/index.js.map +1 -1
  569. package/lib/vtx-kh-modal/style/css.js.map +1 -1
  570. package/lib/vtx-kh-modal/style/index.js.map +1 -1
  571. package/lib/vtx-kh-modal/style/index.less +1 -1
  572. package/lib/vtx-pump-modal/api.js +16 -10
  573. package/lib/vtx-pump-modal/api.js.map +1 -1
  574. package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTotal.js +26 -15
  575. package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTotal.js.map +1 -1
  576. package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTrend.js +14 -13
  577. package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTrend.js.map +1 -1
  578. package/lib/vtx-pump-modal/components/AlarmRecord/index.css +7 -1
  579. package/lib/vtx-pump-modal/components/AlarmRecord/index.js +54 -22
  580. package/lib/vtx-pump-modal/components/AlarmRecord/index.js.map +1 -1
  581. package/lib/vtx-pump-modal/components/AlarmRecord/index.less +103 -96
  582. package/lib/vtx-pump-modal/components/Basic/JyqInfo.js +9 -8
  583. package/lib/vtx-pump-modal/components/Basic/JyqInfo.js.map +1 -1
  584. package/lib/vtx-pump-modal/components/Basic/PumpInfo.js +11 -10
  585. package/lib/vtx-pump-modal/components/Basic/PumpInfo.js.map +1 -1
  586. package/lib/vtx-pump-modal/components/Basic/SxInfo.js +11 -10
  587. package/lib/vtx-pump-modal/components/Basic/SxInfo.js.map +1 -1
  588. package/lib/vtx-pump-modal/components/Basic/XqInfo.js +11 -10
  589. package/lib/vtx-pump-modal/components/Basic/XqInfo.js.map +1 -1
  590. package/lib/vtx-pump-modal/components/Basic/index.js +19 -17
  591. package/lib/vtx-pump-modal/components/Basic/index.js.map +1 -1
  592. package/lib/vtx-pump-modal/components/Basic/index.less +74 -74
  593. package/lib/vtx-pump-modal/components/Sbxl/SBXLFX.js +17 -11
  594. package/lib/vtx-pump-modal/components/Sbxl/SBXLFX.js.map +1 -1
  595. package/lib/vtx-pump-modal/components/Sbxl/SBYXQK.js +17 -11
  596. package/lib/vtx-pump-modal/components/Sbxl/SBYXQK.js.map +1 -1
  597. package/lib/vtx-pump-modal/components/Sbxl/index.js +9 -9
  598. package/lib/vtx-pump-modal/components/Sbxl/index.js.map +1 -1
  599. package/lib/vtx-pump-modal/components/Sbxl/index.less +90 -90
  600. package/lib/vtx-pump-modal/components/Sjfx/index.js +36 -30
  601. package/lib/vtx-pump-modal/components/Sjfx/index.js.map +1 -1
  602. package/lib/vtx-pump-modal/components/Sjfx/index.less +60 -60
  603. package/lib/vtx-pump-modal/components/Sxyx/index.js +14 -13
  604. package/lib/vtx-pump-modal/components/Sxyx/index.js.map +1 -1
  605. package/lib/vtx-pump-modal/components/Sxyx/index.less +161 -161
  606. package/lib/vtx-pump-modal/components/index.js +1 -1
  607. package/lib/vtx-pump-modal/components/index.js.map +1 -1
  608. package/lib/vtx-pump-modal/config.js +6 -3
  609. package/lib/vtx-pump-modal/config.js.map +1 -1
  610. package/lib/vtx-pump-modal/index.js +17 -15
  611. package/lib/vtx-pump-modal/index.js.map +1 -1
  612. package/lib/vtx-pump-modal/style/css.js.map +1 -1
  613. package/lib/vtx-pump-modal/style/index.js.map +1 -1
  614. package/lib/vtx-pump-modal/style/index.less +1 -1
  615. package/lib/vtx-pump-modal/type.js.map +1 -1
  616. package/lib/vtx-restaurant-modal/api.js +7 -5
  617. package/lib/vtx-restaurant-modal/api.js.map +1 -1
  618. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +6 -5
  619. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js.map +1 -1
  620. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +6 -5
  621. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +1 -1
  622. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +6 -5
  623. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +1 -1
  624. package/lib/vtx-restaurant-modal/components/Alarm/index.js +11 -10
  625. package/lib/vtx-restaurant-modal/components/Alarm/index.js.map +1 -1
  626. package/lib/vtx-restaurant-modal/components/Alarm/index.less +35 -35
  627. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +6 -5
  628. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js.map +1 -1
  629. package/lib/vtx-restaurant-modal/components/Basic/Info.js +6 -5
  630. package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +1 -1
  631. package/lib/vtx-restaurant-modal/components/Basic/Summary.js +5 -4
  632. package/lib/vtx-restaurant-modal/components/Basic/Summary.js.map +1 -1
  633. package/lib/vtx-restaurant-modal/components/Basic/index.js +6 -5
  634. package/lib/vtx-restaurant-modal/components/Basic/index.js.map +1 -1
  635. package/lib/vtx-restaurant-modal/components/Basic/index.less +59 -59
  636. package/lib/vtx-restaurant-modal/components/Collection/Charts.js +11 -10
  637. package/lib/vtx-restaurant-modal/components/Collection/Charts.js.map +1 -1
  638. package/lib/vtx-restaurant-modal/components/Collection/List.js +6 -5
  639. package/lib/vtx-restaurant-modal/components/Collection/List.js.map +1 -1
  640. package/lib/vtx-restaurant-modal/components/Collection/index.js +17 -16
  641. package/lib/vtx-restaurant-modal/components/Collection/index.js.map +1 -1
  642. package/lib/vtx-restaurant-modal/components/Collection/index.less +29 -29
  643. package/lib/vtx-restaurant-modal/components/index.js +1 -1
  644. package/lib/vtx-restaurant-modal/components/index.js.map +1 -1
  645. package/lib/vtx-restaurant-modal/config.js +4 -2
  646. package/lib/vtx-restaurant-modal/config.js.map +1 -1
  647. package/lib/vtx-restaurant-modal/index.js +11 -8
  648. package/lib/vtx-restaurant-modal/index.js.map +1 -1
  649. package/lib/vtx-restaurant-modal/style/css.js.map +1 -1
  650. package/lib/vtx-restaurant-modal/style/index.js.map +1 -1
  651. package/lib/vtx-restaurant-modal/style/index.less +1 -1
  652. package/lib/vtx-restaurant-modal/type.js.map +1 -1
  653. package/lib/vtx-road-modal/api.js +7 -4
  654. package/lib/vtx-road-modal/api.js.map +1 -1
  655. package/lib/vtx-road-modal/components/BaseInfo/Rules.js +2 -2
  656. package/lib/vtx-road-modal/components/BaseInfo/Rules.js.map +1 -1
  657. package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js +2 -2
  658. package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js.map +1 -1
  659. package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js +1 -1
  660. package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js.map +1 -1
  661. package/lib/vtx-road-modal/components/BaseInfo/index.js +11 -10
  662. package/lib/vtx-road-modal/components/BaseInfo/index.js.map +1 -1
  663. package/lib/vtx-road-modal/components/BaseInfo/index.less +146 -146
  664. package/lib/vtx-road-modal/components/Statistical/Zylc.js +9 -7
  665. package/lib/vtx-road-modal/components/Statistical/Zylc.js.map +1 -1
  666. package/lib/vtx-road-modal/components/Statistical/Zywcl.js +9 -7
  667. package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +1 -1
  668. package/lib/vtx-road-modal/components/Statistical/index.js +10 -9
  669. package/lib/vtx-road-modal/components/Statistical/index.js.map +1 -1
  670. package/lib/vtx-road-modal/components/Statistical/index.less +112 -112
  671. package/lib/vtx-road-modal/components/index.js +1 -1
  672. package/lib/vtx-road-modal/components/index.js.map +1 -1
  673. package/lib/vtx-road-modal/index.js +23 -20
  674. package/lib/vtx-road-modal/index.js.map +1 -1
  675. package/lib/vtx-road-modal/style/css.js.map +1 -1
  676. package/lib/vtx-road-modal/style/index.js.map +1 -1
  677. package/lib/vtx-road-modal/style/index.less +1 -1
  678. package/lib/vtx-staff-modal/api.js +8 -4
  679. package/lib/vtx-staff-modal/api.js.map +1 -1
  680. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +9 -6
  681. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js.map +1 -1
  682. package/lib/vtx-staff-modal/components/AlarmInfo/List.js +12 -11
  683. package/lib/vtx-staff-modal/components/AlarmInfo/List.js.map +1 -1
  684. package/lib/vtx-staff-modal/components/AlarmInfo/index.js +19 -18
  685. package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +1 -1
  686. package/lib/vtx-staff-modal/components/AlarmInfo/index.less +23 -23
  687. package/lib/vtx-staff-modal/components/Attendance/Exeception.js +4 -3
  688. package/lib/vtx-staff-modal/components/Attendance/Exeception.js.map +1 -1
  689. package/lib/vtx-staff-modal/components/Attendance/Record.js +8 -8
  690. package/lib/vtx-staff-modal/components/Attendance/Record.js.map +1 -1
  691. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js +3 -3
  692. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js.map +1 -1
  693. package/lib/vtx-staff-modal/components/Attendance/index.js +3 -2
  694. package/lib/vtx-staff-modal/components/Attendance/index.js.map +1 -1
  695. package/lib/vtx-staff-modal/components/Attendance/index.less +22 -22
  696. package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js +10 -8
  697. package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js.map +1 -1
  698. package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js +3 -3
  699. package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js.map +1 -1
  700. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +4 -3
  701. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js.map +1 -1
  702. package/lib/vtx-staff-modal/components/BaseInfo/index.js +11 -10
  703. package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -1
  704. package/lib/vtx-staff-modal/components/BaseInfo/index.less +150 -150
  705. package/lib/vtx-staff-modal/components/DetailInfo/index.js +18 -17
  706. package/lib/vtx-staff-modal/components/DetailInfo/index.js.map +1 -1
  707. package/lib/vtx-staff-modal/components/DetailInfo/index.less +38 -38
  708. package/lib/vtx-staff-modal/components/Equipment/index.js +3 -2
  709. package/lib/vtx-staff-modal/components/Equipment/index.js.map +1 -1
  710. package/lib/vtx-staff-modal/components/Equipment/index.less +28 -28
  711. package/lib/vtx-staff-modal/components/index.js +1 -1
  712. package/lib/vtx-staff-modal/components/index.js.map +1 -1
  713. package/lib/vtx-staff-modal/index.js +16 -14
  714. package/lib/vtx-staff-modal/index.js.map +1 -1
  715. package/lib/vtx-staff-modal/style/css.js.map +1 -1
  716. package/lib/vtx-staff-modal/style/index.js.map +1 -1
  717. package/lib/vtx-staff-modal/style/index.less +1 -1
  718. package/lib/vtx-theme-provider/index.js +5 -3
  719. package/lib/vtx-theme-provider/index.js.map +1 -1
  720. package/lib/vtx-throw-point-modal/api.js +24 -13
  721. package/lib/vtx-throw-point-modal/api.js.map +1 -1
  722. package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js +15 -13
  723. package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js.map +1 -1
  724. package/lib/vtx-throw-point-modal/components/Alarm/LDB.js +15 -14
  725. package/lib/vtx-throw-point-modal/components/Alarm/LDB.js.map +1 -1
  726. package/lib/vtx-throw-point-modal/components/Alarm/MY.js +18 -17
  727. package/lib/vtx-throw-point-modal/components/Alarm/MY.js.map +1 -1
  728. package/lib/vtx-throw-point-modal/components/Alarm/Rank.js +3 -2
  729. package/lib/vtx-throw-point-modal/components/Alarm/Rank.js.map +1 -1
  730. package/lib/vtx-throw-point-modal/components/Alarm/index.js +17 -15
  731. package/lib/vtx-throw-point-modal/components/Alarm/index.js.map +1 -1
  732. package/lib/vtx-throw-point-modal/components/Alarm/index.less +69 -69
  733. package/lib/vtx-throw-point-modal/components/OverView/Hot.js +13 -12
  734. package/lib/vtx-throw-point-modal/components/OverView/Hot.js.map +1 -1
  735. package/lib/vtx-throw-point-modal/components/OverView/Left.js +6 -5
  736. package/lib/vtx-throw-point-modal/components/OverView/Left.js.map +1 -1
  737. package/lib/vtx-throw-point-modal/components/OverView/Manage.js +13 -11
  738. package/lib/vtx-throw-point-modal/components/OverView/Manage.js.map +1 -1
  739. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js +24 -22
  740. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js.map +1 -1
  741. package/lib/vtx-throw-point-modal/components/OverView/Trend.js +3 -2
  742. package/lib/vtx-throw-point-modal/components/OverView/Trend.js.map +1 -1
  743. package/lib/vtx-throw-point-modal/components/OverView/index.js +5 -4
  744. package/lib/vtx-throw-point-modal/components/OverView/index.js.map +1 -1
  745. package/lib/vtx-throw-point-modal/components/OverView/index.less +331 -331
  746. package/lib/vtx-throw-point-modal/components/SBZJ/Content.js +3 -2
  747. package/lib/vtx-throw-point-modal/components/SBZJ/Content.js.map +1 -1
  748. package/lib/vtx-throw-point-modal/components/SBZJ/index.js +20 -18
  749. package/lib/vtx-throw-point-modal/components/SBZJ/index.js.map +1 -1
  750. package/lib/vtx-throw-point-modal/components/SBZJ/index.less +92 -92
  751. package/lib/vtx-throw-point-modal/components/TFRD/index.js +14 -13
  752. package/lib/vtx-throw-point-modal/components/TFRD/index.js.map +1 -1
  753. package/lib/vtx-throw-point-modal/components/TFRD/index.less +15 -15
  754. package/lib/vtx-throw-point-modal/components/WGGS/Content.js +6 -5
  755. package/lib/vtx-throw-point-modal/components/WGGS/Content.js.map +1 -1
  756. package/lib/vtx-throw-point-modal/components/WGGS/index.js +13 -12
  757. package/lib/vtx-throw-point-modal/components/WGGS/index.js.map +1 -1
  758. package/lib/vtx-throw-point-modal/components/WGGS/index.less +38 -38
  759. package/lib/vtx-throw-point-modal/components/WGXW/Content.js +6 -5
  760. package/lib/vtx-throw-point-modal/components/WGXW/Content.js.map +1 -1
  761. package/lib/vtx-throw-point-modal/components/WGXW/index.js +16 -15
  762. package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +1 -1
  763. package/lib/vtx-throw-point-modal/components/WGXW/index.less +102 -102
  764. package/lib/vtx-throw-point-modal/components/index.js +1 -1
  765. package/lib/vtx-throw-point-modal/components/index.js.map +1 -1
  766. package/lib/vtx-throw-point-modal/config.js +11 -8
  767. package/lib/vtx-throw-point-modal/config.js.map +1 -1
  768. package/lib/vtx-throw-point-modal/index.js +20 -19
  769. package/lib/vtx-throw-point-modal/index.js.map +1 -1
  770. package/lib/vtx-throw-point-modal/style/css.js.map +1 -1
  771. package/lib/vtx-throw-point-modal/style/index.js.map +1 -1
  772. package/lib/vtx-throw-point-modal/style/index.less +1 -1
  773. package/lib/vtx-throw-point-modal/types.js.map +1 -1
  774. package/lib/vtx-wr-modal/api.js +10 -5
  775. package/lib/vtx-wr-modal/api.js.map +1 -1
  776. package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js +11 -11
  777. package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  778. package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js +6 -5
  779. package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  780. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js +20 -18
  781. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -1
  782. package/lib/vtx-wr-modal/components/AlarmInfo/index.js +3 -2
  783. package/lib/vtx-wr-modal/components/AlarmInfo/index.js.map +1 -1
  784. package/lib/vtx-wr-modal/components/AlarmInfo/index.less +106 -106
  785. package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js +4 -2
  786. package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js.map +1 -1
  787. package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js +3 -3
  788. package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js.map +1 -1
  789. package/lib/vtx-wr-modal/components/BaseInfo/Situation.js +3 -2
  790. package/lib/vtx-wr-modal/components/BaseInfo/Situation.js.map +1 -1
  791. package/lib/vtx-wr-modal/components/BaseInfo/index.js +11 -10
  792. package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -1
  793. package/lib/vtx-wr-modal/components/BaseInfo/index.less +142 -142
  794. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js +15 -14
  795. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js.map +1 -1
  796. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Jbxx.js +8 -7
  797. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Jbxx.js.map +1 -1
  798. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Monitor.js +11 -10
  799. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Monitor.js.map +1 -1
  800. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Num.js +3 -2
  801. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Num.js.map +1 -1
  802. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Other.js +3 -2
  803. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Other.js.map +1 -1
  804. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ptss.js +3 -2
  805. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ptss.js.map +1 -1
  806. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js +13 -12
  807. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js.map +1 -1
  808. package/lib/vtx-wr-modal/components/BaseInfoNew/index.js +14 -13
  809. package/lib/vtx-wr-modal/components/BaseInfoNew/index.js.map +1 -1
  810. package/lib/vtx-wr-modal/components/BaseInfoNew/index.less +570 -570
  811. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Alarm.js +11 -10
  812. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Alarm.js.map +1 -1
  813. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jbxx.js +11 -10
  814. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jbxx.js.map +1 -1
  815. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jcbj.js +8 -7
  816. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jcbj.js.map +1 -1
  817. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Monitor.js +11 -10
  818. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Monitor.js.map +1 -1
  819. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Ptss.js +3 -2
  820. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Ptss.js.map +1 -1
  821. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Sjjg.js +11 -10
  822. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Sjjg.js.map +1 -1
  823. package/lib/vtx-wr-modal/components/BaseInfoNew2/index.js +13 -12
  824. package/lib/vtx-wr-modal/components/BaseInfoNew2/index.js.map +1 -1
  825. package/lib/vtx-wr-modal/components/BaseInfoNew2/index.less +320 -320
  826. package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js +8 -8
  827. package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js.map +1 -1
  828. package/lib/vtx-wr-modal/components/Evaluate/Radar.js +1 -1
  829. package/lib/vtx-wr-modal/components/Evaluate/Radar.js.map +1 -1
  830. package/lib/vtx-wr-modal/components/Evaluate/Summary.js +11 -11
  831. package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -1
  832. package/lib/vtx-wr-modal/components/Evaluate/index.js +10 -9
  833. package/lib/vtx-wr-modal/components/Evaluate/index.js.map +1 -1
  834. package/lib/vtx-wr-modal/components/Evaluate/index.less +124 -124
  835. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +13 -12
  836. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +1 -1
  837. package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js +7 -6
  838. package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js.map +1 -1
  839. package/lib/vtx-wr-modal/components/Monitor/index.js +3 -2
  840. package/lib/vtx-wr-modal/components/Monitor/index.js.map +1 -1
  841. package/lib/vtx-wr-modal/components/Monitor/index.less +82 -82
  842. package/lib/vtx-wr-modal/components/Score/index.js +15 -13
  843. package/lib/vtx-wr-modal/components/Score/index.js.map +1 -1
  844. package/lib/vtx-wr-modal/components/Score/index.less +134 -134
  845. package/lib/vtx-wr-modal/components/Ztt/index.js +1 -1
  846. package/lib/vtx-wr-modal/components/Ztt/index.js.map +1 -1
  847. package/lib/vtx-wr-modal/components/index.js +1 -1
  848. package/lib/vtx-wr-modal/components/index.js.map +1 -1
  849. package/lib/vtx-wr-modal/index.js +30 -28
  850. package/lib/vtx-wr-modal/index.js.map +1 -1
  851. package/lib/vtx-wr-modal/style/css.js.map +1 -1
  852. package/lib/vtx-wr-modal/style/index.js.map +1 -1
  853. package/lib/vtx-wr-modal/style/index.less +1 -1
  854. package/lib/vtx-zg-modal/api.js +2 -1
  855. package/lib/vtx-zg-modal/api.js.map +1 -1
  856. package/lib/vtx-zg-modal/components/BaseInfo/index.css +12 -0
  857. package/lib/vtx-zg-modal/components/BaseInfo/index.js +16 -14
  858. package/lib/vtx-zg-modal/components/BaseInfo/index.js.map +1 -1
  859. package/lib/vtx-zg-modal/components/BaseInfo/index.less +101 -88
  860. package/lib/vtx-zg-modal/components/index.js +1 -1
  861. package/lib/vtx-zg-modal/components/index.js.map +1 -1
  862. package/lib/vtx-zg-modal/index.js +11 -10
  863. package/lib/vtx-zg-modal/index.js.map +1 -1
  864. package/lib/vtx-zg-modal/style/css.js.map +1 -1
  865. package/lib/vtx-zg-modal/style/index.js.map +1 -1
  866. package/lib/vtx-zg-modal/style/index.less +1 -1
  867. package/package.json +1 -1
  868. package/lib/vtx-device-modal/components/FacilityFile/index.js +0 -47
  869. package/lib/vtx-device-modal/components/FacilityFile/index.js.map +0 -1
  870. package/lib/vtx-device-modal/components/LiftInfo/index.js +0 -31
  871. package/lib/vtx-device-modal/components/LiftInfo/index.js.map +0 -1
  872. package/lib/vtx-device-modal/components/OverViewInfo/Left.js +0 -28
  873. package/lib/vtx-device-modal/components/OverViewInfo/Left.js.map +0 -1
  874. package/lib/vtx-device-modal/components/OverViewInfo/index.js +0 -102
  875. package/lib/vtx-device-modal/components/OverViewInfo/index.js.map +0 -1
  876. package/lib/vtx-device-modal/components/VideoInfo/index.js +0 -35
  877. package/lib/vtx-device-modal/components/VideoInfo/index.js.map +0 -1
@@ -4,53 +4,56 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.BaseService = void 0;
7
+ var _tslib = require("tslib");
7
8
  var _utils = require("@vtx/utils");
8
9
  var _ahooks = require("ahooks");
9
- // 视频数据调整
10
- var handleVideo = function handleVideo() {
11
- var videoData = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
12
- return videoData.map(function (item) {
13
- return Object.assign(Object.assign({}, item), {
14
- name: item.facilityName
10
+ var _lodash = _interopRequireWildcard(require("lodash"));
11
+ var _dayjs = _interopRequireDefault(require("dayjs"));
12
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
14
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
15
+ 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); }
16
+ 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; }
17
+ var sortClass = function sortClass(sortData, key) {
18
+ var groupBy = function groupBy(array, f) {
19
+ var groups = {};
20
+ array.forEach(function (o) {
21
+ var group = JSON.stringify(f(o));
22
+ groups[group] = groups[group] || [];
23
+ groups[group].push(o);
15
24
  });
25
+ return Object.keys(groups).map(function (group) {
26
+ return groups[group];
27
+ });
28
+ };
29
+ var sorted = groupBy(sortData, function (item) {
30
+ return item[key]; // 返回需要分组的对象
16
31
  });
32
+
33
+ return sorted;
17
34
  };
18
35
  // 总览信息
19
- var BaseService = exports.BaseService = {
20
- UseBaseInfo: function UseBaseInfo(_ref) {
21
- var id = _ref.id,
22
- publicUrlJCSS = _ref.publicUrlJCSS,
23
- code = _ref.code;
24
- var _a, _b, _c, _d;
25
- // 设备基础信息---获取实时数据的时间和状态
26
- var _useRequest = (0, _ahooks.useRequest)(function () {
27
- return _utils.request.post("".concat(publicUrlJCSS, "/api/device/getListByFacilityType"), {
28
- body: {
29
- deviceCode: code
30
- }
31
- });
32
- }, {
33
- refreshDeps: [code]
34
- }),
35
- baseInfoReal = _useRequest.data;
36
+ var BaseService = {
37
+ useBaseInfo: function useBaseInfo(id, coordType) {
38
+ var _a, _b, _c, _d, _e, _f;
36
39
  // 基本信息
37
- var _useRequest2 = (0, _ahooks.useRequest)(function () {
40
+ var _useRequest = (0, _ahooks.useRequest)(function () {
38
41
  return _utils.request.get('/cloud/device/entity/getBasicInfo', {
39
42
  body: {
40
- deviceId: id
43
+ deviceId: id,
44
+ coordinateType: coordType || 'bd09'
41
45
  }
42
46
  });
43
47
  }, {
44
- refreshDeps: [id]
48
+ refreshDeps: [id, coordType]
45
49
  }),
46
- baseInfoRes = _useRequest2.data;
47
- var realdata = baseInfoReal === null || baseInfoReal === void 0 ? void 0 : baseInfoReal.data;
48
- var info = baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data;
50
+ baseInfoRes = _useRequest.data;
51
+ var info = (baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data) || {};
49
52
  if ((_a = info === null || info === void 0 ? void 0 : info.monitorItems) === null || _a === void 0 ? void 0 : _a.length) {
50
- var monitorItems = info.monitorItems.map(function (item) {
53
+ var _monitorItems = info.monitorItems.map(function (item) {
51
54
  return item.value;
52
55
  });
53
- info.monitorItemsName = monitorItems.join(',');
56
+ info.monitorItemsName = _monitorItems.join(',');
54
57
  }
55
58
  if ((_b = info === null || info === void 0 ? void 0 : info.projects) === null || _b === void 0 ? void 0 : _b.length) {
56
59
  var projectsNameItems = info.projects.map(function (item) {
@@ -58,154 +61,538 @@ var BaseService = exports.BaseService = {
58
61
  });
59
62
  info.projectsName = projectsNameItems.join(',');
60
63
  }
61
- var realInfo = [{
62
- label: '当前状态',
63
- key: 'realStatusName',
64
- value: (_c = realdata === null || realdata === void 0 ? void 0 : realdata[0]) === null || _c === void 0 ? void 0 : _c.realStatusName
65
- }, {
66
- label: '更新时间',
67
- key: 'lastDataTime',
68
- value: (_d = realdata === null || realdata === void 0 ? void 0 : realdata[0]) === null || _d === void 0 ? void 0 : _d.lastDataTime
69
- }];
70
- var baseInfo = [{
71
- label: '设备名称',
72
- key: 'name',
73
- value: info === null || info === void 0 ? void 0 : info.name
74
- }, {
75
- label: '设备编码',
76
- key: 'code',
77
- value: info === null || info === void 0 ? void 0 : info.code
78
- }, {
79
- label: '设备类型',
80
- key: 'deviceTypeName',
81
- value: info === null || info === void 0 ? void 0 : info.deviceTypeName
82
- }, {
83
- label: '规格型号',
84
- key: 'modelName',
85
- value: info === null || info === void 0 ? void 0 : info.modelName
86
- }, {
87
- label: '所属设施',
88
- key: 'sourceName',
89
- value: info === null || info === void 0 ? void 0 : info.sourceName
90
- }];
91
- return {
92
- realInfo: realInfo,
93
- baseInfo: baseInfo,
94
- info: info
95
- };
96
- },
97
- UseFileInfo: function UseFileInfo(_ref2) {
98
- var id = _ref2.id;
99
- var _a, _b;
100
- // 设备档案
101
- var _useRequest3 = (0, _ahooks.useRequest)(function () {
102
- return _utils.request.get('/cloud/device/entity/getBasicInfo', {
103
- body: {
104
- deviceId: id
64
+ var _useRequest2 = (0, _ahooks.useRequest)(function () {
65
+ return _utils.request.get('/cloud/jcss-reborn/facility/type/config/getByCode', {
66
+ data: {
67
+ code: 'device'
105
68
  }
106
69
  });
107
70
  }, {
108
71
  refreshDeps: [id]
109
72
  }),
110
- baseInfoRes = _useRequest3.data;
111
- var info = baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data;
112
- if ((_a = info === null || info === void 0 ? void 0 : info.monitorItems) === null || _a === void 0 ? void 0 : _a.length) {
113
- var monitorItems = info.monitorItems.map(function (item) {
114
- return item.value;
115
- });
116
- info.monitorItemsName = monitorItems.join(',');
117
- }
118
- if ((_b = info === null || info === void 0 ? void 0 : info.projects) === null || _b === void 0 ? void 0 : _b.length) {
119
- var projectsNameItems = info.projects.map(function (item) {
120
- return item.value;
121
- });
122
- info.projectsName = projectsNameItems.join(',');
123
- }
73
+ tabConfig = _useRequest2.data;
74
+ var monitorItems = info.monitorItems;
75
+ var monitorItemsName = (monitorItems === null || monitorItems === void 0 ? void 0 : monitorItems.length) ? monitorItems.map(function (v) {
76
+ return v.value;
77
+ }).join(',') : '';
78
+ var unitObj = {
79
+ YEAR: '年',
80
+ MONYH: '月',
81
+ DAY: '日'
82
+ };
124
83
  var baseInfo = [{
125
- label: '设备ID',
84
+ label: '设备编码',
126
85
  key: 'code',
127
86
  value: info === null || info === void 0 ? void 0 : info.code
87
+ }, {
88
+ label: '设备名称',
89
+ key: 'name',
90
+ value: info === null || info === void 0 ? void 0 : info.name
128
91
  }, {
129
92
  label: '设备类型',
130
93
  key: 'deviceTypeName',
131
94
  value: info === null || info === void 0 ? void 0 : info.deviceTypeName
132
95
  }, {
133
- label: '设备来源',
134
- key: 'sourceName',
135
- value: info === null || info === void 0 ? void 0 : info.sourceName
96
+ label: '设备型号',
97
+ key: 'modelName',
98
+ value: info === null || info === void 0 ? void 0 : info.modelName
136
99
  }, {
137
100
  label: '设备厂家',
138
101
  key: 'factoryName',
139
102
  value: info === null || info === void 0 ? void 0 : info.factoryName
140
103
  }, {
141
- label: '设备型号',
142
- key: 'modelName',
143
- value: info === null || info === void 0 ? void 0 : info.modelName
104
+ label: '安装位置',
105
+ key: 'facilityName',
106
+ value: info === null || info === void 0 ? void 0 : info.facilityName
107
+ }, {
108
+ label: '设备ID',
109
+ key: 'iotId',
110
+ value: info === null || info === void 0 ? void 0 : info.iotId
111
+ }, {
112
+ label: '监测项',
113
+ key: 'monitorItems',
114
+ value: monitorItemsName
115
+ }, {
116
+ label: '资产编号',
117
+ key: 'assetNumber',
118
+ value: info === null || info === void 0 ? void 0 : info.assetNumber
144
119
  }, {
145
- label: '数据状态阈值(h)',
146
- key: 'dataThreshold',
147
- value: info === null || info === void 0 ? void 0 : info.dataThreshold
120
+ label: '设备位号',
121
+ key: 'tagNumber',
122
+ value: info === null || info === void 0 ? void 0 : info.tagNumber
148
123
  }, {
149
- label: '设备用途',
150
- key: 'purposeName',
151
- value: info === null || info === void 0 ? void 0 : info.purposeName
124
+ label: '性能参数',
125
+ key: 'performanceParameter',
126
+ value: info === null || info === void 0 ? void 0 : info.performanceParameter
152
127
  }, {
153
- label: '监测项目',
154
- key: 'monitorItemsName',
155
- value: info === null || info === void 0 ? void 0 : info.monitorItemsName
128
+ label: '主要材质',
129
+ key: 'mainMaterial',
130
+ value: info === null || info === void 0 ? void 0 : info.mainMaterial
156
131
  }, {
157
- label: '数据类型',
158
- key: 'dataTypeName',
159
- value: info === null || info === void 0 ? void 0 : info.dataTypeName
132
+ label: '出厂编号',
133
+ key: 'factoryNumber',
134
+ value: info === null || info === void 0 ? void 0 : info.factoryNumber
160
135
  }, {
161
- label: '项目名称',
162
- key: 'projectsName',
163
- value: info === null || info === void 0 ? void 0 : info.projectsName
136
+ label: '出厂日期',
137
+ key: 'factoryDate',
138
+ value: info === null || info === void 0 ? void 0 : info.factoryDate
139
+ }, {
140
+ label: '设备供应商',
141
+ key: 'supplier',
142
+ value: info === null || info === void 0 ? void 0 : info.supplier
143
+ }, {
144
+ label: '启用时间',
145
+ key: 'enableDate',
146
+ value: info === null || info === void 0 ? void 0 : info.enableDate
147
+ }, {
148
+ label: '寿命周期',
149
+ key: 'expectServiceLifeUnit',
150
+ value: unitObj[info === null || info === void 0 ? void 0 : info.expectServiceLifeUnit]
151
+ }, {
152
+ label: '预计使用寿命',
153
+ key: 'expectServiceLifeNumber',
154
+ value: info === null || info === void 0 ? void 0 : info.expectServiceLifeNumber
155
+ }, {
156
+ label: '所属单位',
157
+ key: 'manageUnitName',
158
+ value: info === null || info === void 0 ? void 0 : info.manageUnitName
159
+ }, {
160
+ label: '设备负责人',
161
+ key: 'responsiblePersonName',
162
+ value: info === null || info === void 0 ? void 0 : info.responsiblePersonName
163
+ }, {
164
+ label: '联系方式',
165
+ key: 'phone',
166
+ value: info === null || info === void 0 ? void 0 : info.phone
164
167
  }];
165
168
  return {
166
- baseInfo: baseInfo
169
+ baseInfo: baseInfo,
170
+ info: info,
171
+ tabIsFilter: !!((_d = (_c = tabConfig === null || tabConfig === void 0 ? void 0 : tabConfig.data) === null || _c === void 0 ? void 0 : _c.popupConfigJson) === null || _d === void 0 ? void 0 : _d.length),
172
+ tabConfig: ((_f = (_e = tabConfig === null || tabConfig === void 0 ? void 0 : tabConfig.data) === null || _e === void 0 ? void 0 : _e.popupConfigJson) === null || _f === void 0 ? void 0 : _f.filter(function (ele) {
173
+ return ele.display;
174
+ }).map(function (ele) {
175
+ return {
176
+ key: ele.code,
177
+ title: ele.name
178
+ };
179
+ })) || [],
180
+ visited: !!tabConfig
167
181
  };
168
182
  },
169
- UseVideoRoad: function UseVideoRoad(_ref3) {
170
- var id = _ref3.id,
171
- publicUrlJCSS = _ref3.publicUrlJCSS;
172
- // 视频通道
173
- var _useRequest4 = (0, _ahooks.useRequest)(function () {
174
- return _utils.request.post("".concat(publicUrlJCSS, "/api/videoDeviceRelation/list"), {
175
- body: {
176
- deviceId: id,
177
- // facilityType,
178
- // deviceId: '1654137504380522498',
179
- facilityType: 'water_resource'
180
- }
181
- });
183
+ useRealtimeList: function useRealtimeList(id) {
184
+ var _useRequest3 = (0, _ahooks.useRequest)(function () {
185
+ return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
186
+ var res;
187
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
188
+ while (1) switch (_context.prev = _context.next) {
189
+ case 0:
190
+ _context.next = 2;
191
+ return _utils.request.get('/cloud/device/realtime/monitor/data/realtimeFactorValueList', {
192
+ data: {
193
+ deviceId: id
194
+ }
195
+ });
196
+ case 2:
197
+ res = _context.sent;
198
+ return _context.abrupt("return", (res === null || res === void 0 ? void 0 : res.data) || []);
199
+ case 4:
200
+ case "end":
201
+ return _context.stop();
202
+ }
203
+ }, _callee);
204
+ }));
182
205
  }, {
183
206
  refreshDeps: [id]
184
207
  }),
185
- baseInfoRes = _useRequest4.data;
186
- var videoRoad = handleVideo(baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data);
208
+ _useRequest3$data = _useRequest3.data,
209
+ data = _useRequest3$data === void 0 ? [] : _useRequest3$data;
210
+ return {
211
+ data: data
212
+ };
213
+ },
214
+ useGetChartData: function useGetChartData(_ref) {
215
+ var monitorItemIds = _ref.monitorItemIds,
216
+ deviceId = _ref.deviceId,
217
+ collectFrequency = _ref.collectFrequency,
218
+ startTime = _ref.startTime,
219
+ endTime = _ref.endTime;
220
+ var _useRequest4 = (0, _ahooks.useRequest)(function () {
221
+ return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
222
+ var res;
223
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
224
+ while (1) switch (_context2.prev = _context2.next) {
225
+ case 0:
226
+ if (!((0, _lodash.isEmpty)(monitorItemIds) || !startTime || !endTime || !collectFrequency)) {
227
+ _context2.next = 2;
228
+ break;
229
+ }
230
+ return _context2.abrupt("return", []);
231
+ case 2:
232
+ _context2.next = 4;
233
+ return _utils.request.get('/cloud/device/realtime/monitor/data/eCharts', {
234
+ data: {
235
+ monitorItemIds: monitorItemIds,
236
+ deviceId: deviceId,
237
+ collectFrequency: collectFrequency,
238
+ startTime: startTime,
239
+ endTime: endTime
240
+ }
241
+ });
242
+ case 4:
243
+ res = _context2.sent;
244
+ return _context2.abrupt("return", (res === null || res === void 0 ? void 0 : res.data) || []);
245
+ case 6:
246
+ case "end":
247
+ return _context2.stop();
248
+ }
249
+ }, _callee2);
250
+ }));
251
+ }, {
252
+ refreshDeps: [JSON.stringify(monitorItemIds), collectFrequency, startTime, endTime]
253
+ }),
254
+ _useRequest4$data = _useRequest4.data,
255
+ data = _useRequest4$data === void 0 ? [] : _useRequest4$data,
256
+ loading = _useRequest4.loading;
187
257
  return {
188
- videoRoad: videoRoad
258
+ data: data,
259
+ loading: loading
189
260
  };
190
261
  },
191
- UseLifeInfo: function UseLifeInfo(_ref4) {
192
- var id = _ref4.id,
193
- publicUrlJCYJ = _ref4.publicUrlJCYJ;
194
- // 设备-生命周期
262
+ useGetDeviceTree: function useGetDeviceTree(id) {
195
263
  var _useRequest5 = (0, _ahooks.useRequest)(function () {
196
- return _utils.request.get("".concat(publicUrlJCYJ, "/api/taskRecord/getRecordByDeviceId"), {
197
- body: {
198
- deviceId: id
199
- }
200
- });
264
+ return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
265
+ var res, treeData, _data;
266
+ return _regeneratorRuntime().wrap(function _callee3$(_context3) {
267
+ while (1) switch (_context3.prev = _context3.next) {
268
+ case 0:
269
+ _context3.next = 2;
270
+ return _utils.request.get('/cloud/device/realtime/monitor/data/generateDeviceJsonTree', {
271
+ data: {
272
+ showDeviceFlag: true,
273
+ onlyDeviceFacilityFlag: true
274
+ }
275
+ });
276
+ case 2:
277
+ res = _context3.sent;
278
+ treeData = [];
279
+ if ((res === null || res === void 0 ? void 0 : res.result) == 0 && (res === null || res === void 0 ? void 0 : res.data)) {
280
+ _data = res.data || {};
281
+ treeData = (0, _utils.parseTreeData)(_data.children || [], {
282
+ renderNode: function renderNode(node) {
283
+ var _a;
284
+ return Object.assign(Object.assign({}, node), {
285
+ title: node.type === 'device' ? "".concat(((_a = node === null || node === void 0 ? void 0 : node.attributes) === null || _a === void 0 ? void 0 : _a.deviceTypeName) ? "".concat(node.attributes.deviceTypeName, "-") : '').concat(node.name) : node.name
286
+ });
287
+ },
288
+ filterNode: function filterNode(node) {
289
+ return node.key !== id;
290
+ },
291
+ filterEmptyNodes: function filterEmptyNodes() {
292
+ return null;
293
+ }
294
+ });
295
+ }
296
+ return _context3.abrupt("return", treeData);
297
+ case 6:
298
+ case "end":
299
+ return _context3.stop();
300
+ }
301
+ }, _callee3);
302
+ }));
303
+ }),
304
+ _useRequest5$data = _useRequest5.data,
305
+ data = _useRequest5$data === void 0 ? [] : _useRequest5$data;
306
+ return {
307
+ data: data
308
+ };
309
+ },
310
+ useGetMonitor: function useGetMonitor(_ref2) {
311
+ var deviceIds = _ref2.deviceIds;
312
+ var _useRequest6 = (0, _ahooks.useRequest)(function () {
313
+ return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
314
+ var res, data;
315
+ return _regeneratorRuntime().wrap(function _callee4$(_context4) {
316
+ while (1) switch (_context4.prev = _context4.next) {
317
+ case 0:
318
+ _context4.next = 2;
319
+ return _utils.request.get('/cloud/device/monitor/item/loadItemTree', {
320
+ data: {
321
+ deviceIds: deviceIds.join(',')
322
+ }
323
+ });
324
+ case 2:
325
+ res = _context4.sent;
326
+ data = (res === null || res === void 0 ? void 0 : res.data) || {};
327
+ return _context4.abrupt("return", (0, _utils.parseTreeData)(data.children || [], {
328
+ renderNode: function renderNode(node) {
329
+ var selectable = node.type === 'monitorItem';
330
+ return Object.assign(Object.assign({}, node), {
331
+ selectable: selectable,
332
+ title: node.name
333
+ });
334
+ },
335
+ filterEmptyNodes: function filterEmptyNodes() {
336
+ return null;
337
+ }
338
+ }));
339
+ case 5:
340
+ case "end":
341
+ return _context4.stop();
342
+ }
343
+ }, _callee4);
344
+ }));
201
345
  }, {
202
- refreshDeps: [id]
346
+ refreshDeps: [deviceIds]
347
+ }),
348
+ _useRequest6$data = _useRequest6.data,
349
+ data = _useRequest6$data === void 0 ? [] : _useRequest6$data;
350
+ return {
351
+ data: data
352
+ };
353
+ },
354
+ useCollectList: function useCollectList(_ref3) {
355
+ var deviceIds = _ref3.deviceIds,
356
+ monitorItemIds = _ref3.monitorItemIds;
357
+ var _useRequest7 = (0, _ahooks.useRequest)(function () {
358
+ return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee5() {
359
+ var res;
360
+ return _regeneratorRuntime().wrap(function _callee5$(_context5) {
361
+ while (1) switch (_context5.prev = _context5.next) {
362
+ case 0:
363
+ if (!((0, _lodash.isEmpty)(deviceIds) || (0, _lodash.isEmpty)(monitorItemIds))) {
364
+ _context5.next = 2;
365
+ break;
366
+ }
367
+ return _context5.abrupt("return", []);
368
+ case 2:
369
+ _context5.next = 4;
370
+ return _utils.request.get('/cloud/device/monitor/factor/listCollectFrequency', {
371
+ data: {
372
+ deviceIds: deviceIds.join(','),
373
+ monitorItemIds: monitorItemIds.join(',')
374
+ }
375
+ });
376
+ case 4:
377
+ res = _context5.sent;
378
+ return _context5.abrupt("return", (res === null || res === void 0 ? void 0 : res.data) || []);
379
+ case 6:
380
+ case "end":
381
+ return _context5.stop();
382
+ }
383
+ }, _callee5);
384
+ }));
385
+ }, {
386
+ refreshDeps: [deviceIds, monitorItemIds]
387
+ }),
388
+ _useRequest7$data = _useRequest7.data,
389
+ data = _useRequest7$data === void 0 ? [] : _useRequest7$data;
390
+ return {
391
+ data: data
392
+ };
393
+ },
394
+ useGetAnalysis: function useGetAnalysis(_ref4) {
395
+ var timeType = _ref4.timeType,
396
+ danTimeEndTime = _ref4.danTimeEndTime,
397
+ duoTimeType = _ref4.duoTimeType,
398
+ duoTimeList = _ref4.duoTimeList,
399
+ danTimeType = _ref4.danTimeType,
400
+ danTimeStartTime = _ref4.danTimeStartTime,
401
+ month = _ref4.month,
402
+ year = _ref4.year,
403
+ monitorItemIds = _ref4.monitorItemIds,
404
+ deviceIds = _ref4.deviceIds,
405
+ collectFrequency = _ref4.collectFrequency;
406
+ var _useRequest8 = (0, _ahooks.useRequest)(function () {
407
+ return (0, _tslib.__awaiter)(void 0, void 0, void 0, /*#__PURE__*/_regeneratorRuntime().mark(function _callee6() {
408
+ var chartDataList, format, startTime, endTime, res, dataList, newDataList;
409
+ return _regeneratorRuntime().wrap(function _callee6$(_context6) {
410
+ while (1) switch (_context6.prev = _context6.next) {
411
+ case 0:
412
+ if (!((0, _lodash.isEmpty)(monitorItemIds) || (0, _lodash.isEmpty)(deviceIds) || !collectFrequency)) {
413
+ _context6.next = 2;
414
+ break;
415
+ }
416
+ return _context6.abrupt("return", []);
417
+ case 2:
418
+ format = 'YYYY-MM-DD HH:mm:ss';
419
+ if (!(timeType === 'danTime')) {
420
+ _context6.next = 37;
421
+ break;
422
+ }
423
+ //单时段
424
+ startTime = '', endTime = '';
425
+ _context6.t0 = danTimeType;
426
+ _context6.next = _context6.t0 === '1h' ? 8 : _context6.t0 === '24h' ? 11 : _context6.t0 === '3days' ? 14 : _context6.t0 === '7days' ? 17 : _context6.t0 === 'self' ? 20 : _context6.t0 === 'month' ? 23 : _context6.t0 === 'year' ? 26 : 29;
427
+ break;
428
+ case 8:
429
+ startTime = (0, _dayjs["default"])().subtract(1, 'hours').format(format);
430
+ endTime = (0, _dayjs["default"])().format(format);
431
+ return _context6.abrupt("break", 31);
432
+ case 11:
433
+ startTime = (0, _dayjs["default"])().subtract(24, 'hours').format(format);
434
+ endTime = (0, _dayjs["default"])().format(format);
435
+ return _context6.abrupt("break", 31);
436
+ case 14:
437
+ startTime = (0, _dayjs["default"])().subtract(3, 'days').format(format);
438
+ endTime = (0, _dayjs["default"])().format(format);
439
+ return _context6.abrupt("break", 31);
440
+ case 17:
441
+ startTime = (0, _dayjs["default"])().subtract(7, 'days').format(format);
442
+ endTime = (0, _dayjs["default"])().format(format);
443
+ return _context6.abrupt("break", 31);
444
+ case 20:
445
+ startTime = (0, _dayjs["default"])(danTimeStartTime).startOf('day').format(format);
446
+ endTime = (0, _dayjs["default"])(danTimeEndTime).endOf('day').format(format);
447
+ return _context6.abrupt("break", 31);
448
+ case 23:
449
+ startTime = (0, _dayjs["default"])(month).startOf('month').startOf('day').format(format);
450
+ endTime = (0, _dayjs["default"])(month).endOf('month').endOf('day').format(format);
451
+ return _context6.abrupt("break", 31);
452
+ case 26:
453
+ startTime = (0, _dayjs["default"])(year).startOf('year').startOf('day').format(format);
454
+ endTime = (0, _dayjs["default"])(year).endOf('year').endOf('day').format(format);
455
+ return _context6.abrupt("break", 31);
456
+ case 29:
457
+ startTime = (0, _dayjs["default"])().subtract(1, 'hours').startOf('day').format(format);
458
+ endTime = (0, _dayjs["default"])().endOf('day').format(format);
459
+ case 31:
460
+ _context6.next = 33;
461
+ return _utils.request.get('/cloud/device/realtime/monitor/data/eCharts', {
462
+ data: {
463
+ deviceIds: deviceIds,
464
+ monitorItemIds: (monitorItemIds || []).join(','),
465
+ startTime: startTime,
466
+ endTime: endTime,
467
+ collectFrequency: collectFrequency
468
+ }
469
+ });
470
+ case 33:
471
+ res = _context6.sent;
472
+ if ((res === null || res === void 0 ? void 0 : res.result) === 0) {
473
+ dataList = (res === null || res === void 0 ? void 0 : res.data) || [];
474
+ chartDataList = dataList.map(function (item) {
475
+ var values = item.values;
476
+ var xData = [],
477
+ yData = [],
478
+ markLine = [],
479
+ dataList = [];
480
+ var type = (item === null || item === void 0 ? void 0 : item.monitorItemDefaultChartType) || 'line';
481
+ if (values.length) {
482
+ values.map(function (one) {
483
+ xData.push(one.x);
484
+ yData.push(one.y);
485
+ dataList.push({
486
+ date: one.x,
487
+ value: type === 'stack' ? one.yformat || one.y : Number(one.y),
488
+ originValue: one.y
489
+ });
490
+ if (!markLine.map(function (m) {
491
+ return (0, _dayjs["default"])(m).format('YYYY-MM-DD');
492
+ }).includes((0, _dayjs["default"])(one.x).format('YYYY-MM-DD'))) {
493
+ markLine.push(one.x);
494
+ }
495
+ });
496
+ }
497
+ item.name = "".concat(item.typeChs ? "".concat(item.typeChs, "-") : '').concat(item.monitorItemName);
498
+ item.dataList = dataList;
499
+ item.markLine = markLine;
500
+ item.xData = xData;
501
+ item.yData = yData;
502
+ item.showMode = type;
503
+ var yDataList = yData.map(function (ele) {
504
+ return Number(ele);
505
+ });
506
+ item.maximumValue = _lodash["default"].max(yDataList);
507
+ item.minimumValue = _lodash["default"].min(yDataList);
508
+ return item;
509
+ });
510
+ }
511
+ _context6.next = 41;
512
+ break;
513
+ case 37:
514
+ newDataList = [];
515
+ _context6.next = 40;
516
+ return Promise.all(duoTimeList.map(function (item) {
517
+ return _utils.request.get('/cloud/device/realtime/monitor/data/eCharts', {
518
+ data: {
519
+ startTime: (0, _dayjs["default"])(item.time).startOf(duoTimeType).format(format),
520
+ endTime: (0, _dayjs["default"])(item.time).endOf(duoTimeType).format(format),
521
+ deviceIds: deviceIds,
522
+ monitorItemIds: monitorItemIds,
523
+ collectFrequency: collectFrequency
524
+ }
525
+ }).then(function (res) {
526
+ if ((res === null || res === void 0 ? void 0 : res.result) === 0) {
527
+ return {
528
+ time: item.time,
529
+ data: res.data || []
530
+ };
531
+ }
532
+ return [];
533
+ });
534
+ })).then(function (dataList) {
535
+ newDataList = dataList.map(function (list) {
536
+ return ((list === null || list === void 0 ? void 0 : list.data) || []).map(function (one) {
537
+ return Object.assign(Object.assign({}, one), {
538
+ newName: "".concat(one.facilityName, "-").concat(one.name, "(").concat(list.time, ")")
539
+ });
540
+ }).map(function (item) {
541
+ var type = (item === null || item === void 0 ? void 0 : item.monitorItemDefaultChartType) || 'line';
542
+ var values = item.values;
543
+ var xData = [],
544
+ yData = [],
545
+ dataList = [];
546
+ if (values.length) {
547
+ values.map(function (one) {
548
+ xData.push(one.x);
549
+ yData.push(one.y);
550
+ dataList.push({
551
+ date: one.x,
552
+ value: type === 'stack' ? one.yformat || one.y : Number(one.y),
553
+ originValue: one.y
554
+ });
555
+ });
556
+ }
557
+ item.dataList = dataList;
558
+ item.showMode = type;
559
+ item.xData = xData;
560
+ item.yData = yData;
561
+ var yDataList = yData.map(function (ele) {
562
+ return Number(ele);
563
+ });
564
+ item.maximumValue = _lodash["default"].max(yDataList);
565
+ item.minimumValue = _lodash["default"].min(yDataList);
566
+ return item;
567
+ });
568
+ }).flat();
569
+ });
570
+ case 40:
571
+ chartDataList = sortClass(newDataList, 'name').map(function (item) {
572
+ return {
573
+ showMode: 'chart',
574
+ list: item
575
+ };
576
+ });
577
+ case 41:
578
+ return _context6.abrupt("return", chartDataList);
579
+ case 42:
580
+ case "end":
581
+ return _context6.stop();
582
+ }
583
+ }, _callee6);
584
+ }));
585
+ }, {
586
+ refreshDeps: [timeType, danTimeEndTime, duoTimeType, duoTimeList, danTimeType, danTimeStartTime, month, year, monitorItemIds, deviceIds, collectFrequency]
203
587
  }),
204
- baseInfoRes = _useRequest5.data;
205
- var lifeInfo = baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data;
588
+ _useRequest8$data = _useRequest8.data,
589
+ data = _useRequest8$data === void 0 ? [] : _useRequest8$data,
590
+ loading = _useRequest8.loading;
206
591
  return {
207
- lifeInfo: lifeInfo
592
+ data: data,
593
+ loading: loading
208
594
  };
209
595
  }
210
596
  };
597
+ exports.BaseService = BaseService;
211
598
  //# sourceMappingURL=api.js.map