@vtx/modals2 5.0.3 → 5.0.5

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 (294) hide show
  1. package/lib/_components/index.js +4 -3
  2. package/lib/_components/vm-bar-charts/index.js +10 -6
  3. package/lib/_components/vm-calendar/style/index.less +4 -7
  4. package/lib/_components/vm-card-statistics/index.less +27 -27
  5. package/lib/_components/vm-extra-tab/style/index.less +6 -3
  6. package/lib/_components/vm-factor/index.js +10 -5
  7. package/lib/_components/vm-factor/style/index.less +5 -1
  8. package/lib/_components/vm-factor-list/index.less +11 -11
  9. package/lib/_components/vm-filter/style/index.less +2 -1
  10. package/lib/_components/vm-info-collection/index.js +2 -2
  11. package/lib/_components/vm-line-charts/index.js +1 -1
  12. package/lib/_components/vm-map/index.js +5 -5
  13. package/lib/_components/vm-pie-charts/index.js +9 -5
  14. package/lib/_components/vm-repair-maintain/RmInfoSummary.js +46 -0
  15. package/lib/_components/vm-repair-maintain/RmMonthTrend.js +44 -0
  16. package/lib/_components/vm-repair-maintain/RmRecord.js +157 -0
  17. package/lib/_components/vm-repair-maintain/RmType.js +32 -0
  18. package/lib/_components/vm-repair-maintain/api.js +92 -0
  19. package/lib/_components/vm-repair-maintain/imgs/amount.png +0 -0
  20. package/lib/_components/vm-repair-maintain/imgs/amount_light.png +0 -0
  21. package/lib/_components/vm-repair-maintain/imgs/count.png +0 -0
  22. package/lib/_components/vm-repair-maintain/imgs/count_light.png +0 -0
  23. package/lib/_components/vm-repair-maintain/index.js +56 -0
  24. package/lib/_components/vm-repair-maintain/style/index.js +1 -0
  25. package/lib/_components/vm-repair-maintain/style/index.less +25 -0
  26. package/lib/_components/vm-table/index.js +7 -4
  27. package/lib/_components/vm-table/style/index.less +3 -2
  28. package/lib/_components/vm-tag/style/index.less +10 -0
  29. package/lib/_components/vm-title/index.js +3 -2
  30. package/lib/_components/vm-video/HistoryGrid.js +52 -0
  31. package/lib/_components/vm-video/RealtimeGrid.js +8 -4
  32. package/lib/_components/vm-video/index.js +298 -112
  33. package/lib/_components/vm-video/index.less +10 -1
  34. package/lib/_components/vm-wrapper/index.js +32 -10
  35. package/lib/_components/vm-wrapper/style/index.less +28 -0
  36. package/lib/_service/index.js +5 -0
  37. package/lib/_util/index.js +0 -5
  38. package/lib/index.js +7 -2
  39. package/lib/style/index.less +2 -6
  40. package/lib/vtx-area-modal/components/BaseInfo/ListZymx.js +2 -1
  41. package/lib/vtx-base-modal/Header/index.js +3 -1
  42. package/lib/vtx-base-modal/Header/index.less +98 -98
  43. package/lib/vtx-base-modal/Tabs/index.less +31 -31
  44. package/lib/vtx-base-modal/index.js +11 -5
  45. package/lib/vtx-car-modal/api.js +4 -3
  46. package/lib/vtx-car-modal/components/Info/index.js +2 -1
  47. package/lib/vtx-car-modal/components/Info/index.less +6 -6
  48. package/lib/vtx-car-modal/content/Cc/AlarmInfo/StaticInfo.js +0 -1
  49. package/lib/vtx-car-modal/content/Cc/BaseInfo/index.js +3 -0
  50. package/lib/vtx-car-modal/content/Cc/WorkRecord/Summary.js +1 -0
  51. package/lib/vtx-car-modal/content/Common/BaseInfo/index.js +5 -1
  52. package/lib/vtx-car-modal/content/Common/OilConsumption/index.less +6 -6
  53. package/lib/vtx-car-modal/content/Common/StaticInfo/index.js +1 -0
  54. package/lib/vtx-car-modal/content/Common/WaterConsumption/index.js +1 -0
  55. package/lib/vtx-car-modal/content/Common/WaterConsumption/index.less +6 -6
  56. package/lib/vtx-car-modal/content/JXH/AlarmInfo/List.js +9 -3
  57. package/lib/vtx-car-modal/content/JXH/BaseInfo/index.js +134 -103
  58. package/lib/vtx-car-modal/content/JXH/StaticInfo/index.js +210 -161
  59. package/lib/vtx-car-modal/content/JXH/WorkRecord/index.js +39 -16
  60. package/lib/vtx-car-modal/content/Ljsy/BaseInfo/index.js +3 -0
  61. package/lib/vtx-car-modal/content/Ljsy/WorkRecord/Summary.js +1 -0
  62. package/lib/vtx-car-modal/content/Ljzy/BaseInfo/index.js +3 -0
  63. package/lib/vtx-car-modal/content/Ljzy/WorkRecord/Summary.js +1 -0
  64. package/lib/vtx-car-modal/content/Unmanned/Analysis/index.js +33 -0
  65. package/lib/vtx-car-modal/content/Unmanned/Calendar/index.js +255 -0
  66. package/lib/vtx-car-modal/content/Unmanned/Monitor/index.js +75 -0
  67. package/lib/vtx-car-modal/content/Unmanned/Monitor/index.less +22 -0
  68. package/lib/vtx-car-modal/content/Unmanned/WorkInfo/index.js +87 -0
  69. package/lib/vtx-car-modal/content/Unmanned/WorkInfo/index.less +0 -0
  70. package/lib/vtx-car-modal/content/Unmanned/index.js +10 -0
  71. package/lib/vtx-car-modal/content/index.js +2 -1
  72. package/lib/vtx-car-modal/imgs/butter.png +0 -0
  73. package/lib/vtx-car-modal/imgs/butter_dark.png +0 -0
  74. package/lib/vtx-car-modal/imgs/clock.png +0 -0
  75. package/lib/vtx-car-modal/imgs/clock_dark.png +0 -0
  76. package/lib/vtx-car-modal/imgs/clock_green.png +0 -0
  77. package/lib/vtx-car-modal/imgs/clock_green_dark.png +0 -0
  78. package/lib/vtx-car-modal/imgs/factor_bg.png +0 -0
  79. package/lib/vtx-car-modal/imgs/track.png +0 -0
  80. package/lib/vtx-car-modal/imgs/track_dark.png +0 -0
  81. package/lib/vtx-car-modal/imgs/track_green.png +0 -0
  82. package/lib/vtx-car-modal/imgs/track_green_dark.png +0 -0
  83. package/lib/vtx-car-modal/imgs/water.png +0 -0
  84. package/lib/vtx-car-modal/imgs/water_dark.png +0 -0
  85. package/lib/vtx-car-modal/index.js +24 -4
  86. package/lib/vtx-cc-cp-modal/api.js +381 -0
  87. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +120 -0
  88. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTrend.js +27 -0
  89. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTypeAnalysis.js +32 -0
  90. package/lib/vtx-cc-cp-modal/components/AlarmInfo/StaticInfo.js +41 -0
  91. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +69 -0
  92. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +103 -0
  93. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +75 -0
  94. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +58 -0
  95. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +142 -0
  96. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +63 -0
  97. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.less +16 -0
  98. package/lib/vtx-cc-cp-modal/components/Calendar/index.js +168 -0
  99. package/lib/vtx-cc-cp-modal/components/Calendar/index.less +93 -0
  100. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTrend.js +27 -0
  101. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTypeAnalysis.js +32 -0
  102. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExeceptionRecord.js +118 -0
  103. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/StaticInfo.js +41 -0
  104. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +69 -0
  105. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +111 -0
  106. package/lib/vtx-cc-cp-modal/components/Restaurant/index.less +3 -0
  107. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +46 -0
  108. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +81 -0
  109. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +78 -0
  110. package/lib/vtx-cc-cp-modal/components/index.js +7 -0
  111. package/lib/vtx-cc-cp-modal/imgs/rwnsjts.png +0 -0
  112. package/lib/vtx-cc-cp-modal/imgs/rwnsjts_dark.png +0 -0
  113. package/lib/vtx-cc-cp-modal/imgs/rwnsjzl.png +0 -0
  114. package/lib/vtx-cc-cp-modal/imgs/rwnsjzl_dark.png +0 -0
  115. package/lib/vtx-cc-cp-modal/imgs/rwnsscs.png +0 -0
  116. package/lib/vtx-cc-cp-modal/imgs/rwnsscs_dark.png +0 -0
  117. package/lib/vtx-cc-cp-modal/imgs/zsjts.png +0 -0
  118. package/lib/vtx-cc-cp-modal/imgs/zsjts_dark.png +0 -0
  119. package/lib/vtx-cc-cp-modal/imgs/zsjzl.png +0 -0
  120. package/lib/vtx-cc-cp-modal/imgs/zsjzl_dark.png +0 -0
  121. package/lib/vtx-cc-cp-modal/imgs/zsscs.png +0 -0
  122. package/lib/vtx-cc-cp-modal/imgs/zsscs_dark.png +0 -0
  123. package/lib/vtx-cc-cp-modal/index.js +119 -0
  124. package/lib/vtx-cc-cp-modal/style/index.js +1 -0
  125. package/lib/vtx-cc-cp-modal/style/index.less +13 -0
  126. package/lib/vtx-cc-unit-modal/api.js +361 -0
  127. package/lib/vtx-cc-unit-modal/components/BaseInfo/CollectRecord.js +69 -0
  128. package/lib/vtx-cc-unit-modal/components/BaseInfo/DetailList.js +66 -0
  129. package/lib/vtx-cc-unit-modal/components/BaseInfo/Factory.js +60 -0
  130. package/lib/vtx-cc-unit-modal/components/BaseInfo/Statistics.js +91 -0
  131. package/lib/vtx-cc-unit-modal/components/BaseInfo/index.js +118 -0
  132. package/lib/vtx-cc-unit-modal/components/BaseInfo/index.less +6 -0
  133. package/lib/vtx-cc-unit-modal/components/CarList/index.js +129 -0
  134. package/lib/vtx-cc-unit-modal/components/Collection/index.js +95 -0
  135. package/lib/vtx-cc-unit-modal/components/DetailInfo/index.js +126 -0
  136. package/lib/vtx-cc-unit-modal/components/Factory/index.js +149 -0
  137. package/lib/vtx-cc-unit-modal/components/RestaurantList/index.js +127 -0
  138. package/lib/vtx-cc-unit-modal/components/index.js +7 -0
  139. package/lib/vtx-cc-unit-modal/imgs/jccc.png +0 -0
  140. package/lib/vtx-cc-unit-modal/imgs/jccc_dark.png +0 -0
  141. package/lib/vtx-cc-unit-modal/imgs/jcl.png +0 -0
  142. package/lib/vtx-cc-unit-modal/imgs/jcl_dark.png +0 -0
  143. package/lib/vtx-cc-unit-modal/imgs/syts.png +0 -0
  144. package/lib/vtx-cc-unit-modal/imgs/syts_dark.png +0 -0
  145. package/lib/vtx-cc-unit-modal/imgs/syzl.png +0 -0
  146. package/lib/vtx-cc-unit-modal/imgs/syzl_dark.png +0 -0
  147. package/lib/vtx-cc-unit-modal/index.js +137 -0
  148. package/lib/vtx-cc-unit-modal/style/index.js +1 -0
  149. package/lib/vtx-cc-unit-modal/style/index.less +14 -0
  150. package/lib/vtx-cp-modal/api.js +3 -3
  151. package/lib/vtx-cp-modal/index.js +4 -1
  152. package/lib/vtx-default-modal/components/BaseInfo/index.js +3 -2
  153. package/lib/vtx-default-modal/index.js +10 -8
  154. package/lib/vtx-device-modal/api.js +531 -0
  155. package/lib/vtx-device-modal/components/BaseInfo/index.js +140 -0
  156. package/lib/vtx-device-modal/components/DataAnalysis/AlarmAnalysis.js +279 -0
  157. package/lib/vtx-device-modal/components/DataAnalysis/MonitorAnalysis.js +610 -0
  158. package/lib/vtx-device-modal/components/DataAnalysis/TabsList.js +23 -0
  159. package/lib/vtx-device-modal/components/DataAnalysis/index.js +24 -0
  160. package/lib/vtx-device-modal/components/DataAnalysis/index.less +66 -0
  161. package/lib/vtx-device-modal/components/index.js +3 -0
  162. package/lib/vtx-device-modal/config.js +21 -0
  163. package/lib/vtx-device-modal/imgs/current.png +0 -0
  164. package/lib/vtx-device-modal/imgs/current_dark.png +0 -0
  165. package/lib/vtx-device-modal/imgs/history.png +0 -0
  166. package/lib/vtx-device-modal/imgs/history_dark.png +0 -0
  167. package/lib/vtx-device-modal/index.js +96 -0
  168. package/lib/vtx-device-modal/style/index.js +1 -0
  169. package/lib/vtx-device-modal/style/index.less +1 -0
  170. package/lib/vtx-df-modal/index.js +11 -11
  171. package/lib/vtx-housing-estate-modal/api.js +559 -0
  172. package/lib/vtx-housing-estate-modal/components/Alarm/Distribute.js +129 -0
  173. package/lib/vtx-housing-estate-modal/components/Alarm/FSCSFB.js +67 -0
  174. package/lib/vtx-housing-estate-modal/components/Alarm/FSSD.js +65 -0
  175. package/lib/vtx-housing-estate-modal/components/Alarm/FSYZQS.js +67 -0
  176. package/lib/vtx-housing-estate-modal/components/Alarm/GDCLXL.js +109 -0
  177. package/lib/vtx-housing-estate-modal/components/Alarm/index.js +99 -0
  178. package/lib/vtx-housing-estate-modal/components/Alarm/index.less +54 -0
  179. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +179 -0
  180. package/lib/vtx-housing-estate-modal/components/OverView/Left.js +85 -0
  181. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +172 -0
  182. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +177 -0
  183. package/lib/vtx-housing-estate-modal/components/OverView/index.js +56 -0
  184. package/lib/vtx-housing-estate-modal/components/OverView/index.less +163 -0
  185. package/lib/vtx-housing-estate-modal/components/TFRD/index.js +133 -0
  186. package/lib/vtx-housing-estate-modal/components/TFRD/index.less +12 -0
  187. package/lib/vtx-housing-estate-modal/components/WGGS/Content.js +66 -0
  188. package/lib/vtx-housing-estate-modal/components/WGGS/index.js +68 -0
  189. package/lib/vtx-housing-estate-modal/components/WGGS/index.less +49 -0
  190. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js +119 -0
  191. package/lib/vtx-housing-estate-modal/components/WGXW/index.js +121 -0
  192. package/lib/vtx-housing-estate-modal/components/WGXW/index.less +97 -0
  193. package/lib/vtx-housing-estate-modal/components/index.js +5 -0
  194. package/lib/vtx-housing-estate-modal/config.js +77 -0
  195. package/lib/vtx-housing-estate-modal/imgs/avatar.png +0 -0
  196. package/lib/vtx-housing-estate-modal/imgs/avatar_light.png +0 -0
  197. package/lib/vtx-housing-estate-modal/imgs/ddypz.png +0 -0
  198. package/lib/vtx-housing-estate-modal/imgs/ddypz_light.png +0 -0
  199. package/lib/vtx-housing-estate-modal/imgs/gzxjcx.png +0 -0
  200. package/lib/vtx-housing-estate-modal/imgs/hjglcx.png +0 -0
  201. package/lib/vtx-housing-estate-modal/imgs/hmd.png +0 -0
  202. package/lib/vtx-housing-estate-modal/imgs/hmd_light.png +0 -0
  203. package/lib/vtx-housing-estate-modal/imgs/manage_bg.png +0 -0
  204. package/lib/vtx-housing-estate-modal/imgs/manage_bg_light.png +0 -0
  205. package/lib/vtx-housing-estate-modal/imgs/rank.png +0 -0
  206. package/lib/vtx-housing-estate-modal/imgs/rank_light.png +0 -0
  207. package/lib/vtx-housing-estate-modal/imgs/tfcs.png +0 -0
  208. package/lib/vtx-housing-estate-modal/imgs/tfcs_light.png +0 -0
  209. package/lib/vtx-housing-estate-modal/imgs/tfd.png +0 -0
  210. package/lib/vtx-housing-estate-modal/imgs/tfd_light.png +0 -0
  211. package/lib/vtx-housing-estate-modal/imgs/tfhs.png +0 -0
  212. package/lib/vtx-housing-estate-modal/imgs/tfhs_light.png +0 -0
  213. package/lib/vtx-housing-estate-modal/imgs/wgmsr.png +0 -0
  214. package/lib/vtx-housing-estate-modal/imgs/wgmsr_light.png +0 -0
  215. package/lib/vtx-housing-estate-modal/imgs/yyxj.png +0 -0
  216. package/lib/vtx-housing-estate-modal/imgs/yyxj_light.png +0 -0
  217. package/lib/vtx-housing-estate-modal/index.js +108 -0
  218. package/lib/vtx-housing-estate-modal/style/index.js +4 -0
  219. package/lib/vtx-housing-estate-modal/style/index.less +1 -0
  220. package/lib/vtx-kh-modal/api2.js +178 -0
  221. package/lib/vtx-kh-modal/components/BaseInfo/index.js +197 -0
  222. package/lib/vtx-kh-modal/components/BaseInfo/index.less +101 -0
  223. package/lib/vtx-kh-modal/components/Record/index.js +204 -0
  224. package/lib/vtx-kh-modal/components/Record/index.less +7 -0
  225. package/lib/vtx-kh-modal/components/index.js +3 -0
  226. package/lib/vtx-kh-modal/imgs/count.png +0 -0
  227. package/lib/vtx-kh-modal/imgs/count_light.png +0 -0
  228. package/lib/vtx-kh-modal/imgs/question_bg.png +0 -0
  229. package/lib/vtx-kh-modal/imgs/question_bg_light.png +0 -0
  230. package/lib/vtx-kh-modal/imgs/score.png +0 -0
  231. package/lib/vtx-kh-modal/imgs/score_light.png +0 -0
  232. package/lib/vtx-kh-modal/imgs/subtract.png +0 -0
  233. package/lib/vtx-kh-modal/imgs/subtract_light.png +0 -0
  234. package/lib/vtx-kh-modal/index.js +46 -0
  235. package/lib/vtx-kh-modal/style/index.js +4 -0
  236. package/lib/vtx-kh-modal/style/index.less +1 -0
  237. package/lib/vtx-restaurant-modal/api.js +297 -0
  238. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +47 -0
  239. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +31 -0
  240. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +36 -0
  241. package/lib/vtx-restaurant-modal/components/Alarm/StaticInfo.js +41 -0
  242. package/lib/vtx-restaurant-modal/components/Alarm/index.js +69 -0
  243. package/lib/vtx-restaurant-modal/components/Basic/CollectRule.js +64 -0
  244. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +68 -0
  245. package/lib/vtx-restaurant-modal/components/Basic/Info.js +87 -0
  246. package/lib/vtx-restaurant-modal/components/Basic/Summary.js +61 -0
  247. package/lib/vtx-restaurant-modal/components/Basic/SummaryStatistics.js +60 -0
  248. package/lib/vtx-restaurant-modal/components/Basic/index.js +74 -0
  249. package/lib/vtx-restaurant-modal/components/Basic/index.less +16 -0
  250. package/lib/vtx-restaurant-modal/components/Calendar/index.js +171 -0
  251. package/lib/vtx-restaurant-modal/components/Calendar/index.less +93 -0
  252. package/lib/vtx-restaurant-modal/components/Collection/index.js +86 -0
  253. package/lib/vtx-restaurant-modal/components/DetailInfo/index.js +111 -0
  254. package/lib/vtx-restaurant-modal/components/SignAndContract/ContactDetail.js +299 -0
  255. package/lib/vtx-restaurant-modal/components/SignAndContract/index.js +198 -0
  256. package/lib/vtx-restaurant-modal/components/index.js +7 -0
  257. package/lib/vtx-restaurant-modal/config.js +283 -0
  258. package/lib/vtx-restaurant-modal/imgs/csl.png +0 -0
  259. package/lib/vtx-restaurant-modal/imgs/csl_dark.png +0 -0
  260. package/lib/vtx-restaurant-modal/imgs/sycs.png +0 -0
  261. package/lib/vtx-restaurant-modal/imgs/sycs_dark.png +0 -0
  262. package/lib/vtx-restaurant-modal/imgs/syts.png +0 -0
  263. package/lib/vtx-restaurant-modal/imgs/syts_dark.png +0 -0
  264. package/lib/vtx-restaurant-modal/index.js +168 -0
  265. package/lib/vtx-restaurant-modal/style/index.js +1 -0
  266. package/lib/vtx-restaurant-modal/style/index.less +13 -0
  267. package/lib/vtx-road-modal/components/BaseInfo/index.less +218 -218
  268. package/lib/vtx-road-modal/components/Calendar/index.js +1 -1
  269. package/lib/vtx-road-modal/components/Statistical/index.js +1 -1
  270. package/lib/vtx-road-modal/components/Statistical/index.less +32 -32
  271. package/lib/vtx-shxq-modal/components/AlarmRecord/index.js +4 -1
  272. package/lib/vtx-shxq-modal/components/Tfd/index.js +0 -1
  273. package/lib/vtx-shxq-modal/components/ThrowCalendar/index.js +0 -1
  274. package/lib/vtx-shxq-modal/components/ThrowRecord/index.js +4 -1
  275. package/lib/vtx-staff-modal/components/BaseInfo/ListZymx.js +20 -6
  276. package/lib/vtx-staff-modal/index.js +4 -1
  277. package/lib/vtx-tfd-modal/api.js +22 -27
  278. package/lib/vtx-tfd-modal/components/BaseInfo/index.js +100 -59
  279. package/lib/vtx-tfd-modal/components/BaseInfo/index.less +5 -0
  280. package/lib/vtx-zg-modal/api.js +107 -0
  281. package/lib/vtx-zg-modal/components/BaseInfo/index.js +286 -0
  282. package/lib/vtx-zg-modal/components/BaseInfo/index.less +124 -0
  283. package/lib/vtx-zg-modal/components/index.js +1 -0
  284. package/lib/vtx-zg-modal/imgs/dot.png +0 -0
  285. package/lib/vtx-zg-modal/imgs/dot_done.png +0 -0
  286. package/lib/vtx-zg-modal/index.js +42 -0
  287. package/lib/vtx-zg-modal/style/index.js +3 -0
  288. package/lib/vtx-zg-modal/style/index.less +1 -0
  289. package/lib/vtx-zzz-modal/index.js +10 -10
  290. package/package.json +1 -1
  291. package/lib/resources/jessibuca/decoder.js +0 -3839
  292. package/lib/resources/jessibuca/decoder.wasm +0 -0
  293. package/lib/resources/jessibuca/jessibuca.js +0 -5350
  294. package/lib/vtx-car-modal/imgs/calendar/fsdf/durationqq.png +0 -0
