@vtx/modals2 2.14.21 → 2.14.23

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 (730) hide show
  1. package/lib/index.js +1 -1
  2. package/lib/index.js.map +1 -1
  3. package/lib/style/css.js.map +1 -1
  4. package/lib/style/index.js.map +1 -1
  5. package/lib/util/index.js +2 -4
  6. package/lib/util/index.js.map +1 -1
  7. package/lib/vm-alarm-info/Components/AlarmRecord.js +12 -11
  8. package/lib/vm-alarm-info/Components/AlarmRecord.js.map +1 -1
  9. package/lib/vm-alarm-info/Components/AlarmStatistics.js +16 -15
  10. package/lib/vm-alarm-info/Components/AlarmStatistics.js.map +1 -1
  11. package/lib/vm-alarm-info/Components/AlarmTrend.js +12 -11
  12. package/lib/vm-alarm-info/Components/AlarmTrend.js.map +1 -1
  13. package/lib/vm-alarm-info/Components/CurrentAlarm.js +12 -11
  14. package/lib/vm-alarm-info/Components/CurrentAlarm.js.map +1 -1
  15. package/lib/vm-alarm-info/Components/CurrentAlarmNew.js +15 -14
  16. package/lib/vm-alarm-info/Components/CurrentAlarmNew.js.map +1 -1
  17. package/lib/vm-alarm-info/api.js +1 -2
  18. package/lib/vm-alarm-info/api.js.map +1 -1
  19. package/lib/vm-alarm-info/index.js +16 -16
  20. package/lib/vm-alarm-info/index.js.map +1 -1
  21. package/lib/vm-alarm-info/style/css.js.map +1 -1
  22. package/lib/vm-alarm-info/style/index.js.map +1 -1
  23. package/lib/vm-alarm-situation/api.js +2 -3
  24. package/lib/vm-alarm-situation/api.js.map +1 -1
  25. package/lib/vm-alarm-situation/index.js +19 -19
  26. package/lib/vm-alarm-situation/index.js.map +1 -1
  27. package/lib/vm-alarm-situation/style/css.js.map +1 -1
  28. package/lib/vm-alarm-situation/style/index.js.map +1 -1
  29. package/lib/vm-alarm-situation-pt/api.js +1 -3
  30. package/lib/vm-alarm-situation-pt/api.js.map +1 -1
  31. package/lib/vm-alarm-situation-pt/index.js +13 -14
  32. package/lib/vm-alarm-situation-pt/index.js.map +1 -1
  33. package/lib/vm-alarm-situation-pt/style/css.js.map +1 -1
  34. package/lib/vm-alarm-situation-pt/style/index.js.map +1 -1
  35. package/lib/vm-analysis-comparison/api.js +2 -3
  36. package/lib/vm-analysis-comparison/api.js.map +1 -1
  37. package/lib/vm-analysis-comparison/index.js +17 -17
  38. package/lib/vm-analysis-comparison/index.js.map +1 -1
  39. package/lib/vm-analysis-comparison/style/css.js.map +1 -1
  40. package/lib/vm-analysis-comparison/style/index.js.map +1 -1
  41. package/lib/vm-appraisal-info/AppraisalBase.js +2 -3
  42. package/lib/vm-appraisal-info/AppraisalBase.js.map +1 -1
  43. package/lib/vm-appraisal-info/AppraisalTop5.js +4 -5
  44. package/lib/vm-appraisal-info/AppraisalTop5.js.map +1 -1
  45. package/lib/vm-appraisal-info/List.js +9 -8
  46. package/lib/vm-appraisal-info/List.js.map +1 -1
  47. package/lib/vm-appraisal-info/ListKh.js +11 -10
  48. package/lib/vm-appraisal-info/ListKh.js.map +1 -1
  49. package/lib/vm-appraisal-info/ListZg.js +11 -10
  50. package/lib/vm-appraisal-info/ListZg.js.map +1 -1
  51. package/lib/vm-appraisal-info/Wtlx.js +5 -6
  52. package/lib/vm-appraisal-info/Wtlx.js.map +1 -1
  53. package/lib/vm-appraisal-info/Zgxxhz.js +2 -3
  54. package/lib/vm-appraisal-info/Zgxxhz.js.map +1 -1
  55. package/lib/vm-appraisal-info/api.js +1 -2
  56. package/lib/vm-appraisal-info/api.js.map +1 -1
  57. package/lib/vm-appraisal-info/index.js +19 -18
  58. package/lib/vm-appraisal-info/index.js.map +1 -1
  59. package/lib/vm-appraisal-info/style/css.js.map +1 -1
  60. package/lib/vm-appraisal-info/style/index.js.map +1 -1
  61. package/lib/vm-base-list/OpenArrow.js +5 -6
  62. package/lib/vm-base-list/OpenArrow.js.map +1 -1
  63. package/lib/vm-base-list/index.js +15 -16
  64. package/lib/vm-base-list/index.js.map +1 -1
  65. package/lib/vm-base-list/style/css.js.map +1 -1
  66. package/lib/vm-base-list/style/index.js.map +1 -1
  67. package/lib/vm-button/index.js +2 -3
  68. package/lib/vm-button/index.js.map +1 -1
  69. package/lib/vm-button/style/css.js.map +1 -1
  70. package/lib/vm-button/style/index.js.map +1 -1
  71. package/lib/vm-charts/Distribute1.js +7 -8
  72. package/lib/vm-charts/Distribute1.js.map +1 -1
  73. package/lib/vm-charts/Gauge1.js +2 -3
  74. package/lib/vm-charts/Gauge1.js.map +1 -1
  75. package/lib/vm-charts/Line.js +12 -14
  76. package/lib/vm-charts/Line.js.map +1 -1
  77. package/lib/vm-charts/Line1.js +2 -3
  78. package/lib/vm-charts/Line1.js.map +1 -1
  79. package/lib/vm-charts/Pie.js +7 -9
  80. package/lib/vm-charts/Pie.js.map +1 -1
  81. package/lib/vm-charts/index.js +1 -1
  82. package/lib/vm-charts/index.js.map +1 -1
  83. package/lib/vm-checkbox/index.js +3 -5
  84. package/lib/vm-checkbox/index.js.map +1 -1
  85. package/lib/vm-checkbox/style/css.js.map +1 -1
  86. package/lib/vm-checkbox/style/index.js.map +1 -1
  87. package/lib/vm-container/index.js +5 -7
  88. package/lib/vm-container/index.js.map +1 -1
  89. package/lib/vm-container/style/css.js.map +1 -1
  90. package/lib/vm-container/style/index.js.map +1 -1
  91. package/lib/vm-correlation-comparison/api.js +2 -3
  92. package/lib/vm-correlation-comparison/api.js.map +1 -1
  93. package/lib/vm-correlation-comparison/index.js +17 -18
  94. package/lib/vm-correlation-comparison/index.js.map +1 -1
  95. package/lib/vm-correlation-comparison/style/css.js.map +1 -1
  96. package/lib/vm-correlation-comparison/style/index.js.map +1 -1
  97. package/lib/vm-empty/index.js +2 -3
  98. package/lib/vm-empty/index.js.map +1 -1
  99. package/lib/vm-empty/style/css.js.map +1 -1
  100. package/lib/vm-empty/style/index.js.map +1 -1
  101. package/lib/vm-filter/index.js +16 -23
  102. package/lib/vm-filter/index.js.map +1 -1
  103. package/lib/vm-filter/style/css.js.map +1 -1
  104. package/lib/vm-filter/style/index.js.map +1 -1
  105. package/lib/vm-hooks/useSettings.js +1 -2
  106. package/lib/vm-hooks/useSettings.js.map +1 -1
  107. package/lib/vm-iframe-modal/index.js +4 -5
  108. package/lib/vm-iframe-modal/index.js.map +1 -1
  109. package/lib/vm-iframe-modal/style/css.js.map +1 -1
  110. package/lib/vm-iframe-modal/style/index.js.map +1 -1
  111. package/lib/vm-image-text/index.js +4 -5
  112. package/lib/vm-image-text/index.js.map +1 -1
  113. package/lib/vm-image-text/style/css.js.map +1 -1
  114. package/lib/vm-image-text/style/index.js.map +1 -1
  115. package/lib/vm-info-collection/index.js +10 -11
  116. package/lib/vm-info-collection/index.js.map +1 -1
  117. package/lib/vm-info-collection/style/css.js.map +1 -1
  118. package/lib/vm-info-collection/style/index.js.map +1 -1
  119. package/lib/vm-map/index.js +34 -23
  120. package/lib/vm-map/index.js.map +1 -1
  121. package/lib/vm-map/mapStyle.js +7 -14
  122. package/lib/vm-map/mapStyle.js.map +1 -1
  123. package/lib/vm-modal-table/index.js +4 -5
  124. package/lib/vm-modal-table/index.js.map +1 -1
  125. package/lib/vm-modal-table/style/css.js.map +1 -1
  126. package/lib/vm-modal-table/style/index.js.map +1 -1
  127. package/lib/vm-nodata/index.js +1 -1
  128. package/lib/vm-nodata/index.js.map +1 -1
  129. package/lib/vm-radio/index.js +3 -5
  130. package/lib/vm-radio/index.js.map +1 -1
  131. package/lib/vm-radio/style/css.js.map +1 -1
  132. package/lib/vm-radio/style/index.js.map +1 -1
  133. package/lib/vm-real-time-monitor/api.js +2 -3
  134. package/lib/vm-real-time-monitor/api.js.map +1 -1
  135. package/lib/vm-real-time-monitor/index.js +17 -16
  136. package/lib/vm-real-time-monitor/index.js.map +1 -1
  137. package/lib/vm-real-time-monitor/style/css.js.map +1 -1
  138. package/lib/vm-real-time-monitor/style/index.js.map +1 -1
  139. package/lib/vm-repair-maintain/RmInfoSummary.js +6 -7
  140. package/lib/vm-repair-maintain/RmInfoSummary.js.map +1 -1
  141. package/lib/vm-repair-maintain/RmMonthTrend.js +5 -5
  142. package/lib/vm-repair-maintain/RmMonthTrend.js.map +1 -1
  143. package/lib/vm-repair-maintain/RmRecord.js +8 -6
  144. package/lib/vm-repair-maintain/RmRecord.js.map +1 -1
  145. package/lib/vm-repair-maintain/RmType.js +5 -6
  146. package/lib/vm-repair-maintain/RmType.js.map +1 -1
  147. package/lib/vm-repair-maintain/api.js +1 -2
  148. package/lib/vm-repair-maintain/api.js.map +1 -1
  149. package/lib/vm-repair-maintain/index.js +2 -3
  150. package/lib/vm-repair-maintain/index.js.map +1 -1
  151. package/lib/vm-repair-maintain/style/css.js.map +1 -1
  152. package/lib/vm-repair-maintain/style/index.js.map +1 -1
  153. package/lib/vm-round-content/index.js +15 -15
  154. package/lib/vm-round-content/index.js.map +1 -1
  155. package/lib/vm-round-content/style/css.js.map +1 -1
  156. package/lib/vm-round-content/style/index.js.map +1 -1
  157. package/lib/vm-row-col/index.js +3 -5
  158. package/lib/vm-row-col/index.js.map +1 -1
  159. package/lib/vm-row-col/style/css.js.map +1 -1
  160. package/lib/vm-row-col/style/index.js.map +1 -1
  161. package/lib/vm-select-device/index.js +8 -8
  162. package/lib/vm-select-device/index.js.map +1 -1
  163. package/lib/vm-select-device/style/css.js.map +1 -1
  164. package/lib/vm-select-device/style/index.js.map +1 -1
  165. package/lib/vm-sub-tabs/index.js +4 -7
  166. package/lib/vm-sub-tabs/index.js.map +1 -1
  167. package/lib/vm-sub-tabs/style/css.js.map +1 -1
  168. package/lib/vm-sub-tabs/style/index.js.map +1 -1
  169. package/lib/vm-sub-title/index.js +6 -7
  170. package/lib/vm-sub-title/index.js.map +1 -1
  171. package/lib/vm-sub-title/style/css.js.map +1 -1
  172. package/lib/vm-sub-title/style/index.js.map +1 -1
  173. package/lib/vm-table/index.js +18 -24
  174. package/lib/vm-table/index.js.map +1 -1
  175. package/lib/vm-table/style/css.js.map +1 -1
  176. package/lib/vm-table/style/index.js.map +1 -1
  177. package/lib/vm-time-line/index.js +3 -3
  178. package/lib/vm-time-line/index.js.map +1 -1
  179. package/lib/vm-time-line/style/css.js.map +1 -1
  180. package/lib/vm-time-line/style/index.js.map +1 -1
  181. package/lib/vm-video/api.js +1 -2
  182. package/lib/vm-video/api.js.map +1 -1
  183. package/lib/vm-video/index.js +5 -6
  184. package/lib/vm-video/index.js.map +1 -1
  185. package/lib/vtx-base-info/index.js +15 -16
  186. package/lib/vtx-base-info/index.js.map +1 -1
  187. package/lib/vtx-base-info/style/css.js.map +1 -1
  188. package/lib/vtx-base-info/style/index.js.map +1 -1
  189. package/lib/vtx-base-modal/api.js +4 -8
  190. package/lib/vtx-base-modal/api.js.map +1 -1
  191. package/lib/vtx-base-modal/index.js +32 -28
  192. package/lib/vtx-base-modal/index.js.map +1 -1
  193. package/lib/vtx-base-modal/style/css.js.map +1 -1
  194. package/lib/vtx-base-modal/style/index.js.map +1 -1
  195. package/lib/vtx-car-modal/api.js +47 -59
  196. package/lib/vtx-car-modal/api.js.map +1 -1
  197. package/lib/vtx-car-modal/components/AlarmInfo/Charts.js +23 -9
  198. package/lib/vtx-car-modal/components/AlarmInfo/Charts.js.map +1 -1
  199. package/lib/vtx-car-modal/components/AlarmInfo/List.js +14 -13
  200. package/lib/vtx-car-modal/components/AlarmInfo/List.js.map +1 -1
  201. package/lib/vtx-car-modal/components/AlarmInfo/index.js +19 -18
  202. package/lib/vtx-car-modal/components/AlarmInfo/index.js.map +1 -1
  203. package/lib/vtx-car-modal/components/BaseInfo/Charts.js +6 -5
  204. package/lib/vtx-car-modal/components/BaseInfo/Charts.js.map +1 -1
  205. package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js +1 -1
  206. package/lib/vtx-car-modal/components/BaseInfo/TodayRun.js.map +1 -1
  207. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js +1 -1
  208. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkCC.js.map +1 -1
  209. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js +2 -2
  210. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkJXH.js.map +1 -1
  211. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js +3 -3
  212. package/lib/vtx-car-modal/components/BaseInfo/TodayWorkLJSY.js.map +1 -1
  213. package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js +4 -5
  214. package/lib/vtx-car-modal/components/BaseInfo/Wgfx.js.map +1 -1
  215. package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js +1 -1
  216. package/lib/vtx-car-modal/components/BaseInfo/WorkSummary.js.map +1 -1
  217. package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js +1 -1
  218. package/lib/vtx-car-modal/components/BaseInfo/WorkSummaryJxh.js.map +1 -1
  219. package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js +7 -8
  220. package/lib/vtx-car-modal/components/BaseInfo/ZyfxCC.js.map +1 -1
  221. package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js +10 -12
  222. package/lib/vtx-car-modal/components/BaseInfo/ZyfxJXH.js.map +1 -1
  223. package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js +7 -10
  224. package/lib/vtx-car-modal/components/BaseInfo/ZyfxLJSY.js.map +1 -1
  225. package/lib/vtx-car-modal/components/BaseInfo/index.css +1 -0
  226. package/lib/vtx-car-modal/components/BaseInfo/index.js +17 -18
  227. package/lib/vtx-car-modal/components/BaseInfo/index.js.map +1 -1
  228. package/lib/vtx-car-modal/components/BaseInfo/index.less +1 -0
  229. package/lib/vtx-car-modal/components/Collection/index.js +15 -14
  230. package/lib/vtx-car-modal/components/Collection/index.js.map +1 -1
  231. package/lib/vtx-car-modal/components/Maintenance/index.js +6 -7
  232. package/lib/vtx-car-modal/components/Maintenance/index.js.map +1 -1
  233. package/lib/vtx-car-modal/components/OilConsumption/List.js +9 -8
  234. package/lib/vtx-car-modal/components/OilConsumption/List.js.map +1 -1
  235. package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js +4 -4
  236. package/lib/vtx-car-modal/components/OilConsumption/OilLIne.js.map +1 -1
  237. package/lib/vtx-car-modal/components/OilConsumption/index.js +9 -8
  238. package/lib/vtx-car-modal/components/OilConsumption/index.js.map +1 -1
  239. package/lib/vtx-car-modal/components/StaticInfo/Charts.js +8 -8
  240. package/lib/vtx-car-modal/components/StaticInfo/Charts.js.map +1 -1
  241. package/lib/vtx-car-modal/components/StaticInfo/List.js +2 -3
  242. package/lib/vtx-car-modal/components/StaticInfo/List.js.map +1 -1
  243. package/lib/vtx-car-modal/components/StaticInfo/index.js +20 -18
  244. package/lib/vtx-car-modal/components/StaticInfo/index.js.map +1 -1
  245. package/lib/vtx-car-modal/components/WaterConsumption/index.js +9 -8
  246. package/lib/vtx-car-modal/components/WaterConsumption/index.js.map +1 -1
  247. package/lib/vtx-car-modal/components/WorkInfo/Wcl.js +8 -10
  248. package/lib/vtx-car-modal/components/WorkInfo/Wcl.js.map +1 -1
  249. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js +21 -20
  250. package/lib/vtx-car-modal/components/WorkInfo/WorkJxh.js.map +1 -1
  251. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js +11 -11
  252. package/lib/vtx-car-modal/components/WorkInfo/WorkLjsy.js.map +1 -1
  253. package/lib/vtx-car-modal/components/WorkInfo/index.js +2 -3
  254. package/lib/vtx-car-modal/components/WorkInfo/index.js.map +1 -1
  255. package/lib/vtx-car-modal/components/index.js +1 -1
  256. package/lib/vtx-car-modal/components/index.js.map +1 -1
  257. package/lib/vtx-car-modal/index.js +27 -29
  258. package/lib/vtx-car-modal/index.js.map +1 -1
  259. package/lib/vtx-car-modal/style/css.js.map +1 -1
  260. package/lib/vtx-car-modal/style/index.js.map +1 -1
  261. package/lib/vtx-cc-cp-modal/api.js +18 -23
  262. package/lib/vtx-cc-cp-modal/api.js.map +1 -1
  263. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +10 -11
  264. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  265. package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js +5 -6
  266. package/lib/vtx-cc-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  267. package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js +11 -12
  268. package/lib/vtx-cc-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
  269. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +2 -3
  270. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js.map +1 -1
  271. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +5 -6
  272. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js.map +1 -1
  273. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +5 -6
  274. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js.map +1 -1
  275. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +5 -6
  276. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js.map +1 -1
  277. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +10 -11
  278. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js.map +1 -1
  279. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +2 -3
  280. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js.map +1 -1
  281. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js +10 -11
  282. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js.map +1 -1
  283. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js +7 -7
  284. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js.map +1 -1
  285. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js +11 -12
  286. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/Summary.js.map +1 -1
  287. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +2 -3
  288. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js.map +1 -1
  289. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +10 -11
  290. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js.map +1 -1
  291. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +8 -9
  292. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
  293. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +5 -6
  294. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js.map +1 -1
  295. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +7 -8
  296. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js.map +1 -1
  297. package/lib/vtx-cc-cp-modal/components/index.js +1 -1
  298. package/lib/vtx-cc-cp-modal/components/index.js.map +1 -1
  299. package/lib/vtx-cc-cp-modal/index.js +8 -11
  300. package/lib/vtx-cc-cp-modal/index.js.map +1 -1
  301. package/lib/vtx-cc-cp-modal/style/css.js.map +1 -1
  302. package/lib/vtx-cc-cp-modal/style/index.js.map +1 -1
  303. package/lib/vtx-cc-cp-modal/type.js.map +1 -1
  304. package/lib/vtx-cp-modal/api.js +4 -8
  305. package/lib/vtx-cp-modal/api.js.map +1 -1
  306. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +11 -9
  307. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  308. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js +2 -3
  309. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  310. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +18 -17
  311. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js.map +1 -1
  312. package/lib/vtx-cp-modal/components/AlarmInfo/index.js +2 -3
  313. package/lib/vtx-cp-modal/components/AlarmInfo/index.js.map +1 -1
  314. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js +1 -1
  315. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js.map +1 -1
  316. package/lib/vtx-cp-modal/components/BaseInfo/Rules.js +2 -2
  317. package/lib/vtx-cp-modal/components/BaseInfo/Rules.js.map +1 -1
  318. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +2 -4
  319. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js.map +1 -1
  320. package/lib/vtx-cp-modal/components/BaseInfo/index.js +2 -3
  321. package/lib/vtx-cp-modal/components/BaseInfo/index.js.map +1 -1
  322. package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js +11 -9
  323. package/lib/vtx-cp-modal/components/ExeceptionInfo/ExeceptionRecord.js.map +1 -1
  324. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js +2 -3
  325. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js.map +1 -1
  326. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +18 -17
  327. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js.map +1 -1
  328. package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js +2 -3
  329. package/lib/vtx-cp-modal/components/ExeceptionInfo/index.js.map +1 -1
  330. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +8 -9
  331. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js.map +1 -1
  332. package/lib/vtx-cp-modal/components/SyInfo/index.js +15 -14
  333. package/lib/vtx-cp-modal/components/SyInfo/index.js.map +1 -1
  334. package/lib/vtx-cp-modal/components/index.js +1 -1
  335. package/lib/vtx-cp-modal/components/index.js.map +1 -1
  336. package/lib/vtx-cp-modal/index.js +16 -18
  337. package/lib/vtx-cp-modal/index.js.map +1 -1
  338. package/lib/vtx-cp-modal/style/css.js.map +1 -1
  339. package/lib/vtx-cp-modal/style/index.js.map +1 -1
  340. package/lib/vtx-default-modal/api.js +1 -2
  341. package/lib/vtx-default-modal/api.js.map +1 -1
  342. package/lib/vtx-default-modal/components/BaseInfo/index.js +8 -7
  343. package/lib/vtx-default-modal/components/BaseInfo/index.js.map +1 -1
  344. package/lib/vtx-default-modal/components/index.js +1 -1
  345. package/lib/vtx-default-modal/components/index.js.map +1 -1
  346. package/lib/vtx-default-modal/index.js +15 -15
  347. package/lib/vtx-default-modal/index.js.map +1 -1
  348. package/lib/vtx-default-modal/style/css.js.map +1 -1
  349. package/lib/vtx-default-modal/style/index.js.map +1 -1
  350. package/lib/vtx-device-modal/api.js +1 -2
  351. package/lib/vtx-device-modal/api.js.map +1 -1
  352. package/lib/vtx-device-modal/components/BaseInfo/index.js +4 -5
  353. package/lib/vtx-device-modal/components/BaseInfo/index.js.map +1 -1
  354. package/lib/vtx-device-modal/components/DataAnalysis/index.js +14 -13
  355. package/lib/vtx-device-modal/components/DataAnalysis/index.js.map +1 -1
  356. package/lib/vtx-device-modal/components/FacilityFile/index.js +4 -5
  357. package/lib/vtx-device-modal/components/FacilityFile/index.js.map +1 -1
  358. package/lib/vtx-device-modal/components/LiftInfo/index.js +2 -3
  359. package/lib/vtx-device-modal/components/LiftInfo/index.js.map +1 -1
  360. package/lib/vtx-device-modal/components/OverViewInfo/Left.js +2 -3
  361. package/lib/vtx-device-modal/components/OverViewInfo/Left.js.map +1 -1
  362. package/lib/vtx-device-modal/components/OverViewInfo/index.js +17 -18
  363. package/lib/vtx-device-modal/components/OverViewInfo/index.js.map +1 -1
  364. package/lib/vtx-device-modal/components/VideoInfo/index.js +2 -3
  365. package/lib/vtx-device-modal/components/VideoInfo/index.js.map +1 -1
  366. package/lib/vtx-device-modal/config.js +2 -4
  367. package/lib/vtx-device-modal/config.js.map +1 -1
  368. package/lib/vtx-device-modal/index.js +11 -13
  369. package/lib/vtx-device-modal/index.js.map +1 -1
  370. package/lib/vtx-device-modal/style/css.js.map +1 -1
  371. package/lib/vtx-device-modal/style/index.js.map +1 -1
  372. package/lib/vtx-device-modal/types.js.map +1 -1
  373. package/lib/vtx-df-modal/api.js +4 -8
  374. package/lib/vtx-df-modal/api.js.map +1 -1
  375. package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js +22 -10
  376. package/lib/vtx-df-modal/components/BaseInfo/AlarmDetail.js.map +1 -1
  377. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +9 -9
  378. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js.map +1 -1
  379. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +13 -11
  380. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js.map +1 -1
  381. package/lib/vtx-df-modal/components/BaseInfo/Situation.js +3 -3
  382. package/lib/vtx-df-modal/components/BaseInfo/Situation.js.map +1 -1
  383. package/lib/vtx-df-modal/components/BaseInfo/index.js +25 -23
  384. package/lib/vtx-df-modal/components/BaseInfo/index.js.map +1 -1
  385. package/lib/vtx-df-modal/components/Metering/ChartJccc.js +8 -9
  386. package/lib/vtx-df-modal/components/Metering/ChartJccc.js.map +1 -1
  387. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +7 -8
  388. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js.map +1 -1
  389. package/lib/vtx-df-modal/components/Metering/List.js +9 -8
  390. package/lib/vtx-df-modal/components/Metering/List.js.map +1 -1
  391. package/lib/vtx-df-modal/components/Metering/index.js +19 -19
  392. package/lib/vtx-df-modal/components/Metering/index.js.map +1 -1
  393. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +13 -11
  394. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js.map +1 -1
  395. package/lib/vtx-df-modal/components/WorkCondition/Situation.js +14 -12
  396. package/lib/vtx-df-modal/components/WorkCondition/Situation.js.map +1 -1
  397. package/lib/vtx-df-modal/components/WorkCondition/index.js +15 -14
  398. package/lib/vtx-df-modal/components/WorkCondition/index.js.map +1 -1
  399. package/lib/vtx-df-modal/components/index.js +1 -1
  400. package/lib/vtx-df-modal/components/index.js.map +1 -1
  401. package/lib/vtx-df-modal/index.js +16 -18
  402. package/lib/vtx-df-modal/index.js.map +1 -1
  403. package/lib/vtx-df-modal/style/css.js.map +1 -1
  404. package/lib/vtx-df-modal/style/index.js.map +1 -1
  405. package/lib/vtx-facility-modal/api.js +31 -37
  406. package/lib/vtx-facility-modal/api.js.map +1 -1
  407. package/lib/vtx-facility-modal/components/OverView/Left.js +2 -3
  408. package/lib/vtx-facility-modal/components/OverView/Left.js.map +1 -1
  409. package/lib/vtx-facility-modal/components/OverView/index.js +18 -19
  410. package/lib/vtx-facility-modal/components/OverView/index.js.map +1 -1
  411. package/lib/vtx-facility-modal/components/index.js +1 -1
  412. package/lib/vtx-facility-modal/components/index.js.map +1 -1
  413. package/lib/vtx-facility-modal/config.js +3 -6
  414. package/lib/vtx-facility-modal/config.js.map +1 -1
  415. package/lib/vtx-facility-modal/index.js +2 -3
  416. package/lib/vtx-facility-modal/index.js.map +1 -1
  417. package/lib/vtx-facility-modal/style/css.js.map +1 -1
  418. package/lib/vtx-facility-modal/style/index.js.map +1 -1
  419. package/lib/vtx-facility-modal/types.js.map +1 -1
  420. package/lib/vtx-housing-estate-modal/api.js +38 -51
  421. package/lib/vtx-housing-estate-modal/api.js.map +1 -1
  422. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js +13 -15
  423. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL.js.map +1 -1
  424. package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js +14 -15
  425. package/lib/vtx-housing-estate-modal/components/Alarm/LDB.js.map +1 -1
  426. package/lib/vtx-housing-estate-modal/components/Alarm/MY.js +17 -18
  427. package/lib/vtx-housing-estate-modal/components/Alarm/MY.js.map +1 -1
  428. package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js +2 -3
  429. package/lib/vtx-housing-estate-modal/components/Alarm/Rank.js.map +1 -1
  430. package/lib/vtx-housing-estate-modal/components/Alarm/index.js +15 -17
  431. package/lib/vtx-housing-estate-modal/components/Alarm/index.js.map +1 -1
  432. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +12 -13
  433. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js.map +1 -1
  434. package/lib/vtx-housing-estate-modal/components/OverView/Left.js +2 -3
  435. package/lib/vtx-housing-estate-modal/components/OverView/Left.js.map +1 -1
  436. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +11 -13
  437. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js.map +1 -1
  438. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +11 -13
  439. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js.map +1 -1
  440. package/lib/vtx-housing-estate-modal/components/OverView/Trend.js +2 -3
  441. package/lib/vtx-housing-estate-modal/components/OverView/Trend.js.map +1 -1
  442. package/lib/vtx-housing-estate-modal/components/OverView/index.js +4 -5
  443. package/lib/vtx-housing-estate-modal/components/OverView/index.js.map +1 -1
  444. package/lib/vtx-housing-estate-modal/components/SPJK/index.js +9 -10
  445. package/lib/vtx-housing-estate-modal/components/SPJK/index.js.map +1 -1
  446. package/lib/vtx-housing-estate-modal/components/TFRD/index.js +13 -14
  447. package/lib/vtx-housing-estate-modal/components/TFRD/index.js.map +1 -1
  448. package/lib/vtx-housing-estate-modal/components/WGGS/Content.js +5 -6
  449. package/lib/vtx-housing-estate-modal/components/WGGS/Content.js.map +1 -1
  450. package/lib/vtx-housing-estate-modal/components/WGGS/index.js +10 -11
  451. package/lib/vtx-housing-estate-modal/components/WGGS/index.js.map +1 -1
  452. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js +5 -6
  453. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js.map +1 -1
  454. package/lib/vtx-housing-estate-modal/components/WGXW/index.js +13 -14
  455. package/lib/vtx-housing-estate-modal/components/WGXW/index.js.map +1 -1
  456. package/lib/vtx-housing-estate-modal/components/index.js +1 -1
  457. package/lib/vtx-housing-estate-modal/components/index.js.map +1 -1
  458. package/lib/vtx-housing-estate-modal/config.js +8 -11
  459. package/lib/vtx-housing-estate-modal/config.js.map +1 -1
  460. package/lib/vtx-housing-estate-modal/index.js +13 -15
  461. package/lib/vtx-housing-estate-modal/index.js.map +1 -1
  462. package/lib/vtx-housing-estate-modal/style/css.js.map +1 -1
  463. package/lib/vtx-housing-estate-modal/style/index.js.map +1 -1
  464. package/lib/vtx-housing-estate-modal/types.js.map +1 -1
  465. package/lib/vtx-kh-modal/api.js +1 -2
  466. package/lib/vtx-kh-modal/api.js.map +1 -1
  467. package/lib/vtx-kh-modal/components/BaseInfo/index.js +3 -4
  468. package/lib/vtx-kh-modal/components/BaseInfo/index.js.map +1 -1
  469. package/lib/vtx-kh-modal/components/index.js +1 -1
  470. package/lib/vtx-kh-modal/components/index.js.map +1 -1
  471. package/lib/vtx-kh-modal/index.js +10 -9
  472. package/lib/vtx-kh-modal/index.js.map +1 -1
  473. package/lib/vtx-kh-modal/style/css.js.map +1 -1
  474. package/lib/vtx-kh-modal/style/index.js.map +1 -1
  475. package/lib/vtx-pump-modal/api.js +30 -29
  476. package/lib/vtx-pump-modal/api.js.map +1 -1
  477. package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTotal.js +9 -9
  478. package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTotal.js.map +1 -1
  479. package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTrend.js +12 -12
  480. package/lib/vtx-pump-modal/components/AlarmRecord/AlarmTrend.js.map +1 -1
  481. package/lib/vtx-pump-modal/components/AlarmRecord/index.js +15 -15
  482. package/lib/vtx-pump-modal/components/AlarmRecord/index.js.map +1 -1
  483. package/lib/vtx-pump-modal/components/Basic/JyqInfo.js +12 -10
  484. package/lib/vtx-pump-modal/components/Basic/JyqInfo.js.map +1 -1
  485. package/lib/vtx-pump-modal/components/Basic/PumpInfo.js +10 -11
  486. package/lib/vtx-pump-modal/components/Basic/PumpInfo.js.map +1 -1
  487. package/lib/vtx-pump-modal/components/Basic/SxInfo.js +10 -11
  488. package/lib/vtx-pump-modal/components/Basic/SxInfo.js.map +1 -1
  489. package/lib/vtx-pump-modal/components/Basic/XqInfo.js +10 -11
  490. package/lib/vtx-pump-modal/components/Basic/XqInfo.js.map +1 -1
  491. package/lib/vtx-pump-modal/components/Basic/index.js +17 -19
  492. package/lib/vtx-pump-modal/components/Basic/index.js.map +1 -1
  493. package/lib/vtx-pump-modal/components/Sbxl/SBXLFX.js +9 -9
  494. package/lib/vtx-pump-modal/components/Sbxl/SBXLFX.js.map +1 -1
  495. package/lib/vtx-pump-modal/components/Sbxl/SBYXQK.js +15 -15
  496. package/lib/vtx-pump-modal/components/Sbxl/SBYXQK.js.map +1 -1
  497. package/lib/vtx-pump-modal/components/Sbxl/index.js +9 -9
  498. package/lib/vtx-pump-modal/components/Sbxl/index.js.map +1 -1
  499. package/lib/vtx-pump-modal/components/Sjfx/index.js +28 -29
  500. package/lib/vtx-pump-modal/components/Sjfx/index.js.map +1 -1
  501. package/lib/vtx-pump-modal/components/Sxyx/index.js +13 -14
  502. package/lib/vtx-pump-modal/components/Sxyx/index.js.map +1 -1
  503. package/lib/vtx-pump-modal/components/index.js +1 -1
  504. package/lib/vtx-pump-modal/components/index.js.map +1 -1
  505. package/lib/vtx-pump-modal/config.js +6 -9
  506. package/lib/vtx-pump-modal/config.js.map +1 -1
  507. package/lib/vtx-pump-modal/index.js +15 -17
  508. package/lib/vtx-pump-modal/index.js.map +1 -1
  509. package/lib/vtx-pump-modal/style/css.js.map +1 -1
  510. package/lib/vtx-pump-modal/style/index.js.map +1 -1
  511. package/lib/vtx-pump-modal/type.js.map +1 -1
  512. package/lib/vtx-restaurant-modal/api.js +17 -21
  513. package/lib/vtx-restaurant-modal/api.js.map +1 -1
  514. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +5 -6
  515. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js.map +1 -1
  516. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +5 -6
  517. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js.map +1 -1
  518. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +5 -6
  519. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js.map +1 -1
  520. package/lib/vtx-restaurant-modal/components/Alarm/index.js +10 -11
  521. package/lib/vtx-restaurant-modal/components/Alarm/index.js.map +1 -1
  522. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +5 -6
  523. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js.map +1 -1
  524. package/lib/vtx-restaurant-modal/components/Basic/Info.js +5 -6
  525. package/lib/vtx-restaurant-modal/components/Basic/Info.js.map +1 -1
  526. package/lib/vtx-restaurant-modal/components/Basic/Summary.js +4 -5
  527. package/lib/vtx-restaurant-modal/components/Basic/Summary.js.map +1 -1
  528. package/lib/vtx-restaurant-modal/components/Basic/index.js +5 -6
  529. package/lib/vtx-restaurant-modal/components/Basic/index.js.map +1 -1
  530. package/lib/vtx-restaurant-modal/components/Collection/Charts.js +10 -11
  531. package/lib/vtx-restaurant-modal/components/Collection/Charts.js.map +1 -1
  532. package/lib/vtx-restaurant-modal/components/Collection/List.js +5 -6
  533. package/lib/vtx-restaurant-modal/components/Collection/List.js.map +1 -1
  534. package/lib/vtx-restaurant-modal/components/Collection/index.js +16 -17
  535. package/lib/vtx-restaurant-modal/components/Collection/index.js.map +1 -1
  536. package/lib/vtx-restaurant-modal/components/index.js +1 -1
  537. package/lib/vtx-restaurant-modal/components/index.js.map +1 -1
  538. package/lib/vtx-restaurant-modal/config.js +2 -4
  539. package/lib/vtx-restaurant-modal/config.js.map +1 -1
  540. package/lib/vtx-restaurant-modal/index.js +8 -11
  541. package/lib/vtx-restaurant-modal/index.js.map +1 -1
  542. package/lib/vtx-restaurant-modal/style/css.js.map +1 -1
  543. package/lib/vtx-restaurant-modal/style/index.js.map +1 -1
  544. package/lib/vtx-restaurant-modal/type.js.map +1 -1
  545. package/lib/vtx-road-modal/api.js +3 -6
  546. package/lib/vtx-road-modal/api.js.map +1 -1
  547. package/lib/vtx-road-modal/components/BaseInfo/Rules.js +2 -2
  548. package/lib/vtx-road-modal/components/BaseInfo/Rules.js.map +1 -1
  549. package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js +2 -2
  550. package/lib/vtx-road-modal/components/BaseInfo/TodayWork.js.map +1 -1
  551. package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js +1 -1
  552. package/lib/vtx-road-modal/components/BaseInfo/TodayWorkTable.js.map +1 -1
  553. package/lib/vtx-road-modal/components/BaseInfo/index.js +19 -17
  554. package/lib/vtx-road-modal/components/BaseInfo/index.js.map +1 -1
  555. package/lib/vtx-road-modal/components/Statistical/Zylc.js +11 -13
  556. package/lib/vtx-road-modal/components/Statistical/Zylc.js.map +1 -1
  557. package/lib/vtx-road-modal/components/Statistical/Zywcl.js +7 -9
  558. package/lib/vtx-road-modal/components/Statistical/Zywcl.js.map +1 -1
  559. package/lib/vtx-road-modal/components/Statistical/index.js +9 -8
  560. package/lib/vtx-road-modal/components/Statistical/index.js.map +1 -1
  561. package/lib/vtx-road-modal/components/index.js +1 -1
  562. package/lib/vtx-road-modal/components/index.js.map +1 -1
  563. package/lib/vtx-road-modal/index.js +20 -22
  564. package/lib/vtx-road-modal/index.js.map +1 -1
  565. package/lib/vtx-road-modal/style/css.js.map +1 -1
  566. package/lib/vtx-road-modal/style/index.js.map +1 -1
  567. package/lib/vtx-staff-modal/api.js +4 -8
  568. package/lib/vtx-staff-modal/api.js.map +1 -1
  569. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +7 -10
  570. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js.map +1 -1
  571. package/lib/vtx-staff-modal/components/AlarmInfo/List.js +11 -10
  572. package/lib/vtx-staff-modal/components/AlarmInfo/List.js.map +1 -1
  573. package/lib/vtx-staff-modal/components/AlarmInfo/index.js +18 -17
  574. package/lib/vtx-staff-modal/components/AlarmInfo/index.js.map +1 -1
  575. package/lib/vtx-staff-modal/components/Attendance/Exeception.js +3 -4
  576. package/lib/vtx-staff-modal/components/Attendance/Exeception.js.map +1 -1
  577. package/lib/vtx-staff-modal/components/Attendance/Record.js +8 -6
  578. package/lib/vtx-staff-modal/components/Attendance/Record.js.map +1 -1
  579. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js +3 -3
  580. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js.map +1 -1
  581. package/lib/vtx-staff-modal/components/Attendance/index.js +2 -3
  582. package/lib/vtx-staff-modal/components/Attendance/index.js.map +1 -1
  583. package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js +8 -10
  584. package/lib/vtx-staff-modal/components/BaseInfo/Lcfx.js.map +1 -1
  585. package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js +3 -3
  586. package/lib/vtx-staff-modal/components/BaseInfo/TodayWork.js.map +1 -1
  587. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +3 -4
  588. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js.map +1 -1
  589. package/lib/vtx-staff-modal/components/BaseInfo/index.js +10 -11
  590. package/lib/vtx-staff-modal/components/BaseInfo/index.js.map +1 -1
  591. package/lib/vtx-staff-modal/components/Equipment/index.js +2 -3
  592. package/lib/vtx-staff-modal/components/Equipment/index.js.map +1 -1
  593. package/lib/vtx-staff-modal/components/index.js +1 -1
  594. package/lib/vtx-staff-modal/components/index.js.map +1 -1
  595. package/lib/vtx-staff-modal/index.js +14 -17
  596. package/lib/vtx-staff-modal/index.js.map +1 -1
  597. package/lib/vtx-staff-modal/style/css.js.map +1 -1
  598. package/lib/vtx-staff-modal/style/index.js.map +1 -1
  599. package/lib/vtx-theme-provider/index.js +3 -5
  600. package/lib/vtx-theme-provider/index.js.map +1 -1
  601. package/lib/vtx-throw-point-modal/api.js +39 -53
  602. package/lib/vtx-throw-point-modal/api.js.map +1 -1
  603. package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js +13 -15
  604. package/lib/vtx-throw-point-modal/components/Alarm/FLZL.js.map +1 -1
  605. package/lib/vtx-throw-point-modal/components/Alarm/LDB.js +14 -15
  606. package/lib/vtx-throw-point-modal/components/Alarm/LDB.js.map +1 -1
  607. package/lib/vtx-throw-point-modal/components/Alarm/MY.js +17 -18
  608. package/lib/vtx-throw-point-modal/components/Alarm/MY.js.map +1 -1
  609. package/lib/vtx-throw-point-modal/components/Alarm/Rank.js +2 -3
  610. package/lib/vtx-throw-point-modal/components/Alarm/Rank.js.map +1 -1
  611. package/lib/vtx-throw-point-modal/components/Alarm/index.js +15 -17
  612. package/lib/vtx-throw-point-modal/components/Alarm/index.js.map +1 -1
  613. package/lib/vtx-throw-point-modal/components/OverView/Hot.js +12 -13
  614. package/lib/vtx-throw-point-modal/components/OverView/Hot.js.map +1 -1
  615. package/lib/vtx-throw-point-modal/components/OverView/Left.js +5 -6
  616. package/lib/vtx-throw-point-modal/components/OverView/Left.js.map +1 -1
  617. package/lib/vtx-throw-point-modal/components/OverView/Manage.js +11 -13
  618. package/lib/vtx-throw-point-modal/components/OverView/Manage.js.map +1 -1
  619. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js +11 -13
  620. package/lib/vtx-throw-point-modal/components/OverView/RightBottom.js.map +1 -1
  621. package/lib/vtx-throw-point-modal/components/OverView/Trend.js +2 -3
  622. package/lib/vtx-throw-point-modal/components/OverView/Trend.js.map +1 -1
  623. package/lib/vtx-throw-point-modal/components/OverView/index.js +4 -5
  624. package/lib/vtx-throw-point-modal/components/OverView/index.js.map +1 -1
  625. package/lib/vtx-throw-point-modal/components/SBZJ/Content.js +2 -3
  626. package/lib/vtx-throw-point-modal/components/SBZJ/Content.js.map +1 -1
  627. package/lib/vtx-throw-point-modal/components/SBZJ/index.js +18 -20
  628. package/lib/vtx-throw-point-modal/components/SBZJ/index.js.map +1 -1
  629. package/lib/vtx-throw-point-modal/components/TFRD/index.js +13 -14
  630. package/lib/vtx-throw-point-modal/components/TFRD/index.js.map +1 -1
  631. package/lib/vtx-throw-point-modal/components/WGGS/Content.js +5 -6
  632. package/lib/vtx-throw-point-modal/components/WGGS/Content.js.map +1 -1
  633. package/lib/vtx-throw-point-modal/components/WGGS/index.js +12 -13
  634. package/lib/vtx-throw-point-modal/components/WGGS/index.js.map +1 -1
  635. package/lib/vtx-throw-point-modal/components/WGXW/Content.js +5 -6
  636. package/lib/vtx-throw-point-modal/components/WGXW/Content.js.map +1 -1
  637. package/lib/vtx-throw-point-modal/components/WGXW/index.js +15 -16
  638. package/lib/vtx-throw-point-modal/components/WGXW/index.js.map +1 -1
  639. package/lib/vtx-throw-point-modal/components/index.js +1 -1
  640. package/lib/vtx-throw-point-modal/components/index.js.map +1 -1
  641. package/lib/vtx-throw-point-modal/config.js +8 -11
  642. package/lib/vtx-throw-point-modal/config.js.map +1 -1
  643. package/lib/vtx-throw-point-modal/index.js +13 -14
  644. package/lib/vtx-throw-point-modal/index.js.map +1 -1
  645. package/lib/vtx-throw-point-modal/style/css.js.map +1 -1
  646. package/lib/vtx-throw-point-modal/style/index.js.map +1 -1
  647. package/lib/vtx-throw-point-modal/types.js.map +1 -1
  648. package/lib/vtx-wr-modal/api.js +5 -10
  649. package/lib/vtx-wr-modal/api.js.map +1 -1
  650. package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js +11 -9
  651. package/lib/vtx-wr-modal/components/AlarmInfo/AlarmRecord.js.map +1 -1
  652. package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js +5 -6
  653. package/lib/vtx-wr-modal/components/AlarmInfo/MonthTrend.js.map +1 -1
  654. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js +18 -17
  655. package/lib/vtx-wr-modal/components/AlarmInfo/Summary.js.map +1 -1
  656. package/lib/vtx-wr-modal/components/AlarmInfo/index.js +2 -3
  657. package/lib/vtx-wr-modal/components/AlarmInfo/index.js.map +1 -1
  658. package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js +2 -3
  659. package/lib/vtx-wr-modal/components/BaseInfo/AlarmType.js.map +1 -1
  660. package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js +3 -3
  661. package/lib/vtx-wr-modal/components/BaseInfo/BaseInner.js.map +1 -1
  662. package/lib/vtx-wr-modal/components/BaseInfo/Situation.js +2 -3
  663. package/lib/vtx-wr-modal/components/BaseInfo/Situation.js.map +1 -1
  664. package/lib/vtx-wr-modal/components/BaseInfo/index.js +10 -11
  665. package/lib/vtx-wr-modal/components/BaseInfo/index.js.map +1 -1
  666. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js +14 -15
  667. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Img.js.map +1 -1
  668. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Jbxx.js +7 -8
  669. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Jbxx.js.map +1 -1
  670. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Monitor.js +10 -11
  671. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Monitor.js.map +1 -1
  672. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Num.js +2 -3
  673. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Num.js.map +1 -1
  674. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Other.js +2 -3
  675. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Other.js.map +1 -1
  676. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ptss.js +2 -3
  677. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ptss.js.map +1 -1
  678. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js +12 -13
  679. package/lib/vtx-wr-modal/components/BaseInfoNew/components/Ssjk.js.map +1 -1
  680. package/lib/vtx-wr-modal/components/BaseInfoNew/index.js +16 -14
  681. package/lib/vtx-wr-modal/components/BaseInfoNew/index.js.map +1 -1
  682. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Alarm.js +10 -11
  683. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Alarm.js.map +1 -1
  684. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jbxx.js +10 -11
  685. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jbxx.js.map +1 -1
  686. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jcbj.js +7 -8
  687. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Jcbj.js.map +1 -1
  688. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Monitor.js +10 -11
  689. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Monitor.js.map +1 -1
  690. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Ptss.js +2 -3
  691. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Ptss.js.map +1 -1
  692. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Sjjg.js +10 -11
  693. package/lib/vtx-wr-modal/components/BaseInfoNew2/components/Sjjg.js.map +1 -1
  694. package/lib/vtx-wr-modal/components/BaseInfoNew2/index.js +14 -13
  695. package/lib/vtx-wr-modal/components/BaseInfoNew2/index.js.map +1 -1
  696. package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js +8 -6
  697. package/lib/vtx-wr-modal/components/Evaluate/AppraiseRecord.js.map +1 -1
  698. package/lib/vtx-wr-modal/components/Evaluate/Radar.js +1 -1
  699. package/lib/vtx-wr-modal/components/Evaluate/Radar.js.map +1 -1
  700. package/lib/vtx-wr-modal/components/Evaluate/Summary.js +11 -9
  701. package/lib/vtx-wr-modal/components/Evaluate/Summary.js.map +1 -1
  702. package/lib/vtx-wr-modal/components/Evaluate/index.js +9 -8
  703. package/lib/vtx-wr-modal/components/Evaluate/index.js.map +1 -1
  704. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js +12 -11
  705. package/lib/vtx-wr-modal/components/Monitor/MonitorInfo.js.map +1 -1
  706. package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js +6 -7
  707. package/lib/vtx-wr-modal/components/Monitor/RealtimeInfo.js.map +1 -1
  708. package/lib/vtx-wr-modal/components/Monitor/index.js +2 -3
  709. package/lib/vtx-wr-modal/components/Monitor/index.js.map +1 -1
  710. package/lib/vtx-wr-modal/components/Score/index.js +10 -12
  711. package/lib/vtx-wr-modal/components/Score/index.js.map +1 -1
  712. package/lib/vtx-wr-modal/components/Ztt/index.js +1 -1
  713. package/lib/vtx-wr-modal/components/Ztt/index.js.map +1 -1
  714. package/lib/vtx-wr-modal/components/index.js +1 -1
  715. package/lib/vtx-wr-modal/components/index.js.map +1 -1
  716. package/lib/vtx-wr-modal/index.js +21 -22
  717. package/lib/vtx-wr-modal/index.js.map +1 -1
  718. package/lib/vtx-wr-modal/style/css.js.map +1 -1
  719. package/lib/vtx-wr-modal/style/index.js.map +1 -1
  720. package/lib/vtx-zg-modal/api.js +1 -2
  721. package/lib/vtx-zg-modal/api.js.map +1 -1
  722. package/lib/vtx-zg-modal/components/BaseInfo/index.js +13 -14
  723. package/lib/vtx-zg-modal/components/BaseInfo/index.js.map +1 -1
  724. package/lib/vtx-zg-modal/components/index.js +1 -1
  725. package/lib/vtx-zg-modal/components/index.js.map +1 -1
  726. package/lib/vtx-zg-modal/index.js +10 -9
  727. package/lib/vtx-zg-modal/index.js.map +1 -1
  728. package/lib/vtx-zg-modal/style/css.js.map +1 -1
  729. package/lib/vtx-zg-modal/style/index.js.map +1 -1
  730. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["BaseInfo","useSettings","theme","React","createElement","className","Row","gutter","Col","xxl","xl","lg","md","SubTitle","title","Info","AllWork","Rules","SyRecord","startTime","moment","format","endTime","pagination"],"sources":["vtx-cc-cp-modal/components/BaseInfo/index.js"],"sourcesContent":["import useSettings from '../../../vm-hooks/useSettings';\nimport SubTitle from '../../../vm-sub-title';\nimport { Col, Row } from 'antd';\nimport React from 'react';\nimport Info from './Info';\nimport './index.less';\nimport Rules from './Rules';\nimport AllWork from './AllWork';\nimport SyRecord from './SyRecord';\nimport moment from 'moment';\nconst BaseInfo = () => {\n const { theme } = useSettings();\n return (React.createElement(\"div\", { className: `cc-cp-baseContent ${theme}` },\n React.createElement(\"div\", { className: \"base-top\" },\n React.createElement(Row, { gutter: [10, 10] },\n React.createElement(Col, { xxl: 9, xl: 9, lg: 9, md: 10 },\n React.createElement(\"div\", { className: \"base-top-base\" },\n React.createElement(SubTitle, { title: \"\\u57FA\\u672C\\u4FE1\\u606F\" }),\n React.createElement(Info, null))),\n React.createElement(Col, { xxl: 15, xl: 15, lg: 15, md: 12 },\n React.createElement(\"div\", { className: \"base-top-work\" },\n React.createElement(AllWork, null))),\n React.createElement(Col, { xxl: 9, xl: 9, lg: 9, md: 12 },\n React.createElement(\"div\", { className: \"base-bottom-syrules\" },\n React.createElement(SubTitle, { title: \"\\u6536\\u8FD0\\u89C4\\u5219\" }),\n React.createElement(Rules, null))),\n React.createElement(Col, { xxl: 15, xl: 15, lg: 15, md: 12 },\n React.createElement(\"div\", { className: \"base-bottom-table\" },\n React.createElement(SyRecord, { startTime: moment().format('YYYY-MM-DD'), endTime: moment().format('YYYY-MM-DD'), pagination: false })))))));\n};\nexport default BaseInfo;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAA4B;AAC5B,IAAMA,QAAQ,GAAG,SAAXA,QAAQ,GAAS;EACnB,mBAAkB,IAAAC,wBAAW,GAAE;IAAvBC,KAAK,gBAALA,KAAK;EACb,oBAAQC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,8BAAuBH,KAAK;EAAG,CAAC,eAC1EC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAE;EAAW,CAAC,eAChDF,iBAAK,CAACC,aAAa,CAACE,SAAG,EAAE;IAAEC,MAAM,EAAE,CAAC,EAAE,EAAE,EAAE;EAAE,CAAC,eACzCJ,iBAAK,CAACC,aAAa,CAACI,SAAG,EAAE;IAAEC,GAAG,EAAE,CAAC;IAAEC,EAAE,EAAE,CAA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Aa,CAACc,oBAAQ,EAAE;IAAEC,SAAS,EAAE,IAAAC,kBAAM,GAAE,CAACC,MAAM,CAAC,YAAY,CAAC;IAAEC,OAAO,EAAE,IAAAF,kBAAM,GAAE,CAACC,MAAM,CAAC,YAAY,CAAC;IAAEE,UAAU,EAAE;EAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACnK,CAAC;AAAC,eACavB,QAAQ;AAAA"}
