@vtx/modals2 4.0.9 → 5.0.1

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 (771) hide show
  1. package/README.md +1 -1
  2. package/lib/style/index.css +52 -3
  3. package/lib/style/themes/dark.css +52 -3
  4. package/lib/style/themes/dark.less +47 -1
  5. package/lib/style/themes/default.css +5 -2
  6. package/lib/style/themes/default.less +6 -2
  7. package/lib/style/themes/index.css +52 -3
  8. package/lib/typings.d.ts +2 -0
  9. package/lib/util/index.js +267 -3
  10. package/lib/util/index.js.map +1 -1
  11. package/lib/vm-alarm-info/Components/index.css +3 -0
  12. package/lib/vm-alarm-info/Components/index.less +3 -0
  13. package/lib/vm-alarm-situation/index.js +1 -1
  14. package/lib/vm-alarm-situation/index.js.map +1 -1
  15. package/lib/vm-appraisal-info/ListKh.js +26 -8
  16. package/lib/vm-appraisal-info/ListKh.js.map +1 -1
  17. package/lib/vm-appraisal-info/ListZg.js +22 -6
  18. package/lib/vm-appraisal-info/ListZg.js.map +1 -1
  19. package/lib/vm-appraisal-info/Wtlx.js +6 -4
  20. package/lib/vm-appraisal-info/Wtlx.js.map +1 -1
  21. package/lib/vm-appraisal-info/index.js +4 -3
  22. package/lib/vm-appraisal-info/index.js.map +1 -1
  23. package/lib/vm-appraisal-info/style/index.css +9 -1
  24. package/lib/vm-appraisal-info/style/index.less +15 -1
  25. package/lib/vm-base-list/OpenArrow.js +2 -8
  26. package/lib/vm-base-list/OpenArrow.js.map +1 -1
  27. package/lib/vm-charts/Line.js +1 -3
  28. package/lib/vm-charts/Line.js.map +1 -1
  29. package/lib/vm-charts/Line1.js +19 -1
  30. package/lib/vm-charts/Line1.js.map +1 -1
  31. package/lib/vm-container/style/index.css +1 -0
  32. package/lib/vm-container/style/index.less +2 -0
  33. package/lib/vm-filter/index.js +0 -3
  34. package/lib/vm-filter/index.js.map +1 -1
  35. package/lib/vm-filter/style/index.css +109 -2
  36. package/lib/vm-filter/style/index.less +128 -1
  37. package/lib/vm-hooks/useSettings.js +1 -0
  38. package/lib/vm-hooks/useSettings.js.map +1 -1
  39. package/lib/vm-iframe-modal/style/index.css +2 -1
  40. package/lib/vm-iframe-modal/style/index.less +2 -1
  41. package/lib/vm-image-text/index.js +2 -1
  42. package/lib/vm-image-text/index.js.map +1 -1
  43. package/lib/vm-image-text/style/index.css +2 -0
  44. package/lib/vm-image-text/style/index.less +2 -0
  45. package/lib/vm-info-collection/index.js +110 -8
  46. package/lib/vm-info-collection/index.js.map +1 -1
  47. package/lib/vm-info-collection/style/index.css +19 -23
  48. package/lib/vm-info-collection/style/index.less +13 -23
  49. package/lib/vm-map/imgs/defaultMarker.png +0 -0
  50. package/lib/vm-map/index.js +71 -27
  51. package/lib/vm-map/index.js.map +1 -1
  52. package/lib/vm-map/style/css.js +4 -0
  53. package/lib/vm-map/style/css.js.map +1 -0
  54. package/lib/vm-map/style/index.css +3 -0
  55. package/lib/vm-map/style/index.js +4 -0
  56. package/lib/vm-map/style/index.js.map +1 -0
  57. package/lib/vm-map/style/index.less +3 -0
  58. package/lib/vm-repair-maintain/RmMonthTrend.js +12 -10
  59. package/lib/vm-repair-maintain/RmMonthTrend.js.map +1 -1
  60. package/lib/vm-repair-maintain/RmRecord.js +4 -6
  61. package/lib/vm-repair-maintain/RmRecord.js.map +1 -1
  62. package/lib/vm-repair-maintain/RmType.js +6 -4
  63. package/lib/vm-repair-maintain/RmType.js.map +1 -1
  64. package/lib/vm-repair-maintain/style/index.css +4 -0
  65. package/lib/vm-repair-maintain/style/index.less +7 -0
  66. package/lib/vm-sub-tabs/style/index.css +46 -0
  67. package/lib/vm-sub-tabs/style/index.less +61 -1
  68. package/lib/vm-sub-title/imgs/bg_blue.png +0 -0
  69. package/lib/vm-sub-title/index.js +18 -2
  70. package/lib/vm-sub-title/index.js.map +1 -1
  71. package/lib/vm-sub-title/style/index.css +44 -1
  72. package/lib/vm-sub-title/style/index.less +46 -1
  73. package/lib/vm-table/index.js +1 -7
  74. package/lib/vm-table/index.js.map +1 -1
  75. package/lib/vm-table/style/index.css +89 -10
  76. package/lib/vm-table/style/index.less +101 -10
  77. package/lib/vm-video/index.css +76 -3
  78. package/lib/vm-video/index.js +6 -4
  79. package/lib/vm-video/index.js.map +1 -1
  80. package/lib/vm-video/index.less +26 -0
  81. package/lib/vtx-base-info/index.js +11 -2
  82. package/lib/vtx-base-info/index.js.map +1 -1
  83. package/lib/vtx-base-info/style/index.css +4 -0
  84. package/lib/vtx-base-info/style/index.less +4 -0
  85. package/lib/vtx-base-modal/api.js +8 -1
  86. package/lib/vtx-base-modal/api.js.map +1 -1
  87. package/lib/vtx-base-modal/config.js +307 -0
  88. package/lib/vtx-base-modal/config.js.map +1 -0
  89. package/lib/vtx-base-modal/imgs/assets/blue/alarm.svg +1 -0
  90. package/lib/vtx-base-modal/imgs/assets/blue/alarm_active.svg +1 -0
  91. package/lib/vtx-base-modal/imgs/assets/blue/alarm_blue.svg +1 -0
  92. package/lib/vtx-base-modal/imgs/assets/blue/base.svg +1 -0
  93. package/lib/vtx-base-modal/imgs/assets/blue/base_active.svg +1 -0
  94. package/lib/vtx-base-modal/imgs/assets/blue/base_blue.svg +1 -0
  95. package/lib/vtx-base-modal/imgs/assets/blue/cut_in.svg +1 -0
  96. package/lib/vtx-base-modal/imgs/assets/blue/cut_in_active.svg +1 -0
  97. package/lib/vtx-base-modal/imgs/assets/blue/cut_in_blue.svg +1 -0
  98. package/lib/vtx-base-modal/imgs/assets/blue/default.svg +1 -0
  99. package/lib/vtx-base-modal/imgs/assets/blue/default_active.svg +1 -0
  100. package/lib/vtx-base-modal/imgs/assets/blue/default_blue.svg +1 -0
  101. package/lib/vtx-base-modal/imgs/assets/blue/fenxi.svg +1 -0
  102. package/lib/vtx-base-modal/imgs/assets/blue/fenxi_active.svg +1 -0
  103. package/lib/vtx-base-modal/imgs/assets/blue/fenxi_blue.svg +1 -0
  104. package/lib/vtx-base-modal/imgs/assets/blue/gongdan.svg +1 -0
  105. package/lib/vtx-base-modal/imgs/assets/blue/gongdan_active.svg +1 -0
  106. package/lib/vtx-base-modal/imgs/assets/blue/gongdan_blue.svg +1 -0
  107. package/lib/vtx-base-modal/imgs/assets/blue/gongkuang.svg +1 -0
  108. package/lib/vtx-base-modal/imgs/assets/blue/gongkuang_active.svg +1 -0
  109. package/lib/vtx-base-modal/imgs/assets/blue/gongkuang_blue.svg +1 -0
  110. package/lib/vtx-base-modal/imgs/assets/blue/gongshi.svg +1 -0
  111. package/lib/vtx-base-modal/imgs/assets/blue/gongshi_active.svg +1 -0
  112. package/lib/vtx-base-modal/imgs/assets/blue/gongshi_blue.svg +1 -0
  113. package/lib/vtx-base-modal/imgs/assets/blue/jiliang.svg +1 -0
  114. package/lib/vtx-base-modal/imgs/assets/blue/jiliang_active.svg +1 -0
  115. package/lib/vtx-base-modal/imgs/assets/blue/jiliang_blue.svg +1 -0
  116. package/lib/vtx-base-modal/imgs/assets/blue/kaohe.svg +1 -0
  117. package/lib/vtx-base-modal/imgs/assets/blue/kaohe_active.svg +1 -0
  118. package/lib/vtx-base-modal/imgs/assets/blue/kaohe_blue.svg +1 -0
  119. package/lib/vtx-base-modal/imgs/assets/blue/kaoqin.svg +1 -0
  120. package/lib/vtx-base-modal/imgs/assets/blue/kaoqin_active.svg +1 -0
  121. package/lib/vtx-base-modal/imgs/assets/blue/kaoqin_blue.svg +1 -0
  122. package/lib/vtx-base-modal/imgs/assets/blue/maintenance.svg +1 -0
  123. package/lib/vtx-base-modal/imgs/assets/blue/maintenance_active.svg +1 -0
  124. package/lib/vtx-base-modal/imgs/assets/blue/maintenance_blue.svg +1 -0
  125. package/lib/vtx-base-modal/imgs/assets/blue/monitor.svg +1 -0
  126. package/lib/vtx-base-modal/imgs/assets/blue/monitor_active.svg +1 -0
  127. package/lib/vtx-base-modal/imgs/assets/blue/monitor_blue.svg +1 -0
  128. package/lib/vtx-base-modal/imgs/assets/blue/oil.svg +1 -0
  129. package/lib/vtx-base-modal/imgs/assets/blue/oil_active.svg +1 -0
  130. package/lib/vtx-base-modal/imgs/assets/blue/oil_blue.svg +1 -0
  131. package/lib/vtx-base-modal/imgs/assets/blue/paiban.svg +1 -0
  132. package/lib/vtx-base-modal/imgs/assets/blue/paiban_active.svg +1 -0
  133. package/lib/vtx-base-modal/imgs/assets/blue/paiban_blue.svg +1 -0
  134. package/lib/vtx-base-modal/imgs/assets/blue/pingjia.svg +1 -0
  135. package/lib/vtx-base-modal/imgs/assets/blue/pingjia_active.svg +1 -0
  136. package/lib/vtx-base-modal/imgs/assets/blue/pingjia_blue.svg +1 -0
  137. package/lib/vtx-base-modal/imgs/assets/blue/shebei.svg +1 -0
  138. package/lib/vtx-base-modal/imgs/assets/blue/shebei_active.svg +1 -0
  139. package/lib/vtx-base-modal/imgs/assets/blue/shebei_blue.svg +1 -0
  140. package/lib/vtx-base-modal/imgs/assets/blue/shouyun.svg +1 -0
  141. package/lib/vtx-base-modal/imgs/assets/blue/shouyun_active.svg +1 -0
  142. package/lib/vtx-base-modal/imgs/assets/blue/shouyun_blue.svg +1 -0
  143. package/lib/vtx-base-modal/imgs/assets/blue/sum.svg +1 -0
  144. package/lib/vtx-base-modal/imgs/assets/blue/sum_active.svg +1 -0
  145. package/lib/vtx-base-modal/imgs/assets/blue/sum_blue.svg +1 -0
  146. package/lib/vtx-base-modal/imgs/assets/blue/video.svg +1 -0
  147. package/lib/vtx-base-modal/imgs/assets/blue/video_active.svg +1 -0
  148. package/lib/vtx-base-modal/imgs/assets/blue/video_blue.svg +1 -0
  149. package/lib/vtx-base-modal/imgs/assets/blue/water.svg +1 -0
  150. package/lib/vtx-base-modal/imgs/assets/blue/water_active.svg +1 -0
  151. package/lib/vtx-base-modal/imgs/assets/blue/water_blue.svg +1 -0
  152. package/lib/vtx-base-modal/imgs/assets/blue/weigui.svg +1 -0
  153. package/lib/vtx-base-modal/imgs/assets/blue/weigui_active.svg +1 -0
  154. package/lib/vtx-base-modal/imgs/assets/blue/weigui_blue.svg +1 -0
  155. package/lib/vtx-base-modal/imgs/assets/blue/yichang.svg +1 -0
  156. package/lib/vtx-base-modal/imgs/assets/blue/yichang_active.svg +1 -0
  157. package/lib/vtx-base-modal/imgs/assets/blue/yichang_blue.svg +1 -0
  158. package/lib/vtx-base-modal/imgs/assets/blue/yunwei.svg +1 -0
  159. package/lib/vtx-base-modal/imgs/assets/blue/yunwei_active.svg +1 -0
  160. package/lib/vtx-base-modal/imgs/assets/blue/yunwei_blue.svg +1 -0
  161. package/lib/vtx-base-modal/imgs/assets/blue/zijian.svg +1 -0
  162. package/lib/vtx-base-modal/imgs/assets/blue/zijian_active.svg +1 -0
  163. package/lib/vtx-base-modal/imgs/assets/blue/zijian_blue.svg +1 -0
  164. package/lib/vtx-base-modal/imgs/assets/light/alarm_active.svg +1 -0
  165. package/lib/vtx-base-modal/imgs/assets/light/alarm_light.svg +1 -0
  166. package/lib/vtx-base-modal/imgs/assets/light/base_active.svg +1 -0
  167. package/lib/vtx-base-modal/imgs/assets/light/base_light.svg +1 -0
  168. package/lib/vtx-base-modal/imgs/assets/light/cut_in_active.svg +1 -0
  169. package/lib/vtx-base-modal/imgs/assets/light/cut_in_light.svg +1 -0
  170. package/lib/vtx-base-modal/imgs/assets/light/default_active.svg +1 -0
  171. package/lib/vtx-base-modal/imgs/assets/light/default_light.svg +1 -0
  172. package/lib/vtx-base-modal/imgs/assets/light/fenxi_active.svg +1 -0
  173. package/lib/vtx-base-modal/imgs/assets/light/fenxi_light.svg +1 -0
  174. package/lib/vtx-base-modal/imgs/assets/light/gongdan_active.svg +1 -0
  175. package/lib/vtx-base-modal/imgs/assets/light/gongdan_light.svg +1 -0
  176. package/lib/vtx-base-modal/imgs/assets/light/gongkuang_active.svg +1 -0
  177. package/lib/vtx-base-modal/imgs/assets/light/gongkuang_light.svg +1 -0
  178. package/lib/vtx-base-modal/imgs/assets/light/gongshi_active.svg +1 -0
  179. package/lib/vtx-base-modal/imgs/assets/light/gongshi_light.svg +1 -0
  180. package/lib/vtx-base-modal/imgs/assets/light/jiliang_active.svg +1 -0
  181. package/lib/vtx-base-modal/imgs/assets/light/jiliang_light.svg +1 -0
  182. package/lib/vtx-base-modal/imgs/assets/light/kaohe_active.svg +1 -0
  183. package/lib/vtx-base-modal/imgs/assets/light/kaohe_light.svg +1 -0
  184. package/lib/vtx-base-modal/imgs/assets/light/kaoqin_active.svg +1 -0
  185. package/lib/vtx-base-modal/imgs/assets/light/kaoqin_light.svg +1 -0
  186. package/lib/vtx-base-modal/imgs/assets/light/maintenance_active.svg +1 -0
  187. package/lib/vtx-base-modal/imgs/assets/light/maintenance_light.svg +1 -0
  188. package/lib/vtx-base-modal/imgs/assets/light/monitor_active.svg +1 -0
  189. package/lib/vtx-base-modal/imgs/assets/light/monitor_light.svg +1 -0
  190. package/lib/vtx-base-modal/imgs/assets/light/oil_active.svg +1 -0
  191. package/lib/vtx-base-modal/imgs/assets/light/oil_light.svg +1 -0
  192. package/lib/vtx-base-modal/imgs/assets/light/paiban_active.svg +1 -0
  193. package/lib/vtx-base-modal/imgs/assets/light/paiban_light.svg +1 -0
  194. package/lib/vtx-base-modal/imgs/assets/light/pingjia_active.svg +1 -0
  195. package/lib/vtx-base-modal/imgs/assets/light/pingjia_light.svg +1 -0
  196. package/lib/vtx-base-modal/imgs/assets/light/shebei_active.svg +1 -0
  197. package/lib/vtx-base-modal/imgs/assets/light/shebei_light.svg +1 -0
  198. package/lib/vtx-base-modal/imgs/assets/light/shouyun_active.svg +1 -0
  199. package/lib/vtx-base-modal/imgs/assets/light/shouyun_light.svg +1 -0
  200. package/lib/vtx-base-modal/imgs/assets/light/sum_active.svg +1 -0
  201. package/lib/vtx-base-modal/imgs/assets/light/sum_light.svg +1 -0
  202. package/lib/vtx-base-modal/imgs/assets/light/video_active.svg +1 -0
  203. package/lib/vtx-base-modal/imgs/assets/light/video_light.svg +1 -0
  204. package/lib/vtx-base-modal/imgs/assets/light/water_active.svg +1 -0
  205. package/lib/vtx-base-modal/imgs/assets/light/water_light.svg +1 -0
  206. package/lib/vtx-base-modal/imgs/assets/light/weigui_active.svg +1 -0
  207. package/lib/vtx-base-modal/imgs/assets/light/weigui_light.svg +1 -0
  208. package/lib/vtx-base-modal/imgs/assets/light/yichang_active.svg +1 -0
  209. package/lib/vtx-base-modal/imgs/assets/light/yichang_light.svg +1 -0
  210. package/lib/vtx-base-modal/imgs/assets/light/yunwei_active.svg +1 -0
  211. package/lib/vtx-base-modal/imgs/assets/light/yunwei_light.svg +1 -0
  212. package/lib/vtx-base-modal/imgs/assets/light/zijian_active.svg +1 -0
  213. package/lib/vtx-base-modal/imgs/assets/light/zijian_light.svg +1 -0
  214. package/lib/vtx-base-modal/imgs/bg_blue.png +0 -0
  215. package/lib/vtx-base-modal/imgs/close-blue-new.png +0 -0
  216. package/lib/vtx-base-modal/imgs/close-blue.png +0 -0
  217. package/lib/vtx-base-modal/imgs/collect-blue.png +0 -0
  218. package/lib/vtx-base-modal/imgs/collect_light.png +0 -0
  219. package/lib/vtx-base-modal/imgs/tab_bg_blue.png +0 -0
  220. package/lib/vtx-base-modal/imgs/title_bg_blue.png +0 -0
  221. package/lib/vtx-base-modal/imgs/track_blue.png +0 -0
  222. package/lib/vtx-base-modal/imgs/track_light.png +0 -0
  223. package/lib/vtx-base-modal/index.js +163 -36
  224. package/lib/vtx-base-modal/index.js.map +1 -1
  225. package/lib/vtx-base-modal/style/index.css +731 -4
  226. package/lib/vtx-base-modal/style/index.less +508 -5
  227. package/lib/vtx-car-modal/api.js +296 -172
  228. package/lib/vtx-car-modal/api.js.map +1 -1
  229. package/lib/vtx-car-modal/components/AlarmInfo/Charts.js +27 -11
  230. package/lib/vtx-car-modal/components/AlarmInfo/Charts.js.map +1 -1
  231. package/lib/vtx-car-modal/components/AlarmInfo/List.js +3 -6
  232. package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -1
  233. package/lib/vtx-car-modal/components/AlarmInfo/index.css +2 -0
  234. package/lib/vtx-car-modal/components/AlarmInfo/index.js +6 -5
  235. package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -1
  236. package/lib/vtx-car-modal/components/AlarmInfo/index.less +2 -0
  237. package/lib/vtx-car-modal/components/BaseInfo/Chain.js +100 -0
  238. package/lib/vtx-car-modal/components/BaseInfo/Chain.js.map +1 -0
  239. package/lib/vtx-car-modal/components/BaseInfo/Charts.js +37 -8
  240. package/lib/vtx-car-modal/components/BaseInfo/Charts.js.map +1 -1
  241. package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js +5 -3
  242. package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js.map +1 -1
  243. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js +5 -5
  244. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js.map +1 -1
  245. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js +18 -9
  246. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js.map +1 -1
  247. package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js +25 -7
  248. package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js.map +1 -1
  249. package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js +19 -4
  250. package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js.map +1 -1
  251. package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js +6 -5
  252. package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js.map +1 -1
  253. package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js +20 -9
  254. package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js.map +1 -1
  255. package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js +29 -18
  256. package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -1
  257. package/lib/vtx-car-modal/components/BaseInfo/index.css +70 -5
  258. package/lib/vtx-car-modal/components/BaseInfo/index.js +100 -41
  259. package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -1
  260. package/lib/vtx-car-modal/components/BaseInfo/index.less +57 -6
  261. package/lib/vtx-car-modal/components/{PowerConsumption → Collection}/index.css +14 -15
  262. package/lib/vtx-car-modal/components/Collection/index.js +193 -0
  263. package/lib/vtx-car-modal/components/Collection/index.js.map +1 -0
  264. package/lib/vtx-car-modal/components/Collection/index.less +18 -0
  265. package/lib/vtx-car-modal/components/DetailInfo/index.css +19 -0
  266. package/lib/vtx-car-modal/components/DetailInfo/index.js +174 -0
  267. package/lib/vtx-car-modal/components/DetailInfo/index.js.map +1 -0
  268. package/lib/vtx-car-modal/components/DetailInfo/index.less +21 -0
  269. package/lib/vtx-car-modal/components/Maintenance/index.css +1 -0
  270. package/lib/vtx-car-modal/components/Maintenance/index.less +1 -0
  271. package/lib/vtx-car-modal/components/OilConsumption/List.js +3 -6
  272. package/lib/vtx-car-modal/components/OilConsumption/List.js.map +1 -1
  273. package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js +25 -6
  274. package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js.map +1 -1
  275. package/lib/vtx-car-modal/components/OilConsumption/index.css +3 -0
  276. package/lib/vtx-car-modal/components/OilConsumption/index.less +3 -0
  277. package/lib/vtx-car-modal/components/StaticInfo/Charts.js +17 -3
  278. package/lib/vtx-car-modal/components/StaticInfo/Charts.js.map +1 -1
  279. package/lib/vtx-car-modal/components/StaticInfo/List.js +0 -1
  280. package/lib/vtx-car-modal/components/StaticInfo/List.js.map +1 -1
  281. package/lib/vtx-car-modal/components/StaticInfo/index.css +10 -0
  282. package/lib/vtx-car-modal/components/StaticInfo/index.js +24 -11
  283. package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -1
  284. package/lib/vtx-car-modal/components/StaticInfo/index.less +11 -1
  285. package/lib/vtx-car-modal/components/WaterConsumption/index.css +2 -0
  286. package/lib/vtx-car-modal/components/WaterConsumption/index.js +14 -30
  287. package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +1 -1
  288. package/lib/vtx-car-modal/components/WaterConsumption/index.less +3 -0
  289. package/lib/vtx-car-modal/components/WorkInfo/CarJobExe.js +120 -0
  290. package/lib/vtx-car-modal/components/WorkInfo/CarJobExe.js.map +1 -0
  291. package/lib/vtx-car-modal/components/WorkInfo/CollectItem.js +100 -0
  292. package/lib/vtx-car-modal/components/WorkInfo/CollectItem.js.map +1 -0
  293. package/lib/vtx-car-modal/components/WorkInfo/SingleCollectItem.js +88 -0
  294. package/lib/vtx-car-modal/components/WorkInfo/SingleCollectItem.js.map +1 -0
  295. package/lib/vtx-car-modal/components/WorkInfo/Wcl.js +17 -7
  296. package/lib/vtx-car-modal/components/WorkInfo/Wcl.js.map +1 -1
  297. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js +39 -47
  298. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +1 -1
  299. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js +52 -12
  300. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js.map +1 -1
  301. package/lib/vtx-car-modal/components/WorkInfo/index.css +197 -2
  302. package/lib/vtx-car-modal/components/WorkInfo/index.less +226 -2
  303. package/lib/vtx-car-modal/components/index.js +12 -12
  304. package/lib/vtx-car-modal/components/index.js.map +1 -1
  305. package/lib/vtx-car-modal/imgs/ccc.png +0 -0
  306. package/lib/vtx-car-modal/imgs/daily_ws.png +0 -0
  307. package/lib/vtx-car-modal/imgs/daily_ys.png +0 -0
  308. package/lib/vtx-car-modal/imgs/dash.png +0 -0
  309. package/lib/vtx-car-modal/imgs/dqsd_blue.png +0 -0
  310. package/lib/vtx-car-modal/imgs/jrxs_blue.png +0 -0
  311. package/lib/vtx-car-modal/imgs/ljsjdw_blue.png +0 -0
  312. package/lib/vtx-car-modal/imgs/ljsjts_blue.png +0 -0
  313. package/lib/vtx-car-modal/imgs/ljsjzl_blue.png +0 -0
  314. package/lib/vtx-car-modal/imgs/outTime_blue.png +0 -0
  315. package/lib/vtx-car-modal/imgs/out_ws.png +0 -0
  316. package/lib/vtx-car-modal/imgs/out_ys.png +0 -0
  317. package/lib/vtx-car-modal/imgs/pjwcl_blue.png +0 -0
  318. package/lib/vtx-car-modal/imgs/position_blue.png +0 -0
  319. package/lib/vtx-car-modal/imgs/refresh_blue.png +0 -0
  320. package/lib/vtx-car-modal/imgs/runTime_blue.png +0 -0
  321. package/lib/vtx-car-modal/imgs/tab_bg.png +0 -0
  322. package/lib/vtx-car-modal/imgs/tab_bg_light.png +0 -0
  323. package/lib/vtx-car-modal/imgs/temp_ws.png +0 -0
  324. package/lib/vtx-car-modal/imgs/temp_ys.png +0 -0
  325. package/lib/vtx-car-modal/imgs/wcl_blue.png +0 -0
  326. package/lib/vtx-car-modal/imgs/xslc_blue.png +0 -0
  327. package/lib/vtx-car-modal/imgs/ysdw_blue.png +0 -0
  328. package/lib/vtx-car-modal/imgs/ywcdw_blue.png +0 -0
  329. package/lib/vtx-car-modal/imgs/zlc_blue.png +0 -0
  330. package/lib/vtx-car-modal/imgs/zld_blue.png +0 -0
  331. package/lib/vtx-car-modal/imgs/zycs_blue.png +0 -0
  332. package/lib/vtx-car-modal/imgs/zycssc_blue.png +0 -0
  333. package/lib/vtx-car-modal/imgs/zyl_blue.png +0 -0
  334. package/lib/vtx-car-modal/imgs/zylc_blue.png +0 -0
  335. package/lib/vtx-car-modal/imgs/zysc_blue.png +0 -0
  336. package/lib/vtx-car-modal/index.js +107 -68
  337. package/lib/vtx-car-modal/index.js.map +1 -1
  338. package/lib/vtx-car-modal/style/index.css +58 -3
  339. package/lib/vtx-car-modal/style/index.less +2 -0
  340. package/lib/vtx-cc-cp-modal/api.js +150 -51
  341. package/lib/vtx-cc-cp-modal/api.js.map +1 -1
  342. package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js +25 -6
  343. package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  344. package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js +22 -5
  345. package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
  346. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.css +3 -0
  347. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.less +4 -0
  348. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js.map +1 -1
  349. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.css +4 -0
  350. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.less +6 -0
  351. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js +25 -6
  352. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js.map +1 -1
  353. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js +22 -5
  354. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js.map +1 -1
  355. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.css +3 -0
  356. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.less +4 -0
  357. package/lib/vtx-cc-cp-modal/components/OrderInfo/MonthTrend.js +118 -0
  358. package/lib/vtx-cc-cp-modal/components/OrderInfo/MonthTrend.js.map +1 -0
  359. package/lib/vtx-cc-cp-modal/components/OrderInfo/OrderRecord.js +123 -0
  360. package/lib/vtx-cc-cp-modal/components/OrderInfo/OrderRecord.js.map +1 -0
  361. package/lib/vtx-cc-cp-modal/components/OrderInfo/Summary.js +147 -0
  362. package/lib/vtx-cc-cp-modal/components/OrderInfo/Summary.js.map +1 -0
  363. package/lib/vtx-cc-cp-modal/components/OrderInfo/index.css +119 -0
  364. package/lib/vtx-cc-cp-modal/components/OrderInfo/index.js +55 -0
  365. package/lib/vtx-cc-cp-modal/components/OrderInfo/index.js.map +1 -0
  366. package/lib/vtx-cc-cp-modal/components/OrderInfo/index.less +108 -0
  367. package/lib/vtx-cc-cp-modal/components/Restaurant/index.css +1 -0
  368. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +1 -1
  369. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js.map +1 -1
  370. package/lib/vtx-cc-cp-modal/components/Restaurant/index.less +1 -0
  371. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +25 -6
  372. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
  373. package/lib/vtx-cc-cp-modal/components/SyInfo/index.css +5 -0
  374. package/lib/vtx-cc-cp-modal/components/SyInfo/index.less +7 -1
  375. package/lib/vtx-cc-cp-modal/index.js +14 -2
  376. package/lib/vtx-cc-cp-modal/index.js.map +1 -1
  377. package/lib/vtx-cc-cp-modal/style/index.css +52 -3
  378. package/lib/vtx-cp-modal/api.js +81 -51
  379. package/lib/vtx-cp-modal/api.js.map +1 -1
  380. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +2 -4
  381. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  382. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js +17 -6
  383. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  384. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +22 -5
  385. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
  386. package/lib/vtx-cp-modal/components/AlarmInfo/index.css +3 -0
  387. package/lib/vtx-cp-modal/components/AlarmInfo/index.less +4 -0
  388. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js +16 -34
  389. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js.map +1 -1
  390. package/lib/vtx-cp-modal/components/BaseInfo/Rules.js +75 -152
  391. package/lib/vtx-cp-modal/components/BaseInfo/Rules.js.map +1 -1
  392. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +11 -4
  393. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js.map +1 -1
  394. package/lib/vtx-cp-modal/components/BaseInfo/index.css +45 -203
  395. package/lib/vtx-cp-modal/components/BaseInfo/index.js +4 -41
  396. package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +1 -1
  397. package/lib/vtx-cp-modal/components/BaseInfo/index.less +40 -110
  398. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js +17 -6
  399. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js.map +1 -1
  400. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +22 -5
  401. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -1
  402. package/lib/vtx-cp-modal/components/ExeceptionInfo/index.css +3 -0
  403. package/lib/vtx-cp-modal/components/ExeceptionInfo/index.less +4 -0
  404. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +20 -9
  405. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
  406. package/lib/vtx-cp-modal/components/SyInfo/index.css +14 -0
  407. package/lib/vtx-cp-modal/components/SyInfo/index.js +7 -7
  408. package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -1
  409. package/lib/vtx-cp-modal/components/SyInfo/index.less +10 -1
  410. package/lib/vtx-cp-modal/imgs/cy_car.png +0 -0
  411. package/lib/vtx-cp-modal/imgs/khsw_car.png +0 -0
  412. package/lib/vtx-cp-modal/imgs/qt_car.png +0 -0
  413. package/lib/vtx-cp-modal/imgs/yf_car.png +0 -0
  414. package/lib/vtx-cp-modal/imgs/yh_car.png +0 -0
  415. package/lib/vtx-cp-modal/index.js +57 -15
  416. package/lib/vtx-cp-modal/index.js.map +1 -1
  417. package/lib/vtx-cp-modal/style/index.css +52 -3
  418. package/lib/vtx-default-modal/api.js +248 -23
  419. package/lib/vtx-default-modal/api.js.map +1 -1
  420. package/lib/vtx-default-modal/components/BaseInfo/index.css +12 -2
  421. package/lib/vtx-default-modal/components/BaseInfo/index.js +39 -11
  422. package/lib/vtx-default-modal/components/BaseInfo/index.js.map +1 -1
  423. package/lib/vtx-default-modal/components/BaseInfo/index.less +16 -3
  424. package/lib/vtx-default-modal/index.js +67 -22
  425. package/lib/vtx-default-modal/index.js.map +1 -1
  426. package/lib/vtx-default-modal/style/index.css +52 -3
  427. package/lib/vtx-device-modal/components/OverViewInfo/Left.js +5 -3
  428. package/lib/vtx-device-modal/components/OverViewInfo/Left.js.map +1 -1
  429. package/lib/vtx-device-modal/config.js +8 -12
  430. package/lib/vtx-device-modal/config.js.map +1 -1
  431. package/lib/vtx-device-modal/index.js +4 -2
  432. package/lib/vtx-device-modal/index.js.map +1 -1
  433. package/lib/vtx-df-modal/api.js +97 -63
  434. package/lib/vtx-df-modal/api.js.map +1 -1
  435. package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js +48 -20
  436. package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js.map +1 -1
  437. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +30 -18
  438. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +1 -1
  439. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +5 -6
  440. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +1 -1
  441. package/lib/vtx-df-modal/components/BaseInfo/Situation.js +31 -23
  442. package/lib/vtx-df-modal/components/BaseInfo/Situation.js.map +1 -1
  443. package/lib/vtx-df-modal/components/BaseInfo/index.css +39 -174
  444. package/lib/vtx-df-modal/components/BaseInfo/index.js +74 -68
  445. package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -1
  446. package/lib/vtx-df-modal/components/BaseInfo/index.less +45 -63
  447. package/lib/vtx-df-modal/components/Metering/ChartJccc.js +12 -9
  448. package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +1 -1
  449. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +19 -13
  450. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +1 -1
  451. package/lib/vtx-df-modal/components/Metering/List.js +18 -17
  452. package/lib/vtx-df-modal/components/Metering/List.js.map +1 -1
  453. package/lib/vtx-df-modal/components/Metering/index.css +11 -4
  454. package/lib/vtx-df-modal/components/Metering/index.js +3 -2
  455. package/lib/vtx-df-modal/components/Metering/index.js.map +1 -1
  456. package/lib/vtx-df-modal/components/Metering/index.less +14 -6
  457. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +1 -3
  458. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -1
  459. package/lib/vtx-df-modal/components/WorkCondition/index.css +18 -2
  460. package/lib/vtx-df-modal/components/WorkCondition/index.less +24 -1
  461. package/lib/vtx-df-modal/imgs/cljcbj.png +0 -0
  462. package/lib/vtx-df-modal/imgs/jcbj_blue.png +0 -0
  463. package/lib/vtx-df-modal/imgs/jccc.png +0 -0
  464. package/lib/vtx-df-modal/imgs/jccc_blue.png +0 -0
  465. package/lib/vtx-df-modal/imgs/jcl.png +0 -0
  466. package/lib/vtx-df-modal/imgs/jcl_blue.png +0 -0
  467. package/lib/vtx-df-modal/imgs/rjjcl_blue.png +0 -0
  468. package/lib/vtx-df-modal/imgs/sjnl_blue.png +0 -0
  469. package/lib/vtx-df-modal/imgs/yxzbbj.png +0 -0
  470. package/lib/vtx-df-modal/imgs/zbbj_blue.png +0 -0
  471. package/lib/vtx-df-modal/imgs/zjccc_blue.png +0 -0
  472. package/lib/vtx-df-modal/imgs/zjcl_blue.png +0 -0
  473. package/lib/vtx-df-modal/index.js +66 -41
  474. package/lib/vtx-df-modal/index.js.map +1 -1
  475. package/lib/vtx-df-modal/style/index.css +52 -3
  476. package/lib/vtx-facility-modal/components/OverView/Left.js +7 -3
  477. package/lib/vtx-facility-modal/components/OverView/Left.js.map +1 -1
  478. package/lib/vtx-facility-modal/components/OverView/index.css +3 -0
  479. package/lib/vtx-facility-modal/components/OverView/index.js +41 -16
  480. package/lib/vtx-facility-modal/components/OverView/index.js.map +1 -1
  481. package/lib/vtx-facility-modal/components/OverView/index.less +4 -0
  482. package/lib/vtx-facility-modal/config.js +7 -10
  483. package/lib/vtx-facility-modal/config.js.map +1 -1
  484. package/lib/vtx-facility-modal/imgs/default.png +0 -0
  485. package/lib/vtx-facility-modal/index.js +9 -5
  486. package/lib/vtx-facility-modal/index.js.map +1 -1
  487. package/lib/vtx-housing-estate-modal/api.js +52 -40
  488. package/lib/vtx-housing-estate-modal/api.js.map +1 -1
  489. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +19 -1
  490. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +1 -1
  491. package/lib/vtx-housing-estate-modal/components/Alarm/index.js +1 -1
  492. package/lib/vtx-housing-estate-modal/components/Alarm/index.js.map +1 -1
  493. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +67 -33
  494. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js.map +1 -1
  495. package/lib/vtx-housing-estate-modal/components/OverView/Left.js +5 -3
  496. package/lib/vtx-housing-estate-modal/components/OverView/Left.js.map +1 -1
  497. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +37 -10
  498. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js.map +1 -1
  499. package/lib/vtx-housing-estate-modal/components/OverView/index.css +5 -0
  500. package/lib/vtx-housing-estate-modal/components/OverView/index.js +8 -3
  501. package/lib/vtx-housing-estate-modal/components/OverView/index.js.map +1 -1
  502. package/lib/vtx-housing-estate-modal/components/OverView/index.less +10 -0
  503. package/lib/vtx-housing-estate-modal/components/SPJK/index.js +3 -3
  504. package/lib/vtx-housing-estate-modal/components/SPJK/index.js.map +1 -1
  505. package/lib/vtx-housing-estate-modal/components/WGGS/Content.js +2 -1
  506. package/lib/vtx-housing-estate-modal/components/WGGS/Content.js.map +1 -1
  507. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js +2 -1
  508. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js.map +1 -1
  509. package/lib/vtx-housing-estate-modal/components/WGXW/index.css +21 -0
  510. package/lib/vtx-housing-estate-modal/components/WGXW/index.js +7 -2
  511. package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +1 -1
  512. package/lib/vtx-housing-estate-modal/components/WGXW/index.less +26 -0
  513. package/lib/vtx-housing-estate-modal/config.js +2 -2
  514. package/lib/vtx-housing-estate-modal/config.js.map +1 -1
  515. package/lib/vtx-housing-estate-modal/index.js +9 -2
  516. package/lib/vtx-housing-estate-modal/index.js.map +1 -1
  517. package/lib/vtx-kh-modal/components/BaseInfo/index.css +3 -0
  518. package/lib/vtx-kh-modal/components/BaseInfo/index.js +6 -4
  519. package/lib/vtx-kh-modal/components/BaseInfo/index.js.map +1 -1
  520. package/lib/vtx-kh-modal/components/BaseInfo/index.less +4 -0
  521. package/lib/vtx-kh-modal/index.js +3 -1
  522. package/lib/vtx-kh-modal/index.js.map +1 -1
  523. package/lib/vtx-kh-modal/style/index.css +52 -3
  524. package/lib/vtx-pump-modal/api.js +71 -38
  525. package/lib/vtx-pump-modal/api.js.map +1 -1
  526. package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTotal.js +22 -5
  527. package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTotal.js.map +1 -1
  528. package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTrend.js +22 -4
  529. package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTrend.js.map +1 -1
  530. package/lib/vtx-pump-modal/components/AlarmRecord/index.css +10 -9
  531. package/lib/vtx-pump-modal/components/AlarmRecord/index.js +4 -4
  532. package/lib/vtx-pump-modal/components/AlarmRecord/index.js.map +1 -1
  533. package/lib/vtx-pump-modal/components/AlarmRecord/index.less +16 -11
  534. package/lib/vtx-pump-modal/components/Basic/JyqInfo.js +14 -16
  535. package/lib/vtx-pump-modal/components/Basic/JyqInfo.js.map +1 -1
  536. package/lib/vtx-pump-modal/components/Basic/PumpInfo.js +5 -6
  537. package/lib/vtx-pump-modal/components/Basic/PumpInfo.js.map +1 -1
  538. package/lib/vtx-pump-modal/components/Basic/SxInfo.js +3 -3
  539. package/lib/vtx-pump-modal/components/Basic/SxInfo.js.map +1 -1
  540. package/lib/vtx-pump-modal/components/Basic/XqInfo.js +3 -3
  541. package/lib/vtx-pump-modal/components/Basic/XqInfo.js.map +1 -1
  542. package/lib/vtx-pump-modal/components/Basic/index.css +4 -0
  543. package/lib/vtx-pump-modal/components/Basic/index.less +6 -1
  544. package/lib/vtx-pump-modal/components/Sbxl/SBYXQK.js +7 -7
  545. package/lib/vtx-pump-modal/components/Sbxl/SBYXQK.js.map +1 -1
  546. package/lib/vtx-pump-modal/components/Sbxl/index.css +10 -9
  547. package/lib/vtx-pump-modal/components/Sbxl/index.js +5 -9
  548. package/lib/vtx-pump-modal/components/Sbxl/index.js.map +1 -1
  549. package/lib/vtx-pump-modal/components/Sbxl/index.less +16 -17
  550. package/lib/vtx-pump-modal/components/Sjfx/index.css +3 -1
  551. package/lib/vtx-pump-modal/components/Sjfx/index.js +29 -29
  552. package/lib/vtx-pump-modal/components/Sjfx/index.js.map +1 -1
  553. package/lib/vtx-pump-modal/components/Sjfx/index.less +8 -6
  554. package/lib/vtx-pump-modal/components/Sxyx/index.css +7 -5
  555. package/lib/vtx-pump-modal/components/Sxyx/index.js +7 -4
  556. package/lib/vtx-pump-modal/components/Sxyx/index.js.map +1 -1
  557. package/lib/vtx-pump-modal/components/Sxyx/index.less +16 -11
  558. package/lib/vtx-pump-modal/config.js +3 -3
  559. package/lib/vtx-pump-modal/config.js.map +1 -1
  560. package/lib/vtx-pump-modal/index.js +21 -4
  561. package/lib/vtx-pump-modal/index.js.map +1 -1
  562. package/lib/vtx-restaurant-modal/api.js +52 -34
  563. package/lib/vtx-restaurant-modal/api.js.map +1 -1
  564. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +6 -5
  565. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +1 -1
  566. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +4 -3
  567. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +1 -1
  568. package/lib/vtx-restaurant-modal/components/Alarm/index.css +3 -0
  569. package/lib/vtx-restaurant-modal/components/Alarm/index.less +3 -0
  570. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +2 -4
  571. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js.map +1 -1
  572. package/lib/vtx-restaurant-modal/components/Basic/Info.js +3 -3
  573. package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +1 -1
  574. package/lib/vtx-restaurant-modal/components/Basic/Summary.js +1 -3
  575. package/lib/vtx-restaurant-modal/components/Basic/Summary.js.map +1 -1
  576. package/lib/vtx-restaurant-modal/components/Basic/index.css +3 -0
  577. package/lib/vtx-restaurant-modal/components/Basic/index.less +4 -0
  578. package/lib/vtx-restaurant-modal/components/Collection/Charts.js +154 -0
  579. package/lib/vtx-restaurant-modal/components/Collection/Charts.js.map +1 -0
  580. package/lib/vtx-restaurant-modal/components/Collection/List.js +37 -0
  581. package/lib/vtx-restaurant-modal/components/Collection/List.js.map +1 -0
  582. package/lib/vtx-restaurant-modal/components/Collection/index.css +12 -0
  583. package/lib/vtx-restaurant-modal/components/Collection/index.js +44 -19
  584. package/lib/vtx-restaurant-modal/components/Collection/index.js.map +1 -1
  585. package/lib/vtx-restaurant-modal/components/Collection/index.less +6 -0
  586. package/lib/vtx-restaurant-modal/index.js +9 -3
  587. package/lib/vtx-restaurant-modal/index.js.map +1 -1
  588. package/lib/vtx-road-modal/api.js +90 -31
  589. package/lib/vtx-road-modal/api.js.map +1 -1
  590. package/lib/vtx-road-modal/components/BaseInfo/Rules.js +3 -1
  591. package/lib/vtx-road-modal/components/BaseInfo/Rules.js.map +1 -1
  592. package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js +16 -6
  593. package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js.map +1 -1
  594. package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js +19 -10
  595. package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js.map +1 -1
  596. package/lib/vtx-road-modal/components/BaseInfo/index.css +16 -9
  597. package/lib/vtx-road-modal/components/BaseInfo/index.js +22 -15
  598. package/lib/vtx-road-modal/components/BaseInfo/index.js.map +1 -1
  599. package/lib/vtx-road-modal/components/BaseInfo/index.less +18 -9
  600. package/lib/vtx-road-modal/components/Statistical/Zylc.js +20 -9
  601. package/lib/vtx-road-modal/components/Statistical/Zylc.js.map +1 -1
  602. package/lib/vtx-road-modal/components/Statistical/Zywcl.js +13 -4
  603. package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +1 -1
  604. package/lib/vtx-road-modal/components/Statistical/index.css +4 -0
  605. package/lib/vtx-road-modal/components/Statistical/index.less +2 -0
  606. package/lib/vtx-road-modal/index.js +87 -14
  607. package/lib/vtx-road-modal/index.js.map +1 -1
  608. package/lib/vtx-road-modal/style/index.css +52 -3
  609. package/lib/vtx-staff-modal/api.js +59 -35
  610. package/lib/vtx-staff-modal/api.js.map +1 -1
  611. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +24 -9
  612. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js.map +1 -1
  613. package/lib/vtx-staff-modal/components/AlarmInfo/index.css +1 -0
  614. package/lib/vtx-staff-modal/components/AlarmInfo/index.js +5 -4
  615. package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +1 -1
  616. package/lib/vtx-staff-modal/components/AlarmInfo/index.less +1 -0
  617. package/lib/vtx-staff-modal/components/Attendance/Exeception.js +11 -4
  618. package/lib/vtx-staff-modal/components/Attendance/Exeception.js.map +1 -1
  619. package/lib/vtx-staff-modal/components/Attendance/Record.js +21 -36
  620. package/lib/vtx-staff-modal/components/Attendance/Record.js.map +1 -1
  621. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js +7 -6
  622. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js.map +1 -1
  623. package/lib/vtx-staff-modal/components/Attendance/index.css +3 -0
  624. package/lib/vtx-staff-modal/components/Attendance/index.less +3 -0
  625. package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js +16 -5
  626. package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js.map +1 -1
  627. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +12 -4
  628. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js.map +1 -1
  629. package/lib/vtx-staff-modal/components/BaseInfo/index.css +6 -2
  630. package/lib/vtx-staff-modal/components/BaseInfo/index.js +1 -1
  631. package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -1
  632. package/lib/vtx-staff-modal/components/BaseInfo/index.less +8 -2
  633. package/lib/vtx-staff-modal/components/Equipment/index.css +1 -0
  634. package/lib/vtx-staff-modal/components/Equipment/index.less +1 -0
  635. package/lib/vtx-staff-modal/index.js +28 -14
  636. package/lib/vtx-staff-modal/index.js.map +1 -1
  637. package/lib/vtx-staff-modal/style/index.css +52 -3
  638. package/lib/vtx-theme-provider/index.js +1 -0
  639. package/lib/vtx-theme-provider/index.js.map +1 -1
  640. package/lib/vtx-throw-point-modal/api.js +102 -47
  641. package/lib/vtx-throw-point-modal/api.js.map +1 -1
  642. package/lib/vtx-throw-point-modal/components/Alarm/index.css +2 -0
  643. package/lib/vtx-throw-point-modal/components/Alarm/index.less +3 -0
  644. package/lib/vtx-throw-point-modal/components/OverView/Hot.js +67 -33
  645. package/lib/vtx-throw-point-modal/components/OverView/Hot.js.map +1 -1
  646. package/lib/vtx-throw-point-modal/components/OverView/Left.js +6 -5
  647. package/lib/vtx-throw-point-modal/components/OverView/Left.js.map +1 -1
  648. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js +18 -9
  649. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js.map +1 -1
  650. package/lib/vtx-throw-point-modal/components/OverView/index.css +6 -1
  651. package/lib/vtx-throw-point-modal/components/OverView/index.js +8 -3
  652. package/lib/vtx-throw-point-modal/components/OverView/index.js.map +1 -1
  653. package/lib/vtx-throw-point-modal/components/OverView/index.less +11 -1
  654. package/lib/vtx-throw-point-modal/components/SBZJ/index.js +1 -2
  655. package/lib/vtx-throw-point-modal/components/SBZJ/index.js.map +1 -1
  656. package/lib/vtx-throw-point-modal/components/WGGS/Content.js +2 -1
  657. package/lib/vtx-throw-point-modal/components/WGGS/Content.js.map +1 -1
  658. package/lib/vtx-throw-point-modal/components/WGXW/Content.js +2 -1
  659. package/lib/vtx-throw-point-modal/components/WGXW/Content.js.map +1 -1
  660. package/lib/vtx-throw-point-modal/components/WGXW/index.css +21 -0
  661. package/lib/vtx-throw-point-modal/components/WGXW/index.js +7 -2
  662. package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +1 -1
  663. package/lib/vtx-throw-point-modal/components/WGXW/index.less +26 -0
  664. package/lib/vtx-throw-point-modal/index.js +66 -30
  665. package/lib/vtx-throw-point-modal/index.js.map +1 -1
  666. package/lib/vtx-wr-modal/api.js +89 -51
  667. package/lib/vtx-wr-modal/api.js.map +1 -1
  668. package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js +6 -5
  669. package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  670. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js +22 -5
  671. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -1
  672. package/lib/vtx-wr-modal/components/AlarmInfo/index.css +3 -0
  673. package/lib/vtx-wr-modal/components/AlarmInfo/index.less +3 -0
  674. package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js +24 -8
  675. package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js.map +1 -1
  676. package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js +8 -4
  677. package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js.map +1 -1
  678. package/lib/vtx-wr-modal/components/BaseInfo/Situation.js +17 -8
  679. package/lib/vtx-wr-modal/components/BaseInfo/Situation.js.map +1 -1
  680. package/lib/vtx-wr-modal/components/BaseInfo/index.css +8 -0
  681. package/lib/vtx-wr-modal/components/BaseInfo/index.js +3 -3
  682. package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -1
  683. package/lib/vtx-wr-modal/components/BaseInfo/index.less +10 -0
  684. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js +9 -13
  685. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js.map +1 -1
  686. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Jbxx.js +53 -23
  687. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Jbxx.js.map +1 -1
  688. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js +2 -2
  689. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js.map +1 -1
  690. package/lib/vtx-wr-modal/components/BaseInfoNew/index.js +28 -12
  691. package/lib/vtx-wr-modal/components/BaseInfoNew/index.js.map +1 -1
  692. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Alarm.js +119 -0
  693. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Alarm.js.map +1 -0
  694. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jbxx.js +286 -0
  695. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jbxx.js.map +1 -0
  696. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jcbj.js +54 -0
  697. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jcbj.js.map +1 -0
  698. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Monitor.js +364 -0
  699. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Monitor.js.map +1 -0
  700. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Ptss.js +159 -0
  701. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Ptss.js.map +1 -0
  702. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Sjjg.js +220 -0
  703. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Sjjg.js.map +1 -0
  704. package/lib/vtx-wr-modal/components/BaseInfoNew2/index.css +319 -0
  705. package/lib/vtx-wr-modal/components/BaseInfoNew2/index.js +112 -0
  706. package/lib/vtx-wr-modal/components/BaseInfoNew2/index.js.map +1 -0
  707. package/lib/vtx-wr-modal/components/BaseInfoNew2/index.less +320 -0
  708. package/lib/vtx-wr-modal/components/Evaluate/index.css +3 -0
  709. package/lib/vtx-wr-modal/components/Evaluate/index.less +3 -0
  710. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +6 -5
  711. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +1 -1
  712. package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js +34 -31
  713. package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js.map +1 -1
  714. package/lib/vtx-wr-modal/components/Monitor/index.css +2 -0
  715. package/lib/vtx-wr-modal/components/Monitor/index.less +4 -0
  716. package/lib/vtx-wr-modal/components/Score/index.css +11 -0
  717. package/lib/vtx-wr-modal/components/Score/index.js +3 -2
  718. package/lib/vtx-wr-modal/components/Score/index.js.map +1 -1
  719. package/lib/vtx-wr-modal/components/Score/index.less +33 -16
  720. package/lib/vtx-wr-modal/components/Ztt/index.js +27 -0
  721. package/lib/vtx-wr-modal/components/Ztt/index.js.map +1 -0
  722. package/lib/vtx-wr-modal/components/index.js +14 -0
  723. package/lib/vtx-wr-modal/components/index.js.map +1 -1
  724. package/lib/vtx-wr-modal/imgs/2/aq.png +0 -0
  725. package/lib/vtx-wr-modal/imgs/2/cqz.png +0 -0
  726. package/lib/vtx-wr-modal/imgs/2/dswsj.png +0 -0
  727. package/lib/vtx-wr-modal/imgs/2/dswsjC.png +0 -0
  728. package/lib/vtx-wr-modal/imgs/2/dws.png +0 -0
  729. package/lib/vtx-wr-modal/imgs/2/female.png +0 -0
  730. package/lib/vtx-wr-modal/imgs/2/lhq.png +0 -0
  731. package/lib/vtx-wr-modal/imgs/2/male.png +0 -0
  732. package/lib/vtx-wr-modal/imgs/2/mys.png +0 -0
  733. package/lib/vtx-wr-modal/imgs/2/rll.png +0 -0
  734. package/lib/vtx-wr-modal/imgs/2/sd.png +0 -0
  735. package/lib/vtx-wr-modal/imgs/2/ty.png +0 -0
  736. package/lib/vtx-wr-modal/imgs/2/tywsj.png +0 -0
  737. package/lib/vtx-wr-modal/imgs/2/wd.png +0 -0
  738. package/lib/vtx-wr-modal/imgs/2/xbd.png +0 -0
  739. package/lib/vtx-wr-modal/imgs/2/ydl.png +0 -0
  740. package/lib/vtx-wr-modal/imgs/2/ydlBg.png +0 -0
  741. package/lib/vtx-wr-modal/imgs/2/ysl.png +0 -0
  742. package/lib/vtx-wr-modal/imgs/2/yslBg.png +0 -0
  743. package/lib/vtx-wr-modal/imgs/2/zsp.png +0 -0
  744. package/lib/vtx-wr-modal/imgs/2/zws.png +0 -0
  745. package/lib/vtx-wr-modal/imgs/daMen.png +0 -0
  746. package/lib/vtx-wr-modal/imgs/yingYe.png +0 -0
  747. package/lib/vtx-wr-modal/index.js +163 -39
  748. package/lib/vtx-wr-modal/index.js.map +1 -1
  749. package/lib/vtx-wr-modal/style/index.css +52 -3
  750. package/lib/vtx-zg-modal/components/BaseInfo/index.css +3 -0
  751. package/lib/vtx-zg-modal/components/BaseInfo/index.js +6 -4
  752. package/lib/vtx-zg-modal/components/BaseInfo/index.js.map +1 -1
  753. package/lib/vtx-zg-modal/components/BaseInfo/index.less +6 -0
  754. package/lib/vtx-zg-modal/index.js +6 -2
  755. package/lib/vtx-zg-modal/index.js.map +1 -1
  756. package/lib/vtx-zg-modal/style/index.css +52 -3
  757. package/package.json +5 -4
  758. package/lib/vtx-car-modal/components/CanData/index.css +0 -41
  759. package/lib/vtx-car-modal/components/CanData/index.js +0 -181
  760. package/lib/vtx-car-modal/components/CanData/index.js.map +0 -1
  761. package/lib/vtx-car-modal/components/CanData/index.less +0 -36
  762. package/lib/vtx-car-modal/components/PowerConsumption/index.js +0 -134
  763. package/lib/vtx-car-modal/components/PowerConsumption/index.js.map +0 -1
  764. package/lib/vtx-car-modal/components/PowerConsumption/index.less +0 -22
  765. package/lib/vtx-car-modal/imgs/gx.png +0 -0
  766. package/lib/vtx-cp-modal/components/BaseInfo/Rules copy.js +0 -180
  767. package/lib/vtx-cp-modal/components/BaseInfo/Rules copy.js.map +0 -1
  768. package/lib/vtx-cp-modal/imgs/cylj.png +0 -0
  769. package/lib/vtx-cp-modal/imgs/qtlj.png +0 -0
  770. package/lib/vtx-cp-modal/imgs/shlj.png +0 -0
  771. package/lib/vtx-cp-modal/imgs/yhlj.png +0 -0