@@ -71,49 +71,44 @@ var BaseService = {
71
71
  return {
72
72
  devices: res === null || res === void 0 ? void 0 : res.data
73
73
  };
74
- }
75
- };
76
- var ThrowService = {
77
- useSummaryInfo: function useSummaryInfo(id, startTime, endTime) {
74
+ },
75
+ useThrowInfo: function useThrowInfo(throwPointId, dateType, startDate, endDate) {
78
76
  var _useRequest3 = useRequest(function () {
79
- return request.get('/cloud/ljfljc/api/v101/trow/record/detail/throwDetailSummary', {
77
+ return request.get('/cloud/ljfljc/api/v101/throwBoard/throwAnalysis', {
80
78
  data: {
81
- subjectId: id,
82
- startTime: startTime,
83
- endTime: endTime
79
+ throwPointId: throwPointId,
80
+ dateType: dateType,
81
+ startDate: startDate,
82
+ endDate: endDate
84
83
  }
85
84
  });
86
85
  }, {
87
- ready: !!id,
88
- refreshDeps: [id, startTime, endTime]
86
+ ready: !!throwPointId,
87
+ refreshDeps: [throwPointId, dateType, startDate, endDate]
89
88
  }),
90
- throwRes = _useRequest3.data;
89
+ res = _useRequest3.data;
91
90
  return {
92
- data: throwRes
91
+ throwAnalysis: res === null || res === void 0 ? void 0 : res.data
93
92
  };
94
93
  },
95
- usePage: function usePage(id, startTime, endTime, page, size) {
94
+ useAlarmInfo: function useAlarmInfo(throwPointId, dateType, startDate, endDate) {
96
95
  var _useRequest4 = useRequest(function () {
97
- return request.get('/cloud/ljfljc/api/v101/trow/record/detail/page', {
96
+ return request.get('/cloud/ljfljc/api/v101/throwBoard/violationAnalysis', {
98
97
  data: {
99
- subjectId: id,
100
- startTime: startTime,
101
- endTime: endTime,
102
- desensitization: true,
103
- page: page,
104
- size: size
98
+ throwPointId: throwPointId,
99
+ dateType: dateType,
100
+ startDate: startDate,
101
+ endDate: endDate
105
102
  }
106
103
  });
107
104
  }, {
108
- ready: !!id,
109
- refreshDeps: [id, startTime, endTime, page, size]
105
+ ready: !!throwPointId,
106
+ refreshDeps: [throwPointId, dateType, startDate, endDate]
110
107
  }),
111
- pageRes = _useRequest4.data,
112
- loading = _useRequest4.loading;
108
+ res = _useRequest4.data;
113
109
  return {
114
- data: pageRes === null || pageRes === void 0 ? void 0 : pageRes.data,
115
- loading: loading
110
+ alarmAnalysis: res === null || res === void 0 ? void 0 : res.data
116
111
  };
117
112
  }
118
113
  };
119
- export { BaseService, ThrowService };
114
+ export { BaseService };
@@ -1,3 +1,9 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
1
7
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
2
8
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
9
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
@@ -10,18 +16,17 @@ import { useSetState } from 'ahooks';
10
16
  import { Col, Row } from 'antd';
11
17
  import dayjs from 'dayjs';
12
18
  import { useRef } from 'react';
13
- import { VmEmpty, VmFactor, VmFilter, VmInfoCollection, VmLineCharts, VmPieCharts, VmTitle, VmWrapper } from "../../../_components";
19
+ import { VmEmpty, VmFilter, VmInfoCollection, VmPieCharts, VmTitle, VmWrapper } from "../../../_components";
14
20
  import useSettings from "../../../_hooks/useSettings";
21
+ import { DownIcon, UpIcon } from "../../../_util/iconSvgHtml";
15
22
  import { BaseService } from "../../api";
16
23
  import "./index.less";
17
24
 
18
25
  // svg大小比png2倍还大,不如使用2次png
19
- import hjtfl from "../../imgs/hjtfl.png";
20
- import hjtfl_light from "../../imgs/hjtfl_light.png";
21
- import khsl from "../../imgs/khsl.png";
22
- import khsl_light from "../../imgs/khsl_light.png";
26
+ import { sumBy } from 'lodash';
23
27
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
28
  var BaseInfo = function BaseInfo(props) {
29
+ var _throwAnalysis$garbag, _alarmAnalysis$violat;
25
30
  var _useSettings = useSettings(),
26
31
  isDark = _useSettings.isDark;
27
32
  var id = props.id,
@@ -37,8 +42,17 @@ var BaseInfo = function BaseInfo(props) {
37
42
  var dateType = state.dateType,
38
43
  date = state.date;
39
44
  var imgRef = useRef(null);
45
+ var formatType = {
46
+ datePicker: 'day',
47
+ monthPicker: 'month',
48
+ yearPicker: 'year'
49
+ };
40
50
  var _BaseService$useDevic = BaseService.useDeviceInfo(id),
41
51
  devices = _BaseService$useDevic.devices;
52
+ var _BaseService$useThrow = BaseService.useThrowInfo(id, formatType[dateType], date.startOf(formatType[dateType]).format('YYYY-MM-DD'), date.endOf(formatType[dateType]).format('YYYY-MM-DD')),
53
+ throwAnalysis = _BaseService$useThrow.throwAnalysis;
54
+ var _BaseService$useAlarm = BaseService.useAlarmInfo(id, formatType[dateType], date.startOf(formatType[dateType]).format('YYYY-MM-DD'), date.endOf(formatType[dateType]).format('YYYY-MM-DD')),
55
+ alarmAnalysis = _BaseService$useAlarm.alarmAnalysis;
42
56
  return /*#__PURE__*/_jsxs("div", {
43
57
  className: "tfd-base",
44
58
  children: [/*#__PURE__*/_jsx("div", {
@@ -80,9 +94,9 @@ var BaseInfo = function BaseInfo(props) {
80
94
  padding: '0 12px 12px'
81
95
  }), /*#__PURE__*/_jsx(VmTitle, {
82
96
  title: "\u8BBE\u5907\u60C5\u51B5"
83
- }), /*#__PURE__*/_jsx("div", {
97
+ }), (devices === null || devices === void 0 ? void 0 : devices.length) > 0 ? /*#__PURE__*/_jsx("div", {
84
98
  className: "tfd-equipment",
85
- children: devices === null || devices === void 0 ? void 0 : devices.map(function (ele, index) {
99
+ children: devices.map(function (ele, index) {
86
100
  return /*#__PURE__*/_jsxs("div", {
87
101
  className: "tfd-equipment-item",
88
102
  children: [/*#__PURE__*/_jsx("img", {
@@ -92,6 +106,12 @@ var BaseInfo = function BaseInfo(props) {
92
106
  })]
93
107
  }, index);
94
108
  })
109
+ }) : /*#__PURE__*/_jsx(VmEmpty, {
110
+ type: "NO_DATA",
111
+ text: "\u6682\u65E0\u8BBE\u5907",
112
+ style: {
113
+ height: 120
114
+ }
95
115
  })]
96
116
  })]
97
117
  })
@@ -102,13 +122,21 @@ var BaseInfo = function BaseInfo(props) {
102
122
  children: [/*#__PURE__*/_jsx(Col, {
103
123
  span: 24,
104
124
  children: /*#__PURE__*/_jsx(VmWrapper, {
105
- title: "\u6295\u653E\u91CF\u5206\u6790",
125
+ title: "",
106
126
  filterType: dateType,
107
127
  filterChange: function filterChange(date) {
108
128
  setState({
109
129
  date: date
110
130
  });
111
131
  },
132
+ style: {
133
+ height: 52
134
+ },
135
+ headerStyle: {
136
+ height: 52,
137
+ borderBottom: 'unset'
138
+ },
139
+ showContent: false,
112
140
  dateValue: date,
113
141
  extra: /*#__PURE__*/_jsx("div", {
114
142
  style: {
@@ -136,64 +164,77 @@ var BaseInfo = function BaseInfo(props) {
136
164
  });
137
165
  }
138
166
  })
139
- }),
140
- children: /*#__PURE__*/_jsxs(Row, {
141
- children: [/*#__PURE__*/_jsxs(Col, {
142
- span: 6,
143
- offset: 1,
144
- children: [/*#__PURE__*/_jsx(VmFactor, {
145
- name: "\u5F00\u6237\u6570\u91CF",
146
- unit: "\u6237",
147
- value: 987,
148
- img: isDark ? khsl : khsl_light,
149
- style: {
150
- marginTop: 24
151
- }
152
- }), /*#__PURE__*/_jsx(VmFactor, {
153
- name: "\u6237\u5747\u6295\u653E\u91CF",
154
- unit: "kg/\u65E5",
155
- value: 987,
156
- img: isDark ? hjtfl : hjtfl_light,
157
- style: {
158
- marginTop: 24
159
- }
160
- })]
161
- }), /*#__PURE__*/_jsx(Col, {
162
- span: 17,
163
- children: /*#__PURE__*/_jsx(VmPieCharts, {
164
- height: 172,
165
- dataList: [],
166
- name: '投放总量',
167
- title: "\u603B\u91CF(".concat(dateType === 'datePicker' ? 'kg' : '吨', ")"),
168
- total: 1,
169
- loading: false,
170
- unit: dateType === 'datePicker' ? 'kg' : '吨',
171
- innerRadius: ['65%', '85%'],
172
- outerRadius: ['85%', '95%'],
173
- legendConfig: {
174
- right: '10%'
175
- }
176
- })
177
- })]
178
167
  })
179
168
  })
180
169
  }), /*#__PURE__*/_jsx(Col, {
181
170
  span: 24,
182
- children: /*#__PURE__*/_jsx(VmWrapper, {
171
+ children: /*#__PURE__*/_jsxs(VmWrapper, {
172
+ title: "\u6295\u653E\u91CF\u5206\u6790",
173
+ style: {
174
+ height: 265
175
+ },
176
+ children: [/*#__PURE__*/_jsx(VmPieCharts, {
177
+ height: 160,
178
+ dataList: (throwAnalysis === null || throwAnalysis === void 0 || (_throwAnalysis$garbag = throwAnalysis.garbageValues) === null || _throwAnalysis$garbag === void 0 ? void 0 : _throwAnalysis$garbag.map(function (ele) {
179
+ return _objectSpread(_objectSpread({}, ele), {}, {
180
+ name: ele.garbageTypeName,
181
+ value: ele.value
182
+ });
183
+ })) || [],
184
+ name: '投放量',
185
+ title: "\u6295\u653E\u91CF(".concat(dateType === 'datePicker' ? 'kg' : '吨', ")"),
186
+ total: sumBy(throwAnalysis === null || throwAnalysis === void 0 ? void 0 : throwAnalysis.garbageValues, 'value'),
187
+ loading: false,
188
+ unit: dateType === 'datePicker' ? 'kg' : '吨',
189
+ innerRadius: ['65%', '85%'],
190
+ outerRadius: ['85%', '95%'],
191
+ legendConfig: {
192
+ right: '8%'
193
+ },
194
+ nameLength: 8
195
+ }), /*#__PURE__*/_jsxs("div", {
196
+ className: "tfd-base-right-compare",
197
+ children: ["\u4E0E\u8FD130\u5929\u65E5\u5747\u503C\u6BD4", (throwAnalysis === null || throwAnalysis === void 0 ? void 0 : throwAnalysis.rate) || 0, "%", (throwAnalysis === null || throwAnalysis === void 0 ? void 0 : throwAnalysis.rate) < 0 && /*#__PURE__*/_jsx(DownIcon, {
198
+ fill: '#f5222d'
199
+ }), (throwAnalysis === null || throwAnalysis === void 0 ? void 0 : throwAnalysis.rate) > 0 && /*#__PURE__*/_jsx(UpIcon, {
200
+ fill: '#0fb964'
201
+ })]
202
+ })]
203
+ })
204
+ }), /*#__PURE__*/_jsx(Col, {
205
+ span: 24,
206
+ children: /*#__PURE__*/_jsxs(VmWrapper, {
183
207
  title: "\u8FDD\u89C4\u5206\u6790",
184
208
  style: {
185
- height: 344
209
+ height: 265
186
210
  },
187
- children: /*#__PURE__*/_jsx(VmLineCharts, {
188
- xAxis: [],
189
- dataList: [],
190
- unit: dateType === 'datePicker' ? 'kg' : '吨'
191
- // loading={loading}
192
- ,
193
- legendOption: {
194
- width: '95%'
195
- }
196
- })
211
+ children: [/*#__PURE__*/_jsx(VmPieCharts, {
212
+ height: 160,
213
+ dataList: (alarmAnalysis === null || alarmAnalysis === void 0 || (_alarmAnalysis$violat = alarmAnalysis.violationValues) === null || _alarmAnalysis$violat === void 0 ? void 0 : _alarmAnalysis$violat.map(function (ele) {
214
+ return _objectSpread(_objectSpread({}, ele), {}, {
215
+ name: ele.violationTypeName,
216
+ value: ele.count
217
+ });
218
+ })) || [],
219
+ name: '违规类型',
220
+ title: "\u5408\u8BA1(\u6B21)",
221
+ total: sumBy(alarmAnalysis === null || alarmAnalysis === void 0 ? void 0 : alarmAnalysis.garbageValues, 'value'),
222
+ loading: false,
223
+ unit: "\u6B21",
224
+ innerRadius: ['65%', '85%'],
225
+ outerRadius: ['85%', '95%'],
226
+ legendConfig: {
227
+ right: '12%'
228
+ },
229
+ nameLength: 8
230
+ }), /*#__PURE__*/_jsxs("div", {
231
+ className: "tfd-base-right-compare",
232
+ children: ["\u4E0E\u8FD130\u5929\u65E5\u5747\u503C\u6BD4", (alarmAnalysis === null || alarmAnalysis === void 0 ? void 0 : alarmAnalysis.rate) || 0, "%", (alarmAnalysis === null || alarmAnalysis === void 0 ? void 0 : alarmAnalysis.rate) < 0 && /*#__PURE__*/_jsx(DownIcon, {
233
+ fill: '#f5222d'
234
+ }), (alarmAnalysis === null || alarmAnalysis === void 0 ? void 0 : alarmAnalysis.rate) > 0 && /*#__PURE__*/_jsx(UpIcon, {
235
+ fill: '#0fb964'
236
+ })]
237
+ })]
197
238
  })
198
239
  })]
199
240
  })
@@ -10,6 +10,11 @@
10
10
  }
11
11
  &-right {
12
12
  width: calc(100% - 416px);
13
+
14
+ &-compare {
15
+ margin-left: 16%;
16
+ color: var(--modal-title-color);
17
+ }
13
18
  }
14
19
 
15
20
  .base-top {
@@ -0,0 +1,107 @@
1
+ import { MapIcon } from '@vtx/map-icon';
2
+ import { request } from '@vtx/utils';
3
+ import { useRequest } from 'ahooks';
4
+ var BaseService = {
5
+ useBaseDetail: function useBaseDetail(id) {
6
+ var _info$geometryInfo, _info$geometryInfo2, _lngLats$split, _lngLats$split2, _info$geometryInfo3;
7
+ var _useRequest = useRequest(function () {
8
+ return request.get('/cloud/zykh-reborn/orderTask/get', {
9
+ data: {
10
+ id: id,
11
+ coordType: 'wgs84'
12
+ }
13
+ });
14
+ }, {
15
+ refreshDeps: [id]
16
+ }),
17
+ baseInfoRes = _useRequest.data,
18
+ loading = _useRequest.loading;
19
+ var info = baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data;
20
+ var baseInfo = [{
21
+ label: '问题来源',
22
+ key: 'problemFromStr',
23
+ value: info === null || info === void 0 ? void 0 : info.problemFromStr
24
+ }, {
25
+ label: '大类',
26
+ key: 'parentCategoryName',
27
+ value: info === null || info === void 0 ? void 0 : info.parentCategoryName
28
+ }, {
29
+ label: '问题分类',
30
+ key: 'problemCategoryName',
31
+ value: info === null || info === void 0 ? void 0 : info.problemCategoryName
32
+ }, {
33
+ label: '考核对象',
34
+ key: 'checkResourceName',
35
+ value: info === null || info === void 0 ? void 0 : info.checkResourceName
36
+ }, {
37
+ label: '上报人员',
38
+ key: 'reportStaffName',
39
+ value: info === null || info === void 0 ? void 0 : info.reportStaffName
40
+ }, {
41
+ label: '上报时间',
42
+ key: 'reportDateTimeStr',
43
+ value: info === null || info === void 0 ? void 0 : info.reportDateTimeStr
44
+ }, {
45
+ label: '截止时间',
46
+ key: 'endDateTimeStr',
47
+ value: info === null || info === void 0 ? void 0 : info.endDateTimeStr
48
+ }, {
49
+ label: '标段',
50
+ key: 'tenderName',
51
+ value: info === null || info === void 0 ? void 0 : info.tenderName
52
+ }, {
53
+ label: '行政区划',
54
+ key: 'divisionName',
55
+ value: info === null || info === void 0 ? void 0 : info.divisionName,
56
+ width: '100%'
57
+ }, {
58
+ label: '问题描述',
59
+ key: 'memo',
60
+ value: info === null || info === void 0 ? void 0 : info.memo,
61
+ width: '100%'
62
+ }, {
63
+ label: '问题照片',
64
+ key: 'photos',
65
+ value: info === null || info === void 0 ? void 0 : info.photos,
66
+ componentType: 'IMAGE',
67
+ width: '100%'
68
+ }, {
69
+ label: '问题位置',
70
+ key: 'address',
71
+ value: info === null || info === void 0 ? void 0 : info.address,
72
+ width: '100%'
73
+ }];
74
+ var lngLats = info === null || info === void 0 || (_info$geometryInfo = info.geometryInfo) === null || _info$geometryInfo === void 0 ? void 0 : _info$geometryInfo.lngLats;
75
+ return {
76
+ info: info,
77
+ baseInfo: baseInfo,
78
+ lngLats: (info === null || info === void 0 || (_info$geometryInfo2 = info.geometryInfo) === null || _info$geometryInfo2 === void 0 ? void 0 : _info$geometryInfo2.lngLats) || '',
79
+ loading: loading,
80
+ mapPoints: [{
81
+ lng: lngLats === null || lngLats === void 0 || (_lngLats$split = lngLats.split(',')) === null || _lngLats$split === void 0 ? void 0 : _lngLats$split[0],
82
+ lat: lngLats === null || lngLats === void 0 || (_lngLats$split2 = lngLats.split(',')) === null || _lngLats$split2 === void 0 ? void 0 : _lngLats$split2[1],
83
+ icon: 'GD',
84
+ type: info === null || info === void 0 || (_info$geometryInfo3 = info.geometryInfo) === null || _info$geometryInfo3 === void 0 ? void 0 : _info$geometryInfo3.type,
85
+ url: new MapIcon.CommonIcon({
86
+ canvasIcon: 'GD',
87
+ color: '#119FFB'
88
+ }).getImgUrl()
89
+ }]
90
+ };
91
+ },
92
+ useGetRecord: function useGetRecord(orderTaskNo) {
93
+ var _useRequest2 = useRequest(function () {
94
+ return request.get('/cloud/zykh-reborn/orderProcessLog/list', {
95
+ data: {
96
+ orderTaskNo: orderTaskNo
97
+ }
98
+ });
99
+ }, {
100
+ ready: !!orderTaskNo,
101
+ refreshDeps: [orderTaskNo]
102
+ }),
103
+ data = _useRequest2.data;
104
+ return (data === null || data === void 0 ? void 0 : data.data) || [];
105
+ }
106
+ };
107
+ export { BaseService };