1
+ {"version":3,"file":"index.js","names":["_useSettings2","_interopRequireDefault","require","_vmSubTitle","_antd","_react","_Info","_Rules","_AllWork","_SyRecord","_moment","e","__esModule","BaseInfo","_useSettings","useSettings","theme","React","createElement","className","concat","Row","gutter","Col","xxl","xl","lg","md","SubTitle","title","Info","AllWork","Rules","SyRecord","startTime","moment","format","endTime","pagination","_default","exports"],"sources":["vtx-cc-cp-modal/components/BaseInfo/index.js"],"sourcesContent":["import useSettings from '../../../vm-hooks/useSettings';\nimport SubTitle from '../../../vm-sub-title';\nimport { Col, Row } from 'antd';\nimport React from 'react';\nimport Info from './Info';\nimport './index.less';\nimport Rules from './Rules';\nimport AllWork from './AllWork';\nimport SyRecord from './SyRecord';\nimport moment from 'moment';\nconst BaseInfo = () => {\n const { theme } = useSettings();\n return (React.createElement(\"div\", { className: `cc-cp-baseContent ${theme}` },\n React.createElement(\"div\", { className: \"base-top\" },\n React.createElement(Row, { gutter: [10, 10] },\n React.createElement(Col, { xxl: 9, xl: 9, lg: 9, md: 10 },\n React.createElement(\"div\", { className: \"base-top-base\" },\n React.createElement(SubTitle, { title: \"\\u57FA\\u672C\\u4FE1\\u606F\" }),\n React.createElement(Info, null))),\n React.createElement(Col, { xxl: 15, xl: 15, lg: 15, md: 12 },\n React.createElement(\"div\", { className: \"base-top-work\" },\n React.createElement(AllWork, null))),\n React.createElement(Col, { xxl: 9, xl: 9, lg: 9, md: 12 },\n React.createElement(\"div\", { className: \"base-bottom-syrules\" },\n React.createElement(SubTitle, { title: \"\\u6536\\u8FD0\\u89C4\\u5219\" }),\n React.createElement(Rules, null))),\n React.createElement(Col, { xxl: 15, xl: 15, lg: 15, md: 12 },\n React.createElement(\"div\", { className: \"base-bottom-table\" },\n React.createElement(SyRecord, { startTime: moment().format('YYYY-MM-DD'), endTime: moment().format('YYYY-MM-DD'), pagination: false })))))));\n};\nexport default BaseInfo;\n"],"mappings":";;;;;;AAAA,IAAAA,aAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,WAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,KAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,KAAA,GAAAL,sBAAA,CAAAC,OAAA;AACAA,OAAA;AACA,IAAAK,MAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,QAAA,GAAAP,sBAAA,CAAAC,OAAA;AACA,IAAAO,SAAA,GAAAR,sBAAA,CAAAC,OAAA;AACA,IAAAQ,OAAA,GAAAT,sBAAA,CAAAC,OAAA;AAA4B,SAAAD,uBAAAU,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,gBAAAA,CAAA;AAC5B,IAAME,QAAQ,GAAG,SAAXA,QAAQA,CAAA,EAAS;EACnB,IAAAC,YAAA,GAAkB,IAAAC,wBAAW,EAAC,CAAC;IAAvBC,KAAK,GAAAF,YAAA,CAALE,KAAK;EACb,oBAAQC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,uBAAAC,MAAA,CAAuBJ,KAAK;EAAG,CAAC,eAC1EC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAE;EAAW,CAAC,eAChDF,iBAAK,CAACC,aAAa,CAACG,SAAG,EAAE;IAAEC,MAAM,EAAE,CAAC,EAAE,EAAE,EAAE;EAAE,CAAC,eACzCL,iBAAK,CAACC,aAAa,CAACK,SAAG,EAAE;IAAEC,GAAG,EAAE,CAAC;IAA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zDF,iBAAK,CAACC,aAAa,CAACe,oBAAQ,EAAE;IAAEC,SAAS,EAAE,IAAAC,kBAAM,EAAC,CAAC,CAACC,MAAM,CAAC,YAAY,CAAC;IAAEC,OAAO,EAAE,IAAAF,kBAAM,EAAC,CAAC,CAACC,MAAM,CAAC,YAAY,CAAC;IAAEE,UAAU,EAAE;EAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACnK,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cACa3B,QAAQ","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
@@ -13,15 +13,15 @@ var _ahooks = require("ahooks");
13
13
  var _react = _interopRequireWildcard(require("react"));
14
14
  var _moment = _interopRequireDefault(require("moment"));
15
15
  var _vmFilter = require("../../../vm-filter");
16
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
17
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
18
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
19
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
16
+ 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); }
17
+ 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; }
18
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
19
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
20
20
  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."); }