@@ -11,9 +11,14 @@ var _react = _interopRequireWildcard(require("react"));
11
11
  var _map = require("@vtx/map");
12
12
  var _useSettings2 = _interopRequireDefault(require("../vm-hooks/useSettings"));
13
13
  var _mapStyle = require("./mapStyle");
14
+ require("./style");
14
15
  function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
15
16
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
16
17
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
18
+ function _toConsumableArray(r) { return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread(); }
19
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
20
+ function _iterableToArray(r) { if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r); }
21
+ function _arrayWithoutHoles(r) { if (Array.isArray(r)) return _arrayLikeToArray(r); }
17
22
  function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
18
23
  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."); }
19
24
  function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
@@ -22,17 +27,20 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
22
27
  function _arrayWithHoles(r) { if (Array.isArray(r)) return r; } /* eslint-disable no-undef */
23
28
  var defaultCenter = [116.421516, 39.898331];
24
29
  function VmMap(_a) {
25
- var _a$mapType = _a.mapType,
30
+ var _b, _c;
31
+ var _a$key = _a.key,
32
+ key = _a$key === void 0 ? 1 : _a$key,
33
+ _a$mapType = _a.mapType,
26
34
  mapType = _a$mapType === void 0 ? 'bmap' : _a$mapType,
27
- mapCenter = _a.mapCenter,
28
35
  _a$mapPoints = _a.mapPoints,
29
36
  mapPoints = _a$mapPoints === void 0 ? [] : _a$mapPoints,
37
+ mapCenter = _a.mapCenter,
30
38
  _a$mapPolygons = _a.mapPolygons,
31
39
  mapPolygons = _a$mapPolygons === void 0 ? [] : _a$mapPolygons,
32
40
  currentLayer = _a.currentLayer,
33
41
  geometryType = _a.geometryType,
34
42
  clickGraphic = _a.clickGraphic,
35
- rest = (0, _tslib.__rest)(_a, ["mapType", "mapCenter", "mapPoints", "mapPolygons", "currentLayer", "geometryType", "clickGraphic"]);
43
+ rest = (0, _tslib.__rest)(_a, ["key", "mapType", "mapPoints", "mapCenter", "mapPolygons", "currentLayer", "geometryType", "clickGraphic"]);
36
44
  var mapRef = (0, _react.useRef)();
37
45
  var markers = (0, _react.useRef)([]);
38
46
  var mappolygons = (0, _react.useRef)([]);
@@ -44,14 +52,18 @@ function VmMap(_a) {
44
52
  _useState2 = _slicedToArray(_useState, 2),
45
53
  points = _useState2[0],
46
54
  setPoints = _useState2[1];
47
- var _useState3 = (0, _react.useState)([]),
55
+ var _useState3 = (0, _react.useState)(false),
48
56
  _useState4 = _slicedToArray(_useState3, 2),
49
- polygons = _useState4[0],
50
- setPolygons = _useState4[1];
57
+ center = _useState4[0],
58
+ setCenter = _useState4[1];
51
59
  var _useState5 = (0, _react.useState)([]),
52
60
  _useState6 = _slicedToArray(_useState5, 2),
53
- lines = _useState6[0],
54
- setLines = _useState6[1];
61
+ polygons = _useState6[0],
62
+ setPolygons = _useState6[1];
63
+ var _useState7 = (0, _react.useState)([]),
64
+ _useState8 = _slicedToArray(_useState7, 2),
65
+ lines = _useState8[0],
66
+ setLines = _useState8[1];
55
67
  (0, _react.useEffect)(function () {
56
68
  var wrapScroll = document.querySelector('.ant-modal-body');
57
69
  wrapScroll && wrapScroll.addEventListener('scroll', function () {
@@ -65,13 +77,13 @@ function VmMap(_a) {
65
77
  }, [theme]);
66
78
  (0, _react.useEffect)(function () {
67
79
  if ((mapPoints === null || mapPoints === void 0 ? void 0 : mapPoints.length) > 0) {
68
- var list = mapPoints.map(function (ele) {
80
+ var _list = mapPoints.map(function (ele) {
69
81
  return Object.assign(Object.assign({}, ele), {
70
82
  longitude: ele.lng,
71
83
  latitude: ele.lat
72
84
  });
73
85
  }) || [];
74
- setPoints(list);
86
+ setPoints(_list);
75
87
  }
76
88
  }, [mapPoints]);
77
89
  (0, _react.useEffect)(function () {
@@ -82,13 +94,15 @@ function VmMap(_a) {
82
94
  if ((filterMapPolygons === null || filterMapPolygons === void 0 ? void 0 : filterMapPolygons.length) > 0) {
83
95
  if (geometryType === 'polyline') {
84
96
  setLines(filterMapPolygons.map(function (item) {
85
- return Object.assign(Object.assign({}, item), {
97
+ return {
98
+ id: item.id,
99
+ config: item.config,
86
100
  paths: item.rings.split(';').map(function (v) {
87
101
  return v.split(',').map(function (v) {
88
102
  return Number(v);
89
103
  });
90
104
  })
91
- });
105
+ };
92
106
  }));
93
107
  } else {
94
108
  setPolygons(filterMapPolygons.map(function (item) {
@@ -128,7 +142,7 @@ function VmMap(_a) {
128
142
  var center = mapCenter || defaultCenter;
129
143
  mapRef.current = new window.BMapGL.Map('modalMap', {
130
144
  style: {
131
- styleJson: isDark ? _mapStyle.customStyle : _mapStyle.customLight
145
+ styleJson: isDark || theme == 'blue' ? _mapStyle.customStyle : _mapStyle.customLight
132
146
  }
133
147
  });
134
148
  var point = new window.BMapGL.Point(center[0], center[1]);
@@ -151,8 +165,8 @@ function VmMap(_a) {
151
165
  var points = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
152
166
  removePoints();
153
167
  if (!(points === null || points === void 0 ? void 0 : points.length)) {
154
- var center = mapCenter || defaultCenter;
155
- var point = new window.BMapGL.Point(center[0], center[1]);
168
+ var _center = mapCenter || defaultCenter;
169
+ var point = new window.BMapGL.Point(_center[0], _center[1]);
156
170
  mapRef.current.addOverlay(new window.BMapGL.Marker(point));
157
171
  return;
158
172
  }
@@ -162,10 +176,10 @@ function VmMap(_a) {
162
176
  var _a, _b;
163
177
  var position = new window.BMapGL.Point(item.lng, item.lat);
164
178
  positions.push(position);
165
- var icon = new window.BMapGL.Icon(item.url, new window.BMapGL.Size(item.width || 32, item.height || 45));
179
+ var icon = new window.BMapGL.Icon(item.url || require('./imgs/defaultMarker.png'), new window.BMapGL.Size(item.width || 32, item.height || 45));
166
180
  var marker = new window.BMapGL.Marker(position, {
167
181
  icon: icon,
168
- offset: new window.BMapGL.Size(((_a = item.offset) === null || _a === void 0 ? void 0 : _a.width) || -10, ((_b = item.offset) === null || _b === void 0 ? void 0 : _b.height) || -16),
182
+ offset: new window.BMapGL.Size(((_a = item === null || item === void 0 ? void 0 : item.offset) === null || _a === void 0 ? void 0 : _a.width) || -10, ((_b = item === null || item === void 0 ? void 0 : item.offset) === null || _b === void 0 ? void 0 : _b.height) || -16),
169
183
  title: item.name || ''
170
184
  });
171
185
  markers.current.push(marker);
@@ -175,7 +189,8 @@ function VmMap(_a) {
175
189
  };
176
190
  // 清除地图点位
177
191
  var removePoints = function removePoints() {
178
- markers.current.forEach(function (marker) {
192
+ var _a;
193
+ ((_a = markers.current) === null || _a === void 0 ? void 0 : _a.length) && markers.current.forEach(function (marker) {
179
194
  mapRef.current.addOverlay(marker);
180
195
  });
181
196
  markers.current = [];
@@ -195,11 +210,13 @@ function VmMap(_a) {
195
210
  var polygons = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
196
211
  var type = arguments.length > 1 ? arguments[1] : undefined;
197
212
  removePolygons();
198
- if (!(polygons === null || polygons === void 0 ? void 0 : polygons.length)) return;
213
+ var list = polygons === null || polygons === void 0 ? void 0 : polygons.filter(function (ele) {
214
+ return !!ele.rings;
215
+ });
216
+ if (!(list === null || list === void 0 ? void 0 : list.length)) return;
199
217
  var points = [];
200
218
  //遍历添加图层(图元)
201
219
  polygons.map(function (item) {
202
- var _a;
203
220
  //初始化参数
204
221
  var cg = {
205
222
  lineType: 'solid',
@@ -222,7 +239,7 @@ function VmMap(_a) {
222
239
  fillColor: cg.color,
223
240
  fillOpacity: cg.pellucidity
224
241
  },
225
- polygonPath = (_a = item.rings) === null || _a === void 0 ? void 0 : _a.split(';').map(function (item) {
242
+ polygonPath = item.rings.split(';').map(function (item) {
226
243
  var _ref2 = item === null || item === void 0 ? void 0 : item.split(','),
227
244
  _ref3 = _slicedToArray(_ref2, 2),
228
245
  lng = _ref3[0],
@@ -238,8 +255,7 @@ function VmMap(_a) {
238
255
  clickPolygon(item, e);
239
256
  // 居中显示
240
257
  setTimeout(function () {
241
- var _a;
242
- mapRef.current.setViewport((_a = item.rings) === null || _a === void 0 ? void 0 : _a.split(';').map(function (item) {
258
+ mapRef.current.setViewport(item.rings.split(';').map(function (item) {
243
259
  var _ref4 = item === null || item === void 0 ? void 0 : item.split(','),
244
260
  _ref5 = _slicedToArray(_ref4, 2),
245
261
  lng = _ref5[0],
@@ -262,7 +278,8 @@ function VmMap(_a) {
262
278
  };
263
279
  // 清除地图图元
264
280
  var removePolygons = function removePolygons() {
265
- mappolygons.current.forEach(function (polygon) {
281
+ var _a;
282
+ ((_a = mappolygons.current) === null || _a === void 0 ? void 0 : _a.length) && mappolygons.current.forEach(function (polygon) {
266
283
  mapRef.current.removeOverlay(polygon);
267
284
  });
268
285
  mappolygons.current = [];
@@ -274,15 +291,42 @@ function VmMap(_a) {
274
291
  });
275
292
  highlightLayer.current = [];
276
293
  };
294
+ var list = mapType !== 'olmap' ? [].concat(_toConsumableArray(polygons), _toConsumableArray(lines)) : [];
295
+ var pointCneter;
296
+ if ((points === null || points === void 0 ? void 0 : points.length) > 0) {
297
+ pointCneter = [(_b = points === null || points === void 0 ? void 0 : points[0]) === null || _b === void 0 ? void 0 : _b.lng, (_c = points === null || points === void 0 ? void 0 : points[0]) === null || _c === void 0 ? void 0 : _c.lat];
298
+ }
277
299
  var mapProps = Object.assign({
300
+ key: key,
278
301
  mapId: Date.now(),
279
- mapCenter: mapCenter || defaultCenter,
302
+ mapCenter: pointCneter || mapCenter || defaultCenter,
280
303
  mapType: mapType,
281
304
  mapPoints: points || [],
282
305
  mapPolygons: polygons || [],
283
- mapLines: lines || []
306
+ mapLines: lines || [],
307
+ setCenter: center
284
308
  }, rest);
285
- return theme === 'light' ? ( /*#__PURE__*/_react["default"].createElement(_map.VtxMap, Object.assign({}, mapProps))) : ( /*#__PURE__*/_react["default"].createElement("div", {
309
+ // 点位层级固定显示16,可在customMapInfo传参修改
310
+ if (list.length) {
311
+ mapProps = Object.assign(Object.assign({}, mapProps), {
312
+ mapVisiblePoints: {
313
+ fitView: list.length ? list === null || list === void 0 ? void 0 : list.map(function (ele) {
314
+ return ele.id;
315
+ }) : [],
316
+ type: 'all'
317
+ },
318
+ setVisiblePoints: Math.random() * 1000
319
+ });
320
+ }
321
+ (0, _react.useEffect)(function () {
322
+ if (mapCenter && (mapCenter === null || mapCenter === void 0 ? void 0 : mapCenter.length) > 0) {
323
+ setCenter(true);
324
+ setTimeout(function () {
325
+ return setCenter(false);
326
+ }, 2500);
327
+ }
328
+ }, [JSON.stringify(mapCenter)]);
329
+ return theme == 'light' ? ( /*#__PURE__*/_react["default"].createElement(_map.VtxMap, Object.assign({}, mapProps))) : ( /*#__PURE__*/_react["default"].createElement("div", {
286
330
  id: "modalMap",
287
331
  style: {
288
332
  width: '100%',
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["_tslib","require","_jquery","_interopRequireDefault","_react","_interopRequireWildcard","_map","_useSettings2","_mapStyle","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_slicedToArray","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","_arrayLikeToArray","toString","slice","constructor","name","Array","from","test","length","l","Symbol","iterator","f","o","next","done","push","value","isArray","defaultCenter","VmMap","_a","_a$mapType","mapType","mapCenter","_a$mapPoints","mapPoints","_a$mapPolygons","mapPolygons","currentLayer","geometryType","clickGraphic","rest","__rest","mapRef","useRef","markers","mappolygons","highlightLayer","_useSettings","useSettings","isDark","theme","_useState","useState","_useState2","points","setPoints","_useState3","_useState4","polygons","setPolygons","_useState5","_useState6","lines","setLines","useEffect","wrapScroll","document","querySelector","addEventListener","window","scrollY","scrollTop","initMap","list","map","ele","assign","longitude","lng","latitude","lat","filterMapPolygons","filter","_ref","rings","item","paths","split","v","Number","current","addPoints","addPolygons","removeHighLightPolygons","id","geometryInfo","lngLats","config","lineWidth","lineOpacity","JSON","stringify","init","center","BMapGL","Map","style","styleJson","customStyle","customLight","point","Point","centerAndZoom","enableScrollWheelZoom","$","getScript","arguments","undefined","removePoints","addOverlay","Marker","positions","forEach","_b","position","icon","Icon","url","Size","width","height","marker","offset","title","setViewport","clickPolygon","obj","type","removePolygons","cg","lineType","lineColor","color","pellucidity","polygonOption","strokeColor","strokeOpacity","strokeWeight","strokeStyle","fillColor","fillOpacity","polygonPath","_ref2","_ref3","_point","polygon","Polyline","Polygon","on","setTimeout","_ref4","_ref5","removeOverlay","mapProps","mapId","Date","now","mapLines","React","createElement","VtxMap"],"sources":["vm-map/index.js"],"sourcesContent":["import { __rest } from \"tslib\";\n/* eslint-disable no-undef */\nimport $ from 'jquery';\nimport React, { useEffect, useRef, useState } from 'react';\nimport { VtxMap } from '@vtx/map';\nimport useSettings from '../vm-hooks/useSettings';\nimport { customStyle, customLight } from './mapStyle';\nconst defaultCenter = [116.421516, 39.898331];\nexport default function VmMap(_a) {\n var { mapType = 'bmap', mapCenter, mapPoints = [], mapPolygons = [], currentLayer, geometryType, clickGraphic } = _a, rest = __rest(_a, [\"mapType\", \"mapCenter\", \"mapPoints\", \"mapPolygons\", \"currentLayer\", \"geometryType\", \"clickGraphic\"]);\n const mapRef = useRef();\n const markers = useRef([]);\n const mappolygons = useRef([]);\n const highlightLayer = useRef([]);\n const { isDark, theme } = useSettings();\n const [points, setPoints] = useState([]);\n const [polygons, setPolygons] = useState([]);\n const [lines, setLines] = useState([]);\n useEffect(() => {\n let wrapScroll = document.querySelector('.ant-modal-body');\n wrapScroll &&\n wrapScroll.addEventListener('scroll', () => {\n window.scrollY = (wrapScroll === null || wrapScroll === void 0 ? void 0 : wrapScroll.scrollTop) || 0;\n });\n }, []);\n useEffect(() => {\n if (theme !== 'light') {\n initMap();\n }\n }, [theme]);\n useEffect(() => {\n if ((mapPoints === null || mapPoints === void 0 ? void 0 : mapPoints.length) > 0) {\n const list = mapPoints.map(ele => (Object.assign(Object.assign({}, ele), { longitude: ele.lng, latitude: ele.lat }))) || [];\n setPoints(list);\n }\n }, [mapPoints]);\n useEffect(() => {\n const filterMapPolygons = mapPolygons.filter(({ rings }) => !!rings);\n if ((filterMapPolygons === null || filterMapPolygons === void 0 ? void 0 : filterMapPolygons.length) > 0) {\n if (geometryType === 'polyline') {\n setLines(filterMapPolygons.map(item => (Object.assign(Object.assign({}, item), { paths: item.rings.split(';').map(v => v.split(',').map(v => Number(v))) }))));\n }\n else {\n setPolygons(filterMapPolygons.map(item => (Object.assign(Object.assign({}, item), { rings: item.rings.split(';').map(v => v.split(',').map(v => Number(v))) }))));\n }\n }\n }, [mapPolygons]);\n useEffect(() => {\n if (mapRef === null || mapRef === void 0 ? void 0 : mapRef.current) {\n addPoints(mapPoints);\n addPolygons(mapPolygons);\n }\n }, [mapPoints, mapPolygons, mapRef === null || mapRef === void 0 ? void 0 : mapRef.current]);\n useEffect(() => {\n var _a;\n if (theme !== 'light') {\n removeHighLightPolygons();\n // 清空高亮图层并绘制新图层\n if (currentLayer === null || currentLayer === void 0 ? void 0 : currentLayer.id)\n addPolygons([\n {\n id: currentLayer.id,\n rings: (_a = currentLayer === null || currentLayer === void 0 ? void 0 : currentLayer.geometryInfo) === null || _a === void 0 ? void 0 : _a.lngLats,\n config: {\n lineWidth: 2,\n lineOpacity: 0.5,\n },\n },\n ], 'highlight');\n }\n }, [theme, JSON.stringify(currentLayer)]);\n const init = () => {\n const center = mapCenter || defaultCenter;\n mapRef.current = new window.BMapGL.Map('modalMap', {\n style: { styleJson: isDark ? customStyle : customLight },\n });\n let point = new window.BMapGL.Point(center[0], center[1]);\n // 设置中心点和层级\n mapRef.current.centerAndZoom(point, 15);\n // mapRef.current.addOverlay(new window.BMapGL.Marker(point));\n mapRef.current.enableScrollWheelZoom(); // 滚轮放大缩小\n };\n const initMap = () => {\n if (window.BMapGL) {\n init();\n }\n else {\n $.getScript(`//api.map.baidu.com/getscript?type=webgl&v=1.0&ak=1XjLLEhZhQNUzd93EjU5nOGQ`, () => {\n init();\n });\n }\n };\n // 地图添加点位\n const addPoints = (points = []) => {\n removePoints();\n if (!(points === null || points === void 0 ? void 0 : points.length)) {\n const center = mapCenter || defaultCenter;\n let point = new window.BMapGL.Point(center[0], center[1]);\n mapRef.current.addOverlay(new window.BMapGL.Marker(point));\n return;\n }\n // 添加点位\n const positions = [];\n points.forEach((item) => {\n var _a, _b;\n const position = new window.BMapGL.Point(item.lng, item.lat);\n positions.push(position);\n const icon = new window.BMapGL.Icon(item.url, new window.BMapGL.Size(item.width || 32, item.height || 45));\n const marker = new window.BMapGL.Marker(position, {\n icon,\n offset: new window.BMapGL.Size(((_a = item.offset) === null || _a === void 0 ? void 0 : _a.width) || -10, ((_b = item.offset) === null || _b === void 0 ? void 0 : _b.height) || -16),\n title: item.name || '',\n });\n markers.current.push(marker);\n mapRef.current.addOverlay(marker);\n });\n mapRef.current.setViewport(positions);\n };\n // 清除地图点位\n const removePoints = () => {\n markers.current.forEach((marker) => {\n mapRef.current.addOverlay(marker);\n });\n markers.current = [];\n };\n //点击图元事件\n const clickPolygon = (item, e) => {\n if (typeof clickGraphic === 'function') {\n let obj = {\n item: item,\n e,\n };\n clickGraphic(obj);\n }\n };\n // 地图添加线\n const addPolygons = (polygons = [], type) => {\n removePolygons();\n if (!(polygons === null || polygons === void 0 ? void 0 : polygons.length))\n return;\n const points = [];\n //遍历添加图层(图元)\n polygons.map(item => {\n var _a;\n //初始化参数\n let cg = {\n lineType: 'solid',\n lineWidth: 5,\n lineColor: '#277ffa',\n lineOpacity: geometryType === 'polyline' ? 1 : 0.3,\n color: '#fff',\n pellucidity: 0.5,\n // isHidden: false //后期需要再加\n };\n if (item.config) {\n cg = Object.assign(Object.assign({}, cg), item.config);\n }\n //面的参数\n let polygonOption = {\n strokeColor: cg.lineColor,\n strokeOpacity: cg.lineOpacity,\n strokeWeight: cg.lineWidth,\n strokeStyle: cg.lineType,\n fillColor: cg.color,\n fillOpacity: cg.pellucidity,\n }, polygonPath = (_a = item.rings) === null || _a === void 0 ? void 0 : _a.split(';').map(item => {\n let [lng, lat] = item === null || item === void 0 ? void 0 : item.split(',');\n let _point = new window.BMapGL.Point(lng, lat);\n points.push(_point);\n return _point;\n });\n //创建面对象\n let polygon = geometryType === 'polyline'\n ? new window.BMapGL.Polyline(polygonPath, polygonOption)\n : new window.BMapGL.Polygon(polygonPath, polygonOption);\n //添加点击事件\n polygon.on('click', (e) => {\n clickPolygon(item, e);\n // 居中显示\n setTimeout(() => {\n var _a;\n mapRef.current.setViewport((_a = item.rings) === null || _a === void 0 ? void 0 : _a.split(';').map(item => {\n let [lng, lat] = item === null || item === void 0 ? void 0 : item.split(',');\n let _point = new window.BMapGL.Point(lng, lat);\n return _point;\n }));\n }, 300);\n });\n if (type) {\n // 若为高亮图层,单独保存,用于单独清除\n highlightLayer.current.push(polygon);\n mapRef.current.addOverlay(polygon);\n }\n else {\n mappolygons.current.push(polygon);\n mapRef.current.addOverlay(polygon);\n }\n });\n mapRef.current.setViewport(points);\n };\n // 清除地图图元\n const removePolygons = () => {\n mappolygons.current.forEach((polygon) => {\n mapRef.current.removeOverlay(polygon);\n });\n mappolygons.current = [];\n };\n // 清除高亮图元\n const removeHighLightPolygons = () => {\n highlightLayer.current.forEach((polygon) => {\n mapRef.current.removeOverlay(polygon);\n });\n highlightLayer.current = [];\n };\n const mapProps = Object.assign({ mapId: Date.now(), mapCenter: mapCenter || defaultCenter, mapType, mapPoints: points || [], mapPolygons: polygons || [], mapLines: lines || [] }, rest);\n return theme === 'light' ? (React.createElement(VtxMap, Object.assign({}, mapProps))) : (React.createElement(\"div\", { id: \"modalMap\", style: { width: '100%', height: '100%' } }));\n}\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAAC,OAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,MAAA,GAAAC,uBAAA,CAAAJ,OAAA;AACA,IAAAK,IAAA,GAAAL,OAAA;AACA,IAAAM,aAAA,GAAAJ,sBAAA,CAAAF,OAAA;AACA,IAAAO,SAAA,GAAAP,OAAA;AAAsD,SAAAQ,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,CAAA,WAAAA,C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AC,CAAC;IACF7G,cAAc,CAAC4C,OAAO,GAAG,EAAE;EAC/B,CAAC;EACD,IAAMyE,QAAQ,GAAGzK,MAAM,CAACkF,MAAM,CAAC;IAAEwF,KAAK,EAAEC,IAAI,CAACC,GAAG,CAAC,CAAC;IAAEtI,SAAS,EAAEA,SAAS,IAAIL,aAAa;IAAEI,OAAO,EAAPA,OAAO;IAAEG,SAAS,EAAEoB,MAAM,IAAI,EAAE;IAAElB,WAAW,EAAEsB,QAAQ,IAAI,EAAE;IAAE6G,QAAQ,EAAEzG,KAAK,IAAI;EAAG,CAAC,EAAEtB,IAAI,CAAC;EACxL,OAAOU,KAAK,KAAK,OAAO,kBAAIsH,iBAAK,CAACC,aAAa,CAACC,WAAM,EAAEhL,MAAM,CAACkF,MAAM,CAAC,CAAC,CAAC,EAAEuF,QAAQ,CAAC,CAAC,mBAAKK,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAE3E,EAAE,EAAE,UAAU;IAAEY,KAAK,EAAE;MAAEuB,KAAK,EAAE,MAAM;MAAEC,MAAM,EAAE;IAAO;EAAE,CAAC,CAAC,CAAC;AACtL","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["_tslib","require","_jquery","_interopRequireDefault","_react","_interopRequireWildcard","_map","_useSettings2","_mapStyle","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","_toConsumableArray","_arrayWithoutHoles","_iterableToArray","_unsupportedIterableToArray","_nonIterableSpread","TypeError","Symbol","iterator","Array","from","isArray","_arrayLikeToArray","_slicedToArray","_arrayWithHoles","_iterableToArrayLimit","_nonIterableRest","toString","slice","constructor","name","test","length","l","f","o","next","done","push","value","defaultCenter","VmMap","_a","_b","_c","_a$key","key","_a$mapType","mapType","_a$mapPoints","mapPoints","mapCenter","_a$mapPolygons","mapPolygons","currentLayer","geometryType","clickGraphic","rest","__rest","mapRef","useRef","markers","mappolygons","highlightLayer","_useSettings","useSettings","isDark","theme","_useState","useState","_useState2","points","setPoints","_useState3","_useState4","center","setCenter","_useState5","_useState6","polygons","setPolygons","_useState7","_useState8","lines","setLines","useEffect","wrapScroll","document","querySelector","addEventListener","window","scrollY","scrollTop","initMap","list","map","ele","assign","longitude","lng","latitude","lat","filterMapPolygons","filter","_ref","rings","item","id","config","paths","split","v","Number","current","addPoints","addPolygons","removeHighLightPolygons","geometryInfo","lngLats","lineWidth","lineOpacity","JSON","stringify","init","BMapGL","Map","style","styleJson","customStyle","customLight","point","Point","centerAndZoom","enableScrollWheelZoom","$","getScript","arguments","undefined","removePoints","addOverlay","Marker","positions","forEach","position","icon","Icon","url","Size","width","height","marker","offset","title","setViewport","clickPolygon","obj","type","removePolygons","cg","lineType","lineColor","color","pellucidity","polygonOption","strokeColor","strokeOpacity","strokeWeight","strokeStyle","fillColor","fillOpacity","polygonPath","_ref2","_ref3","_point","polygon","Polyline","Polygon","on","setTimeout","_ref4","_ref5","removeOverlay","concat","pointCneter","mapProps","mapId","Date","now","mapLines","mapVisiblePoints","fitView","setVisiblePoints","Math","random","React","createElement","VtxMap"],"sources":["vm-map/index.js"],"sourcesContent":["import { __rest } from \"tslib\";\n/* eslint-disable no-undef */\nimport $ from 'jquery';\nimport React, { useEffect, useRef, useState } from 'react';\nimport { VtxMap } from '@vtx/map';\nimport useSettings from '../vm-hooks/useSettings';\nimport { customStyle, customLight } from './mapStyle';\nimport './style';\nconst defaultCenter = [116.421516, 39.898331];\nexport default function VmMap(_a) {\n var _b, _c;\n var { key = 1, mapType = 'bmap', mapPoints = [], mapCenter, mapPolygons = [], currentLayer, geometryType, clickGraphic } = _a, rest = __rest(_a, [\"key\", \"mapType\", \"mapPoints\", \"mapCenter\", \"mapPolygons\", \"currentLayer\", \"geometryType\", \"clickGraphic\"]);\n const mapRef = useRef();\n const markers = useRef([]);\n const mappolygons = useRef([]);\n const highlightLayer = useRef([]);\n const { isDark, theme } = useSettings();\n const [points, setPoints] = useState([]);\n const [center, setCenter] = useState(false);\n const [polygons, setPolygons] = useState([]);\n const [lines, setLines] = useState([]);\n useEffect(() => {\n let wrapScroll = document.querySelector('.ant-modal-body');\n wrapScroll &&\n wrapScroll.addEventListener('scroll', () => {\n window.scrollY = (wrapScroll === null || wrapScroll === void 0 ? void 0 : wrapScroll.scrollTop) || 0;\n });\n }, []);\n useEffect(() => {\n if (theme !== 'light') {\n initMap();\n }\n }, [theme]);\n useEffect(() => {\n if ((mapPoints === null || mapPoints === void 0 ? void 0 : mapPoints.length) > 0) {\n const list = mapPoints.map(ele => (Object.assign(Object.assign({}, ele), { longitude: ele.lng, latitude: ele.lat }))) || [];\n setPoints(list);\n }\n }, [mapPoints]);\n useEffect(() => {\n const filterMapPolygons = mapPolygons.filter(({ rings }) => !!rings);\n if ((filterMapPolygons === null || filterMapPolygons === void 0 ? void 0 : filterMapPolygons.length) > 0) {\n if (geometryType === 'polyline') {\n setLines(filterMapPolygons.map(item => ({\n id: item.id,\n config: item.config,\n paths: item.rings.split(';').map(v => v.split(',').map(v => Number(v))),\n })));\n }\n else {\n setPolygons(filterMapPolygons.map(item => (Object.assign(Object.assign({}, item), { rings: item.rings.split(';').map(v => v.split(',').map(v => Number(v))) }))));\n }\n }\n }, [mapPolygons]);\n useEffect(() => {\n if (mapRef === null || mapRef === void 0 ? void 0 : mapRef.current) {\n addPoints(mapPoints);\n addPolygons(mapPolygons);\n }\n }, [mapPoints, mapPolygons, mapRef === null || mapRef === void 0 ? void 0 : mapRef.current]);\n useEffect(() => {\n var _a;\n if (theme !== 'light') {\n removeHighLightPolygons();\n // 清空高亮图层并绘制新图层\n if (currentLayer === null || currentLayer === void 0 ? void 0 : currentLayer.id)\n addPolygons([\n {\n id: currentLayer.id,\n rings: (_a = currentLayer === null || currentLayer === void 0 ? void 0 : currentLayer.geometryInfo) === null || _a === void 0 ? void 0 : _a.lngLats,\n config: {\n lineWidth: 2,\n lineOpacity: 0.5,\n },\n },\n ], 'highlight');\n }\n }, [theme, JSON.stringify(currentLayer)]);\n const init = () => {\n const center = mapCenter || defaultCenter;\n mapRef.current = new window.BMapGL.Map('modalMap', {\n style: { styleJson: isDark || theme == 'blue' ? customStyle : customLight },\n });\n let point = new window.BMapGL.Point(center[0], center[1]);\n // 设置中心点和层级\n mapRef.current.centerAndZoom(point, 15);\n // mapRef.current.addOverlay(new window.BMapGL.Marker(point));\n mapRef.current.enableScrollWheelZoom(); // 滚轮放大缩小\n };\n const initMap = () => {\n if (window.BMapGL) {\n init();\n }\n else {\n $.getScript(`//api.map.baidu.com/getscript?type=webgl&v=1.0&ak=1XjLLEhZhQNUzd93EjU5nOGQ`, () => {\n init();\n });\n }\n };\n // 地图添加点位\n const addPoints = (points = []) => {\n removePoints();\n if (!(points === null || points === void 0 ? void 0 : points.length)) {\n const center = mapCenter || defaultCenter;\n let point = new window.BMapGL.Point(center[0], center[1]);\n mapRef.current.addOverlay(new window.BMapGL.Marker(point));\n return;\n }\n // 添加点位\n const positions = [];\n points.forEach((item) => {\n var _a, _b;\n const position = new window.BMapGL.Point(item.lng, item.lat);\n positions.push(position);\n const icon = new window.BMapGL.Icon(item.url || require('./imgs/defaultMarker.png'), new window.BMapGL.Size(item.width || 32, item.height || 45));\n const marker = new window.BMapGL.Marker(position, {\n icon,\n offset: new window.BMapGL.Size(((_a = item === null || item === void 0 ? void 0 : item.offset) === null || _a === void 0 ? void 0 : _a.width) || -10, ((_b = item === null || item === void 0 ? void 0 : item.offset) === null || _b === void 0 ? void 0 : _b.height) || -16),\n title: item.name || '',\n });\n markers.current.push(marker);\n mapRef.current.addOverlay(marker);\n });\n mapRef.current.setViewport(positions);\n };\n // 清除地图点位\n const removePoints = () => {\n var _a;\n ((_a = markers.current) === null || _a === void 0 ? void 0 : _a.length) &&\n markers.current.forEach((marker) => {\n mapRef.current.addOverlay(marker);\n });\n markers.current = [];\n };\n //点击图元事件\n const clickPolygon = (item, e) => {\n if (typeof clickGraphic === 'function') {\n let obj = {\n item: item,\n e,\n };\n clickGraphic(obj);\n }\n };\n // 地图添加线\n const addPolygons = (polygons = [], type) => {\n removePolygons();\n const list = polygons === null || polygons === void 0 ? void 0 : polygons.filter(ele => !!ele.rings);\n if (!(list === null || list === void 0 ? void 0 : list.length))\n return;\n const points = [];\n //遍历添加图层(图元)\n polygons.map(item => {\n //初始化参数\n let cg = {\n lineType: 'solid',\n lineWidth: 5,\n lineColor: '#277ffa',\n lineOpacity: geometryType === 'polyline' ? 1 : 0.3,\n color: '#fff',\n pellucidity: 0.5,\n // isHidden: false //后期需要再加\n };\n if (item.config) {\n cg = Object.assign(Object.assign({}, cg), item.config);\n }\n //面的参数\n let polygonOption = {\n strokeColor: cg.lineColor,\n strokeOpacity: cg.lineOpacity,\n strokeWeight: cg.lineWidth,\n strokeStyle: cg.lineType,\n fillColor: cg.color,\n fillOpacity: cg.pellucidity,\n }, polygonPath = item.rings.split(';').map(item => {\n let [lng, lat] = item === null || item === void 0 ? void 0 : item.split(',');\n let _point = new window.BMapGL.Point(lng, lat);\n points.push(_point);\n return _point;\n });\n //创建面对象\n let polygon = geometryType === 'polyline'\n ? new window.BMapGL.Polyline(polygonPath, polygonOption)\n : new window.BMapGL.Polygon(polygonPath, polygonOption);\n //添加点击事件\n polygon.on('click', (e) => {\n clickPolygon(item, e);\n // 居中显示\n setTimeout(() => {\n mapRef.current.setViewport(item.rings.split(';').map(item => {\n let [lng, lat] = item === null || item === void 0 ? void 0 : item.split(',');\n let _point = new window.BMapGL.Point(lng, lat);\n return _point;\n }));\n }, 300);\n });\n if (type) {\n // 若为高亮图层,单独保存,用于单独清除\n highlightLayer.current.push(polygon);\n mapRef.current.addOverlay(polygon);\n }\n else {\n mappolygons.current.push(polygon);\n mapRef.current.addOverlay(polygon);\n }\n });\n mapRef.current.setViewport(points);\n };\n // 清除地图图元\n const removePolygons = () => {\n var _a;\n ((_a = mappolygons.current) === null || _a === void 0 ? void 0 : _a.length) &&\n mappolygons.current.forEach((polygon) => {\n mapRef.current.removeOverlay(polygon);\n });\n mappolygons.current = [];\n };\n // 清除高亮图元\n const removeHighLightPolygons = () => {\n highlightLayer.current.forEach((polygon) => {\n mapRef.current.removeOverlay(polygon);\n });\n highlightLayer.current = [];\n };\n const list = mapType !== 'olmap' ? [...polygons, ...lines] : [];\n let pointCneter;\n if ((points === null || points === void 0 ? void 0 : points.length) > 0) {\n pointCneter = [(_b = points === null || points === void 0 ? void 0 : points[0]) === null || _b === void 0 ? void 0 : _b.lng, (_c = points === null || points === void 0 ? void 0 : points[0]) === null || _c === void 0 ? void 0 : _c.lat];\n }\n let mapProps = Object.assign({ key, mapId: Date.now(), mapCenter: pointCneter || mapCenter || defaultCenter, mapType, mapPoints: points || [], mapPolygons: polygons || [], mapLines: lines || [], setCenter: center }, rest);\n // 点位层级固定显示16,可在customMapInfo传参修改\n if (list.length) {\n mapProps = Object.assign(Object.assign({}, mapProps), { mapVisiblePoints: {\n fitView: list.length ? list === null || list === void 0 ? void 0 : list.map(ele => ele.id) : [],\n type: 'all',\n }, setVisiblePoints: Math.random() * 1000 });\n }\n useEffect(() => {\n if (mapCenter && (mapCenter === null || mapCenter === void 0 ? void 0 : mapCenter.length) > 0) {\n setCenter(true);\n setTimeout(() => setCenter(false), 2500);\n }\n }, [JSON.stringify(mapCenter)]);\n return theme == 'light' ? (React.createElement(VtxMap, Object.assign({}, mapProps))) : (React.createElement(\"div\", { id: \"modalMap\", style: { width: '100%', height: '100%' } }));\n}\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAAC,OAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,MAAA,GAAAC,uBAAA,CAAAJ,OAAA;AACA,IAAAK,IAAA,GAAAL,OAAA;AACA,IAAAM,aAAA,GAAAJ,sBAAA,CAAAF,OAAA;AACA,IAAAO,SAAA,GAAAP,OAAA;AACAA,OAAA;AAAiB,SAAAQ,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,O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rL","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ require("./index.css");
4
+ //# sourceMappingURL=css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"css.js","names":["require"],"sources":["vm-map/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAAA,OAAA","ignoreList":[]}
@@ -0,0 +1,3 @@
1
+ .default-base-map {
2
+ border: 1px solid var(--bg-border-color2);
3
+ }
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ require("./index.less");
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":["require"],"sources":["vm-map/style/index.js"],"sourcesContent":["import './index.less';\n"],"mappings":";;AAAAA,OAAA","ignoreList":[]}
@@ -0,0 +1,3 @@
1
+ .default-base-map {
2
+ border: 1px solid var(--bg-border-color2);
3
+ }
@@ -20,27 +20,29 @@ var RmMonthTrend = function RmMonthTrend(_ref) {
20
20
  values = data.values;
21
21
  var _useSettings = (0, _useSettings2["default"])(),
22
22
  chartColor = _useSettings.chartColor,
23
- chartFontColor = _useSettings.chartFontColor;
23
+ chartFontColor = _useSettings.chartFontColor,
24
+ theme = _useSettings.theme;
24
25
  var option = {
25
26
  color: chartColor,
26
27
  tooltip: {
27
- trigger: 'axis'
28
+ trigger: 'axis',
29
+ formatter: '维保次数: {c0}次'
28
30
  },
29
31
  legend: {
30
32
  show: true,
31
33
  itemWith: 6,
32
34
  itemHeight: 6,
33
35
  textStyle: {
34
- color: chartFontColor,
36
+ color: theme === 'blue' ? '#fff' : chartFontColor,
35
37
  fontSize: 12
36
38
  },
37
39
  data: legends || []
38
40
  },
39
41
  grid: {
40
42
  top: 28,
41
- left: 24,
42
- bottom: 24,
43
- right: 24,
43
+ left: 4,
44
+ bottom: 14,
45
+ right: 4,
44
46
  containLabel: true
45
47
  },
46
48
  xAxis: {
@@ -50,7 +52,7 @@ var RmMonthTrend = function RmMonthTrend(_ref) {
50
52
  show: false
51
53
  },
52
54
  axisLabel: {
53
- color: chartFontColor
55
+ color: theme === 'blue' ? '#fff' : chartFontColor
54
56
  },
55
57
  data: names || []
56
58
  },
@@ -58,13 +60,13 @@ var RmMonthTrend = function RmMonthTrend(_ref) {
58
60
  name: '次数(次)',
59
61
  type: 'value',
60
62
  nameTextStyle: {
61
- color: chartFontColor
63
+ color: theme === 'blue' ? '#fff' : chartFontColor
62
64
  },
63
65
  axisTick: {
64
66
  show: false
65
67
  },
66
68
  axisLabel: {
67
- color: chartFontColor
69
+ color: theme === 'blue' ? '#fff' : chartFontColor
68
70
  },
69
71
  axisLine: {
70
72
  show: true
@@ -77,7 +79,7 @@ var RmMonthTrend = function RmMonthTrend(_ref) {
77
79
  }
78
80
  }],
79
81
  series: [{
80
- name: '维保次数',
82
+ // name: '维保次数',
81
83
  type: 'line',
82
84
  yAxisIndex: 0,
83
85
  data: values[0] || []
@@ -1 +1 @@
1
- {"version":3,"file":"RmMonthTrend.js","names":["_react","_interopRequireDefault","require","_echartsForReact","_vmSubTitle","_useSettings2","e","__esModule","RmMonthTrend","_ref","data","legends","names","values","_useSettings","useSettings","chartColor","chartFontColor","option","color","tooltip","trigger","legend","show","itemWith","itemHeight","textStyle","fontSize","grid","top","left","bottom","right","containLabel","xAxis","type","boundaryGap","axisTick","axisLabel","yAxis","name","nameTextStyle","axisLine","splitLine","lineStyle","series","yAxisIndex","React","createElement","className","SubTitle","title","ReactEcharts","notMerge","lazyUpdate","style","height","width","_default","exports"],"sources":["vm-repair-maintain/RmMonthTrend.js"],"sourcesContent":["/**\n * 月度趋势分析\n */\nimport React from 'react';\nimport ReactEcharts from 'echarts-for-react';\nimport SubTitle from '../vm-sub-title';\nimport useSettings from '../vm-hooks/useSettings';\nconst RmMonthTrend = ({ data }) => {\n const { legends, names, values } = data;\n const { chartColor, chartFontColor } = useSettings();\n const option = {\n color: chartColor,\n tooltip: {\n trigger: 'axis',\n },\n legend: {\n show: true,\n itemWith: 6,\n itemHeight: 6,\n textStyle: {\n color: chartFontColor,\n fontSize: 12,\n },\n data: legends || [],\n },\n grid: {\n top: 28,\n left: 24,\n bottom: 24,\n right: 24,\n containLabel: true,\n },\n xAxis: {\n type: 'category',\n boundaryGap: false,\n axisTick: {\n show: false,\n },\n axisLabel: {\n color: chartFontColor,\n },\n data: names || [],\n },\n yAxis: [\n {\n name: '次数(次)',\n type: 'value',\n nameTextStyle: {\n color: chartFontColor,\n },\n axisTick: {\n show: false,\n },\n axisLabel: {\n color: chartFontColor,\n },\n axisLine: {\n show: true,\n },\n splitLine: {\n lineStyle: {\n type: 'dashed',\n color: 'rgba(151,151,151,0.28)',\n },\n },\n },\n ],\n series: [\n {\n name: '维保次数',\n type: 'line',\n yAxisIndex: 0,\n data: values[0] || [],\n },\n ],\n };\n return (React.createElement(\"div\", { className: \"rm-month-trend\" },\n React.createElement(SubTitle, { title: \"\\u6708\\u5EA6\\u8D8B\\u52BF\\u5206\\u6790\" }),\n React.createElement(\"div\", { className: \"rm-month-trend-chart\" },\n React.createElement(ReactEcharts, { option: option, notMerge: true, lazyUpdate: true, style: { height: '100%', width: '100%' } }))));\n};\nexport default RmMonthTrend;\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,gBAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,WAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,aAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAAkD,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,gBAAAA,CAAA;AANlD;AACA;AACA;;AAKA,IAAME,YAAY,GAAG,SAAfA,YAAYA,CAAAC,IAAA,EAAiB;EAAA,IAAXC,IAAI,GAAAD,IAAA,CAAJC,IAAI;EACxB,IAAQC,OAAO,GAAoBD,IAAI,CAA/BC,OAAO;IAAEC,KAAK,GAAaF,IAAI,CAAtBE,KAAK;IAAEC,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CACJ;MACIL,IAAI,EAAE,MAAM;MACZL,IAAI,EAAE,MAAM;MACZW,UAAU,EAAE,CAAC;MACbpC,IAAI,EAAEG,MAAM,CAAC,CAAC,CAAC,IAAI;IACvB,CAAC;EAET,CAAC;EACD,oBAAQkC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAE;EAAiB,CAAC,eAC9DF,iBAAK,CAACC,aAAa,CAACE,sBAAQ,EAAE;IAAEC,KAAK,EAAE;EAAuC,CAAC,CAAC,eAChFJ,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAE;EAAuB,CAAC,eAC5DF,iBAAK,CAACC,aAAa,CAACI,2BAAY,EAAE;IAAElC,MAAM,EAAEA,MAAM;IAAEmC,QAAQ,EAAE,IAAI;IAAEC,UAAU,EAAE,IAAI;IAAEC,KAAK,EAAE;MAAEC,MAAM,EAAE,MAAM;MAAEC,KAAK,EAAE;IAAO;EAAE,CAAC,CAAC,CAAC,CAAC;AAC/I,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cACanD,YAAY","ignoreList":[]}
1
+ {"version":3,"file":"RmMonthTrend.js","names":["_react","_interopRequireDefault","require","_echartsForReact","_vmSubTitle","_useSettings2","e","__esModule","RmMonthTrend","_ref","data","legends","names","values","_useSettings","useSettings","chartColor","chartFontColor","theme","option","color","tooltip","trigger","formatter","legend","show","itemWith","itemHeight","textStyle","fontSize","grid","top","left","bottom","right","containLabel","xAxis","type","boundaryGap","axisTick","axisLabel","yAxis","name","nameTextStyle","axisLine","splitLine","lineStyle","series","yAxisIndex","React","createElement","className","SubTitle","title","ReactEcharts","notMerge","lazyUpdate","style","height","width","_default","exports"],"sources":["vm-repair-maintain/RmMonthTrend.js"],"sourcesContent":["/**\n * 月度趋势分析\n */\nimport React from 'react';\nimport ReactEcharts from 'echarts-for-react';\nimport SubTitle from '../vm-sub-title';\nimport useSettings from '../vm-hooks/useSettings';\nconst RmMonthTrend = ({ data }) => {\n const { legends, names, values } = data;\n const { chartColor, chartFontColor, theme } = useSettings();\n const option = {\n color: chartColor,\n tooltip: {\n trigger: 'axis',\n formatter: '维保次数: {c0}次',\n },\n legend: {\n show: true,\n itemWith: 6,\n itemHeight: 6,\n textStyle: {\n color: theme === 'blue' ? '#fff' : chartFontColor,\n fontSize: 12,\n },\n data: legends || [],\n },\n grid: {\n top: 28,\n left: 4,\n bottom: 14,\n right: 4,\n containLabel: true,\n },\n xAxis: {\n type: 'category',\n boundaryGap: false,\n axisTick: {\n show: false,\n },\n axisLabel: {\n color: theme === 'blue' ? '#fff' : chartFontColor,\n },\n data: names || [],\n },\n yAxis: [\n {\n name: '次数(次)',\n type: 'value',\n nameTextStyle: {\n color: theme === 'blue' ? '#fff' : chartFontColor,\n },\n axisTick: {\n show: false,\n },\n axisLabel: {\n color: theme === 'blue' ? '#fff' : chartFontColor,\n },\n axisLine: {\n show: true,\n },\n splitLine: {\n lineStyle: {\n type: 'dashed',\n color: 'rgba(151,151,151,0.28)',\n },\n },\n },\n ],\n series: [\n {\n // name: '维保次数',\n type: 'line',\n yAxisIndex: 0,\n data: values[0] || [],\n },\n ],\n };\n return (React.createElement(\"div\", { className: \"rm-month-trend\" },\n React.createElement(SubTitle, { title: \"\\u6708\\u5EA6\\u8D8B\\u52BF\\u5206\\u6790\" }),\n React.createElement(\"div\", { className: \"rm-month-trend-chart\" },\n React.createElement(ReactEcharts, { option: option, notMerge: true, lazyUpdate: true, style: { height: '100%', width: '100%' } }))));\n};\nexport default RmMonthTrend;\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,gBAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,WAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,aAAA,GAAAJ,sBAAA,CAAAC,OAAA;AAAkD,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,C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;MACIC,IAAI,EAAE,OAAO;MACbL,IAAI,EAAE,OAAO;MACbM,aAAa,EAAE;QACXvB,KAAK,EAAEF,KAAK,KAAK,MAAM,GAAG,MAAM,GAAGD;MACvC,CAAC;MACDsB,QAAQ,EAAE;QACNd,IAAI,EAAE;MACV,CAAC;MACDe,SAAS,EAAE;QACPpB,KAAK,EAAEF,KAAK,KAAK,MAAM,GAAG,MAAM,GAAGD;MACvC,CAAC;MACD2B,QAAQ,EAAE;QACNnB,IAAI,EAAE;MACV,CAAC;MACDoB,SAAS,EAAE;QACPC,SAAS,EAAE;UACPT,IAAI,EAAE,QAAQ;UACdjB,KAAK,EAAE;QACX;MACJ;IACJ,CAAC,CACJ;IACD2B,MAAM,EAAE,CACJ;MACI;MACAV,IAAI,EAAE,MAAM;MACZW,UAAU,EAAE,CAAC;MACbtC,IAAI,EAAEG,MAAM,CAAC,CAAC,CAAC,IAAI;IACvB,CAAC;EAET,CAAC;EACD,oBAAQoC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAE;EAAiB,CAAC,eAC9DF,iBAAK,CAACC,aAAa,CAACE,sBAAQ,EAAE;IAAEC,KAAK,EAAE;EAAuC,CAAC,CAAC,eAChFJ,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAE;EAAuB,CAAC,eAC5DF,iBAAK,CAACC,aAAa,CAACI,2BAAY,EAAE;IAAEnC,MAAM,EAAEA,MAAM;IAAEoC,QAAQ,EAAE,IAAI;IAAEC,UAAU,EAAE,IAAI;IAAEC,KAAK,EAAE;MAAEC,MAAM,EAAE,MAAM;MAAEC,KAAK,EAAE;IAAO;EAAE,CAAC,CAAC,CAAC,CAAC;AAC/I,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cACarD,YAAY","ignoreList":[]}
@@ -80,14 +80,12 @@ function RmRecord(props) {
80
80
  width: 100,
81
81
  sorter: true,
82
82
  render: function render(text) {
83
- return /*#__PURE__*/_react["default"].createElement("div", {
83
+ return /*#__PURE__*/_react["default"].createElement("span", {
84
84
  style: {
85
- color: '#FF7272',
86
- textAlign: 'right'
85
+ color: '#FF7272'
87
86
  }
88
- }, text || 0);
89
- },
90
- align: 'right'
87
+ }, text);
88
+ }
91
89
  }, {
92
90
  title: '申请人',
93
91
  dataIndex: 'applyUserName',
@@ -1 +1 @@
1
- {"version":3,"file":"RmRecord.js","names":["_react","_interopRequireDefault","require","_moment","_vmTable","_vmSubTitle","_api","_ahooks","e","__esModule","_slicedToArray","r","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","a","_arrayLikeToArray","t","toString","call","slice","constructor","name","Array","from","test","length","n","l","Symbol","iterator","i","u","f","o","next","Object","done","push","value","isArray","RmRecord","props","id","_useSetState","useSetState","pagination","current","pageSize","total","sorter","_useSetState2","state","setState","startDate","moment","startOf","format","endDate","_BaseService$useRmRec","BaseService","useRmRecord","rmRecord","getColor","code","color","columns","title","dataIndex","key","width","ellipsis","render","text","React","createElement","style","textAlign","align","record","auditStatus","display","height","borderRadius","marginRight","background","handleTableChange","concat","columnKey","order","pageChange","page","assign","tableProps","defaultPageSize","onChange","dataSource","rows","Fragment","SubTitle","VMTable"],"sources":["vm-repair-maintain/RmRecord.js"],"sourcesContent":["/**\n * 维保记录\n */\nimport React from 'react';\nimport moment from 'moment';\nimport VMTable from '../vm-table';\nimport SubTitle from '../vm-sub-title';\nimport { BaseService } from './api';\nimport { useSetState } from 'ahooks';\nexport default function RmRecord(props) {\n const { id } = props;\n const [state, setState] = useSetState({\n pagination: {\n current: 1,\n pageSize: 10,\n total: 0,\n },\n sorter: '',\n });\n const { pagination, sorter } = state;\n const startDate = moment()\n .startOf('y')\n .format('YYYY-MM-DD HH:mm:ss');\n const endDate = moment().format('YYYY-MM-DD HH:mm:ss');\n const { rmRecord } = BaseService.useRmRecord(id, startDate, endDate, pagination.current - 1, sorter);\n const getColor = (code) => {\n let color = '#B4B4B4';\n switch (code) {\n case 'AUDIT_PASSED':\n color = '#1FEFA9';\n break;\n case 'AUDIT_FAILED':\n color = '#FF6A65';\n break;\n case 'TO_BE_AUDITED':\n color = '#FF6A65';\n break;\n case 'REVOKED':\n color = '#FA69FF';\n break;\n case 'AUDITING':\n color = '#FFBD1E';\n break;\n default:\n break;\n }\n return color;\n };\n const columns = [\n {\n title: '工单编号',\n dataIndex: 'workOrderNo',\n key: 'workOrderNo',\n width: 120,\n ellipsis: true,\n },\n {\n title: '维保类型',\n dataIndex: 'maintainTypeName',\n key: 'maintainTypeName',\n width: 120,\n ellipsis: true,\n },\n {\n title: '申请金额',\n dataIndex: 'fee',\n key: 'fee',\n width: 100,\n sorter: true,\n render: (text) => {\n return React.createElement(\"div\", { style: { color: '#FF7272', textAlign: 'right' } }, text || 0);\n },\n align: 'right',\n },\n {\n title: '申请人',\n dataIndex: 'applyUserName',\n key: 'applyUserName',\n width: 100,\n },\n {\n title: '申请时间',\n dataIndex: 'applyTime',\n key: 'applyTime',\n width: 150,\n sorter: true,\n },\n {\n title: '维保状态',\n dataIndex: 'auditStatusDesc',\n key: 'auditStatusDesc',\n width: 120,\n render: (text, record) => {\n return (React.createElement(\"div\", { style: { color: getColor(record.auditStatus) } },\n React.createElement(\"div\", { style: {\n display: 'inline-block',\n width: '8px',\n height: '8px',\n borderRadius: '50%',\n marginRight: '6px',\n background: getColor(record.auditStatus),\n } }),\n text));\n },\n },\n {\n title: '维保时间',\n dataIndex: 'lastAuditTime',\n key: 'lastAuditTime',\n width: 150,\n sorter: true,\n },\n ];\n const handleTableChange = (sorter) => {\n setState({\n sorter: `${sorter.columnKey || 'applyTime'},${sorter.order === 'ascend' ? 'ASC' : 'DESC'}`,\n });\n };\n const pageChange = (page) => {\n setState({\n pagination: Object.assign(Object.assign({}, pagination), { current: page }),\n });\n };\n const tableProps = {\n pagination: Object.assign(Object.assign({}, pagination), { total: rmRecord.total, defaultPageSize: 10, onChange: pageChange }),\n handleTableChange: handleTableChange,\n height: 180,\n dataSource: rmRecord.rows,\n };\n return (React.createElement(React.Fragment, null,\n React.createElement(SubTitle, { title: \"\\u7EF4\\u4FDD\\u8BB0\\u5F55\" }),\n React.createElement(VMTable, Object.assign({ columns: columns }, tableProps))));\n}\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,QAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,WAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,IAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AAAqC,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,gBAAAA,CAAA;AAAA,SAAAE,eAAAC,CAAA,EAAAH,CAAA,WAAAI,eAAA,CAAAD,CAAA,KAAAE,qBAAA,CAAAF,CAAA,EAAAH,CAAA,KAAAM,2BAAA,CAAAH,CAAA,EAAAH,CAAA,KAAAO,gBAAA;AAAA,SAAAA,iBAAA,cAAAC,SAAA;AAAA,SAAAF,4BAAAH,CAAA,EAAAM,CAAA,QAAAN,CAAA,2BAAAA,CAAA,SAAAO,iBAAA,CAAAP,CAAA,EAAAM,CAAA,OAAAE,CAAA,MAAAC,QAAA,CAAAC,IAAA,CAAAV,CAAA,EAAAW,KAAA,6BAAAH,CAAA,IAAAR,CAAA,CAAAY,WAAA,KAAAJ,CAAA,GAAAR,CAAA,CAAAY,WAAA,CAAAC,IAAA,aAAAL,CAAA,cAAAA,CAAA,GAAAM,KAAA,CAAAC,IAAA,CAAAf,CAAA,oBAAAQ,CAAA,+CAAAQ,IAAA,CAAAR,CAAA,IAAAD,iBAAA,CAAAP,CAAA,EAAAM,CAAA;AAAA,SAAAC,kBAAAP,CAAA,EAAAM,CAAA,aAAAA,CAAA,IAAAA,CAAA,GAAAN,CAAA,CAAAiB,MAAA,MAAAX,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,CAACwB,QAAQ,EAAE,IAAI,eAC5CxB,iBAAK,CAACC,aAAa,CAACwB,sBAAQ,EAAE;IAAEhC,KAAK,EAAE;EAA2B,CAAC,CAAC,eACpEO,iBAAK,CAACC,aAAa,CAACyB,mBAAO,EAAEhE,MAAM,CAACwD,MAAM,CAAC;IAAE1B,OAAO,EAAEA;EAAQ,CAAC,EAAE2B,UAAU,CAAC,CAAC,CAAC;AACtF","ignoreList":[]}
1
+ {"version":3,"file":"RmRecord.js","names":["_react","_interopRequireDefault","require","_moment","_vmTable","_vmSubTitle","_api","_ahooks","e","__esModule","_slicedToArray","r","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","TypeError","a","_arrayLikeToArray","t","toString","call","slice","constructor","name","Array","from","test","length","n","l","Symbol","iterator","i","u","f","o","next","Object","done","push","value","isArray","RmRecord","props","id","_useSetState","useSetState","pagination","current","pageSize","total","sorter","_useSetState2","state","setState","startDate","moment","startOf","format","endDate","_BaseService$useRmRec","BaseService","useRmRecord","rmRecord","getColor","code","color","columns","title","dataIndex","key","width","ellipsis","render","text","React","createElement","style","record","auditStatus","display","height","borderRadius","marginRight","background","handleTableChange","concat","columnKey","order","pageChange","page","assign","tableProps","defaultPageSize","onChange","dataSource","rows","Fragment","SubTitle","VMTable"],"sources":["vm-repair-maintain/RmRecord.js"],"sourcesContent":["/**\n * 维保记录\n */\nimport React from 'react';\nimport moment from 'moment';\nimport VMTable from '../vm-table';\nimport SubTitle from '../vm-sub-title';\nimport { BaseService } from './api';\nimport { useSetState } from 'ahooks';\nexport default function RmRecord(props) {\n const { id } = props;\n const [state, setState] = useSetState({\n pagination: {\n current: 1,\n pageSize: 10,\n total: 0,\n },\n sorter: '',\n });\n const { pagination, sorter } = state;\n const startDate = moment()\n .startOf('y')\n .format('YYYY-MM-DD HH:mm:ss');\n const endDate = moment().format('YYYY-MM-DD HH:mm:ss');\n const { rmRecord } = BaseService.useRmRecord(id, startDate, endDate, pagination.current - 1, sorter);\n const getColor = (code) => {\n let color = '#B4B4B4';\n switch (code) {\n case 'AUDIT_PASSED':\n color = '#1FEFA9';\n break;\n case 'AUDIT_FAILED':\n color = '#FF6A65';\n break;\n case 'TO_BE_AUDITED':\n color = '#FF6A65';\n break;\n case 'REVOKED':\n color = '#FA69FF';\n break;\n case 'AUDITING':\n color = '#FFBD1E';\n break;\n default:\n break;\n }\n return color;\n };\n const columns = [\n {\n title: '工单编号',\n dataIndex: 'workOrderNo',\n key: 'workOrderNo',\n width: 120,\n ellipsis: true,\n },\n {\n title: '维保类型',\n dataIndex: 'maintainTypeName',\n key: 'maintainTypeName',\n width: 120,\n ellipsis: true,\n },\n {\n title: '申请金额',\n dataIndex: 'fee',\n key: 'fee',\n width: 100,\n sorter: true,\n render: (text) => {\n return React.createElement(\"span\", { style: { color: '#FF7272' } }, text);\n },\n },\n {\n title: '申请人',\n dataIndex: 'applyUserName',\n key: 'applyUserName',\n width: 100,\n },\n {\n title: '申请时间',\n dataIndex: 'applyTime',\n key: 'applyTime',\n width: 150,\n sorter: true,\n },\n {\n title: '维保状态',\n dataIndex: 'auditStatusDesc',\n key: 'auditStatusDesc',\n width: 120,\n render: (text, record) => {\n return (React.createElement(\"div\", { style: { color: getColor(record.auditStatus) } },\n React.createElement(\"div\", { style: {\n display: 'inline-block',\n width: '8px',\n height: '8px',\n borderRadius: '50%',\n marginRight: '6px',\n background: getColor(record.auditStatus),\n } }),\n text));\n },\n },\n {\n title: '维保时间',\n dataIndex: 'lastAuditTime',\n key: 'lastAuditTime',\n width: 150,\n sorter: true,\n },\n ];\n const handleTableChange = (sorter) => {\n setState({\n sorter: `${sorter.columnKey || 'applyTime'},${sorter.order === 'ascend' ? 'ASC' : 'DESC'}`,\n });\n };\n const pageChange = (page) => {\n setState({\n pagination: Object.assign(Object.assign({}, pagination), { current: page }),\n });\n };\n const tableProps = {\n pagination: Object.assign(Object.assign({}, pagination), { total: rmRecord.total, defaultPageSize: 10, onChange: pageChange }),\n handleTableChange: handleTableChange,\n height: 180,\n dataSource: rmRecord.rows,\n };\n return (React.createElement(React.Fragment, null,\n React.createElement(SubTitle, { title: \"\\u7EF4\\u4FDD\\u8BB0\\u5F55\" }),\n React.createElement(VMTable, Object.assign({ columns: columns }, tableProps))));\n}\n"],"mappings":";;;;;;AAGA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,QAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,WAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,IAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAL,OAAA;AAAqC,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,gBAAAA,CAAA;AAAA,SAAAE,eAAAC,CAAA,EAAAH,CAAA,WAAAI,eAAA,CAAAD,CAAA,KAAAE,qBAAA,CAAAF,CAAA,EAAAH,CAAA,KAAAM,2BAAA,CAAAH,CAAA,EAAAH,CAAA,KAAAO,gBAAA;AAAA,SAAAA,iBAAA,cAAAC,SAAA;AAAA,SAAAF,4BAAAH,CAAA,EAAAM,CAAA,QAAAN,CAAA,2BAAAA,CAAA,SAAAO,iBAAA,CAAAP,CAAA,EAAAM,CAAA,OAAAE,CAAA,MAAAC,QAAA,CAAAC,IAAA,CAAAV,CAAA,EAAAW,KAAA,6BAAAH,CAAA,IAAAR,CAAA,CAAAY,WAAA,KAAAJ,CAAA,GAAAR,CAAA,CAAAY,WAAA,CAAAC,IAAA,aAAAL,CAAA,cAAAA,CAAA,GAAAM,KAAA,CAAAC,IAAA,CAAAf,CAAA,oBAAAQ,CAAA,+CAAAQ,IAAA,CAAAR,CAAA,IAAAD,iBAAA,CAAAP,CAAA,EAAAM,CAAA;AAAA,SAAAC,kBAAAP,CAAA,EAAAM,CAAA,aAAAA,CAAA,IAAAA,CAAA,GAAAN,CAAA,CAA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,CAACC,aAAa,CAACsB,sBAAQ,EAAE;IAAE9B,KAAK,EAAE;EAA2B,CAAC,CAAC,eACpEO,iBAAK,CAACC,aAAa,CAACuB,mBAAO,EAAE9D,MAAM,CAACsD,MAAM,CAAC;IAAExB,OAAO,EAAEA;EAAQ,CAAC,EAAEyB,UAAU,CAAC,CAAC,CAAC;AACtF","ignoreList":[]}
@@ -19,13 +19,15 @@ var RmType = function RmType(props) {
19
19
  var _useSettings = (0, _useSettings2["default"])(),
20
20
  isDark = _useSettings.isDark,
21
21
  chartColor = _useSettings.chartColor,
22
- chartFontColor = _useSettings.chartFontColor;
22
+ chartFontColor = _useSettings.chartFontColor,
23
+ theme = _useSettings.theme;
23
24
  var option = {
24
25
  color: chartColor,
25
26
  backgroundColor: 'transparent',
26
27
  tooltip: {
27
28
  show: true,
28
- trigger: 'item'
29
+ trigger: 'item',
30
+ formatter: '{b}: {c0}次'
29
31
  },
30
32
  legend: {
31
33
  orient: 'vertical',
@@ -48,12 +50,12 @@ var RmType = function RmType(props) {
48
50
  },
49
51
  textStyle: {
50
52
  fontSize: 14,
51
- color: chartFontColor
53
+ color: theme === 'blue' ? '#fff' : chartFontColor
52
54
  },
53
55
  pageIconColor: chartFontColor,
54
56
  pageIconInactiveColor: chartFontColor,
55
57
  pageTextStyle: {
56
- color: chartFontColor
58
+ color: theme === 'blue' ? '#fff' : chartFontColor
57
59
  }
58
60
  },
59
61
  series: [{