@vtx/modals2 6.0.0-beta.3 → 6.0.0-beta.31

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 (379) hide show
  1. package/lib/_components/index.js +1 -0
  2. package/lib/_components/vm-appraisal-info/api.js +55 -0
  3. package/lib/_components/vm-appraisal-info/imgs/count.png +0 -0
  4. package/lib/_components/vm-appraisal-info/imgs/count_light.png +0 -0
  5. package/lib/_components/vm-appraisal-info/imgs/subtract.png +0 -0
  6. package/lib/_components/vm-appraisal-info/imgs/subtract_light.png +0 -0
  7. package/lib/_components/vm-appraisal-info/index.js +205 -0
  8. package/lib/_components/vm-appraisal-info/index.less +7 -0
  9. package/lib/_components/vm-bar-charts/index.js +4 -4
  10. package/lib/_components/vm-calendar/index.js +1 -1
  11. package/lib/_components/vm-card-statistics/index.less +27 -27
  12. package/lib/_components/vm-empty/index.js +1 -1
  13. package/lib/_components/vm-factor/index.js +1 -1
  14. package/lib/_components/vm-factor-list/index.less +11 -11
  15. package/lib/_components/vm-filter/index.js +1 -1
  16. package/lib/_components/vm-filter/style/index.less +7 -11
  17. package/lib/_components/vm-info-collection/index.js +1 -1
  18. package/lib/_components/vm-line-charts/index.js +4 -1
  19. package/lib/_components/vm-map/index.js +1 -1
  20. package/lib/_components/vm-progress/index.js +1 -1
  21. package/lib/_components/vm-repair-maintain/RmInfoSummary.js +1 -1
  22. package/lib/_components/vm-repair-maintain/RmMonthTrend.js +1 -1
  23. package/lib/_components/vm-repair-maintain/RmRecord.js +1 -1
  24. package/lib/_components/vm-repair-maintain/RmType.js +1 -1
  25. package/lib/_components/vm-repair-maintain/index.js +35 -3
  26. package/lib/_components/vm-table/index.js +1 -1
  27. package/lib/_components/vm-tag/index.js +1 -1
  28. package/lib/_components/vm-title/index.js +1 -1
  29. package/lib/_components/vm-video/HistoryGrid.js +53 -3
  30. package/lib/_components/vm-video/RealtimeGrid.js +24 -3
  31. package/lib/_components/vm-video/index.js +100 -38
  32. package/lib/_components/vm-video/index.less +6 -2
  33. package/lib/_components/vm-wrapper/index.js +1 -1
  34. package/lib/_hooks/useGetChannels.js +20 -6
  35. package/lib/_hooks/useUmsService.js +36 -0
  36. package/lib/_service/index.js +7 -33
  37. package/lib/_util/http.js +31 -4
  38. package/lib/_util/iconSvgHtml.js +15 -5
  39. package/lib/_util/index.js +1 -1
  40. package/lib/locales/en.json +1517 -1516
  41. package/lib/locales/zh-CN.json +1517 -1516
  42. package/lib/vtx-area-modal/api.js +1 -1
  43. package/lib/vtx-area-modal/components/BaseInfo/Lcfx.js +1 -1
  44. package/lib/vtx-area-modal/components/BaseInfo/ListZymx.js +1 -1
  45. package/lib/vtx-area-modal/components/BaseInfo/index.js +1 -1
  46. package/lib/vtx-base-modal/Header/index.js +2 -77
  47. package/lib/vtx-base-modal/Header/index.less +1 -0
  48. package/lib/vtx-base-modal/Tabs/index.js +2 -1
  49. package/lib/vtx-base-modal/index.js +1 -1
  50. package/lib/vtx-base-modal/style/index.less +4 -1
  51. package/lib/vtx-car-modal/api.js +257 -165
  52. package/lib/vtx-car-modal/components/Info/index.js +2 -2
  53. package/lib/vtx-car-modal/components/Info/index.less +6 -6
  54. package/lib/vtx-car-modal/content/Cc/AlarmInfo/List.js +1 -1
  55. package/lib/vtx-car-modal/content/Cc/AlarmInfo/StaticInfo.js +1 -1
  56. package/lib/vtx-car-modal/content/Cc/AlarmInfo/index.js +1 -1
  57. package/lib/vtx-car-modal/content/Cc/BaseInfo/index.js +1 -1
  58. package/lib/vtx-car-modal/content/Cc/OrderInfo/Detail.js +1 -1
  59. package/lib/vtx-car-modal/content/Cc/OrderInfo/index.js +1 -1
  60. package/lib/vtx-car-modal/content/Cc/StaticInfo/index.js +1 -1
  61. package/lib/vtx-car-modal/content/Cc/WorkRecord/Detail.js +1 -1
  62. package/lib/vtx-car-modal/content/Cc/WorkRecord/Summary.js +1 -1
  63. package/lib/vtx-car-modal/content/Cc/WorkRecord/index.js +1 -1
  64. package/lib/vtx-car-modal/content/Common/AlarmInfo/List.js +1 -1
  65. package/lib/vtx-car-modal/content/Common/AlarmInfo/StaticInfo.js +1 -1
  66. package/lib/vtx-car-modal/content/Common/AlarmInfo/index.js +1 -1
  67. package/lib/vtx-car-modal/content/Common/BaseInfo/index.js +1 -1
  68. package/lib/vtx-car-modal/content/Common/DetailInfo/index.js +1 -1
  69. package/lib/vtx-car-modal/content/Common/DeviceInfo/index.js +1 -1
  70. package/lib/vtx-car-modal/content/Common/EleUse/index.js +20 -8
  71. package/lib/vtx-car-modal/content/Common/Maintenance/index.js +1 -1
  72. package/lib/vtx-car-modal/content/Common/OilConsumption/List.js +1 -1
  73. package/lib/vtx-car-modal/content/Common/OilConsumption/index.js +1 -1
  74. package/lib/vtx-car-modal/content/Common/OilConsumption/index.less +6 -6
  75. package/lib/vtx-car-modal/content/Common/OilUse/index.js +18 -6
  76. package/lib/vtx-car-modal/content/Common/OperationAnalysis/index.js +1 -1
  77. package/lib/vtx-car-modal/content/Common/OperationAnalysis/index.less +169 -169
  78. package/lib/vtx-car-modal/content/Common/StaticInfo/index.js +1 -1
  79. package/lib/vtx-car-modal/content/Common/WaterConsumption/index.js +1 -1
  80. package/lib/vtx-car-modal/content/Common/WaterConsumption/index.less +6 -6
  81. package/lib/vtx-car-modal/content/Common/WaterUse/index.js +10 -5
  82. package/lib/vtx-car-modal/content/JXH/AlarmInfo/List.js +1 -1
  83. package/lib/vtx-car-modal/content/JXH/AlarmInfo/StaticInfo.js +1 -1
  84. package/lib/vtx-car-modal/content/JXH/AlarmInfo/index.js +1 -1
  85. package/lib/vtx-car-modal/content/JXH/BaseInfo/index.js +1 -1
  86. package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/List.js +1 -1
  87. package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/StaticInfo.js +1 -1
  88. package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/index.js +1 -1
  89. package/lib/vtx-car-modal/content/JXH/Hw2BaseInfo/index.js +1 -1
  90. package/lib/vtx-car-modal/content/JXH/Hw2StaticInfo/index.js +2 -2
  91. package/lib/vtx-car-modal/content/JXH/Hw2WorkRecord/index.js +1 -1
  92. package/lib/vtx-car-modal/content/JXH/StaticInfo/index.js +3 -3
  93. package/lib/vtx-car-modal/content/JXH/WorkRecord/index.js +1 -1
  94. package/lib/vtx-car-modal/content/Jzlj/Alarm/Bottom.js +1 -1
  95. package/lib/vtx-car-modal/content/Jzlj/Alarm/index.js +1 -1
  96. package/lib/vtx-car-modal/content/Jzlj/BaseInfo/index.js +1 -1
  97. package/lib/vtx-car-modal/content/Jzlj/Collection/Chart.js +1 -1
  98. package/lib/vtx-car-modal/content/Jzlj/Collection/index.js +1 -1
  99. package/lib/vtx-car-modal/content/Jzlj/Dispose/Pies.js +1 -1
  100. package/lib/vtx-car-modal/content/Jzlj/Dispose/index.js +1 -1
  101. package/lib/vtx-car-modal/content/Jzlj/RunCalendar/index.js +1 -1
  102. package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/List.js +1 -1
  103. package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/StaticInfo.js +1 -1
  104. package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/index.js +1 -1
  105. package/lib/vtx-car-modal/content/Ljsy/BaseInfo/index.js +1 -1
  106. package/lib/vtx-car-modal/content/Ljsy/StaticInfo/index.js +1 -1
  107. package/lib/vtx-car-modal/content/Ljsy/WorkRecord/Detail.js +3 -2
  108. package/lib/vtx-car-modal/content/Ljsy/WorkRecord/Summary.js +1 -1
  109. package/lib/vtx-car-modal/content/Ljsy/WorkRecord/index.js +1 -1
  110. package/lib/vtx-car-modal/content/Ljzy/BaseInfo/index.js +10 -9
  111. package/lib/vtx-car-modal/content/Ljzy/StaticInfo/index.js +12 -12
  112. package/lib/vtx-car-modal/content/Ljzy/WorkRecord/Detail.js +6 -5
  113. package/lib/vtx-car-modal/content/Ljzy/WorkRecord/Summary.js +9 -7
  114. package/lib/vtx-car-modal/content/Ljzy/WorkRecord/index.js +7 -4
  115. package/lib/vtx-car-modal/content/Unmanned/Analysis/index.js +1 -1
  116. package/lib/vtx-car-modal/content/Unmanned/Calendar/index.js +2 -2
  117. package/lib/vtx-car-modal/content/Unmanned/Monitor/index.js +1 -1
  118. package/lib/vtx-car-modal/content/Unmanned/WorkInfo/index.js +1 -1
  119. package/lib/vtx-car-modal/index.js +33 -22
  120. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +1 -1
  121. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTrend.js +1 -1
  122. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTypeAnalysis.js +1 -1
  123. package/lib/vtx-cc-cp-modal/components/AlarmInfo/StaticInfo.js +1 -1
  124. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +1 -1
  125. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +1 -1
  126. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +1 -1
  127. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +1 -1
  128. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +1 -1
  129. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +1 -1
  130. package/lib/vtx-cc-cp-modal/components/Calendar/index.js +1 -1
  131. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTrend.js +1 -1
  132. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTypeAnalysis.js +1 -1
  133. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExeceptionRecord.js +1 -1
  134. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/StaticInfo.js +1 -1
  135. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +1 -1
  136. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +1 -1
  137. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +1 -1
  138. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +1 -1
  139. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +1 -1
  140. package/lib/vtx-cc-cp-modal/index.js +1 -1
  141. package/lib/vtx-cc-unit-modal/components/BaseInfo/CollectRecord.js +1 -1
  142. package/lib/vtx-cc-unit-modal/components/BaseInfo/DetailList.js +1 -1
  143. package/lib/vtx-cc-unit-modal/components/BaseInfo/Factory.js +1 -1
  144. package/lib/vtx-cc-unit-modal/components/BaseInfo/Statistics.js +1 -1
  145. package/lib/vtx-cc-unit-modal/components/BaseInfo/index.js +1 -1
  146. package/lib/vtx-cc-unit-modal/components/BaseInfo/index.less +6 -6
  147. package/lib/vtx-cc-unit-modal/components/CarList/index.js +1 -1
  148. package/lib/vtx-cc-unit-modal/components/Collection/index.js +1 -1
  149. package/lib/vtx-cc-unit-modal/components/DetailInfo/index.js +1 -1
  150. package/lib/vtx-cc-unit-modal/components/Factory/index.js +1 -1
  151. package/lib/vtx-cc-unit-modal/components/RestaurantList/index.js +1 -1
  152. package/lib/vtx-cc-unit-modal/index.js +1 -1
  153. package/lib/vtx-cp-modal/api.js +1 -1
  154. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +1 -1
  155. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js +1 -1
  156. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +1 -1
  157. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js +3 -6
  158. package/lib/vtx-cp-modal/components/BaseInfo/Rules.js +1 -1
  159. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +8 -2
  160. package/lib/vtx-cp-modal/components/BaseInfo/index.js +1 -1
  161. package/lib/vtx-cp-modal/components/ExeceptionInfo/AlarmRecord.js +9 -5
  162. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js +1 -1
  163. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +1 -1
  164. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +3 -3
  165. package/lib/vtx-cp-modal/components/SyInfo/index.js +1 -1
  166. package/lib/vtx-cp-modal/index.js +13 -13
  167. package/lib/vtx-default-modal/components/BaseInfo/index.js +1 -1
  168. package/lib/vtx-default-modal/index.js +8 -7
  169. package/lib/vtx-device-modal/components/BaseInfo/PreviewAndDownload.js +1 -1
  170. package/lib/vtx-device-modal/components/BaseInfo/index.js +1 -1
  171. package/lib/vtx-device-modal/components/DataAnalysis/AlarmAnalysis.js +1 -1
  172. package/lib/vtx-device-modal/components/DataAnalysis/MonitorAnalysis.js +1 -1
  173. package/lib/vtx-device-modal/components/DataAnalysis/index.less +66 -66
  174. package/lib/vtx-device-modal/index.js +4 -4
  175. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +1 -1
  176. package/lib/vtx-df-modal/components/BaseInfo/Jczbqs.js +3 -3
  177. package/lib/vtx-df-modal/components/BaseInfo/Qyjcl.js +12 -6
  178. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +1 -1
  179. package/lib/vtx-df-modal/components/BaseInfo/Situation.js +1 -1
  180. package/lib/vtx-df-modal/components/BaseInfo/index.js +1 -1
  181. package/lib/vtx-df-modal/components/BaseInfoZdReborn/Jcqsfx.js +1 -1
  182. package/lib/vtx-df-modal/components/BaseInfoZdReborn/Jczbqs.js +3 -3
  183. package/lib/vtx-df-modal/components/BaseInfoZdReborn/Qyjcl.js +1 -1
  184. package/lib/vtx-df-modal/components/BaseInfoZdReborn/RealtimeMonitor.js +1 -1
  185. package/lib/vtx-df-modal/components/BaseInfoZdReborn/Situation.js +1 -1
  186. package/lib/vtx-df-modal/components/BaseInfoZdReborn/index.js +1 -1
  187. package/lib/vtx-df-modal/components/Calendar/index.js +10 -3
  188. package/lib/vtx-df-modal/components/Calendar/zd-reborn.js +10 -3
  189. package/lib/vtx-df-modal/components/Metering/ChartJccc.js +1 -1
  190. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +1 -1
  191. package/lib/vtx-df-modal/components/Metering/List.js +1 -1
  192. package/lib/vtx-df-modal/components/Metering/index.js +1 -1
  193. package/lib/vtx-df-modal/components/MeteringZdReborn/ChartJccc.js +1 -1
  194. package/lib/vtx-df-modal/components/MeteringZdReborn/ChartJcqs.js +1 -1
  195. package/lib/vtx-df-modal/components/MeteringZdReborn/List.js +1 -1
  196. package/lib/vtx-df-modal/components/MeteringZdReborn/index.js +1 -1
  197. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +1 -1
  198. package/lib/vtx-df-modal/components/WorkCondition/Table.js +3 -3
  199. package/lib/vtx-df-modal/components/WorkCondition/index.js +1 -1
  200. package/lib/vtx-df-modal/index.js +20 -25
  201. package/lib/vtx-housing-estate-modal/components/Alarm/CYLJTF.js +1 -1
  202. package/lib/vtx-housing-estate-modal/components/Alarm/Distribute.js +1 -1
  203. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL_TREND.js +1 -1
  204. package/lib/vtx-housing-estate-modal/components/Alarm/FSCSFB.js +1 -1
  205. package/lib/vtx-housing-estate-modal/components/Alarm/FSSD.js +1 -1
  206. package/lib/vtx-housing-estate-modal/components/Alarm/FSYZQS.js +1 -1
  207. package/lib/vtx-housing-estate-modal/components/Alarm/GDCLXL.js +1 -1
  208. package/lib/vtx-housing-estate-modal/components/Alarm/HTLJPH.js +1 -1
  209. package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_FB.js +1 -1
  210. package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_GD.js +1 -1
  211. package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_PIE.js +1 -1
  212. package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_TREND.js +1 -1
  213. package/lib/vtx-housing-estate-modal/components/Alarm/index.js +1 -1
  214. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +1 -1
  215. package/lib/vtx-housing-estate-modal/components/OverView/Left.js +1 -1
  216. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +1 -1
  217. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +1 -1
  218. package/lib/vtx-housing-estate-modal/components/Sbzj/index.js +1 -1
  219. package/lib/vtx-housing-estate-modal/components/TFRD/index.js +1 -1
  220. package/lib/vtx-housing-estate-modal/components/WGGS/index.js +1 -1
  221. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js +1 -1
  222. package/lib/vtx-housing-estate-modal/components/WGXW/index.js +1 -1
  223. package/lib/vtx-housing-estate-modal/index.js +1 -1
  224. package/lib/vtx-jzlj-df-tpd-modal/components/Collection/Chart.js +1 -1
  225. package/lib/vtx-jzlj-df-tpd-modal/components/Collection/index.js +1 -1
  226. package/lib/vtx-jzlj-df-tpd-modal/components/Dispose/FlowMap.js +1 -1
  227. package/lib/vtx-jzlj-df-tpd-modal/components/Dispose/index.js +1 -1
  228. package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CTL.js +1 -1
  229. package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CTYL.js +1 -1
  230. package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CZZ.js +1 -1
  231. package/lib/vtx-jzlj-df-tpd-modal/components/Overview/index.js +1 -1
  232. package/lib/vtx-jzlj-df-tpd-modal/index.js +1 -1
  233. package/lib/vtx-jzlj-gcxm-modal/components/Alarm/Bottom.js +1 -1
  234. package/lib/vtx-jzlj-gcxm-modal/components/Alarm/index.js +1 -1
  235. package/lib/vtx-jzlj-gcxm-modal/components/Collection/Chart.js +1 -1
  236. package/lib/vtx-jzlj-gcxm-modal/components/Collection/index.js +1 -1
  237. package/lib/vtx-jzlj-gcxm-modal/components/Dispose/FlowMap.js +1 -1
  238. package/lib/vtx-jzlj-gcxm-modal/components/Dispose/index.js +1 -1
  239. package/lib/vtx-jzlj-gcxm-modal/components/Overview/CTL.js +1 -1
  240. package/lib/vtx-jzlj-gcxm-modal/components/Overview/CTYL.js +1 -1
  241. package/lib/vtx-jzlj-gcxm-modal/components/Overview/CZZ.js +1 -1
  242. package/lib/vtx-jzlj-gcxm-modal/components/Overview/index.js +1 -1
  243. package/lib/vtx-jzlj-gcxm-modal/index.js +1 -1
  244. package/lib/vtx-jzlj-xnc-modal/components/Collection/Chart.js +1 -1
  245. package/lib/vtx-jzlj-xnc-modal/components/Collection/index.js +1 -1
  246. package/lib/vtx-jzlj-xnc-modal/components/Dispose/FlowMap.js +1 -1
  247. package/lib/vtx-jzlj-xnc-modal/components/Dispose/index.js +1 -1
  248. package/lib/vtx-jzlj-xnc-modal/components/Overview/CTL.js +1 -1
  249. package/lib/vtx-jzlj-xnc-modal/components/Overview/CTYL.js +1 -1
  250. package/lib/vtx-jzlj-xnc-modal/components/Overview/CZZ.js +1 -1
  251. package/lib/vtx-jzlj-xnc-modal/components/Overview/index.js +1 -1
  252. package/lib/vtx-jzlj-xnc-modal/index.js +1 -1
  253. package/lib/vtx-jzlj-ysqy-modal/components/Overview/index.js +1 -1
  254. package/lib/vtx-jzlj-ysqy-modal/index.js +1 -1
  255. package/lib/vtx-kh-modal/api2.js +1 -1
  256. package/lib/vtx-kh-modal/components/BaseInfo/index.js +1 -1
  257. package/lib/vtx-kh-modal/components/Record/index.js +1 -205
  258. package/lib/vtx-kh-modal/index.js +1 -1
  259. package/lib/vtx-qyry-modal/api.js +1 -1
  260. package/lib/vtx-qyry-modal/index.js +2 -2
  261. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +1 -1
  262. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +1 -1
  263. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +1 -1
  264. package/lib/vtx-restaurant-modal/components/Alarm/StaticInfo.js +1 -1
  265. package/lib/vtx-restaurant-modal/components/Alarm/index.js +1 -1
  266. package/lib/vtx-restaurant-modal/components/Basic/CollectRule.js +1 -1
  267. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +1 -1
  268. package/lib/vtx-restaurant-modal/components/Basic/Info.js +1 -1
  269. package/lib/vtx-restaurant-modal/components/Basic/Summary.js +1 -1
  270. package/lib/vtx-restaurant-modal/components/Basic/SummaryStatistics.js +1 -1
  271. package/lib/vtx-restaurant-modal/components/Basic/index.js +1 -1
  272. package/lib/vtx-restaurant-modal/components/Basic/index.less +16 -16
  273. package/lib/vtx-restaurant-modal/components/Calendar/index.js +1 -1
  274. package/lib/vtx-restaurant-modal/components/Collection/index.js +1 -1
  275. package/lib/vtx-restaurant-modal/components/DetailInfo/index.js +3 -0
  276. package/lib/vtx-restaurant-modal/components/SignAndContract/ContactDetail.js +1 -1
  277. package/lib/vtx-restaurant-modal/components/SignAndContract/index.js +1 -1
  278. package/lib/vtx-restaurant-modal/config.js +11 -3
  279. package/lib/vtx-restaurant-modal/index.js +1 -1
  280. package/lib/vtx-road-modal/api.js +6 -2
  281. package/lib/vtx-road-modal/components/BaseInfo/Rules.js +1 -1
  282. package/lib/vtx-road-modal/components/BaseInfo/Work.js +11 -2
  283. package/lib/vtx-road-modal/components/BaseInfo/index.js +1 -1
  284. package/lib/vtx-road-modal/components/Calendar/index.js +4 -4
  285. package/lib/vtx-road-modal/components/LaneBaseInfo/Work.js +9 -2
  286. package/lib/vtx-road-modal/components/LaneBaseInfo/index.js +1 -1
  287. package/lib/vtx-road-modal/components/LaneCalendar/index.js +5 -2
  288. package/lib/vtx-road-modal/components/LaneStatistical/index.js +1 -1
  289. package/lib/vtx-road-modal/components/Statistical/index.js +1 -1
  290. package/lib/vtx-road-modal/index.js +21 -5
  291. package/lib/vtx-road-modal/utils/url.js +12 -0
  292. package/lib/vtx-sdyd-tfd-modal/components/Alarm/CYLJTF.js +1 -1
  293. package/lib/vtx-sdyd-tfd-modal/components/Alarm/Distribute.js +1 -1
  294. package/lib/vtx-sdyd-tfd-modal/components/Alarm/FLZL_TREND.js +1 -1
  295. package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSCSFB.js +1 -1
  296. package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSSD.js +1 -1
  297. package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSYZQS.js +1 -1
  298. package/lib/vtx-sdyd-tfd-modal/components/Alarm/GDCLXL.js +1 -1
  299. package/lib/vtx-sdyd-tfd-modal/components/Alarm/HTLJPH.js +1 -1
  300. package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_FB.js +1 -1
  301. package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_GD.js +1 -1
  302. package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_PIE.js +1 -1
  303. package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_TREND.js +1 -1
  304. package/lib/vtx-sdyd-tfd-modal/components/Alarm/index.js +1 -1
  305. package/lib/vtx-sdyd-tfd-modal/components/OverView/Hot.js +1 -1
  306. package/lib/vtx-sdyd-tfd-modal/components/OverView/Left.js +1 -1
  307. package/lib/vtx-sdyd-tfd-modal/components/OverView/Manage.js +1 -1
  308. package/lib/vtx-sdyd-tfd-modal/components/OverView/RightBottom.js +1 -1
  309. package/lib/vtx-sdyd-tfd-modal/components/Sbzj/index.js +1 -1
  310. package/lib/vtx-sdyd-tfd-modal/components/TFRD/index.js +1 -1
  311. package/lib/vtx-sdyd-tfd-modal/components/WGGS/index.js +1 -1
  312. package/lib/vtx-sdyd-tfd-modal/components/WGXW/Content.js +1 -1
  313. package/lib/vtx-sdyd-tfd-modal/index.js +1 -1
  314. package/lib/vtx-shxq-modal/api.js +6 -6
  315. package/lib/vtx-shxq-modal/components/AlarmRecord/List.js +1 -1
  316. package/lib/vtx-shxq-modal/components/AlarmRecord/index.js +1 -1
  317. package/lib/vtx-shxq-modal/components/BaseInfo/index.js +1 -1
  318. package/lib/vtx-shxq-modal/components/Tfd/index.js +1 -1
  319. package/lib/vtx-shxq-modal/components/ThrowCalendar/Chart.js +1 -1
  320. package/lib/vtx-shxq-modal/components/ThrowCalendar/List.js +3 -3
  321. package/lib/vtx-shxq-modal/components/ThrowCalendar/index.js +1 -1
  322. package/lib/vtx-shxq-modal/components/ThrowRecord/List.js +20 -7
  323. package/lib/vtx-shxq-modal/components/ThrowRecord/index.js +1 -1
  324. package/lib/vtx-shxq-modal/index.js +21 -4
  325. package/lib/vtx-staff-modal/api.js +1 -1
  326. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +5 -2
  327. package/lib/vtx-staff-modal/components/AlarmInfo/List.js +1 -1
  328. package/lib/vtx-staff-modal/components/AlarmInfo/index.js +1 -1
  329. package/lib/vtx-staff-modal/components/Attendance/Exeception.js +1 -1
  330. package/lib/vtx-staff-modal/components/Attendance/Record.js +1 -1
  331. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js +1 -1
  332. package/lib/vtx-staff-modal/components/BaseInfo/ListZymx.js +1 -1
  333. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +1 -1
  334. package/lib/vtx-staff-modal/components/BaseInfo/index.js +1 -1
  335. package/lib/vtx-staff-modal/components/Calendar/index.js +1 -1
  336. package/lib/vtx-staff-modal/components/Calendar/index.less +1 -1
  337. package/lib/vtx-staff-modal/components/Equipment/index.js +1 -1
  338. package/lib/vtx-staff-modal/index.js +1 -1
  339. package/lib/vtx-tfd-modal/api.js +3 -3
  340. package/lib/vtx-tfd-modal/components/BaseInfo/Jczbqs.js +3 -3
  341. package/lib/vtx-tfd-modal/components/BaseInfo/Qyjcl.js +1 -1
  342. package/lib/vtx-tfd-modal/components/BaseInfo/index.js +1 -1
  343. package/lib/vtx-wr-modal/components/Appraise/index.js +3 -3
  344. package/lib/vtx-wr-modal/components/Base/Jbxx.js +4 -47
  345. package/lib/vtx-wr-modal/components/Base/Ptss.js +42 -8
  346. package/lib/vtx-wr-modal/components/Base/Sjjg.js +1 -1
  347. package/lib/vtx-wr-modal/components/Base/index.js +45 -14
  348. package/lib/vtx-wr-modal/components/Base/index.less +87 -4
  349. package/lib/vtx-wr-modal/components/Build/index.js +1 -1
  350. package/lib/vtx-wr-modal/components/File/index.js +1 -1
  351. package/lib/vtx-wr-modal/components/Score/index.js +3 -3
  352. package/lib/vtx-wr-modal/index.js +34 -6
  353. package/lib/vtx-zf-modal/components/Base/index.js +1 -1
  354. package/lib/vtx-zf-modal/components/Base/index.less +9 -0
  355. package/lib/vtx-zf-modal/components/CkEditorCustom/index.js +1 -1
  356. package/lib/vtx-zf-modal/components/CkEditorCustom/view.js +1 -1
  357. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/CKModal.js +1 -1
  358. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/FormView.js +1 -1
  359. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/index.js +1 -1
  360. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/FormView.js +1 -1
  361. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/date.js +1 -1
  362. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/index.js +1 -1
  363. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/FormView.js +1 -1
  364. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/checkbox.js +1 -1
  365. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/index.js +1 -1
  366. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/FormView.js +1 -1
  367. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/index.js +1 -1
  368. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/FormView.js +1 -1
  369. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/index.js +1 -1
  370. package/lib/vtx-zf-modal/components/File/index.js +1 -1
  371. package/lib/vtx-zf-modal/components/Process/index.js +1 -1
  372. package/lib/vtx-zf-modal/components/Process/index.less +7 -0
  373. package/lib/vtx-zf-modal/components/Record/index.js +1 -1
  374. package/lib/vtx-zf-modal/components/Right/index.js +1 -1
  375. package/lib/vtx-zg-modal/api.js +1 -1
  376. package/lib/vtx-zg-modal/components/BaseInfo/index.js +1 -1
  377. package/lib/vtx-zg-modal/index.js +1 -1
  378. package/lib/vtx-zzz-modal/index.js +29 -22
  379. package/package.json +92 -92