21
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
22
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
23
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
24
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
21
+ 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
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
23
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
24
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
25
25
  var ExceptionRecord = function ExceptionRecord() {
26
26
  var _useSetState = (0, _ahooks.useSetState)({
27
27
  startDate: (0, _moment["default"])().format('YYYY-MM-DD'),
@@ -126,6 +126,5 @@ var ExceptionRecord = function ExceptionRecord() {
126
126
  columns: columns
127
127
  }, tableProps))));
128
128
  };
129
- var _default = ExceptionRecord;
130
- exports["default"] = _default;
129
+ var _default = exports["default"] = ExceptionRecord;
131
130
  //# sourceMappingURL=ExceptionRecord.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExceptionRecord.js","names":["ExceptionRecord","useSetState","startDate","moment","format","endDate","date","setDate","useContext","CcCpContext","id","pagination","current","pageSize","total","sort","state","setState","columns","title","dataIndex","key","sorter","ellipsis","ExceptionService","useExceptionRecord","page","start","end","dataSource","pageChange","Object","assign","handleTableChange","columnKey","order","tableProps","defaultPageSize","onChange","height","React","createElement","className","SubTitle","VMRangePicker","value","dates","VMTable"],"sources":["vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js"],"sourcesContent":["import SubTitle from '../../../vm-sub-title';\nimport VMTable from '../../../vm-table';\nimport { CcCpContext } from '../../index';\nimport { ExceptionService } from '../../api';\nimport { useSetState } from 'ahooks';\nimport React, { useContext } from 'react';\nimport moment from 'moment';\nimport { VMRangePicker } from '../../../vm-filter';\nconst ExceptionRecord = () => {\n const [date, setDate] = useSetState({\n startDate: moment()\n .format('YYYY-MM-DD'),\n endDate: moment().format('YYYY-MM-DD'),\n });\n const { startDate, endDate } = date;\n const { id } = useContext(CcCpContext);\n const [state, setState] = useSetState({\n pagination: {\n current: 1,\n pageSize: 10,\n total: 0,\n },\n sort: '',\n });\n const columns = [\n {\n title: '上报时间',\n dataIndex: 'reportTime',\n key: 'reportTime',\n sorter: true\n },\n {\n title: '商户名称',\n dataIndex: 'restaurantName',\n key: 'restaurantName',\n ellipsis: true,\n },\n {\n title: '行政区划',\n dataIndex: 'divisionName',\n key: 'divisionName',\n ellipsis: true,\n },\n {\n title: '异常类型',\n dataIndex: 'typeValue',\n key: 'typeValue',\n },\n {\n title: '上报人',\n dataIndex: 'reportPersonName',\n key: 'reportPersonName'\n },\n {\n title: '处理状态',\n dataIndex: 'dealStatusValue',\n key: 'dealStatusValue',\n },\n ];\n const { pagination, sort } = state;\n const { dataSource, total } = ExceptionService.useExceptionRecord({\n page: pagination.current - 1,\n sort,\n start: startDate,\n end: endDate,\n id,\n });\n const pageChange = (page) => {\n setState({\n pagination: Object.assign(Object.assign({}, pagination), { current: page }),\n });\n };\n const handleTableChange = (sorter) => {\n (sorter === null || sorter === void 0 ? void 0 : sorter.columnKey) &&\n setState({\n sort: `${sorter.columnKey},${sorter.order === 'ascend' ? 'ASC' : 'DESC'}`,\n });\n };\n const tableProps = {\n pagination: Object.assign(Object.assign({}, pagination), { total, defaultPageSize: 10, onChange: pageChange }),\n handleTableChange,\n height: 120,\n dataSource,\n };\n return (React.createElement(\"div\", { className: \"exception-record\" },\n React.createElement(\"div\", { className: \"exception-record-head\" },\n React.createElement(SubTitle, { title: \"\\u5F02\\u5E38\\u8BB0\\u5F55\" }),\n React.createElement(VMRangePicker, { value: [moment(startDate), moment(endDate)], onChange: (dates) => dates &&\n setDate({\n startDate: moment(dates[0]).format('YYYY-MM-DD'),\n endDate: moment(dates[1]).format('YYYY-MM-DD'),\n }) })),\n React.createElement(\"div\", { className: \"exception-record-table\" },\n React.createElement(VMTable, Object.assign({ columns: columns }, tableProps)))));\n};\nexport default ExceptionRecord;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAmD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACnD,IAAMA,eAAe,GAAG,SAAlBA,eAAe,GAAS;EAC1B,mBAAwB,IAAAC,mBAAW,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,EAAE;IAAEC,SAAS,EAAE;EAAmB,CAAC,eAChEF,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAE;EAAwB,CAAC,eAC7DF,iBAAK,CAACC,aAAa,CAACE,sBAAQ,EAAE;IAAExB,KAAK,EAAE;EAA2B,CAAC,CAAC,eACpEqB,iBAAK,CAACC,aAAa,CAACG,uBAAa,EAAE;IAAEC,KAAK,EAAE,CAAC,IAAA1C,kBAAM,EAACD,SAAS,CAAC,EAAE,IAAAC,kBAAM,EAACE,OAAO,CAAC,CAAC;IAAEiC,QAAQ,EAAE,kBAACQ,KAAK;MAAA,OAAKA,KAAK,IACpGvC,OAAO,CAAC;QACJL,SAAS,EAAE,IAAAC,kBAAM,EAAC2C,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC1C,MAAM,CAAC,YAAY,CAAC;QAChDC,OAAO,EAAE,IAAAF,kBAAM,EAAC2C,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC1C,MAAM,CAAC,YAAY;MACjD,CAAC,CAAC;IAAA;EAAC,CAAC,CAAC,CAAC,eAClBoC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAE;EAAyB,CAAC,eAC9DF,iBAAK,CAACC,aAAa,CAACM,mBAAO,EAAEhB,MAAM,CAACC,MAAM,CAAC;IAAEd,OAAO,EAAEA;EAAQ,CAAC,EAAEkB,UAAU,CAAC,CAAC,CAAC,CAAC;AAC3F,CAAC;AAAC,eACapC,eAAe;AAAA"}
