@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
@@ -4,7 +4,7 @@ import { useContext } from 'react';
4
4
  import { VmLineCharts, VmPieCharts, VmWrapper } from "../../../../_components";
5
5
  import { LjsyService } from "../../../api";
6
6
  import { CarContext } from "../../../index";
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 StaticInfo = function StaticInfo(_ref) {
10
10
  var startDate = _ref.startDate,
@@ -12,7 +12,7 @@ import { VMRangePicker } from "../../../../_components/vm-filter";
12
12
  import useSettings from "../../../../_hooks/useSettings";
13
13
  import List from "./List";
14
14
  import StaticInfo from "./StaticInfo";
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 AlarmInfo = function AlarmInfo() {
18
18
  var _useSettings = useSettings(),
@@ -27,7 +27,7 @@ import weightIcon from "../../../imgs/factor/weight.png";
27
27
  import pointIcon from "../../../imgs/factor/ys_point.png";
28
28
  import { CarContext } from "../../../index";
29
29
  import "./index.less";
30
- import { translateLocaleText } from "./../../../../hooks/useTranslation.ts";
30
+ import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
31
31
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
32
32
  var legendColorMap = {
33
33
  计划收集点位: 'geekblue',
@@ -27,7 +27,7 @@ import lightTrashIcon from "../../../imgs/trash.png";
27
27
  import lightUnplannedIcon from "../../../imgs/unplanned_point.png";
28
28
  import lightWeightIcon from "../../../imgs/weight.png";
29
29
  import { CarContext } from "../../../index";
30
- import { translateLocaleText } from "./../../../../hooks/useTranslation.ts";
30
+ import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
31
31
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
32
32
  var StaticInfo = function StaticInfo() {
33
33
  var _useSettings = useSettings(),
@@ -15,7 +15,7 @@ import { useContext } from 'react';
15
15
  import { VmTable, VmWrapper } from "../../../../_components";
16
16
  import { LjsyService } from "../../../api";
17
17
  import { CarContext } from "../../../index";
18
- import { translateLocaleText } from "./../../../../hooks/useTranslation.ts";
18
+ import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
19
19
  import { jsx as _jsx } from "react/jsx-runtime";
20
20
  var Detail = function Detail(_ref) {
21
21
  var startDate = _ref.startDate,
@@ -59,7 +59,8 @@ var Detail = function Detail(_ref) {
59
59
  dataIndex: 'collectPointName',
60
60
  key: 'collectPointName',
61
61
  fixed: 'left',
62
- width: 160
62
+ width: 160,
63
+ ellipsis: true
63
64
  }, {
64
65
  title: translateLocaleText("t('vtxcarmodal.hours10')"),
65
66
  dataIndex: 'actualCollectTime',
@@ -14,7 +14,7 @@ import pointIcon from "../../../imgs/factor/point.png";
14
14
  import trashBg from "../../../imgs/trash_bg.png";
15
15
  import weightBg from "../../../imgs/weight_bg.png";
16
16
  import { CarContext } from "../../../index";
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 Summary = function Summary(_ref) {
20
20
  var startDate = _ref.startDate,
@@ -12,7 +12,7 @@ import { VMRangePicker } from "../../../../_components/vm-filter";
12
12
  import useSettings from "../../../../_hooks/useSettings";
13
13
  import Detail from "./Detail";
14
14
  import Summary from "./Summary";
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 WorkRecord = function WorkRecord() {
18
18
  var _useSettings = useSettings(),
@@ -19,11 +19,11 @@ import darkJclIcon from "../../../imgs/factor/dark_jcl.png";
19
19
  import jclIcon from "../../../imgs/factor/jcl.png";
20
20
  import { CarContext } from "../../../index";
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
- var BaseInfo = function BaseInfo() {
24
+ var BaseInfo = function BaseInfo(_ref) {
25
+ var zdReborn = _ref.zdReborn;
25
26
  var _useContext = useContext(CarContext),
26
- id = _useContext.id,
27
27
  startDate = _useContext.startDate,
28
28
  info = _useContext.info;
29
29
  var _useSettings = useSettings(),
@@ -32,13 +32,14 @@ var BaseInfo = function BaseInfo() {
32
32
  _useState2 = _slicedToArray(_useState, 2),
33
33
  date = _useState2[0],
34
34
  setDate = _useState2[1];
35
- var _LjzyService$useGetCa = LjzyService.useGetCarSumByDate({
35
+ var _LjzyService = LjzyService[zdReborn ? 'useGetCarSumByDateZdReborn' : 'useGetCarSumByDate']({
36
36
  carCode: info === null || info === void 0 ? void 0 : info.carCode,
37
37
  startDate: dayjs(date).subtract(6, 'day').format('YYYY-MM-DD'),
38
38
  endDate: dayjs(date).format('YYYY-MM-DD')
39
39
  }),
40
- taskDaySummary = _LjzyService$useGetCa.taskDaySummary,
41
- loading = _LjzyService$useGetCa.loading;
40
+ taskDaySummary = _LjzyService.taskDaySummary,
41
+ loading = _LjzyService.loading;
42
+ var fieldKey = zdReborn ? 'carNum' : 'carNums';
42
43
  var xAxis = _.map(taskDaySummary, 'date');
43
44
  var todayInfo = _.last(taskDaySummary) || {};
44
45
  var blueColor = '#1677FF';
@@ -82,7 +83,7 @@ var BaseInfo = function BaseInfo() {
82
83
  name: translateLocaleText("t('vtxdfmodal.times')"),
83
84
  unit: translateLocaleText("t('common.timesUnit')"),
84
85
  img: isDark ? darkCarNumIcon : carNumIcon,
85
- value: (todayInfo === null || todayInfo === void 0 ? void 0 : todayInfo.carNums) || 0
86
+ value: (todayInfo === null || todayInfo === void 0 ? void 0 : todayInfo[fieldKey]) || 0
86
87
  }), /*#__PURE__*/_jsx("div", {
87
88
  style: {
88
89
  height: 45,
@@ -92,7 +93,7 @@ var BaseInfo = function BaseInfo() {
92
93
  showLegend: false,
93
94
  dataList: [{
94
95
  name: translateLocaleText("t('vtxdfmodal.times')"),
95
- data: _.map(taskDaySummary, 'carNums'),
96
+ data: _.map(taskDaySummary, fieldKey),
96
97
  color: transformRgb(blueColor, colorOpacity),
97
98
  smooth: true,
98
99
  symbol: 'none',
@@ -203,7 +204,7 @@ var BaseInfo = function BaseInfo() {
203
204
  lineList: [{
204
205
  name: translateLocaleText("t('vtxdfmodal.times')"),
205
206
  data: _.map(taskDaySummary, function (item) {
206
- return "\u2000".concat(item.carNums);
207
+ return "\u2000".concat(item[fieldKey]);
207
208
  }),
208
209
  color: isDark ? '#13F97A' : '#0FB964',
209
210
  yAxisIndex: 1
@@ -21,9 +21,10 @@ import darkCarNumIcon from "../../../imgs/calendar/dark_car_num.png";
21
21
  import darkJclIcon from "../../../imgs/calendar/dark_jcl.png";
22
22
  import lightJclIcon from "../../../imgs/calendar/jcl.png";
23
23
  import { CarContext } from "../../../index";
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
- var StaticInfo = function StaticInfo() {
26
+ var StaticInfo = function StaticInfo(_ref) {
27
+ var zdReborn = _ref.zdReborn;
27
28
  var _useSettings = useSettings(),
28
29
  isDark = _useSettings.isDark;
29
30
  var _useState = useState('calendar'),
@@ -31,19 +32,18 @@ var StaticInfo = function StaticInfo() {
31
32
  type = _useState2[0],
32
33
  setType = _useState2[1];
33
34
  var _useContext = useContext(CarContext),
34
- id = _useContext.id,
35
35
  info = _useContext.info;
36
36
  var _useState3 = useState(dayjs()),
37
37
  _useState4 = _slicedToArray(_useState3, 2),
38
38
  month = _useState4[0],
39
39
  setMonth = _useState4[1];
40
- var _LjzyService$useGetCa = LjzyService.useGetCarSumByDateAndDisposeUnit({
40
+ var _LjzyService = LjzyService[zdReborn ? 'useGetCarSumByDateAndDisposeUnitZdReborn' : 'useGetCarSumByDateAndDisposeUnit']({
41
41
  carCode: info === null || info === void 0 ? void 0 : info.carCode,
42
42
  startDate: month.startOf('M').format('YYYY-MM-DD'),
43
43
  endDate: dayjs().isSame(month, 'month') ? dayjs().format('YYYY-MM-DD') : month.endOf('M').format('YYYY-MM-DD')
44
44
  }),
45
- taskDaySummary = _LjzyService$useGetCa.taskDaySummary,
46
- loading = _LjzyService$useGetCa.loading;
45
+ taskDaySummary = _LjzyService.taskDaySummary,
46
+ loading = _LjzyService.loading;
47
47
  var keyByDate = keyBy(taskDaySummary || [], 'date');
48
48
  var carNumIcon = lightCarNumIcon;
49
49
  var jclIcon = lightJclIcon;
@@ -51,6 +51,7 @@ var StaticInfo = function StaticInfo() {
51
51
  carNumIcon = darkCarNumIcon;
52
52
  jclIcon = darkJclIcon;
53
53
  }
54
+ var fieldKey = zdReborn ? 'carNum' : 'carNums';
54
55
  var columns = [{
55
56
  title: translateLocaleText("t('vtxareamodal.date')"),
56
57
  dataIndex: 'date',
@@ -69,8 +70,8 @@ var StaticInfo = function StaticInfo() {
69
70
  }
70
71
  }, {
71
72
  title: translateLocaleText("t('vtxcarmodal.timesTimes')"),
72
- dataIndex: 'carNums',
73
- key: 'carNums',
73
+ dataIndex: fieldKey,
74
+ key: fieldKey,
74
75
  align: 'right',
75
76
  render: function render(text) {
76
77
  return /*#__PURE__*/_jsx("span", {
@@ -98,13 +99,12 @@ var StaticInfo = function StaticInfo() {
98
99
  if (!item) {
99
100
  return null;
100
101
  }
101
- var netWeight = item.netWeight,
102
- carNums = item.carNums;
102
+ var netWeight = item.netWeight;
103
103
  return /*#__PURE__*/_jsxs(_Fragment, {
104
104
  children: [/*#__PURE__*/_jsx(VmCalendarInner, {
105
105
  type: "blue",
106
106
  img: jclIcon,
107
- value: carNums,
107
+ value: item === null || item === void 0 ? void 0 : item[fieldKey],
108
108
  style: {
109
109
  width: '139px',
110
110
  justifyContent: 'space-between',
@@ -182,7 +182,7 @@ var StaticInfo = function StaticInfo() {
182
182
  lineList: [{
183
183
  name: translateLocaleText("t('vtxdfmodal.times')"),
184
184
  data: _.map(taskDaySummary, function (item) {
185
- return "\u2000".concat(item.carNums);
185
+ return "\u2000".concat(item === null || item === void 0 ? void 0 : item[fieldKey]);
186
186
  }),
187
187
  color: isDark ? '#13F97A' : '#0FB964',
188
188
  yAxisIndex: 1
@@ -15,11 +15,12 @@ import { useContext } from 'react';
15
15
  import { VmTable, VmWrapper } from "../../../../_components";
16
16
  import { LjzyService } from "../../../api";
17
17
  import { CarContext } from "../../../index";
18
- import { translateLocaleText } from "./../../../../hooks/useTranslation.ts";
18
+ import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
19
19
  import { jsx as _jsx } from "react/jsx-runtime";
20
20
  var Detail = function Detail(_ref) {
21
21
  var startDate = _ref.startDate,
22
- endDate = _ref.endDate;
22
+ endDate = _ref.endDate,
23
+ zdReborn = _ref.zdReborn;
23
24
  var _useContext = useContext(CarContext),
24
25
  info = _useContext.info;
25
26
  var _useSetState = useSetState({
@@ -37,7 +38,7 @@ var Detail = function Detail(_ref) {
37
38
  var pagination = state.pagination,
38
39
  sort = state.sort,
39
40
  order = state.order;
40
- var _LjzyService$useGetWo = LjzyService.useGetWorkDetail({
41
+ var _LjzyService = LjzyService[zdReborn ? 'useGetWorkDetailZdReborn' : 'useGetWorkDetail']({
41
42
  startTime: "".concat(startDate, " 00:00:00"),
42
43
  endTime: "".concat(endDate, " 23:59:59"),
43
44
  carNo: info === null || info === void 0 ? void 0 : info.carCode,
@@ -45,8 +46,8 @@ var Detail = function Detail(_ref) {
45
46
  sort: sort,
46
47
  order: order
47
48
  }),
48
- workDetailData = _LjzyService$useGetWo.workDetailData,
49
- loading = _LjzyService$useGetWo.loading;
49
+ workDetailData = _LjzyService.workDetailData,
50
+ loading = _LjzyService.loading;
50
51
  var records = {
51
52
  total: (workDetailData === null || workDetailData === void 0 ? void 0 : workDetailData.total) || 0,
52
53
  rows: (workDetailData === null || workDetailData === void 0 ? void 0 : workDetailData.rows) || []
@@ -10,24 +10,26 @@ import darkCarNumIcon from "../../../imgs/factor/dark_car_num.png";
10
10
  import darkJclIcon from "../../../imgs/factor/dark_jcl.png";
11
11
  import jclIcon from "../../../imgs/factor/jcl.png";
12
12
  import { CarContext } from "../../../index";
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 Summary = function Summary(_ref) {
16
16
  var startDate = _ref.startDate,
17
- endDate = _ref.endDate;
17
+ endDate = _ref.endDate,
18
+ zdReborn = _ref.zdReborn;
18
19
  var _useSettings = useSettings(),
19
20
  isDark = _useSettings.isDark;
20
21
  var _useContext = useContext(CarContext),
21
22
  id = _useContext.id,
22
23
  info = _useContext.info;
23
- var _LjzyService$useGetCa = LjzyService.useGetCarSumByDate({
24
+ var _LjzyService = LjzyService[zdReborn ? 'useGetCarSumByDateZdReborn' : 'useGetCarSumByDate']({
24
25
  carCode: info === null || info === void 0 ? void 0 : info.carCode,
25
26
  startDate: startDate,
26
27
  endDate: endDate
27
28
  }),
28
- taskDaySummary = _LjzyService$useGetCa.taskDaySummary,
29
- loading = _LjzyService$useGetCa.loading;
30
- var totalCarNums = _.sumBy(taskDaySummary, 'carNums');
29
+ taskDaySummary = _LjzyService.taskDaySummary,
30
+ loading = _LjzyService.loading;
31
+ var fieldKey = zdReborn ? 'carNum' : 'carNums';
32
+ var totalCarNums = _.sumBy(taskDaySummary, fieldKey);
31
33
  var dailyCompletePercent = _.sumBy(taskDaySummary, 'netWeight').toFixed(2);
32
34
  var xAxis = _.map(taskDaySummary, 'date');
33
35
  return /*#__PURE__*/_jsx(VmWrapper, {
@@ -47,7 +49,7 @@ var Summary = function Summary(_ref) {
47
49
  }), /*#__PURE__*/_jsx(VmBarCharts, {
48
50
  dataList: [{
49
51
  name: translateLocaleText("t('vtxdfmodal.times')"),
50
- data: _.map(taskDaySummary, 'carNums')
52
+ data: _.map(taskDaySummary, fieldKey)
51
53
  }],
52
54
  unit: translateLocaleText("t('common.timesUnit')"),
53
55
  xAxis: xAxis,
@@ -10,11 +10,12 @@ import dayjs from 'dayjs';
10
10
  import { VmWrapper } from "../../../../_components";
11
11
  import { VMRangePicker } from "../../../../_components/vm-filter";
12
12
  import useSettings from "../../../../_hooks/useSettings";
13
+ import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
13
14
  import Detail from "./Detail";
14
15
  import Summary from "./Summary";
15
- import { translateLocaleText } from "./../../../../hooks/useTranslation.ts";
16
16
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
17
- var WorkRecord = function WorkRecord() {
17
+ var WorkRecord = function WorkRecord(_ref) {
18
+ var zdReborn = _ref.zdReborn;
18
19
  var _useSettings = useSettings(),
19
20
  sDate = _useSettings.startDate,
20
21
  eDate = _useSettings.endDate;
@@ -56,13 +57,15 @@ var WorkRecord = function WorkRecord() {
56
57
  span: 24,
57
58
  children: /*#__PURE__*/_jsx(Summary, {
58
59
  startDate: formatStartDate,
59
- endDate: formatEndDate
60
+ endDate: formatEndDate,
61
+ zdReborn: zdReborn
60
62
  })
61
63
  }), /*#__PURE__*/_jsx(Col, {
62
64
  span: 24,
63
65
  children: /*#__PURE__*/_jsx(Detail, {
64
66
  startDate: formatStartDate,
65
- endDate: formatEndDate
67
+ endDate: formatEndDate,
68
+ zdReborn: zdReborn
66
69
  })
67
70
  })]
68
71
  });
@@ -1,5 +1,5 @@
1
1
  import { VmBarCharts } from "../../../../_components";
2
- import { translateLocaleText } from "./../../../../hooks/useTranslation.ts";
2
+ import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
3
3
  import { jsx as _jsx } from "react/jsx-runtime";
4
4
  export default function (props) {
5
5
  return /*#__PURE__*/_jsx(VmBarCharts, {
@@ -17,7 +17,7 @@ import dayjs from 'dayjs';
17
17
  import { keyBy } from 'lodash';
18
18
  import { VmBarCharts, VmCalendar, VmCalendarInner, VmCalendarPercent, VmTable } from "../../../../_components";
19
19
  import useSettings from "../../../../_hooks/useSettings";
20
- import { translateLocaleText } from "./../../../../hooks/useTranslation.ts";
20
+ import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
21
21
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
22
22
  var butter_dark = require("../../../imgs/butter_dark.png");
23
23
  var butter = require("../../../imgs/butter.png");
@@ -57,7 +57,7 @@ export default function (_ref) {
57
57
  }), /*#__PURE__*/_jsx(VmCalendarInner, {
58
58
  type: "blue",
59
59
  img: isDark ? track_dark : track,
60
- value: "".concat((item === null || item === void 0 ? void 0 : item.workMileage) || 0, "/").concat((item === null || item === void 0 ? void 0 : item.driveMileage) || 0),
60
+ value: "".concat((((item === null || item === void 0 ? void 0 : item.workMileage) || 0) / 1000).toFixed(2), "/").concat((item === null || item === void 0 ? void 0 : item.driveMileage) || 0),
61
61
  style: {
62
62
  width: '139px',
63
63
  justifyContent: 'space-between',
@@ -14,7 +14,7 @@ import butter_dark from "../../../imgs/butter_dark.png";
14
14
  import water from "../../../imgs/water.png";
15
15
  import water_dark from "../../../imgs/water_dark.png";
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, Fragment as _Fragment } from "react/jsx-runtime";
19
19
  function Monitor(_ref) {
20
20
  var carId = _ref.carId;
@@ -9,7 +9,7 @@ import { Col, Row } from 'antd';
9
9
  import dayjs from 'dayjs';
10
10
  import { VmFactor, VmProgress } from "../../../../_components";
11
11
  import useSettings from "../../../../_hooks/useSettings";
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
  export default function (props) {
15
15
  var _useSettings = useSettings(),
@@ -1,23 +1,24 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
2
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
3
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
4
7
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
5
8
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
6
9
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
7
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; }
8
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; } }
9
12
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
10
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
11
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
12
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
13
13
  import { useSetState } from 'ahooks';
14
14
  import dayjs from 'dayjs';
15
15
  import React, { useMemo } from 'react';
16
16
  import { VmCustom, VmIframeModal, VmVideo } from "../_components";
17
17
  import useGetChannels from "../_hooks/useGetChannels";
18
18
  import useGetConfig from "../_hooks/useGetConfig";
19
+ import { useZdService } from "../_hooks/useUmsService";
19
20
  import VtxBaseModal from "../vtx-base-modal";
20
- import { translateLocaleText } from "./../hooks/useTranslation.ts";
21
+ import { translateLocaleText } from "./../hooks/useTranslation.js";
21
22
  import { BaseService, OilService } from "./api";
22
23
  import { Cc, Common, JXH, Jzlj, Ljsy, Ljzy } from "./content";
23
24
  import "./style";
@@ -132,11 +133,11 @@ var VtxCarModal = function VtxCarModal(props) {
132
133
  iframeUrl = _props$iframeUrl === void 0 ? '' : _props$iframeUrl,
133
134
  _props$width = props.width,
134
135
  width = _props$width === void 0 ? null : _props$width;
136
+ var serviceConfig = useZdService();
135
137
  var _BaseService$useBaseI = BaseService.useBaseInfo(id),
136
138
  detail = _BaseService$useBaseI.detail,
137
139
  info = _BaseService$useBaseI.info;
138
- var _useGetChannels = useGetChannels(info === null || info === void 0 ? void 0 : info.carCode, !!(info !== null && info !== void 0 && info.carCode)),
139
- channels = _useGetChannels.channels;
140
+ var zdReborn = (serviceConfig === null || serviceConfig === void 0 ? void 0 : serviceConfig.zdService) === 'reborn';
140
141
  var _OilService$useHasOil = OilService.useHasOil(id),
141
142
  beenOilStatus = _OilService$useHasOil.beenOilStatus;
142
143
  var _BaseService$useField = BaseService.useFieldConfig(),
@@ -198,18 +199,6 @@ var VtxCarModal = function VtxCarModal(props) {
198
199
  }, {
199
200
  key: TABS_JXH_ALARM,
200
201
  title: translateLocaleText("t('vtxqyrymodal.alarmInformation')")
201
- }, {
202
- key: TABS_WATER_USE,
203
- title: translateLocaleText("t('vtxcarmodal.waterUseInformation')")
204
- }, {
205
- key: TABS_ELE_USE,
206
- title: translateLocaleText("t('vtxcarmodal.eleUseInformation')")
207
- }, {
208
- key: TABS_OIL_USE,
209
- title: translateLocaleText("t('vtxcarmodal.oilUseInformation')")
210
- }, {
211
- key: TABS_OPERATION,
212
- title: translateLocaleText("t('vtxcarmodal.operationInformation')")
213
202
  }];
214
203
  } else if (actionType.includes('ACTION_CC')) {
215
204
  tabs = [{
@@ -263,6 +252,18 @@ var VtxCarModal = function VtxCarModal(props) {
263
252
  }, {
264
253
  key: TABS_ALARM,
265
254
  title: translateLocaleText("t('vtxqyrymodal.alarmInformation')")
255
+ }, {
256
+ key: TABS_WATER_USE,
257
+ title: translateLocaleText("t('vtxcarmodal.waterUseInformation')")
258
+ }, {
259
+ key: TABS_ELE_USE,
260
+ title: translateLocaleText("t('vtxcarmodal.eleUseInformation')")
261
+ }, {
262
+ key: TABS_OIL_USE,
263
+ title: translateLocaleText("t('vtxcarmodal.oilUseInformation')")
264
+ }, {
265
+ key: TABS_OPERATION,
266
+ title: translateLocaleText("t('vtxcarmodal.operationInformation')")
266
267
  }];
267
268
  }
268
269
  return tabs.concat([{
@@ -270,11 +271,12 @@ var VtxCarModal = function VtxCarModal(props) {
270
271
  title: translateLocaleText("t('vtxdevicemodal.video')")
271
272
  }]);
272
273
  }, [info === null || info === void 0 ? void 0 : info.actionType]);
273
- var contents = (_contents = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_contents, TABS_BASE, /*#__PURE__*/_jsx(Common.BaseInfo, {})), TABS_STATIC, /*#__PURE__*/_jsx(Common.StaticInfo, {})), TABS_ALARM, /*#__PURE__*/_jsx(Common.AlarmInfo, {})), TABS_VIDEO, /*#__PURE__*/_jsx(VmVideo, {
274
- channels: channels
275
- })), TABS_OIL, /*#__PURE__*/_jsx(Common.OilConsumption, {})), TABS_WATER, /*#__PURE__*/_jsx(Common.WaterConsumption, {})), TABS_WATER_USE, /*#__PURE__*/_jsx(Common.WaterUse, {})), TABS_ELE_USE, /*#__PURE__*/_jsx(Common.EleUse, {})), TABS_OIL_USE, /*#__PURE__*/_jsx(Common.OilUse, {})), TABS_OPERATION, /*#__PURE__*/_jsx(Common.OperationAnalysis, {})), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_contents, TABS_MAINTENANCE, /*#__PURE__*/_jsx(Common.Maintenance, {})), TABS_DETAIL, /*#__PURE__*/_jsx(Common.DetailInfo, {})), TABS_DEVICE, /*#__PURE__*/_jsx(Common.DeviceInfo, {})), TABS_JXH_BASE, /*#__PURE__*/_jsx(JXH.BaseInfo, {})), TABS_JXH_STATIC, /*#__PURE__*/_jsx(JXH.StaticInfo, {})), TABS_JXH_WORK, /*#__PURE__*/_jsx(JXH.WorkRecord, {})), TABS_JXH_ALARM, /*#__PURE__*/_jsx(JXH.AlarmInfo, {})), TABS_JXH_BASE_HW_2, /*#__PURE__*/_jsx(JXH.Hw2BaseInfo, {})), TABS_JXH_STATIC_HW_2, /*#__PURE__*/_jsx(JXH.Hw2StaticInfo, {})), TABS_JXH_WORK_HW_2, /*#__PURE__*/_jsx(JXH.Hw2WorkRecord, {})), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_contents, TABS_JXH_ALARM_HW_2, /*#__PURE__*/_jsx(JXH.Hw2AlarmInfo, {})), TABS_LJSY_BASE, /*#__PURE__*/_jsx(Ljsy.BaseInfo, {})), TABS_LJSY_STATIC, /*#__PURE__*/_jsx(Ljsy.StaticInfo, {})), TABS_LJSY_WORK, /*#__PURE__*/_jsx(Ljsy.WorkRecord, {})), TABS_LJSY_ALARM, /*#__PURE__*/_jsx(Ljsy.AlarmInfo, {})), TABS_CC_BASE, /*#__PURE__*/_jsx(Cc.BaseInfo, {})), TABS_CC_ORDER, /*#__PURE__*/_jsx(Cc.OrderInfo, {})), TABS_CC_STATIC, /*#__PURE__*/_jsx(Cc.StaticInfo, {})), TABS_CC_WORK, /*#__PURE__*/_jsx(Cc.WorkRecord, {})), TABS_CC_ALARM, /*#__PURE__*/_jsx(Cc.AlarmInfo, {})), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_contents, TABS_LJZY_BASE, /*#__PURE__*/_jsx(Ljzy.BaseInfo, {})), TABS_LJZY_STATIC, /*#__PURE__*/_jsx(Ljzy.StaticInfo, {})), TABS_LJZY_WORK, /*#__PURE__*/_jsx(Ljzy.WorkRecord, {})), TABS_JZLJ_CAR_BASE, /*#__PURE__*/_jsx(Jzlj.BaseInfo, {})), TABS_JZLJ_CAR_DISPOSE, /*#__PURE__*/_jsx(Jzlj.Dispose, {})), TABS_JZLJ_CAR_COLLECTION, /*#__PURE__*/_jsx(Jzlj.Collection, {})), TABS_JZLJ_CAR_ALARM, /*#__PURE__*/_jsx(Jzlj.Alarm, {})), TABS_JZLJ_CAR_RUNNING_CALENDAR, /*#__PURE__*/_jsx(Jzlj.RunCalendar, {})));
276
274
  var _useGetConfig = useGetConfig(code, tabs),
277
275
  tabsData = _useGetConfig.tabsData;
276
+ var _useGetChannels = useGetChannels(info === null || info === void 0 ? void 0 : info.carCode, !!(info !== null && info !== void 0 && info.carCode) && (tabsData === null || tabsData === void 0 ? void 0 : tabsData.findIndex(function (ele) {
277
+ return ele.key === 'video';
278
+ })) > -1),
279
+ channels = _useGetChannels.channels;
278
280
  var tabsList = useMemo(function () {
279
281
  var tabsList = tabsData;
280
282
  if (tabsList.findIndex(function (ele) {
@@ -311,6 +313,15 @@ var VtxCarModal = function VtxCarModal(props) {
311
313
  _useSetState2 = _slicedToArray(_useSetState, 2),
312
314
  iframeModalInfo = _useSetState2[0],
313
315
  setIframeModalInfo = _useSetState2[1];
316
+ var contents = (_contents = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_contents, TABS_BASE, /*#__PURE__*/_jsx(Common.BaseInfo, {})), TABS_STATIC, /*#__PURE__*/_jsx(Common.StaticInfo, {})), TABS_ALARM, /*#__PURE__*/_jsx(Common.AlarmInfo, {})), TABS_VIDEO, /*#__PURE__*/_jsx(VmVideo, {
317
+ channels: channels
318
+ })), TABS_OIL, /*#__PURE__*/_jsx(Common.OilConsumption, {})), TABS_WATER, /*#__PURE__*/_jsx(Common.WaterConsumption, {})), TABS_WATER_USE, /*#__PURE__*/_jsx(Common.WaterUse, {})), TABS_ELE_USE, /*#__PURE__*/_jsx(Common.EleUse, {})), TABS_OIL_USE, /*#__PURE__*/_jsx(Common.OilUse, {})), TABS_OPERATION, /*#__PURE__*/_jsx(Common.OperationAnalysis, {})), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_contents, TABS_MAINTENANCE, /*#__PURE__*/_jsx(Common.Maintenance, {})), TABS_DETAIL, /*#__PURE__*/_jsx(Common.DetailInfo, {})), TABS_DEVICE, /*#__PURE__*/_jsx(Common.DeviceInfo, {})), TABS_JXH_BASE, /*#__PURE__*/_jsx(JXH.BaseInfo, {})), TABS_JXH_STATIC, /*#__PURE__*/_jsx(JXH.StaticInfo, {})), TABS_JXH_WORK, /*#__PURE__*/_jsx(JXH.WorkRecord, {})), TABS_JXH_ALARM, /*#__PURE__*/_jsx(JXH.AlarmInfo, {})), TABS_JXH_BASE_HW_2, /*#__PURE__*/_jsx(JXH.Hw2BaseInfo, {})), TABS_JXH_STATIC_HW_2, /*#__PURE__*/_jsx(JXH.Hw2StaticInfo, {})), TABS_JXH_WORK_HW_2, /*#__PURE__*/_jsx(JXH.Hw2WorkRecord, {})), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_contents, TABS_JXH_ALARM_HW_2, /*#__PURE__*/_jsx(JXH.Hw2AlarmInfo, {})), TABS_LJSY_BASE, /*#__PURE__*/_jsx(Ljsy.BaseInfo, {})), TABS_LJSY_STATIC, /*#__PURE__*/_jsx(Ljsy.StaticInfo, {})), TABS_LJSY_WORK, /*#__PURE__*/_jsx(Ljsy.WorkRecord, {})), TABS_LJSY_ALARM, /*#__PURE__*/_jsx(Ljsy.AlarmInfo, {})), TABS_CC_BASE, /*#__PURE__*/_jsx(Cc.BaseInfo, {})), TABS_CC_ORDER, /*#__PURE__*/_jsx(Cc.OrderInfo, {})), TABS_CC_STATIC, /*#__PURE__*/_jsx(Cc.StaticInfo, {})), TABS_CC_WORK, /*#__PURE__*/_jsx(Cc.WorkRecord, {})), TABS_CC_ALARM, /*#__PURE__*/_jsx(Cc.AlarmInfo, {})), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_contents, TABS_LJZY_BASE, /*#__PURE__*/_jsx(Ljzy.BaseInfo, {
319
+ zdReborn: zdReborn
320
+ })), TABS_LJZY_STATIC, /*#__PURE__*/_jsx(Ljzy.StaticInfo, {
321
+ zdReborn: zdReborn
322
+ })), TABS_LJZY_WORK, /*#__PURE__*/_jsx(Ljzy.WorkRecord, {
323
+ zdReborn: zdReborn
324
+ })), TABS_JZLJ_CAR_BASE, /*#__PURE__*/_jsx(Jzlj.BaseInfo, {})), TABS_JZLJ_CAR_DISPOSE, /*#__PURE__*/_jsx(Jzlj.Dispose, {})), TABS_JZLJ_CAR_COLLECTION, /*#__PURE__*/_jsx(Jzlj.Collection, {})), TABS_JZLJ_CAR_ALARM, /*#__PURE__*/_jsx(Jzlj.Alarm, {})), TABS_JZLJ_CAR_RUNNING_CALENDAR, /*#__PURE__*/_jsx(Jzlj.RunCalendar, {})));
314
325
  var value = useMemo(function () {
315
326
  return {
316
327
  id: id,
@@ -337,7 +348,7 @@ var VtxCarModal = function VtxCarModal(props) {
337
348
  theme: theme,
338
349
  visible: visible,
339
350
  onCancel: onCancel,
340
- tabs: tabs,
351
+ tabs: tabsList,
341
352
  tabChose: tabChose,
342
353
  startDate: startDate,
343
354
  endDate: endDate,
@@ -16,7 +16,7 @@ import { useContext, useState } from 'react';
16
16
  import { VmTable, VmWrapper } from "../../../_components";
17
17
  import { AlarmService } from "../../api";
18
18
  import { CcCpContext } from "../../index";
19
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
19
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
20
20
  import { jsx as _jsx } from "react/jsx-runtime";
21
21
  var TABLE_SCROLL_X = 980;
22
22
  var alarmTabs = [{
@@ -3,7 +3,7 @@ import { useContext } from 'react';
3
3
  import { VmEmpty, VmLineCharts } from "../../../_components";
4
4
  import { AlarmService } from "../../api";
5
5
  import { CcCpContext } from "../../index";
6
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
6
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
7
7
  import { jsx as _jsx } from "react/jsx-runtime";
8
8
  var AlarmTrend = function AlarmTrend(_ref) {
9
9
  var startDate = _ref.startDate,
@@ -4,7 +4,7 @@ import { useContext } from 'react';
4
4
  import { VmEmpty, VmPieCharts } from "../../../_components";
5
5
  import { AlarmService } from "../../api";
6
6
  import { CcCpContext } from "../../index";
7
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
7
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
8
8
  import { jsx as _jsx } from "react/jsx-runtime";
9
9
  var AlarmTypeAnalysis = function AlarmTypeAnalysis(_ref) {
10
10
  var startDate = _ref.startDate,
@@ -2,7 +2,7 @@ import { Col, Row } from 'antd';
2
2
  import { VmWrapper } from "../../../_components";
3
3
  import AlarmTrend from "./AlarmTrend";
4
4
  import AlarmTypeAnalysis from "./AlarmTypeAnalysis";
5
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
5
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
6
6
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
7
7
  var StaticInfo = function StaticInfo(_ref) {
8
8
  var startDate = _ref.startDate,
@@ -12,7 +12,7 @@ import { VMRangePicker } from "../../../_components/vm-filter";
12
12
  import useSettings from "../../../_hooks/useSettings";
13
13
  import AlarmRecord from "./AlarmRecord";
14
14
  import StaticInfo from "./StaticInfo";
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 AlarmInfo = function AlarmInfo() {
18
18
  var _useSettings = useSettings(),
@@ -10,7 +10,7 @@ import { VmFactor, VmProgress, VmWrapper } from "../../../_components";
10
10
  import useSettings from "../../../_hooks/useSettings";
11
11
  import { BasicService } from "../../../vtx-cc-cp-modal/api";
12
12
  import { CcCpContext } from "../../index";
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 AllWork = function AllWork() {
16
16
  var _useSettings = useSettings(),
@@ -4,7 +4,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
4
4
  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; }
5
5
  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; } }
6
6
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
7
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
8
8
  import { VmInfoCollection, VmMap } from "../../../_components";
9
9
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
10
10
  var Info = function Info(_ref) {
@@ -4,7 +4,7 @@ import { VmInfoCollection, VmTag } from "../../../_components";
4
4
  import { BasicService } from "../../../vtx-cc-cp-modal/api";
5
5
  import { CcCpContext } from "../../index";
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, Fragment as _Fragment } from "react/jsx-runtime";
9
9
  var Rules = function Rules(_ref) {
10
10
  var id = _ref.id;
@@ -10,7 +10,7 @@ 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";
13
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
14
14
  import { useSetState } from 'ahooks';
15
15
  import { useContext } from 'react';
16
16
  import { VmTable, VmTag } from "../../../_components";
@@ -1,4 +1,4 @@
1
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
1
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
2
2
  import { Col, Row } from 'antd';
3
3
  import dayjs from 'dayjs';
4
4
  import { useContext } from 'react';