@@ -19,7 +19,8 @@ import { useState } from 'react';
19
19
  import { VmEmpty, VmProgress, VmTable, VmTag, VmWrapper } from "../../../_components";
20
20
  import useSettings from "../../../_hooks/useSettings";
21
21
  import { BaseService } from "../../api";
22
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
22
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
23
+ import { buildIframeQuery } from "../../utils/url";
23
24
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
25
  var Work = function Work(props) {
25
26
  var id = props.id,
@@ -127,7 +128,15 @@ var Work = function Work(props) {
127
128
  if (prefixList.length === 2) {
128
129
  prefix = "/".concat(prefixList[0]);
129
130
  }
130
- var src = "".concat(prefix, "/carHistory/#/zyqsHistory?carId=").concat(record.carId, "&theme=").concat(theme === 'blue' ? 'dark' : theme, "&startTime=").concat(dayjs(date).format('YYYY-MM-DD 00:00:00'), "&endTime=").concat(dayjs(date).format('YYYY-MM-DD 23:59:59'), "&").concat(location.href.split('?')[1], "&roadId=").concat(record.roadId);
131
+ var query = buildIframeQuery(location.href.split('?')[1], {
132
+ carId: record.carId,
133
+ theme: theme === 'blue' ? 'dark' : theme,
134
+ startTime: record.ruleStartTime,
135
+ endTime: record.ruleEndTime,
136
+ roadId: record.roadId,
137
+ workType: record.workTypeCode
138
+ });
139
+ var src = "".concat(prefix, "/carHistory/#/zyqsHistory?").concat(query);
131
140
  setIframeModalInfo({
132
141
  title: translateLocaleText("t('vtxroadmodal.vehicleTrack')"),
133
142
  visible: true,
@@ -13,7 +13,7 @@ import "./index.less";
13
13
  import Rules from "./Rules";
14
14
  import Work from "./Work";
15
15
  import { BaseService } from "../../api";
16
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
16
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
17
17
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
18
18
  var BaseInfo = function BaseInfo(_ref) {
19
19
  var _info$lngLats, _jcssInfo$geometryInf;
@@ -20,7 +20,7 @@ import darkWorkMileageIcon from "../../imgs/calendar/dark_green_mileage.png";
20
20
  import darkMileageIcon from "../../imgs/calendar/dark_mileage.png";
21
21
  import lightWorkMileageIcon from "../../imgs/calendar/green_mileage.png";
22
22
  import lightMileageIcon from "../../imgs/calendar/mileage.png";
23
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
23
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
24
24
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
25
25
  var Calendar = function Calendar(_ref) {
26
26
  var id = _ref.id;
@@ -62,7 +62,7 @@ var Calendar = function Calendar(_ref) {
62
62
  }), /*#__PURE__*/_jsx(VmCalendarInner, {
63
63
  type: "blue",
64
64
  img: mileageIcon,
65
- value: planMileage,
65
+ value: planMileage ? (planMileage / 1000).toFixed(2) : 0,
66
66
  style: {
67
67
  width: '139px',
68
68
  justifyContent: 'space-between',
@@ -71,7 +71,7 @@ var Calendar = function Calendar(_ref) {
71
71
  }), /*#__PURE__*/_jsx(VmCalendarInner, {
72
72
  type: "green",
73
73
  img: workMileageIcon,
74
- value: workMileage,
74
+ value: workMileage ? (workMileage / 1000).toFixed(2) : 0,
75
75
  style: {
76
76
  width: '139px',
77
77
  justifyContent: 'space-between'
@@ -131,7 +131,7 @@ var Calendar = function Calendar(_ref) {
131
131
  background: 'var(--blue-color)'
132
132
  }
133
133
  }), /*#__PURE__*/_jsx("div", {
134
- children: "(80%-100%]"
134
+ children: "(80%-100%)"
135
135
  }), /*#__PURE__*/_jsx("div", {
136
136
  className: 'vtx-road-calendar-complete-legend',
137
137
  style: {
@@ -18,7 +18,8 @@ import { useMemo, useState } from 'react';
18
18
  import { VmBarCharts, VmEmpty, VmProgress, VmTable, VmTag, VmWrapper } from "../../../_components";
19
19
  import useSettings from "../../../_hooks/useSettings";
20
20
  import { LaneService } from "../../api";
21
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
21
+ import { buildIframeQuery } from "../../utils/url";
22
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
22
23
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
23
24
  export var getPercentInfo = function getPercentInfo(percent) {
24
25
  var colorList = ['#D9D9D9', '#D9D9D9'];
@@ -220,7 +221,13 @@ var Work = function Work(props) {
220
221
  if (prefixList.length === 2) {
221
222
  prefix = "/".concat(prefixList[0]);
222
223
  }
223
- var src = "".concat(prefix, "/carHistory/#/zyqsLaneHistory?carId=").concat(record.workCarId, "&theme=").concat(theme === 'blue' ? 'dark' : theme, "&startTime=").concat(dayjs(date).format('YYYY-MM-DD 00:00:00'), "&endTime=").concat(dayjs(date).format('YYYY-MM-DD 23:59:59'), "&").concat(location.href.split('?')[1]);
224
+ var query = buildIframeQuery(location.href.split('?')[1], {
225
+ carId: record.workCarId,
226
+ theme: theme === 'blue' ? 'dark' : theme,
227
+ startTime: dayjs(day).format('YYYY-MM-DD 00:00:00'),
228
+ endTime: dayjs(day).format('YYYY-MM-DD 23:59:59')
229
+ });
230
+ var src = "".concat(prefix, "/carHistory/#/zyqsLaneHistory?").concat(query);
224
231
  setIframeModalInfo({
225
232
  title: translateLocaleText("t('vtxroadmodal.vehicleTrack')"),
226
233
  visible: true,
@@ -6,7 +6,7 @@ import { LaneService } from "../../api";
6
6
  import "./index.less";
7
7
  import Rules from "./Rules";
8
8
  import Work from "./Work";
9
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
9
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
10
10
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
11
11
  var BaseInfo = function BaseInfo(_ref) {
12
12
  var _info$lngLats, _jcssInfo$geometryInf;
@@ -21,7 +21,7 @@ import darkWorkMileageIcon from "../../imgs/calendar/dark_green_mileage.png";
21
21
  import darkMileageIcon from "../../imgs/calendar/dark_mileage.png";
22
22
  import lightWorkMileageIcon from "../../imgs/calendar/green_mileage.png";
23
23
  import lightMileageIcon from "../../imgs/calendar/mileage.png";
24
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
24
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
25
25
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
26
26
  var Calendar = function Calendar(_ref) {
27
27
  var id = _ref.id;
@@ -58,6 +58,9 @@ var Calendar = function Calendar(_ref) {
58
58
  }
59
59
  var dateCellRender = function dateCellRender(value) {
60
60
  var date = dayjs(value).format('YYYY-MM-DD');
61
+ if (dayjs().isBefore(dayjs(value))) {
62
+ return null;
63
+ }
61
64
  var info = calendarInfo[date];
62
65
  var _ref2 = info || {},
63
66
  planMileage = _ref2.planMileage,
@@ -170,7 +173,7 @@ var Calendar = function Calendar(_ref) {
170
173
  background: 'var(--blue-color)'
171
174
  }
172
175
  }), /*#__PURE__*/_jsx("div", {
173
- children: "(80%-100%]"
176
+ children: "(80%-100%)"
174
177
  }), /*#__PURE__*/_jsx("div", {
175
178
  className: 'vtx-road-calendar-complete-legend',
176
179
  style: {
@@ -15,7 +15,7 @@ import { VMSelect } from "../../../_components/vm-filter";
15
15
  import useSettings from "../../../_hooks/useSettings";
16
16
  import { LaneService } from "../../api";
17
17
  import "./index.less";
18
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
18
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
19
19
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
20
20
  var Statistical = function Statistical(_ref) {
21
21
  var id = _ref.id;
@@ -14,7 +14,7 @@ import { VmBarCharts, VmFactor, VmLineCharts, VmWrapper } from "../../../_compon
14
14
  import useSettings from "../../../_hooks/useSettings";
15
15
  import { BaseService } from "../../api";
16
16
  import "./index.less";
17
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
17
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
18
18
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
19
19
  var Statistical = function Statistical(_ref) {
20
20
  var id = _ref.id;
@@ -12,12 +12,14 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
12
12
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
13
  import { useSetState } from 'ahooks';
14
14
  import { VmIframeModal } from "../_components";
15
+ import Appraisal from "../_components/vm-appraisal-info";
16
+ import VmCustom from "../_components/vm-custom";
15
17
  import useGetConfig from "../_hooks/useGetConfig";
16
18
  import VtxBaseModal from "../vtx-base-modal";
19
+ import { translateLocaleText } from "./../hooks/useTranslation.js";
17
20
  import { BaseService } from "./api";
18
- import { BaseInfo, Calendar, Statistical, LaneBaseInfo, LaneStatistical, LaneCalendar } from "./components";
21
+ import { BaseInfo, Calendar, LaneBaseInfo, LaneCalendar, LaneStatistical, Statistical } from "./components";
19
22
  import "./style/index";
20
- import { translateLocaleText } from "./../hooks/useTranslation.ts";
21
23
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
22
24
  var TABS_BASE = 'base';
23
25
  var TABS_STATIC = 'statistical';
@@ -25,8 +27,8 @@ var TABS_CALENDAR = 'calendar';
25
27
  var TABS_LANE_BASE = 'lane-base';
26
28
  var TABS_LANE_STATIC = 'lane-statistical';
27
29
  var TABS_LANE_CALENDAR = 'lane-calendar';
30
+ var TABS_APPRAISAL = 'appraisal';
28
31
  var VtxRoadModal = function VtxRoadModal(props) {
29
- var _contents;
30
32
  var id = props.id,
31
33
  title = props.title,
32
34
  subTitle = props.subTitle,
@@ -50,8 +52,10 @@ var VtxRoadModal = function VtxRoadModal(props) {
50
52
  title: translateLocaleText("t('vtxroadmodal.statisticalInformation')")
51
53
  });
52
54
  }
55
+ // 配置尚未返回或未配置页签时,沿用道路弹窗原有的默认页签。
53
56
  var _useGetConfig = useGetConfig('tr', tabs),
54
57
  tabsData = _useGetConfig.tabsData;
58
+ var tabsList = tabsData || [];
55
59
  var _useSetState = useSetState({
56
60
  src: '',
57
61
  visible: false,
@@ -84,7 +88,19 @@ var VtxRoadModal = function VtxRoadModal(props) {
84
88
  var laneCalendarContent = /*#__PURE__*/_jsx(LaneCalendar, {
85
89
  id: id
86
90
  });
87
- var contents = (_contents = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_contents, TABS_BASE, baseContent), "tr-".concat(TABS_BASE), baseContent), TABS_STATIC, statisticalContent), "tr-".concat(TABS_STATIC), statisticalContent), TABS_CALENDAR, calendarContent), "tr-".concat(TABS_CALENDAR), calendarContent), TABS_LANE_BASE, laneBaseContent), "tr-".concat(TABS_LANE_BASE), laneBaseContent), TABS_LANE_STATIC, laneStatisticalContent), "tr-".concat(TABS_LANE_STATIC), laneStatisticalContent), _defineProperty(_defineProperty(_contents, TABS_LANE_CALENDAR, laneCalendarContent), "tr-".concat(TABS_LANE_CALENDAR), laneCalendarContent));
91
+ var contents = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, TABS_BASE, baseContent), TABS_STATIC, statisticalContent), TABS_CALENDAR, calendarContent), TABS_LANE_BASE, laneBaseContent), TABS_LANE_STATIC, laneStatisticalContent), TABS_LANE_CALENDAR, laneCalendarContent), TABS_APPRAISAL, /*#__PURE__*/_jsx(Appraisal, {
92
+ id: id
93
+ }));
94
+
95
+ // 自定义页签可配置多个。
96
+ tabsList.forEach(function (tab) {
97
+ if (tab.url) {
98
+ contents[tab.key] = /*#__PURE__*/_jsx(VmCustom, {
99
+ id: id,
100
+ url: tab.url
101
+ });
102
+ }
103
+ });
88
104
  return /*#__PURE__*/_jsxs(_Fragment, {
89
105
  children: [visible && /*#__PURE__*/_jsx(VtxBaseModal, {
90
106
  title: title,
@@ -93,7 +109,7 @@ var VtxRoadModal = function VtxRoadModal(props) {
93
109
  theme: theme,
94
110
  visible: visible,
95
111
  onCancel: onCancel,
96
- tabs: tabsData,
112
+ tabs: tabsList,
97
113
  tabChose: tabChose,
98
114
  startDate: startDate,
99
115
  endDate: endDate,
@@ -0,0 +1,12 @@
1
+ export var buildIframeQuery = function buildIframeQuery() {
2
+ var routeQuery = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
3
+ var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
4
+ var searchParams = new URLSearchParams(routeQuery || '');
5
+ Object.keys(params).forEach(function (key) {
6
+ var value = params[key];
7
+ if (value !== undefined && value !== null) {
8
+ searchParams.set(key, value);
9
+ }
10
+ });
11
+ return searchParams.toString().replace(/\+/g, '%20');
12
+ };
@@ -9,7 +9,7 @@ import { useState } from 'react';
9
9
  import { VmFilter, VmPieCharts, VmTitle } from "../../../_components";
10
10
  import { alarmService } from "../../api";
11
11
  import "./index.less";
12
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
12
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
13
13
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
14
  var FSSD = function FSSD(_ref) {
15
15
  var _ref$classPrefix = _ref.classPrefix,
@@ -7,7 +7,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
7
7
  import ReactEcharts from 'echarts-for-react';
8
8
  import groupBy from 'lodash/groupBy';
9
9
  import useSettings from "../../../_hooks/useSettings";
10
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
10
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
11
11
  import { jsx as _jsx } from "react/jsx-runtime";
12
12
  var xAxis = _toConsumableArray(new Array(24)).map(function (_, index) {
13
13
  return add0(index);
@@ -16,7 +16,7 @@ import { useState } from 'react';
16
16
  import { VmFilter, VmLineCharts, VmTitle } from "../../../_components";
17
17
  import { overViewService } from "../../api";
18
18
  import "./index.less";
19
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
19
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
20
20
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
21
21
  var TREND = function TREND(_ref) {
22
22
  var _ref$classPrefix = _ref.classPrefix,
@@ -11,7 +11,7 @@ import { VmFilter, VmTitle } from "../../../_components";
11
11
  import { alarmService } from "../../api";
12
12
  import Distribute from "./Distribute";
13
13
  import "./index.less";
14
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
14
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
15
15
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
16
16
  var FSCSFB = function FSCSFB(_ref) {
17
17
  var _ref$classPrefix = _ref.classPrefix,
@@ -10,7 +10,7 @@ import { useState } from 'react';
10
10
  import { VmFilter, VmPieCharts, VmTitle } from "../../../_components";
11
11
  import { overViewService } from "../../api";
12
12
  import "./index.less";
13
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
13
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
14
14
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
15
15
  var FSSD = function FSSD(_ref) {
16
16
  var _ref$classPrefix = _ref.classPrefix,
@@ -17,7 +17,7 @@ import { VmFilter, VmLineCharts, VmTitle } from "../../../_components";
17
17
  import { overViewService } from "../../api";
18
18
  import { transferLineData } from "../OverView/RightBottom";
19
19
  import "./index.less";
20
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
20
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
21
21
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
22
22
  var FSCSFB = function FSCSFB(_ref) {
23
23
  var _ref$classPrefix = _ref.classPrefix,
@@ -12,7 +12,7 @@ import useSettings from "../../../_hooks/useSettings";
12
12
  import { overViewService } from "../../api";
13
13
  import { getPercent } from "../OverView/RightBottom";
14
14
  import "./index.less";
15
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
15
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
16
16
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
17
17
  var GDCLXL = function GDCLXL(_ref) {
18
18
  var _ref$classPrefix = _ref.classPrefix,
@@ -11,7 +11,7 @@ import { useState } from 'react';
11
11
  import { VmEmpty, VmTitle } from "../../../_components";
12
12
  import { alarmService } from "../../api";
13
13
  import "./index.less";
14
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
14
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
15
15
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
16
16
  var symbols = {
17
17
  'PLASTIC-BAG': require("../../imgs/PLASTIC_BAG.png"),
@@ -17,7 +17,7 @@ import { VmEmpty, VmFilter, VmTitle } from "../../../_components";
17
17
  import useSettings from "../../../_hooks/useSettings";
18
18
  import { alarmService } from "../../api";
19
19
  import "./index.less";
20
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
20
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
21
21
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
22
22
  var MYSDFZB = function MYSDFZB(_ref) {
23
23
  var _ref$classPrefix = _ref.classPrefix,
@@ -12,7 +12,7 @@ import useSettings from "../../../_hooks/useSettings";
12
12
  import { alarmService } from "../../api";
13
13
  import { getPercent } from "../OverView/RightBottom";
14
14
  import "./index.less";
15
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
15
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
16
16
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
17
17
  var GDCLXL = function GDCLXL(_ref) {
18
18
  var _ref$classPrefix = _ref.classPrefix,
@@ -10,7 +10,7 @@ import { useState } from 'react';
10
10
  import { VmFilter, VmPieCharts, VmTitle } from "../../../_components";
11
11
  import { alarmService } from "../../api";
12
12
  import "./index.less";
13
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
13
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
14
14
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
15
15
  var FSSD = function FSSD(_ref) {
16
16
  var _ref$classPrefix = _ref.classPrefix,
@@ -16,7 +16,7 @@ import { useState } from 'react';
16
16
  import { VmFilter, VmLineCharts, VmTitle } from "../../../_components";
17
17
  import { alarmService } from "../../api";
18
18
  import "./index.less";
19
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
19
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
20
20
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
21
21
  var TREND = function TREND(_ref) {
22
22
  var _ref$classPrefix = _ref.classPrefix,
@@ -16,7 +16,7 @@ import FSYZQS from "./FSYZQS";
16
16
  import GDCLXL from "./GDCLXL";
17
17
  import MYFX from "./MYFX";
18
18
  import "./index.less";
19
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
19
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
20
20
  import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
21
21
  var Option = Select.Option;
22
22
  var WGXW = function WGXW(_ref) {
@@ -16,7 +16,7 @@ import { useState } from 'react';
16
16
  import { VmBarCharts, VmFactor, VmLineCharts, VmTitle, VmWrapper } from "../../../_components";
17
17
  import { getImg } from "../../../vtx-shxq-modal/components/ThrowRecord";
18
18
  import { overViewService } from "../../api";
19
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
19
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
20
20
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
21
21
  var GarbageTypeColor = {
22
22
  KEHUISHOU: '#6BB8FF',
@@ -10,7 +10,7 @@ import { VmEmpty, VmInfoCollection, VmWrapper } from "../../../_components";
10
10
  import useSettings from "../../../_hooks/useSettings";
11
11
  import { overViewService } from "../../api";
12
12
  import { OverViewLeftFields } from "../../config";
13
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
13
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
14
14
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
15
15
  var Left = function Left(_ref) {
16
16
  var _alarmData$overflow, _alarmData$overflow2, _alarmData$rightTimeO, _alarmData$rightTimeO2, _alarmData$trashBag, _alarmData$trashBag2, _alarmData$wrongTimeO, _alarmData$wrongTimeO2, _alarmData$mixedThrow, _alarmData$mixedThrow2;
@@ -9,7 +9,7 @@ import { VmFactor, VmWrapper } from "../../../_components";
9
9
  import useSettings from "../../../_hooks/useSettings";
10
10
  import { overViewService, useGetDivisionBusinessPackages } from "../../api";
11
11
  import { getPercent } from "./RightBottom";
12
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
12
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
13
13
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
14
  var TopItem = function TopItem(_ref) {
15
15
  var name = _ref.name,
@@ -18,7 +18,7 @@ import { VmLineCharts, VmPieCharts, VmWrapper } from "../../../_components";
18
18
  import useSettings from "../../../_hooks/useSettings";
19
19
  import { overViewService } from "../../api";
20
20
  import { getFilterEcharts } from "../../config";
21
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
21
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
22
22
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
23
23
  export function getMinHundred(num) {
24
24
  return Math.ceil(num / 100) * 100 || 100;
@@ -4,7 +4,7 @@ import { VmInfoCollection, VmWrapper } from "../../../_components";
4
4
  import useSettings from "../../../_hooks/useSettings";
5
5
  import { deviceServce } from "../../api";
6
6
  import "./index.less";
7
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
7
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
8
8
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
9
  var Sbzj = function Sbzj(_ref) {
10
10
  var _ref$classPrefix = _ref.classPrefix,
@@ -17,7 +17,7 @@ import { VmFactor, VmTable, VmWrapper } from "../../../_components";
17
17
  import useSettings from "../../../_hooks/useSettings";
18
18
  import { queryPage, throwRecordService } from "../../api";
19
19
  import "./index.less";
20
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
20
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
21
21
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
22
22
  var columns = [{
23
23
  title: translateLocaleText("t('vtxsdydtfdmodal.throwPerson')"),
@@ -10,7 +10,7 @@ import { useState } from 'react';
10
10
  import { VmWrapper } from "../../../_components";
11
11
  import WGGSContent from "./Content";
12
12
  import "./index.less";
13
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
13
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
14
14
  import { jsx as _jsx } from "react/jsx-runtime";
15
15
  var WGGS = function WGGS(_ref) {
16
16
  var _ref$classPrefix = _ref.classPrefix,
@@ -5,7 +5,7 @@ import { VmEmpty, VmTag } from "../../../_components";
5
5
  import useSettings from "../../../_hooks/useSettings";
6
6
  import { throwFailBehaviorService } from "../../api";
7
7
  import "./index.less";
8
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
8
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
9
9
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
10
10
  var WGGSContent = function WGGSContent(_ref) {
11
11
  var _data$map;
@@ -1,4 +1,4 @@
1
- import { translateLocaleText } from "./../hooks/useTranslation.ts";
1
+ import { translateLocaleText } from "./../hooks/useTranslation.js";
2
2
  // import { useMemo } from 'react';
3
3
  // import VmCustom from '../_components/vm-custom';
4
4
  // import useGetConfig from '../_hooks/useGetConfig';
@@ -7,7 +7,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
7
7
  import { request } from '@vtx/utils';
8
8
  import { useRequest } from 'ahooks';
9
9
  import { execute } from "../_service";
10
- import { translateLocaleText } from "./../hooks/useTranslation.ts";
10
+ import { translateLocaleText } from "./../hooks/useTranslation.js";
11
11
  var BaseService = {
12
12
  useBaseInfo: function useBaseInfo(id) {
13
13
  var _baseInfoRes$data;
@@ -43,8 +43,8 @@ var BaseService = {
43
43
  value: info === null || info === void 0 ? void 0 : info.divisionName
44
44
  }, {
45
45
  label: translateLocaleText("t('vtxshxqmodal.type2')"),
46
- key: 'classTypeName',
47
- value: info === null || info === void 0 ? void 0 : info.classTypeName
46
+ key: 'facilityClassName',
47
+ value: info === null || info === void 0 ? void 0 : info.facilityClassName
48
48
  }, {
49
49
  label: translateLocaleText("t('vtxshxqmodal.pointQuantityItems')"),
50
50
  key: 'throwPointNum',
@@ -201,14 +201,14 @@ var ThrowService = {
201
201
  loading: loading
202
202
  };
203
203
  },
204
- usePage: function usePage(id, startTime, endTime, page, size, source) {
204
+ usePage: function usePage(id, startTime, endTime, page, size, source, sort) {
205
205
  var _useRequest8 = useRequest(function () {
206
206
  return request.get('/cloud/ljfljc/api/v101/trow/record/detail/page', {
207
- data: _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, source === 'tfd' ? 'throwPointId' : 'subjectId', id), "startTime", startTime), "endTime", endTime), "desensitization", true), "page", page), "size", size)
207
+ data: _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, source === 'tfd' ? 'throwPointId' : 'subjectId', id), "startTime", startTime), "endTime", endTime), "desensitization", true), "page", page), "size", size), "sort", sort)
208
208
  });
209
209
  }, {
210
210
  ready: !!id,
211
- refreshDeps: [id, startTime, endTime, page, size]
211
+ refreshDeps: [id, startTime, endTime, page, size, source, sort]
212
212
  }),
213
213
  pageRes = _useRequest8.data,
214
214
  loading = _useRequest8.loading;
@@ -17,7 +17,7 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
17
17
  import { useSetState } from 'ahooks';
18
18
  import { VmTable, VmTag } from "../../../_components";
19
19
  import { AlarmService, ThrowService } from "../../api";
20
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
20
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
21
21
  import { jsx as _jsx } from "react/jsx-runtime";
22
22
  var ListMx = function ListMx(props) {
23
23
  var _configObj$THROW_SUBJ;
@@ -28,7 +28,7 @@ import wstf from "../../imgs/wstf.png";
28
28
  import wstfDark from "../../imgs/wstf_dark.png";
29
29
  import List from "./List";
30
30
  import "./index.less";
31
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
31
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
32
32
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
33
33
  var AlarmRecord = function AlarmRecord(props) {
34
34
  var id = props.id,
@@ -19,7 +19,7 @@ import useSettings from "../../../_hooks/useSettings";
19
19
  import { BaseService, ThrowService } from "../../api";
20
20
  import { UNIT } from "../ThrowRecord";
21
21
  import "./index.less";
22
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
22
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
23
23
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
24
24
  var BaseInfo = function BaseInfo(props) {
25
25
  var _mapCenter, _info$geometryInfo3, _mapCenter2, _data$, _data$2, _data$3, _data$4;
@@ -12,7 +12,7 @@ import { TfdService } from "../../api";
12
12
  import { getImg } from "../ThrowRecord";
13
13
  import { Spin } from 'antd';
14
14
  import "./index.less";
15
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
15
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
16
16
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
17
17
  var TfdRecord = function TfdRecord(props) {
18
18
  var id = props.id;
@@ -12,7 +12,7 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
12
12
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
13
  import { useEffect, useState } from 'react';
14
14
  import { VmEmpty, VmLineCharts } from "../../../_components";
15
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
15
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
16
16
  import { jsx as _jsx } from "react/jsx-runtime";
17
17
  var Chart = function Chart(_ref) {
18
18
  var data = _ref.data;
@@ -10,9 +10,9 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
10
10
  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; }
11
11
  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; } }
12
12
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
14
- /**
15
- * 作业明细-列表
13
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
14
+ /**
15
+ * 作业明细-列表
16
16
  */
17
17
 
18
18
  import { useSetState } from 'ahooks';
@@ -22,7 +22,7 @@ import { default as YH } from "../../imgs/yh.png";
22
22
  import Chart from "./Chart";
23
23
  import "./index.less";
24
24
  import List from "./List";
25
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
25
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
26
26
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
27
27
  var ThrowCalendar = function ThrowCalendar(_ref) {
28
28
  var id = _ref.id,