1
+ {"version":3,"file":"ExceptionRecord.js","names":["_vmSubTitle","_interopRequireDefault","require","_vmTable","_index","_api","_ahooks","_react","_interopRequireWildcard","_moment","_vmFilter","_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","ExceptionRecord","_useSetState","useSetState","startDate","moment","format","endDate","_useSetState2","date","setDate","_useContext","useContext","CcCpContext","id","_useSetState3","pagination","current","pageSize","total","sort","_useSetState4","state","setState","columns","title","dataIndex","key","sorter","ellipsis","_ExceptionService$use","ExceptionService","useExceptionRecord","page","start","end","dataSource","pageChange","assign","handleTableChange","columnKey","concat","order","tableProps","defaultPageSize","onChange","height","React","createElement","className","SubTitle","VMRangePicker","dates","VMTable","_default","exports"],"sources":["vtx-cc-cp-modal/components/ExceptionInfo/ExceptionRecord.js"],"sourcesContent":["import SubTitle from '../../../vm-sub-title';\nimport VMTable from '../../../vm-table';\nimport { CcCpContext } from '../../index';\nimport { ExceptionService } from '../../api';\nimport { useSetState } from 'ahooks';\nimport React, { useContext } from 'react';\nimport moment from 'moment';\nimport { VMRangePicker } from '../../../vm-filter';\nconst ExceptionRecord = () => {\n const [date, setDate] = useSetState({\n startDate: moment()\n .format('YYYY-MM-DD'),\n endDate: moment().format('YYYY-MM-DD'),\n });\n const { startDate, endDate } = date;\n const { id } = useContext(CcCpContext);\n const [state, setState] = useSetState({\n pagination: {\n current: 1,\n pageSize: 10,\n total: 0,\n },\n sort: '',\n });\n const columns = [\n {\n title: '上报时间',\n dataIndex: 'reportTime',\n key: 'reportTime',\n sorter: true\n },\n {\n title: '商户名称',\n dataIndex: 'restaurantName',\n key: 'restaurantName',\n ellipsis: true,\n },\n {\n title: '行政区划',\n dataIndex: 'divisionName',\n key: 'divisionName',\n ellipsis: true,\n },\n {\n title: '异常类型',\n dataIndex: 'typeValue',\n key: 'typeValue',\n },\n {\n title: '上报人',\n dataIndex: 'reportPersonName',\n key: 'reportPersonName'\n },\n {\n title: '处理状态',\n dataIndex: 'dealStatusValue',\n key: 'dealStatusValue',\n },\n ];\n const { pagination, sort } = state;\n const { dataSource, total } = ExceptionService.useExceptionRecord({\n page: pagination.current - 1,\n sort,\n start: startDate,\n end: endDate,\n id,\n });\n const pageChange = (page) => {\n setState({\n pagination: Object.assign(Object.assign({}, pagination), { current: page }),\n });\n };\n const handleTableChange = (sorter) => {\n (sorter === null || sorter === void 0 ? void 0 : sorter.columnKey) &&\n setState({\n sort: `${sorter.columnKey},${sorter.order === 'ascend' ? 'ASC' : 'DESC'}`,\n });\n };\n const tableProps = {\n pagination: Object.assign(Object.assign({}, pagination), { total, defaultPageSize: 10, onChange: pageChange }),\n handleTableChange,\n height: 120,\n dataSource,\n };\n return (React.createElement(\"div\", { className: \"exception-record\" },\n React.createElement(\"div\", { className: \"exception-record-head\" },\n React.createElement(SubTitle, { title: \"\\u5F02\\u5E38\\u8BB0\\u5F55\" }),\n React.createElement(VMRangePicker, { value: [moment(startDate), moment(endDate)], onChange: (dates) => dates &&\n setDate({\n startDate: moment(dates[0]).format('YYYY-MM-DD'),\n endDate: moment(dates[1]).format('YYYY-MM-DD'),\n }) })),\n React.createElement(\"div\", { className: \"exception-record-table\" },\n React.createElement(VMTable, Object.assign({ columns: columns }, tableProps)))));\n};\nexport default ExceptionRecord;\n"],"mappings":";;;;;;;AAAA,IAAAA,WAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,QAAA,GAAAF,sBAAA,CAAAC,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,IAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAC,uBAAA,CAAAN,OAAA;AACA,IAAAO,OAAA,GAAAR,sBAAA,CAAAC,OAAA;AACA,IAAAQ,SAAA,GAAAR,OAAA;AAAmD,SAAAS,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,yBAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAJ,wBAAAI,CAAA,E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AAE,IAAAF,kBAAM,EAAC+C,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC9C,MAAM,CAAC,YAAY;MACjD,CAAC,CAAC;IAAA;EAAC,CAAC,CAAC,CAAC,eAClByC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAE;EAAyB,CAAC,eAC9DF,iBAAK,CAACC,aAAa,CAACK,mBAAO,EAAErF,MAAM,CAACsE,MAAM,CAAC;IAAEd,OAAO,EAAEA;EAAQ,CAAC,EAAEmB,UAAU,CAAC,CAAC,CAAC,CAAC;AAC3F,CAAC;AAAC,IAAAW,QAAA,GAAAC,OAAA,cACatD,eAAe","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
@@ -13,9 +13,9 @@ var _api = require("../../api");
13
13
  var _useSettings2 = _interopRequireDefault(require("../../../vm-hooks/useSettings"));
14
14
  var _index = require("../../index");
15
15
  var _lodash = _interopRequireDefault(require("lodash"));
16
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
18
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
16
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
17
+ 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); }
18
+ 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; }
19
19
  var MonthTrend = function MonthTrend() {
20
20
  var _useSettings = (0, _useSettings2["default"])(),
21
21
  chartColor = _useSettings.chartColor,
@@ -26,7 +26,8 @@ var MonthTrend = function MonthTrend() {
26
26
  var option = {
27
27
  color: chartColor,
28
28
  tooltip: {
29
- trigger: 'axis'
29
+ trigger: 'axis',
30
+ formatter: '{b0}:<br/>{a} {c0}km'
30
31
  },
31
32
  legend: {
32
33
  show: true,
@@ -99,6 +100,5 @@ var MonthTrend = function MonthTrend() {
99
100
  }
100
101
  }));
101
102
  };
102
- var _default = MonthTrend;
103
- exports["default"] = _default;
103
+ var _default = exports["default"] = MonthTrend;
104
104
  //# sourceMappingURL=MonthTrend.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MonthTrend.js","names":["MonthTrend","useSettings","chartColor","chartFontColor","useContext","CcCpContext","id","alarmMonthTrend","ExceptionService","getSyPointErrorReportMonthNums","moment","startOf","format","option","color","tooltip","trigger","legend","show","itemWith","itemHeight","top","textStyle","fontSize","grid","left","bottom","right","containLabel","xAxis","type","boundaryGap","axisTick","axisLabel","data","_","map","yAxis","name","nameTextStyle","axisLine","minInterval","splitLine","lineStyle","series","React","createElement","className","SubTitle","title","ReactEcharts","notMerge","lazyUpdate","style","height","width"],"sources":["vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport moment from 'moment';\nimport ReactEcharts from 'echarts-for-react';\nimport SubTitle from '../../../vm-sub-title';\nimport { ExceptionService } from '../../api';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport { CcCpContext } from '../../index';\nimport _ from 'lodash';\nconst MonthTrend = () => {\n const { chartColor, chartFontColor } = useSettings();\n const { id } = useContext(CcCpContext);\n const alarmMonthTrend = ExceptionService.getSyPointErrorReportMonthNums(id, moment()\n .startOf('y')\n .format('YYYY-MM-DD'), moment()\n .format('YYYY-MM-DD'));\n const option = {\n color: chartColor,\n tooltip: {\n trigger: 'axis',\n },\n legend: {\n show: true,\n itemWith: 6,\n itemHeight: 6,\n top: 20,\n textStyle: {\n color: chartFontColor,\n fontSize: 12,\n },\n },\n grid: {\n top: 58,\n left: 24,\n bottom: 12,\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: _.map(alarmMonthTrend, 'labelName') || [],\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 minInterval: 1,\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 data: _.map(alarmMonthTrend, 'labelValue') || [],\n },\n ],\n };\n return (React.createElement(\"div\", { className: \"exception-trend\" },\n React.createElement(SubTitle, { title: \"\\u6708\\u5EA6\\u8D8B\\u52BF\\u5206\\u6790\" }),\n React.createElement(ReactEcharts, { option: option, notMerge: true, lazyUpdate: true, style: { height: '300px', width: '100%' } })));\n};\nexport default MonthTrend;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAuB;AAAA;AAAA;AACvB,IAAMA,UAAU,GAAG,SAAbA,UAAU,GAAS;EACrB,mBAAuC,IAAAC,wBAAW,GAAE;IAA5CC,UAAU,gBAAVA,UAAU;IAAEC,cAAc,gBAAdA,cAAc;EAClC,kBAAe,IAAAC,iBAAU,EAACC,kBAAW,CAAC;IAA9BC,EAAE,eAAFA,EAAE;EACV,IAAMC,eAAe,GAAGC,qBAAgB,CAACC,8BAA8B,CAACH,EAAE,EAAE,IAAAI,kBAAM,GAAE,CAC/EC,OAAO,CAAC,GAAG,CAAC,CACZC,MAAM,CAAC,YAAY,CAAC,EAAE,IAAAF,kBAAM,GAAE,CAC9BE,MAAM,CAAC,YAAY,CAAC,CAAC;EAC1B,IAAMC,MAAM,GAAG;IACXC,KAAK,EAAEZ,UAAU;IACjBa,OAAO,EAAE;MACLC,OAAO,EAAE;IACb,CAAC;IACDC,MAAM,EAAE;MACJC,IAAI,EAAE,IAAI;MACVC,QAAQ,EAAE,CAAC;MACXC,UAAU,EAAE,CAAC;MACbC,GAAG,EAAE,EAAE;MACPC,SAAS,EAAE;QACPR,KAAK,EAAEX,cAAc;QACrB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AAErC,MAAM,EAAEA,MAAM;IAAEsC,QAAQ,EAAE,IAAI;IAAEC,UAAU,EAAE,IAAI;IAAEC,KAAK,EAAE;MAAEC,MAAM,EAAE,OAAO;MAAEC,KAAK,EAAE;IAAO;EAAE,CAAC,CAAC,CAAC;AAC3I,CAAC;AAAC,eACavD,UAAU;AAAA"}
1
+ {"version":3,"file":"MonthTrend.js","names":["_react","_interopRequireWildcard","require","_moment","_interopRequireDefault","_echartsForReact","_vmSubTitle","_api","_useSettings2","_index","_lodash","e","__esModule","_getRequireWildcardCache","WeakMap","r","t","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","MonthTrend","_useSettings","useSettings","chartColor","chartFontColor","_useContext","useContext","CcCpContext","id","alarmMonthTrend","ExceptionService","getSyPointErrorReportMonthNums","moment","startOf","format","option","color","tooltip","trigger","formatter","legend","show","itemWith","itemHeight","top","textStyle","fontSize","grid","left","bottom","right","containLabel","xAxis","type","boundaryGap","axisTick","axisLabel","data","_","map","yAxis","name","nameTextStyle","axisLine","minInterval","splitLine","lineStyle","series","React","createElement","className","SubTitle","title","ReactEcharts","notMerge","lazyUpdate","style","height","width","_default","exports"],"sources":["vtx-cc-cp-modal/components/ExceptionInfo/MonthTrend.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport moment from 'moment';\nimport ReactEcharts from 'echarts-for-react';\nimport SubTitle from '../../../vm-sub-title';\nimport { ExceptionService } from '../../api';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport { CcCpContext } from '../../index';\nimport _ from 'lodash';\nconst MonthTrend = () => {\n const { chartColor, chartFontColor } = useSettings();\n const { id } = useContext(CcCpContext);\n const alarmMonthTrend = ExceptionService.getSyPointErrorReportMonthNums(id, moment()\n .startOf('y')\n .format('YYYY-MM-DD'), moment().format('YYYY-MM-DD'));\n const option = {\n color: chartColor,\n tooltip: {\n trigger: 'axis',\n formatter: '{b0}:<br/>{a} {c0}km',\n },\n legend: {\n show: true,\n itemWith: 6,\n itemHeight: 6,\n top: 20,\n textStyle: {\n color: chartFontColor,\n fontSize: 12,\n },\n },\n grid: {\n top: 58,\n left: 24,\n bottom: 12,\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: _.map(alarmMonthTrend, 'labelName') || [],\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 minInterval: 1,\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 data: _.map(alarmMonthTrend, 'labelValue') || [],\n },\n ],\n };\n return (React.createElement(\"div\", { className: \"exception-trend\" },\n React.createElement(SubTitle, { title: \"\\u6708\\u5EA6\\u8D8B\\u52BF\\u5206\\u6790\" }),\n React.createElement(ReactEcharts, { option: option, notMerge: true, lazyUpdate: true, style: { height: '300px', width: '100%' } })));\n};\nexport default MonthTrend;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,gBAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,WAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,IAAA,GAAAL,OAAA;AACA,IAAAM,aAAA,GAAAJ,sBAAA,CAAAF,OAAA;AACA,IAAAO,MAAA,GAAAP,OAAA;AACA,IAAAQ,OAAA,GAAAN,sBAAA,CAAAF,OAAA;AAAuB,SAAAE,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,gBAAAA,CAAA;AAAA,SAAAE,yBAAAF,CAAA,6BAAAG,O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Z;MACX,CAAC;MACDuC,QAAQ,EAAE;QACNtB,IAAI,EAAE;MACV,CAAC;MACDuB,WAAW,EAAE,CAAC;MACdC,SAAS,EAAE;QACPC,SAAS,EAAE;UACPb,IAAI,EAAE,QAAQ;UACdjB,KAAK,EAAE;QACX;MACJ;IACJ,CAAC,CACJ;IACD+B,MAAM,EAAE,CACJ;MACIN,IAAI,EAAE,IAAI;MACVR,IAAI,EAAE,MAAM;MACZI,IAAI,EAAEC,kBAAC,CAACC,GAAG,CAAC9B,eAAe,EAAE,YAAY,CAAC,IAAI;IAClD,CAAC;EAET,CAAC;EACD,oBAAQuC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAE;EAAkB,CAAC,eAC/DF,iBAAK,CAACC,aAAa,CAACE,sBAAQ,EAAE;IAAEC,KAAK,EAAE;EAAuC,CAAC,CAAC,eAChFJ,iBAAK,CAACC,aAAa,CAACI,2BAAY,EAAE;IAAEtC,MAAM,EAAEA,MAAM;IAAEuC,QAAQ,EAAE,IAAI;IAAEC,UAAU,EAAE,IAAI;IAAEC,KAAK,EAAE;MAAEC,MAAM,EAAE,OAAO;MAAEC,KAAK,EAAE;IAAO;EAAE,CAAC,CAAC,CAAC;AAC3I,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cACa5D,UAAU","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
@@ -15,9 +15,9 @@ var _api = require("../../api");
15
15
  var _useSettings2 = _interopRequireDefault(require("../../../vm-hooks/useSettings"));
16
16
  var _alarm = _interopRequireDefault(require("../../../vtx-cp-modal/imgs/alarm.png"));
17
17
  var _index = require("../../index");
18
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
19
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
20
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
18
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
19
+ 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); }
20
+ 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; }
21
21
  var Summary = function Summary() {
22
22
  var _useSettings = (0, _useSettings2["default"])(),
23
23
  chartColor = _useSettings.chartColor,
@@ -106,15 +106,15 @@ var Summary = function Summary() {
106
106
  className: "exception-summary-time-value"
107
107
  }, /*#__PURE__*/_react["default"].createElement("span", null, (alarmSummary === null || alarmSummary === void 0 ? void 0 : alarmSummary.thisMonthNum) || 0), "\u6B21", /*#__PURE__*/_react["default"].createElement("div", {
108
108
  className: "exception-summary-time-value-compare"
109
- }, "\u6708\u540C\u6BD4 ".concat((alarmSummary === null || alarmSummary === void 0 ? void 0 : alarmSummary.tbData) || 0, "%"), ((alarmSummary === null || alarmSummary === void 0 ? void 0 : alarmSummary.tbData) || 0) >= 100 ? /*#__PURE__*/_react["default"].createElement("div", {
109
+ }, "\u6708\u540C\u6BD4 ".concat((alarmSummary === null || alarmSummary === void 0 ? void 0 : alarmSummary.tbData) || 0, "%"), ((alarmSummary === null || alarmSummary === void 0 ? void 0 : alarmSummary.tbData) || 0) >= 100 ? ( /*#__PURE__*/_react["default"].createElement("div", {
110
110
  className: "triangle-up"
111
- }) : /*#__PURE__*/_react["default"].createElement("div", {
111
+ })) : ( /*#__PURE__*/_react["default"].createElement("div", {
112
112
  className: "triangle-down"
113
- }))))), /*#__PURE__*/_react["default"].createElement("div", {
113
+ })))))), /*#__PURE__*/_react["default"].createElement("div", {
114
114
  className: "exception-summary-type-analysis"
115
115
  }, /*#__PURE__*/_react["default"].createElement(_vmSubTitle["default"], {
116
116
  title: "\u7C7B\u578B\u5206\u6790"
117
- }), (alarmTabsValue === null || alarmTabsValue === void 0 ? void 0 : alarmTabsValue.length) > 0 ? /*#__PURE__*/_react["default"].createElement(_echartsForReact["default"], {
117
+ }), (alarmTabsValue === null || alarmTabsValue === void 0 ? void 0 : alarmTabsValue.length) > 0 ? ( /*#__PURE__*/_react["default"].createElement(_echartsForReact["default"], {
118
118
  option: option,
119
119
  notMerge: true,
120
120
  lazyUpdate: true,
@@ -122,14 +122,13 @@ var Summary = function Summary() {
122
122
  height: '180px',
123
123
  width: '100%'
124
124
  }
125
- }) : /*#__PURE__*/_react["default"].createElement(_vmNodata["default"], {
125
+ })) : ( /*#__PURE__*/_react["default"].createElement(_vmNodata["default"], {
126
126
  style: {
127
127
  height: '180px',
128
128
  marginLeft: '50%',
129
129
  transform: 'translateX(-50%)'
130
130
  }
131
- })));
131
+ }))));
132
132
  };
133
- var _default = Summary;
134
- exports["default"] = _default;
133
+ var _default = exports["default"] = Summary;
135
134
  //# sourceMappingURL=Summary.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Summary.js","names":["Summary","useSettings","chartColor","chartFontColor","isDark","useContext","CcCpContext","id","alarmSummary","ExceptionService","getMonthCompareData","moment","format","alarmTypes","getErrorReportTypeNums","startOf","endOf","month","totalCount","sumBy","alarmTabsValue","map","item","name","labelName","value","labelValue","option","color","backgroundColor","tooltip","show","trigger","legend","orient","left","top","align","itemGap","itemWidth","itemHeight","formatter","find","rate","toFixed","textStyle","fontSize","pageIconColor","pageIconInactiveColor","pageTextStyle","series","type","radius","center","hoverAnimation","z","itemStyle","normal","borderWidth","borderColor","label","data","labelLine","React","createElement","className","SubTitle","title","src","alarm","thisMonthNum","tbData","length","ReactEcharts","notMerge","lazyUpdate","style","height","width","NoData","marginLeft","transform"],"sources":["vtx-cc-cp-modal/components/ExceptionInfo/Summary.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport moment from 'moment';\nimport sumBy from 'lodash/sumBy';\nimport ReactEcharts from 'echarts-for-react';\nimport SubTitle from '../../../vm-sub-title';\nimport NoData from '../../../vm-nodata';\nimport { ExceptionService } from '../../api';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport alarm from '../../../vtx-cp-modal/imgs/alarm.png';\nimport { CcCpContext } from '../../index';\nconst Summary = () => {\n const { chartColor, chartFontColor, isDark } = useSettings();\n const { id } = useContext(CcCpContext);\n const alarmSummary = ExceptionService.getMonthCompareData(id, moment().format('YYYY-MM'));\n const alarmTypes = ExceptionService.getErrorReportTypeNums(id, moment()\n .startOf('M')\n .format('YYYY-MM-DD'), moment()\n .endOf('M')\n .format('YYYY-MM-DD'));\n const month = moment().month() + 1;\n const totalCount = sumBy(alarmTypes, 'labelValue');\n const alarmTabsValue = alarmTypes.map(item => ({\n name: item.labelName,\n value: item.labelValue,\n }));\n let option = {\n color: chartColor,\n backgroundColor: 'transparent',\n tooltip: {\n show: true,\n trigger: 'item',\n },\n legend: {\n orient: 'vertical',\n left: '40%',\n top: 'middle',\n align: 'left',\n itemGap: 8,\n itemWidth: 10,\n itemHeight: 10,\n formatter: function (name) {\n const value = alarmTabsValue.find((item) => item.name === name);\n const rate = (((value === null || value === void 0 ? void 0 : value.value) || 0) / totalCount) * 100;\n if (value) {\n return `\\t\\t${name}\\t\\t${value.value}次\\t\\t${rate.toFixed(2)}%`;\n }\n else {\n return '';\n }\n },\n textStyle: {\n fontSize: 14,\n color: chartFontColor,\n },\n pageIconColor: chartFontColor,\n pageIconInactiveColor: chartFontColor,\n pageTextStyle: {\n color: chartFontColor,\n },\n },\n series: [\n {\n type: 'pie',\n radius: ['55%', '75%'],\n center: ['20%', '50%'],\n hoverAnimation: true,\n z: 10,\n itemStyle: {\n normal: {\n borderWidth: 2,\n borderColor: isDark ? '#003359' : '#ffffff',\n },\n },\n label: {\n show: false,\n },\n data: alarmTabsValue,\n labelLine: {\n show: false,\n },\n },\n ],\n };\n return (React.createElement(\"div\", { className: \"exception-summary\" },\n React.createElement(SubTitle, { title: `${month}月异常信息` }),\n React.createElement(\"div\", { className: \"exception-summary-time\" },\n React.createElement(\"img\", { src: alarm }),\n React.createElement(\"div\", null,\n React.createElement(\"div\", { className: \"exception-summary-time-name\" }, \"\\u6708\\u5EA6\\u5F02\\u5E38\\u603B\\u6B21\\u6570\"),\n React.createElement(\"div\", { className: \"exception-summary-time-value\" },\n React.createElement(\"span\", null, (alarmSummary === null || alarmSummary === void 0 ? void 0 : alarmSummary.thisMonthNum) || 0),\n \"\\u6B21\",\n React.createElement(\"div\", { className: \"exception-summary-time-value-compare\" },\n `月同比 ${(alarmSummary === null || alarmSummary === void 0 ? void 0 : alarmSummary.tbData) || 0}%`,\n ((alarmSummary === null || alarmSummary === void 0 ? void 0 : alarmSummary.tbData) || 0) >= 100 ? (React.createElement(\"div\", { className: \"triangle-up\" })) : (React.createElement(\"div\", { className: \"triangle-down\" })))))),\n React.createElement(\"div\", { className: \"exception-summary-type-analysis\" },\n React.createElement(SubTitle, { title: \"\\u7C7B\\u578B\\u5206\\u6790\" }),\n (alarmTabsValue === null || alarmTabsValue === void 0 ? void 0 : alarmTabsValue.length) > 0 ? (React.createElement(ReactEcharts, { option: option, notMerge: true, lazyUpdate: true, style: { height: '180px', width: '100%' } })) : (React.createElement(NoData, { style: {\n height: '180px',\n marginLeft: '50%',\n transform: 'translateX(-50%)',\n } })))));\n};\nexport default Summary;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAA0C;AAAA;AAAA;AAC1C,IAAMA,OAAO,GAAG,SAAVA,OAAO,GAAS;EAClB,mBAA+C,IAAAC,wBAAW,GAAE;IAApDC,UAAU,gBAAVA,UAAU;IAAEC,cAAc,gBAAdA,cAAc;IAAEC,MAAM,gBAANA,MAAM;EAC1C,kBAAe,IAAAC,iBAAU,EAACC,kBAAW,CAAC;IAA9BC,EAAE,eAAFA,EAAE;EACV,IAAMC,YAAY,GAAGC,qBAAgB,CAACC,mBAAmB,CAACH,EAAE,EAAE,IAAAI,kBAAM,GAAE,CAACC,MAAM,CAAC,SAAS,CAAC,CAAC;EACzF,IAAMC,UAAU,GAAGJ,qBAAgB,CAACK,sBAAsB,CAACP,EAAE,EAAE,IAAAI,kBAAM,GAAE,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AE;MAAEC,MAAM,EAAE,OAAO;MAAEC,KAAK,EAAE;IAAO;EAAE,CAAC,CAAC,gBAAKf,iBAAK,CAACC,aAAa,CAACe,oBAAM,EAAE;IAAEH,KAAK,EAAE;MACnQC,MAAM,EAAE,OAAO;MACfG,UAAU,EAAE,KAAK;MACjBC,SAAS,EAAE;IACf;EAAE,CAAC,CAAE,CAAC,CAAC;AACvB,CAAC;AAAC,eACajF,OAAO;AAAA"}
1
+ {"version":3,"file":"Summary.js","names":["_react","_interopRequireWildcard","require","_moment","_interopRequireDefault","_sumBy","_echartsForReact","_vmSubTitle","_vmNodata","_api","_useSettings2","_alarm","_index","e","__esModule","_getRequireWildcardCache","WeakMap","r","t","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","Summary","_useSettings","useSettings","chartColor","chartFontColor","isDark","_useContext","useContext","CcCpContext","id","alarmSummary","ExceptionService","getMonthCompareData","moment","format","alarmTypes","getErrorReportTypeNums","startOf","endOf","month","totalCount","sumBy","alarmTabsValue","map","item","name","labelName","value","labelValue","option","color","backgroundColor","tooltip","show","trigger","legend","orient","left","top","align","itemGap","itemWidth","itemHeight","formatter","find","rate","concat","toFixed","textStyle","fontSize","pageIconColor","pageIconInactiveColor","pageTextStyle","series","type","radius","center","hoverAnimation","z","itemStyle","normal","borderWidth","borderColor","label","data","labelLine","React","createElement","className","SubTitle","title","src","alarm","thisMonthNum","tbData","length","ReactEcharts","notMerge","lazyUpdate","style","height","width","NoData","marginLeft","transform","_default","exports"],"sources":["vtx-cc-cp-modal/components/ExceptionInfo/Summary.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport moment from 'moment';\nimport sumBy from 'lodash/sumBy';\nimport ReactEcharts from 'echarts-for-react';\nimport SubTitle from '../../../vm-sub-title';\nimport NoData from '../../../vm-nodata';\nimport { ExceptionService } from '../../api';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport alarm from '../../../vtx-cp-modal/imgs/alarm.png';\nimport { CcCpContext } from '../../index';\nconst Summary = () => {\n const { chartColor, chartFontColor, isDark } = useSettings();\n const { id } = useContext(CcCpContext);\n const alarmSummary = ExceptionService.getMonthCompareData(id, moment().format('YYYY-MM'));\n const alarmTypes = ExceptionService.getErrorReportTypeNums(id, moment()\n .startOf('M')\n .format('YYYY-MM-DD'), moment()\n .endOf('M')\n .format('YYYY-MM-DD'));\n const month = moment().month() + 1;\n const totalCount = sumBy(alarmTypes, 'labelValue');\n const alarmTabsValue = alarmTypes.map(item => ({\n name: item.labelName,\n value: item.labelValue,\n }));\n let option = {\n color: chartColor,\n backgroundColor: 'transparent',\n tooltip: {\n show: true,\n trigger: 'item',\n },\n legend: {\n orient: 'vertical',\n left: '40%',\n top: 'middle',\n align: 'left',\n itemGap: 8,\n itemWidth: 10,\n itemHeight: 10,\n formatter: function (name) {\n const value = alarmTabsValue.find((item) => item.name === name);\n const rate = (((value === null || value === void 0 ? void 0 : value.value) || 0) / totalCount) * 100;\n if (value) {\n return `\\t\\t${name}\\t\\t${value.value}次\\t\\t${rate.toFixed(2)}%`;\n }\n else {\n return '';\n }\n },\n textStyle: {\n fontSize: 14,\n color: chartFontColor,\n },\n pageIconColor: chartFontColor,\n pageIconInactiveColor: chartFontColor,\n pageTextStyle: {\n color: chartFontColor,\n },\n },\n series: [\n {\n type: 'pie',\n radius: ['55%', '75%'],\n center: ['20%', '50%'],\n hoverAnimation: true,\n z: 10,\n itemStyle: {\n normal: {\n borderWidth: 2,\n borderColor: isDark ? '#003359' : '#ffffff',\n },\n },\n label: {\n show: false,\n },\n data: alarmTabsValue,\n labelLine: {\n show: false,\n },\n },\n ],\n };\n return (React.createElement(\"div\", { className: \"exception-summary\" },\n React.createElement(SubTitle, { title: `${month}月异常信息` }),\n React.createElement(\"div\", { className: \"exception-summary-time\" },\n React.createElement(\"img\", { src: alarm }),\n React.createElement(\"div\", null,\n React.createElement(\"div\", { className: \"exception-summary-time-name\" }, \"\\u6708\\u5EA6\\u5F02\\u5E38\\u603B\\u6B21\\u6570\"),\n React.createElement(\"div\", { className: \"exception-summary-time-value\" },\n React.createElement(\"span\", null, (alarmSummary === null || alarmSummary === void 0 ? void 0 : alarmSummary.thisMonthNum) || 0),\n \"\\u6B21\",\n React.createElement(\"div\", { className: \"exception-summary-time-value-compare\" },\n `月同比 ${(alarmSummary === null || alarmSummary === void 0 ? void 0 : alarmSummary.tbData) || 0}%`,\n ((alarmSummary === null || alarmSummary === void 0 ? void 0 : alarmSummary.tbData) || 0) >= 100 ? (React.createElement(\"div\", { className: \"triangle-up\" })) : (React.createElement(\"div\", { className: \"triangle-down\" })))))),\n React.createElement(\"div\", { className: \"exception-summary-type-analysis\" },\n React.createElement(SubTitle, { title: \"\\u7C7B\\u578B\\u5206\\u6790\" }),\n (alarmTabsValue === null || alarmTabsValue === void 0 ? void 0 : alarmTabsValue.length) > 0 ? (React.createElement(ReactEcharts, { option: option, notMerge: true, lazyUpdate: true, style: { height: '180px', width: '100%' } })) : (React.createElement(NoData, { style: {\n height: '180px',\n marginLeft: '50%',\n transform: 'translateX(-50%)',\n } })))));\n};\nexport default Summary;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,MAAA,GAAAD,sBAAA,CAAAF,OAAA;AACA,IAAAI,gBAAA,GAAAF,sBAAA,CAAAF,OAAA;AACA,IAAAK,WAAA,GAAAH,sBAAA,CAAAF,OAAA;AACA,IAAAM,SAAA,GAAAJ,sBAAA,CAAAF,OAAA;AACA,IAAAO,IAAA,GAAAP,OAAA;AACA,IAAAQ,aAAA,GAAAN,sBAAA,CAAAF,OAAA;AACA,IAAAS,MAAA,GAAAP,sBAAA,CAAAF,OAAA;AACA,IAAAU,MAAA,GAAAV,OAAA;AAA0C,SAAAE,uBAAAS,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,gBAA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AEC,SAAS,EAAE;EAAgB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,eAC/OF,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAE;EAAkC,CAAC,eACvEF,iBAAK,CAACC,aAAa,CAACE,sBAAQ,EAAE;IAAEC,KAAK,EAAE;EAA2B,CAAC,CAAC,EACpE,CAAChD,cAAc,KAAK,IAAI,IAAIA,cAAc,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,cAAc,CAACqD,MAAM,IAAI,CAAC,kBAAIT,iBAAK,CAACC,aAAa,CAACS,2BAAY,EAAE;IAAE/C,MAAM,EAAEA,MAAM;IAAEgD,QAAQ,EAAE,IAAI;IAAEC,UAAU,EAAE,IAAI;IAAEC,KAAK,EAAE;MAAEC,MAAM,EAAE,OAAO;MAAEC,KAAK,EAAE;IAAO;EAAE,CAAC,CAAC,mBAAKf,iBAAK,CAACC,aAAa,CAACe,oBAAM,EAAE;IAAEH,KAAK,EAAE;MACnQC,MAAM,EAAE,OAAO;MACfG,UAAU,EAAE,KAAK;MACjBC,SAAS,EAAE;IACf;EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;AACvB,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cACatF,OAAO","ignoreList":[]}
@@ -10,7 +10,7 @@ var _antd = require("antd");
10
10
  var _Summary = _interopRequireDefault(require("./Summary"));
11
11
  var _MonthTrend = _interopRequireDefault(require("./MonthTrend"));
12
12
  var _ExceptionRecord = _interopRequireDefault(require("./ExceptionRecord"));
13
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
13
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
14
14
  var ExceptionInfo = function ExceptionInfo() {
15
15
  return /*#__PURE__*/_react["default"].createElement("div", {
16
16
  className: "cc-cp-exception"
@@ -30,6 +30,5 @@ var ExceptionInfo = function ExceptionInfo() {
30
30
  span: 24
31
31
  }, /*#__PURE__*/_react["default"].createElement(_ExceptionRecord["default"], null))));
32
32
  };
33
- var _default = ExceptionInfo;
34
- exports["default"] = _default;
33
+ var _default = exports["default"] = ExceptionInfo;
35
34
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["ExceptionInfo","React","createElement","className","Row","gutter","Col","xxl","xl","lg","md","Summary","MonthTrend","span","ExceptionRecord"],"sources":["vtx-cc-cp-modal/components/ExceptionInfo/index.js"],"sourcesContent":["import React from 'react';\nimport './index.less';\nimport { Col, Row } from 'antd';\nimport Summary from './Summary';\nimport MonthTrend from './MonthTrend';\nimport ExceptionRecord from './ExceptionRecord';\nconst ExceptionInfo = () => {\n return (React.createElement(\"div\", { className: \"cc-cp-exception\" },\n React.createElement(Row, { gutter: [10, 10] },\n React.createElement(Col, { xxl: 10, xl: 11, lg: 12, md: 24 },\n React.createElement(Summary, null)),\n React.createElement(Col, { xxl: 14, xl: 13, lg: 12, md: 24 },\n React.createElement(MonthTrend, null)),\n React.createElement(Col, { span: 24 },\n React.createElement(ExceptionRecord, null)))));\n};\nexport default ExceptionInfo;\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AAAgD;AAChD,IAAMA,aAAa,GAAG,SAAhBA,aAAa,GAAS;EACxB,oBAAQC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAE;EAAkB,CAAC,eAC/DF,iBAAK,CAACC,aAAa,CAACE,SAAG,EAAE;IAAEC,MAAM,EAAE,CAAC,EAAE,EAAE,EAAE;EAAE,CAAC,eACzCJ,iBAAK,CAACC,aAAa,CAACI,SAAG,EAAE;IAAEC,GAAG,EAAE,EAAE;IAAEC,EAAE,EAAE,EAAE;IAAEC,EAAE,EAAE,EAAE;IAAEC,EAAE,EAAE;EAAG,CAAC,eACxDT,iBAAK,CAACC,aAAa,CAACS,mBAAO,EAAE,IAAI,CAAC,CAAC,eACvCV,iBAAK,CAACC,aAAa,CAACI,SAAG,EAAE;IAAEC,GAAG,EAAE,EAAE;IAAEC,EAAE,EAAE,EAAE;IAAEC,EAAE,EAAE,EAAE;IAAEC,EAAE,EAAE;EAAG,CAAC,eACxDT,iBAAK,CAACC,aAAa,CAACU,sBAAU,EAAE,IAAI,CAAC,CAAC,eAC1CX,iBAAK,CAACC,aAAa,CAACI,SAAG,EAAE;IAAEO,IAAI,EAAE;EAAG,CAAC,eACjCZ,iBAAK,CAACC,aAAa,CAACY,2BAAe,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;AAC7D,CAAC;AAAC,eACad,aAAa;AAAA"}
1
+ {"version":3,"file":"index.js","names":["_react","_interopRequireDefault","require","_antd","_Summary","_MonthTrend","_ExceptionRecord","e","__esModule","ExceptionInfo","React","createElement","className","Row","gutter","Col","xxl","xl","lg","md","Summary","MonthTrend","span","ExceptionRecord","_default","exports"],"sources":["vtx-cc-cp-modal/components/ExceptionInfo/index.js"],"sourcesContent":["import React from 'react';\nimport './index.less';\nimport { Col, Row } from 'antd';\nimport Summary from './Summary';\nimport MonthTrend from './MonthTrend';\nimport ExceptionRecord from './ExceptionRecord';\nconst ExceptionInfo = () => {\n return (React.createElement(\"div\", { className: \"cc-cp-exception\" },\n React.createElement(Row, { gutter: [10, 10] },\n React.createElement(Col, { xxl: 10, xl: 11, lg: 12, md: 24 },\n React.createElement(Summary, null)),\n React.createElement(Col, { xxl: 14, xl: 13, lg: 12, md: 24 },\n React.createElement(MonthTrend, null)),\n React.createElement(Col, { span: 24 },\n React.createElement(ExceptionRecord, null)))));\n};\nexport default ExceptionInfo;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACAA,OAAA;AACA,IAAAC,KAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAH,sBAAA,CAAAC,OAAA;AACA,IAAAG,WAAA,GAAAJ,sBAAA,CAAAC,OAAA;AACA,IAAAI,gBAAA,GAAAL,sBAAA,CAAAC,OAAA;AAAgD,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,gBAAAA,CAAA;AAChD,IAAME,aAAa,GAAG,SAAhBA,aAAaA,CAAA,EAAS;EACxB,oBAAQC,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEC,SAAS,EAAE;EAAkB,CAAC,eAC/DF,iBAAK,CAACC,aAAa,CAACE,SAAG,EAAE;IAAEC,MAAM,EAAE,CAAC,EAAE,EAAE,EAAE;EAAE,CAAC,eACzCJ,iBAAK,CAACC,aAAa,CAACI,SAAG,EAAE;IAAEC,GAAG,EAAE,EAAE;IAAEC,EAAE,EAAE,EAAE;IAAEC,EAAE,EAAE,EAAE;IAAEC,EAAE,EAAE;EAAG,CAAC,eACxDT,iBAAK,CAACC,aAAa,CAACS,mBAAO,EAAE,IAAI,CAAC,CAAC,eACvCV,iBAAK,CAACC,aAAa,CAACI,SAAG,EAAE;IAAEC,GAAG,EAAE,EAAE;IAAEC,EAAE,EAAE,EAAE;IAAEC,EAAE,EAAE,EAAE;IAAEC,EAAE,EAAE;EAAG,CAAC,eACxDT,iBAAK,CAACC,aAAa,CAACU,sBAAU,EAAE,IAAI,CAAC,CAAC,eAC1CX,iBAAK,CAACC,aAAa,CAACI,SAAG,EAAE;IAAEO,IAAI,EAAE;EAAG,CAAC,eACjCZ,iBAAK,CAACC,aAAa,CAACY,2BAAe,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC;AAC7D,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,cACahB,aAAa","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
@@ -13,15 +13,15 @@ var _vtxCcCpModal = require("../../../vtx-cc-cp-modal");
13
13
  var _vmTable = _interopRequireDefault(require("../../../vm-table"));
14
14
  var _useSettings2 = _interopRequireDefault(require("../../../vm-hooks/useSettings"));
15
15
  var _vtxRestaurantModal = _interopRequireDefault(require("../../../vtx-restaurant-modal"));
16
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
18
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
19
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
16
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
17
+ 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); }
18
+ 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; }
19
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
20
20
  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."); }
21
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
22
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
23
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { ; } } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i["return"] && (_r = _i["return"](), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
24
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
21
+ 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
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
23
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
24
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
25
25
  var Restaurant = function Restaurant() {
26
26
  var _useContext = (0, _react.useContext)(_vtxCcCpModal.CcCpContext),
27
27
  id = _useContext.id;
@@ -120,6 +120,5 @@ var Restaurant = function Restaurant() {
120
120
  }
121
121
  })));
122
122
  };
123
- var _default = Restaurant;
124
- exports["default"] = _default;
123
+ var _default = exports["default"] = Restaurant;
125
124
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["Restaurant","useContext","CcCpContext","id","useSettings","theme","useSetState","pagination","current","pageSize","total","state","setState","title","visible","modalInfo","setModalInfo","data","BasicService","useRestaurantList","page","pageChange","Object","assign","tableProps","rowKey","defaultPageSize","onChange","height","dataSource","rows","columns","dataIndex","key","ellipsis","width","React","createElement","Fragment","className","VMTable","VtxRestaurantModal","onCancel"],"sources":["vtx-cc-cp-modal/components/Restaurant/index.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport './index.less';\nimport { useSetState } from 'ahooks';\nimport { BasicService } from '../../../vtx-cc-cp-modal/api';\nimport { CcCpContext } from '../../../vtx-cc-cp-modal';\nimport VMTable from '../../../vm-table';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport VtxRestaurantModal from '../../../vtx-restaurant-modal';\nconst Restaurant = () => {\n const { id } = useContext(CcCpContext);\n const { theme } = useSettings();\n const [state, setState] = useSetState({\n pagination: {\n current: 1,\n pageSize: 10,\n total: 0,\n },\n });\n const [modalInfo, setModalInfo] = useSetState({\n title: '',\n visible: false,\n id: '',\n });\n const { pagination } = state;\n const data = BasicService.useRestaurantList({ id, page: pagination.current - 1 });\n const pageChange = (page) => {\n setState({\n pagination: Object.assign(Object.assign({}, state.pagination), { current: page }),\n });\n };\n const tableProps = {\n rowKey: 'id',\n pagination: Object.assign(Object.assign({}, state.pagination), { total: data.total, defaultPageSize: 10, onChange: pageChange }),\n height: 500,\n dataSource: data.rows,\n };\n const columns = [\n {\n title: '商户名称',\n dataIndex: 'name',\n key: 'name',\n // render: (text: string, record: any) => {\n // return (\n // <a onClick={() => setModalInfo({ visible: true, title: text, id: record.id })}>\n // {text}\n // </a>\n // );\n // },\n ellipsis: true,\n },\n {\n title: '商户编号',\n dataIndex: 'code',\n key: 'code',\n },\n {\n title: '行政区划',\n dataIndex: 'divisionName',\n key: 'divisionName',\n },\n {\n title: '商户地址',\n dataIndex: 'address',\n key: 'address',\n ellipsis: true,\n },\n {\n title: '商户类型',\n dataIndex: 'classesName',\n key: 'classesName',\n width: 100\n },\n {\n title: '商户规模',\n dataIndex: 'scaleName',\n key: 'scaleName',\n width: 100\n },\n ];\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"cc-cp-restaurant\" },\n React.createElement(\"div\", { className: \"cc-cp-restaurant-table\" },\n React.createElement(VMTable, Object.assign({ columns: columns }, tableProps)))),\n React.createElement(VtxRestaurantModal, Object.assign({}, modalInfo, { theme: theme, onCancel: () => setModalInfo({\n title: '',\n visible: false,\n id: '',\n }) }))));\n};\nexport default Restaurant;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAA+D;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAC/D,IAAMA,UAAU,GAAG,SAAbA,UAAU,GAAS;EACrB,kBAAe,IAAAC,iBAAU,EAACC,yBAAW,CAAC;IAA9BC,EAAE,eAAFA,EAAE;EACV,mBAAkB,IAAAC,wBAAW,GAAE;IAAvBC,KAAK,gBAALA,KAAK;EACb,mBAA0B,IAAAC,mBAAW,EAAC;MAClCC,UAAU,EAAE;QACRC,OAAO,EAAE,CAAC;QACVC,QAAQ,EAAE,EAAE;QACZC,KAAK,EAAE;MACX;IACJ,CAAC,CAAC;IAAA;IANKC,KAAK;IAAEC,QAAQ;EAOtB,oBAAkC,IAAAN,mBAAW,EAAC;MAC1CO,KAAK,EAAE,EAAE;MACTC,OAAO,EAAE,KAAK;MACdX,EAAE,EAAE;IACR,CAAC,CAAC;IAAA;IAJKY,SAAS;IAAEC,YAAY;EAK9B,IAAQT,UAAU,GAAKI,KAAK,CAApBJ,UAAU;EAClB,IAAMU,IAAI,GAAGC,iBAAY,CAACC,iBAAiB,CAAC;IAAEhB,EAAE,EAAFA,EAAE;IAAEiB,IAAI,EAAEb,UAAU,CAACC,OAAO,GAAG;EAAE,CAAC,CAAC;EACjF,IAAMa,UAAU,GAAG,SAAbA,UAAU,CAAID,IAAI,EAAK;IACzBR,QAAQ,CAAC;MACLL,UAAU,EAAEe,MAAM,CAACC,MAAM,CAACD,MAAM,CAACC,MAAM,CAAC,CAAC,CAAC,EAAEZ,KAAK,CAACJ,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AE;EAAmB,CAAC,eACxDH,iBAAK,CAACC,aAAa,CAAC,KAAK,EAAE;IAAEE,SAAS,EAAE;EAAyB,CAAC,eAC9DH,iBAAK,CAACC,aAAa,CAACG,mBAAO,EAAElB,MAAM,CAACC,MAAM,CAAC;IAAEQ,OAAO,EAAEA;EAAQ,CAAC,EAAEP,UAAU,CAAC,CAAC,CAAC,CAAC,eACvFY,iBAAK,CAACC,aAAa,CAACI,8BAAkB,EAAEnB,MAAM,CAACC,MAAM,CAAC,CAAC,CAAC,EAAER,SAAS,EAAE;IAAEV,KAAK,EAAEA,KAAK;IAAEqC,QAAQ,EAAE;MAAA,OAAM1B,YAAY,CAAC;QAC1GH,KAAK,EAAE,EAAE;QACTC,OAAO,EAAE,KAAK;QACdX,EAAE,EAAE;MACR,CAAC,CAAC;IAAA;EAAC,CAAC,CAAC,CAAC,CAAC;AACnB,CAAC;AAAC,eACaH,UAAU;AAAA"}
1
+ {"version":3,"file":"index.js","names":["_react","_interopRequireWildcard","require","_ahooks","_api","_vtxCcCpModal","_vmTable","_interopRequireDefault","_useSettings2","_vtxRestaurantModal","e","__esModule","_getRequireWildcardCache","WeakMap","r","t","_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","Restaurant","_useContext","useContext","CcCpContext","id","_useSettings","useSettings","theme","_useSetState","useSetState","pagination","current","pageSize","total","_useSetState2","state","setState","_useSetState3","title","visible","_useSetState4","modalInfo","setModalInfo","data","BasicService","useRestaurantList","page","pageChange","assign","tableProps","rowKey","defaultPageSize","onChange","height","dataSource","rows","columns","dataIndex","key","ellipsis","width","React","createElement","Fragment","className","VMTable","VtxRestaurantModal","onCancel","_default","exports"],"sources":["vtx-cc-cp-modal/components/Restaurant/index.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport './index.less';\nimport { useSetState } from 'ahooks';\nimport { BasicService } from '../../../vtx-cc-cp-modal/api';\nimport { CcCpContext } from '../../../vtx-cc-cp-modal';\nimport VMTable from '../../../vm-table';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport VtxRestaurantModal from '../../../vtx-restaurant-modal';\nconst Restaurant = () => {\n const { id } = useContext(CcCpContext);\n const { theme } = useSettings();\n const [state, setState] = useSetState({\n pagination: {\n current: 1,\n pageSize: 10,\n total: 0,\n },\n });\n const [modalInfo, setModalInfo] = useSetState({\n title: '',\n visible: false,\n id: '',\n });\n const { pagination } = state;\n const data = BasicService.useRestaurantList({ id, page: pagination.current - 1 });\n const pageChange = (page) => {\n setState({\n pagination: Object.assign(Object.assign({}, state.pagination), { current: page }),\n });\n };\n const tableProps = {\n rowKey: 'id',\n pagination: Object.assign(Object.assign({}, state.pagination), { total: data.total, defaultPageSize: 10, onChange: pageChange }),\n height: 500,\n dataSource: data.rows,\n };\n const columns = [\n {\n title: '商户名称',\n dataIndex: 'name',\n key: 'name',\n // render: (text: string, record: any) => {\n // return (\n // <a onClick={() => setModalInfo({ visible: true, title: text, id: record.id })}>\n // {text}\n // </a>\n // );\n // },\n ellipsis: true,\n },\n {\n title: '商户编号',\n dataIndex: 'code',\n key: 'code',\n },\n {\n title: '行政区划',\n dataIndex: 'divisionName',\n key: 'divisionName',\n },\n {\n title: '商户地址',\n dataIndex: 'address',\n key: 'address',\n ellipsis: true,\n },\n {\n title: '商户类型',\n dataIndex: 'classesName',\n key: 'classesName',\n width: 100\n },\n {\n title: '商户规模',\n dataIndex: 'scaleName',\n key: 'scaleName',\n width: 100\n },\n ];\n return (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"cc-cp-restaurant\" },\n React.createElement(\"div\", { className: \"cc-cp-restaurant-table\" },\n React.createElement(VMTable, Object.assign({ columns: columns }, tableProps)))),\n React.createElement(VtxRestaurantModal, Object.assign({}, modalInf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QAC1GJ,KAAK,EAAE,EAAE;QACTC,OAAO,EAAE,KAAK;QACdf,EAAE,EAAE;MACR,CAAC,CAAC;IAAA;EAAC,CAAC,CAAC,CAAC,CAAC;AACnB,CAAC;AAAC,IAAA4C,QAAA,GAAAC,OAAA,cACajD,UAAU","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
3
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
4
  Object.defineProperty(exports, "__esModule", {
5
5
  value: true
6
6
  });
@@ -13,9 +13,9 @@ var _vmNodata = _interopRequireDefault(require("../../../vm-nodata"));
13
13
  var _index = require("../../index");
14
14
  var _api = require("../../api");
15
15
  var _lodash = _interopRequireDefault(require("lodash"));
16
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
17
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
18
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
16
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
17
+ 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); }
18
+ 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; }
19
19
  var Ljcsl = function Ljcsl(_ref) {
20
20
  var startDay = _ref.startDay,
21
21
  endDay = _ref.endDay;
@@ -90,7 +90,7 @@ var Ljcsl = function Ljcsl(_ref) {
90
90
  }
91
91
  }]
92
92
  };
93
- return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, (values === null || values === void 0 ? void 0 : values.length) > 0 ? /*#__PURE__*/_react["default"].createElement(_echartsForReact["default"], {
93
+ return /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, (values === null || values === void 0 ? void 0 : values.length) > 0 ? ( /*#__PURE__*/_react["default"].createElement(_echartsForReact["default"], {
94
94
  option: option,
95
95
  notMerge: true,
96
96
  lazyUpdate: true,
@@ -98,14 +98,13 @@ var Ljcsl = function Ljcsl(_ref) {
98
98
  height: '150px',
99
99
  width: '100%'
100
100
  }
101
- }) : /*#__PURE__*/_react["default"].createElement(_vmNodata["default"], {
101
+ })) : ( /*#__PURE__*/_react["default"].createElement(_vmNodata["default"], {
102
102
  style: {
103
103
  height: '150px',
104
104
  marginLeft: '50%',
105
105
  transform: 'translateX(-50%)'
106
106
  }
107
- }));
107
+ })));
108
108
  };
109
- var _default = Ljcsl;
110
- exports["default"] = _default;
109
+ var _default = exports["default"] = Ljcsl;
111
110
  //# sourceMappingURL=Ljcsl.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Ljcsl.js","names":["Ljcsl","startDay","endDay","useSettings","chartFontColor","useContext","CcCpContext","id","data","BasicService","getSyPointCollectLine","names","_","map","values","option","color","tooltip","trigger","legend","itemWith","itemHeight","textStyle","fontSize","grid","left","right","top","bottom","xAxis","type","boundaryGap","axisTick","show","axisLabel","yAxis","name","min","nameTextStyle","splitNumber","splitLine","lineStyle","series","length","areaStyle","echarts","graphic","LinearGradient","offset","React","createElement","Fragment","ReactEcharts","notMerge","lazyUpdate","style","height","width","NoData","marginLeft","transform"],"sources":["vtx-cc-cp-modal/components/SyInfo/Ljcsl.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport * as echarts from 'echarts';\nimport ReactEcharts from 'echarts-for-react';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport NoData from '../../../vm-nodata';\nimport { CcCpContext } from '../../index';\nimport { BasicService } from '../../api';\nimport _ from 'lodash';\nconst Ljcsl = ({ startDay, endDay }) => {\n const { chartFontColor } = useSettings();\n const { id } = useContext(CcCpContext);\n const data = BasicService.getSyPointCollectLine(id, startDay, endDay);\n const names = _.map(data, 'labelName');\n const values = _.map(data, 'labelValue');\n const option = {\n color: ['#00FFE7'],\n tooltip: {\n trigger: 'axis',\n },\n legend: {\n itemWith: 6,\n itemHeight: 6,\n textStyle: {\n color: chartFontColor,\n fontSize: 12,\n },\n data: ['日产生量'],\n },\n grid: {\n left: '8%',\n right: '6%',\n top: 28,\n bottom: 20,\n },\n xAxis: {\n type: 'category',\n boundaryGap: true,\n axisTick: {\n show: false,\n },\n axisLabel: {\n color: chartFontColor,\n },\n data: names,\n },\n yAxis: {\n type: 'value',\n name: 'kg',\n min: 0,\n nameTextStyle: {\n color: chartFontColor,\n },\n splitNumber: 5,\n axisLabel: {\n color: chartFontColor,\n },\n splitLine: {\n lineStyle: {\n type: 'dashed',\n color: 'rgba(151,151,151,0.28)',\n },\n },\n },\n series: [\n {\n name: '垃圾量',\n type: 'line',\n data: (values === null || values === void 0 ? void 0 : values.length) > 0 ? values : [],\n areaStyle: {\n color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [\n {\n offset: 0,\n color: 'rgba(0, 0, 0, 0.5)',\n },\n {\n offset: 1,\n color: '#00FFE7',\n },\n ]),\n },\n },\n ],\n };\n return (React.createElement(React.Fragment, null, (values === null || values === void 0 ? void 0 : values.length) > 0 ? (React.createElement(ReactEcharts, { option: option, notMerge: true, lazyUpdate: true, style: { height: '150px', width: '100%' } })) : (React.createElement(NoData, { style: { height: '150px', marginLeft: '50%', transform: 'translateX(-50%)' } }))));\n};\nexport default Ljcsl;\n"],"mappings":";;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAuB;AAAA;AAAA;AACvB,IAAMA,KAAK,GAAG,SAARA,KAAK,OAA6B;EAAA,IAAvBC,QAAQ,QAARA,QAAQ;IAAEC,MAAM,QAANA,MAAM;EAC7B,mBAA2B,IAAAC,wBAAW,GAAE;IAAhCC,cAAc,gBAAdA,cAAc;EACtB,kBAAe,IAAAC,iBAAU,EAACC,kBAAW,CAAC;IAA9BC,EAAE,eAAFA,EAAE;EACV,IAAMC,IAAI,GAAGC,iBAAY,CAACC,qBAAqB,CAACH,EAAE,EAAEN,QAAQ,EAAEC,MAAM,CAAC;EACrE,IAAMS,KAAK,GAAGC,kBAAC,CAACC,GAAG,CAACL,IAAI,EAAE,WAAW,CAAC;EACtC,IAAMM,MAAM,GAAGF,kBAAC,CAACC,GAAG,CAACL,IAAI,EAA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AAO,CAACC,OAAO,CAACC,cAAc,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAClD;UACIC,MAAM,EAAE,CAAC;UACThC,KAAK,EAAE;QACX,CAAC,EACD;UACIgC,MAAM,EAAE,CAAC;UACThC,KAAK,EAAE;QACX,CAAC,CACJ;MACL;IACJ,CAAC;EAET,CAAC;EACD,oBAAQiC,iBAAK,CAACC,aAAa,CAACD,iBAAK,CAACE,QAAQ,EAAE,IAAI,EAAE,CAACrC,MAAM,KAAK,IAAI,IAAIA,MAAM,KAAK,KAAK,CAAC,GAAG,KAAK,CAAC,GAAGA,MAAM,CAAC6B,MAAM,IAAI,CAAC,gBAAIM,iBAAK,CAACC,aAAa,CAACE,2BAAY,EAAE;IAAErC,MAAM,EAAEA,MAAM;IAAEsC,QAAQ,EAAE,IAAI;IAAEC,UAAU,EAAE,IAAI;IAAEC,KAAK,EAAE;MAAEC,MAAM,EAAE,OAAO;MAAEC,KAAK,EAAE;IAAO;EAAE,CAAC,CAAC,gBAAKR,iBAAK,CAACC,aAAa,CAACQ,oBAAM,EAAE;IAAEH,KAAK,EAAE;MAAEC,MAAM,EAAE,OAAO;MAAEG,UAAU,EAAE,KAAK;MAAEC,SAAS,EAAE;IAAmB;EAAE,CAAC,CAAE,CAAC;AACnX,CAAC;AAAC,eACa5D,KAAK;AAAA"}
1
+ {"version":3,"file":"Ljcsl.js","names":["_react","_interopRequireWildcard","require","echarts","_echartsForReact","_interopRequireDefault","_useSettings2","_vmNodata","_index","_api","_lodash","e","__esModule","_getRequireWildcardCache","WeakMap","r","t","_typeof","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","Ljcsl","_ref","startDay","endDay","_useSettings","useSettings","chartFontColor","_useContext","useContext","CcCpContext","id","data","BasicService","getSyPointCollectLine","names","_","map","values","option","color","tooltip","trigger","legend","itemWith","itemHeight","textStyle","fontSize","grid","left","right","top","bottom","xAxis","type","boundaryGap","axisTick","show","axisLabel","yAxis","name","min","nameTextStyle","splitNumber","splitLine","lineStyle","series","length","areaStyle","graphic","LinearGradient","offset","React","createElement","Fragment","ReactEcharts","notMerge","lazyUpdate","style","height","width","NoData","marginLeft","transform","_default","exports"],"sources":["vtx-cc-cp-modal/components/SyInfo/Ljcsl.js"],"sourcesContent":["import React, { useContext } from 'react';\nimport * as echarts from 'echarts';\nimport ReactEcharts from 'echarts-for-react';\nimport useSettings from '../../../vm-hooks/useSettings';\nimport NoData from '../../../vm-nodata';\nimport { CcCpContext } from '../../index';\nimport { BasicService } from '../../api';\nimport _ from 'lodash';\nconst Ljcsl = ({ startDay, endDay }) => {\n const { chartFontColor } = useSettings();\n const { id } = useContext(CcCpContext);\n const data = BasicService.getSyPointCollectLine(id, startDay, endDay);\n const names = _.map(data, 'labelName');\n const values = _.map(data, 'labelValue');\n const option = {\n color: ['#00FFE7'],\n tooltip: {\n trigger: 'axis',\n },\n legend: {\n itemWith: 6,\n itemHeight: 6,\n textStyle: {\n color: chartFontColor,\n fontSize: 12,\n },\n data: ['日产生量'],\n },\n grid: {\n left: '8%',\n right: '6%',\n top: 28,\n bottom: 20,\n },\n xAxis: {\n type: 'category',\n boundaryGap: true,\n axisTick: {\n show: false,\n },\n axisLabel: {\n color: chartFontColor,\n },\n data: names,\n },\n yAxis: {\n type: 'value',\n name: 'kg',\n min: 0,\n nameTextStyle: {\n color: chartFontColor,\n },\n splitNumber: 5,\n axisLabel: {\n color: chartFontColor,\n },\n splitLine: {\n lineStyle: {\n type: 'dashed',\n color: 'rgba(151,151,151,0.28)',\n },\n },\n },\n series: [\n {\n name: '垃圾量',\n type: 'line',\n data: (values === null || values === void 0 ? void 0 : values.length) > 0 ? values : [],\n areaStyle: {\n color: new echarts.graphic.LinearGradient(0, 1, 0, 0, [\n {\n offset: 0,\n color: 'rgba(0, 0, 0, 0.5)',\n },\n {\n offset: 1,\n color: '#00FFE7',\n },\n ]),\n },\n },\n ],\n };\n return (React.createElement(React.Fragment, null, (values === null || values === void 0 ? void 0 : values.length) > 0 ? (React.createElement(ReactEcharts, { option: option, notMerge: true, lazyUpdate: true, style: { height: '150px', width: '100%' } })) : (React.createElement(NoData, { style: { height: '150px', marginLeft: '50%', transform: 'translateX(-50%)' } }))));\n};\nexport default Ljcsl;\n"],"mappings":";;;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,OAAA,GAAAF,uBAAA,CAAAC,OAAA;AACA,IAAAE,gBAAA,GAAAC,sBAAA,CAAAH,OAAA;AACA,IAAAI,aAAA,GAAAD,sBAAA,CAAAH,OAAA;AACA,IAAAK,SAAA,GAAAF,sBAAA,CAAAH,OAAA;AACA,IAAAM,MAAA,GAAAN,OAAA;AACA,IAAAO,IAAA,GAAAP,OAAA;AACA,IAAAQ,OAAA,GAAAL,sBAAA,CAAAH,OAAA;AAAuB,SAAAG,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,gBAAAA,CAAA;AAAA,SAAAE,yBAAAF,CAAA,6BAAAG,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAD,wBAAA,YAAAA,yBAAAF,CAAA,WAAAA,CAAA,GAAAK,CAAA,GAAAD,CAAA,KAAAJ,CAAA;AAAA,SAAAV,wBAAAU,CAAA,EAAAI,CAAA,SAAAA,CAAA,IAAAJ,CAAA,IAAAA,CAAA,CAAAC,UAAA,SAAAD,CAAA,eAAAA,CAAA,gBAAAM,OAAA,CAAAN,CAAA,0BAAAA,CAAA,sBAAAA,CAAA,QAAAK,CAAA,GAAAH,wBAAA,CAAAE,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAE,GAAA,CAAAP,CAAA,UAAAK,CAAA,CAAAG,GAAA,CAAAR,CAAA,OAAAS,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAA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