@vtx/modals2 6.0.0-beta.2 → 6.0.0-beta.4

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 (403) hide show
  1. package/lib/_components/vm-calendar/index.js +1 -1
  2. package/lib/_components/vm-empty/index.js +1 -1
  3. package/lib/_components/vm-factor/index.js +2 -1
  4. package/lib/_components/vm-filter/index.js +1 -1
  5. package/lib/_components/vm-info-collection/index.js +3 -2
  6. package/lib/_components/vm-map/index.js +1 -1
  7. package/lib/_components/vm-progress/index.js +2 -1
  8. package/lib/_components/vm-repair-maintain/RmInfoSummary.js +1 -1
  9. package/lib/_components/vm-repair-maintain/RmMonthTrend.js +1 -1
  10. package/lib/_components/vm-repair-maintain/RmRecord.js +1 -1
  11. package/lib/_components/vm-repair-maintain/RmType.js +1 -1
  12. package/lib/_components/vm-repair-maintain/index.js +1 -1
  13. package/lib/_components/vm-table/index.js +1 -1
  14. package/lib/_components/vm-tag/index.js +2 -1
  15. package/lib/_components/vm-title/index.js +2 -1
  16. package/lib/_components/vm-video/index.js +1 -1
  17. package/lib/_components/vm-wrapper/index.js +2 -2
  18. package/lib/_components/vm-wrapper/style/index.less +4 -2
  19. package/lib/_util/http.js +6 -5
  20. package/lib/_util/index.js +6 -5
  21. package/lib/locales/en.json +1516 -1377
  22. package/lib/locales/zh-CN.json +1516 -1377
  23. package/lib/vtx-area-modal/api.js +1 -1
  24. package/lib/vtx-area-modal/components/BaseInfo/Lcfx.js +1 -1
  25. package/lib/vtx-area-modal/components/BaseInfo/ListZymx.js +1 -1
  26. package/lib/vtx-area-modal/components/BaseInfo/index.js +1 -1
  27. package/lib/vtx-base-modal/index.js +2 -1
  28. package/lib/vtx-car-modal/api.js +415 -25
  29. package/lib/vtx-car-modal/components/Info/index.js +1 -1
  30. package/lib/vtx-car-modal/content/Cc/AlarmInfo/List.js +1 -1
  31. package/lib/vtx-car-modal/content/Cc/AlarmInfo/StaticInfo.js +1 -1
  32. package/lib/vtx-car-modal/content/Cc/AlarmInfo/index.js +1 -1
  33. package/lib/vtx-car-modal/content/Cc/BaseInfo/index.js +1 -1
  34. package/lib/vtx-car-modal/content/Cc/OrderInfo/Detail.js +1 -1
  35. package/lib/vtx-car-modal/content/Cc/OrderInfo/index.js +1 -1
  36. package/lib/vtx-car-modal/content/Cc/StaticInfo/index.js +1 -1
  37. package/lib/vtx-car-modal/content/Cc/WorkRecord/Detail.js +1 -1
  38. package/lib/vtx-car-modal/content/Cc/WorkRecord/Summary.js +1 -1
  39. package/lib/vtx-car-modal/content/Cc/WorkRecord/index.js +1 -1
  40. package/lib/vtx-car-modal/content/Common/AlarmInfo/List.js +1 -1
  41. package/lib/vtx-car-modal/content/Common/AlarmInfo/StaticInfo.js +1 -1
  42. package/lib/vtx-car-modal/content/Common/AlarmInfo/index.js +1 -1
  43. package/lib/vtx-car-modal/content/Common/BaseInfo/index.js +1 -1
  44. package/lib/vtx-car-modal/content/Common/DetailInfo/index.js +1 -1
  45. package/lib/vtx-car-modal/content/Common/DeviceInfo/index.js +1 -1
  46. package/lib/vtx-car-modal/content/Common/EleUse/index.js +206 -0
  47. package/lib/vtx-car-modal/content/Common/EleUse/index.less +19 -0
  48. package/lib/vtx-car-modal/content/Common/Maintenance/index.js +1 -1
  49. package/lib/vtx-car-modal/content/Common/OilConsumption/List.js +1 -1
  50. package/lib/vtx-car-modal/content/Common/OilConsumption/index.js +1 -1
  51. package/lib/vtx-car-modal/content/Common/OilUse/index.js +218 -0
  52. package/lib/vtx-car-modal/content/Common/OilUse/index.less +19 -0
  53. package/lib/vtx-car-modal/content/Common/OperationAnalysis/index.js +376 -0
  54. package/lib/vtx-car-modal/content/Common/OperationAnalysis/index.less +169 -0
  55. package/lib/vtx-car-modal/content/Common/StaticInfo/index.js +1 -1
  56. package/lib/vtx-car-modal/content/Common/WaterConsumption/index.js +1 -1
  57. package/lib/vtx-car-modal/content/Common/WaterUse/index.js +196 -0
  58. package/lib/vtx-car-modal/content/Common/WaterUse/index.less +19 -0
  59. package/lib/vtx-car-modal/content/Common/index.js +9 -1
  60. package/lib/vtx-car-modal/content/JXH/AlarmInfo/List.js +1 -1
  61. package/lib/vtx-car-modal/content/JXH/AlarmInfo/StaticInfo.js +1 -1
  62. package/lib/vtx-car-modal/content/JXH/AlarmInfo/index.js +1 -1
  63. package/lib/vtx-car-modal/content/JXH/BaseInfo/index.js +1 -1
  64. package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/List.js +1 -1
  65. package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/StaticInfo.js +1 -1
  66. package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/index.js +1 -1
  67. package/lib/vtx-car-modal/content/JXH/Hw2BaseInfo/index.js +1 -1
  68. package/lib/vtx-car-modal/content/JXH/Hw2StaticInfo/index.js +1 -1
  69. package/lib/vtx-car-modal/content/JXH/Hw2WorkRecord/index.js +1 -1
  70. package/lib/vtx-car-modal/content/JXH/StaticInfo/index.js +1 -1
  71. package/lib/vtx-car-modal/content/JXH/WorkRecord/index.js +1 -1
  72. package/lib/vtx-car-modal/content/Jzlj/Alarm/Bottom.js +1 -1
  73. package/lib/vtx-car-modal/content/Jzlj/Alarm/index.js +1 -1
  74. package/lib/vtx-car-modal/content/Jzlj/BaseInfo/index.js +1 -1
  75. package/lib/vtx-car-modal/content/Jzlj/Collection/Chart.js +1 -1
  76. package/lib/vtx-car-modal/content/Jzlj/Collection/index.js +1 -1
  77. package/lib/vtx-car-modal/content/Jzlj/Dispose/Pies.js +1 -1
  78. package/lib/vtx-car-modal/content/Jzlj/Dispose/index.js +1 -1
  79. package/lib/vtx-car-modal/content/Jzlj/RunCalendar/index.js +1 -1
  80. package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/List.js +1 -1
  81. package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/StaticInfo.js +1 -1
  82. package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/index.js +1 -1
  83. package/lib/vtx-car-modal/content/Ljsy/BaseInfo/index.js +1 -1
  84. package/lib/vtx-car-modal/content/Ljsy/StaticInfo/index.js +1 -1
  85. package/lib/vtx-car-modal/content/Ljsy/WorkRecord/Detail.js +1 -1
  86. package/lib/vtx-car-modal/content/Ljsy/WorkRecord/Summary.js +1 -1
  87. package/lib/vtx-car-modal/content/Ljsy/WorkRecord/index.js +1 -1
  88. package/lib/vtx-car-modal/content/Ljzy/BaseInfo/index.js +1 -1
  89. package/lib/vtx-car-modal/content/Ljzy/StaticInfo/index.js +1 -1
  90. package/lib/vtx-car-modal/content/Ljzy/WorkRecord/Detail.js +1 -1
  91. package/lib/vtx-car-modal/content/Ljzy/WorkRecord/Summary.js +1 -1
  92. package/lib/vtx-car-modal/content/Ljzy/WorkRecord/index.js +1 -1
  93. package/lib/vtx-car-modal/content/Unmanned/Analysis/index.js +1 -1
  94. package/lib/vtx-car-modal/content/Unmanned/Calendar/index.js +1 -1
  95. package/lib/vtx-car-modal/content/Unmanned/Monitor/index.js +1 -1
  96. package/lib/vtx-car-modal/content/Unmanned/WorkInfo/index.js +1 -1
  97. package/lib/vtx-car-modal/imgs/czb_bg.png +0 -0
  98. package/lib/vtx-car-modal/imgs/czb_bg_dark.png +0 -0
  99. package/lib/vtx-car-modal/imgs/factor/bglyh.png +0 -0
  100. package/lib/vtx-car-modal/imgs/factor/bglyh_dark.png +0 -0
  101. package/lib/vtx-car-modal/imgs/factor/cdcs.png +0 -0
  102. package/lib/vtx-car-modal/imgs/factor/cdcs_dark.png +0 -0
  103. package/lib/vtx-car-modal/imgs/factor/cdje.png +0 -0
  104. package/lib/vtx-car-modal/imgs/factor/cdje_dark.png +0 -0
  105. package/lib/vtx-car-modal/imgs/factor/cdpc.png +0 -0
  106. package/lib/vtx-car-modal/imgs/factor/cdpc_dark.png +0 -0
  107. package/lib/vtx-car-modal/imgs/factor/dccdje.png +0 -0
  108. package/lib/vtx-car-modal/imgs/factor/dccdje_dark.png +0 -0
  109. package/lib/vtx-car-modal/imgs/factor/jscs.png +0 -0
  110. package/lib/vtx-car-modal/imgs/factor/jscs_dark.png +0 -0
  111. package/lib/vtx-car-modal/imgs/factor/jsje.png +0 -0
  112. package/lib/vtx-car-modal/imgs/factor/jsje_dark.png +0 -0
  113. package/lib/vtx-car-modal/imgs/factor/jsl.png +0 -0
  114. package/lib/vtx-car-modal/imgs/factor/jsl_dark.png +0 -0
  115. package/lib/vtx-car-modal/imgs/factor/jspc.png +0 -0
  116. package/lib/vtx-car-modal/imgs/factor/jspc_dark.png +0 -0
  117. package/lib/vtx-car-modal/imgs/factor/jycs.png +0 -0
  118. package/lib/vtx-car-modal/imgs/factor/jycs_dark.png +0 -0
  119. package/lib/vtx-car-modal/imgs/factor/jyje.png +0 -0
  120. package/lib/vtx-car-modal/imgs/factor/jyje_dark.png +0 -0
  121. package/lib/vtx-car-modal/imgs/factor/jyl.png +0 -0
  122. package/lib/vtx-car-modal/imgs/factor/jyl_dark.png +0 -0
  123. package/lib/vtx-car-modal/imgs/factor/ljwbcs.png +0 -0
  124. package/lib/vtx-car-modal/imgs/factor/ljwbcs_dark.png +0 -0
  125. package/lib/vtx-car-modal/imgs/factor/njzfy.png +0 -0
  126. package/lib/vtx-car-modal/imgs/factor/njzfy_dark.png +0 -0
  127. package/lib/vtx-car-modal/imgs/factor/qzxze.png +0 -0
  128. package/lib/vtx-car-modal/imgs/factor/qzxze_dark.png +0 -0
  129. package/lib/vtx-car-modal/imgs/factor/sgcs.png +0 -0
  130. package/lib/vtx-car-modal/imgs/factor/sgcs_dark.png +0 -0
  131. package/lib/vtx-car-modal/imgs/factor/sgfy.png +0 -0
  132. package/lib/vtx-car-modal/imgs/factor/sgfy_dark.png +0 -0
  133. package/lib/vtx-car-modal/imgs/factor/syxze.png +0 -0
  134. package/lib/vtx-car-modal/imgs/factor/syxze_dark.png +0 -0
  135. package/lib/vtx-car-modal/imgs/factor/wbzfy.png +0 -0
  136. package/lib/vtx-car-modal/imgs/factor/wbzfy_dark.png +0 -0
  137. package/lib/vtx-car-modal/imgs/factor/wzcs.png +0 -0
  138. package/lib/vtx-car-modal/imgs/factor/wzcs_dark.png +0 -0
  139. package/lib/vtx-car-modal/imgs/factor/wzkf.png +0 -0
  140. package/lib/vtx-car-modal/imgs/factor/wzkf_dark.png +0 -0
  141. package/lib/vtx-car-modal/imgs/factor/wzkfee.png +0 -0
  142. package/lib/vtx-car-modal/imgs/factor/wzkfee_dark.png +0 -0
  143. package/lib/vtx-car-modal/imgs/factor/xslc.png +0 -0
  144. package/lib/vtx-car-modal/imgs/factor/xslc_dark.png +0 -0
  145. package/lib/vtx-car-modal/imgs/factor/ydcb.png +0 -0
  146. package/lib/vtx-car-modal/imgs/factor/ydcb_dark.png +0 -0
  147. package/lib/vtx-car-modal/imgs/factor/yhcb.png +0 -0
  148. package/lib/vtx-car-modal/imgs/factor/yhcb_dark.png +0 -0
  149. package/lib/vtx-car-modal/imgs/factor/yscb.png +0 -0
  150. package/lib/vtx-car-modal/imgs/factor/yscb_dark.png +0 -0
  151. package/lib/vtx-car-modal/imgs/zjl.png +0 -0
  152. package/lib/vtx-car-modal/imgs/zjl_dark.png +0 -0
  153. package/lib/vtx-car-modal/index.js +22 -2
  154. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +1 -1
  155. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTrend.js +1 -1
  156. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTypeAnalysis.js +1 -1
  157. package/lib/vtx-cc-cp-modal/components/AlarmInfo/StaticInfo.js +1 -1
  158. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +1 -1
  159. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +1 -1
  160. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +1 -1
  161. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +1 -1
  162. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +1 -1
  163. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +1 -1
  164. package/lib/vtx-cc-cp-modal/components/Calendar/index.js +4 -4
  165. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTrend.js +1 -1
  166. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTypeAnalysis.js +1 -1
  167. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExeceptionRecord.js +1 -1
  168. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/StaticInfo.js +1 -1
  169. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +1 -1
  170. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +1 -1
  171. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +1 -1
  172. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +1 -1
  173. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +1 -1
  174. package/lib/vtx-cc-cp-modal/index.js +1 -1
  175. package/lib/vtx-cc-unit-modal/components/BaseInfo/CollectRecord.js +1 -1
  176. package/lib/vtx-cc-unit-modal/components/BaseInfo/DetailList.js +1 -1
  177. package/lib/vtx-cc-unit-modal/components/BaseInfo/Factory.js +1 -1
  178. package/lib/vtx-cc-unit-modal/components/BaseInfo/Statistics.js +1 -1
  179. package/lib/vtx-cc-unit-modal/components/BaseInfo/index.js +1 -1
  180. package/lib/vtx-cc-unit-modal/components/CarList/index.js +1 -1
  181. package/lib/vtx-cc-unit-modal/components/Collection/index.js +1 -1
  182. package/lib/vtx-cc-unit-modal/components/DetailInfo/index.js +1 -1
  183. package/lib/vtx-cc-unit-modal/components/Factory/index.js +1 -1
  184. package/lib/vtx-cc-unit-modal/components/RestaurantList/index.js +1 -1
  185. package/lib/vtx-cc-unit-modal/index.js +1 -1
  186. package/lib/vtx-cp-modal/api.js +1 -1
  187. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +1 -1
  188. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js +1 -1
  189. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +1 -1
  190. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js +1 -1
  191. package/lib/vtx-cp-modal/components/BaseInfo/Rules.js +1 -1
  192. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +1 -1
  193. package/lib/vtx-cp-modal/components/BaseInfo/index.js +1 -1
  194. package/lib/vtx-cp-modal/components/ExeceptionInfo/AlarmRecord.js +1 -1
  195. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js +1 -1
  196. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +1 -1
  197. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +1 -1
  198. package/lib/vtx-cp-modal/components/SyInfo/index.js +1 -1
  199. package/lib/vtx-cp-modal/index.js +1 -1
  200. package/lib/vtx-default-modal/components/BaseInfo/index.js +1 -1
  201. package/lib/vtx-default-modal/index.js +1 -1
  202. package/lib/vtx-device-modal/components/BaseInfo/PreviewAndDownload.js +1 -1
  203. package/lib/vtx-device-modal/components/BaseInfo/index.js +1 -1
  204. package/lib/vtx-device-modal/components/DataAnalysis/AlarmAnalysis.js +1 -1
  205. package/lib/vtx-device-modal/components/DataAnalysis/MonitorAnalysis.js +1 -1
  206. package/lib/vtx-device-modal/index.js +1 -1
  207. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +1 -1
  208. package/lib/vtx-df-modal/components/BaseInfo/Jczbqs.js +1 -1
  209. package/lib/vtx-df-modal/components/BaseInfo/Qyjcl.js +1 -1
  210. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +1 -1
  211. package/lib/vtx-df-modal/components/BaseInfo/Situation.js +1 -1
  212. package/lib/vtx-df-modal/components/BaseInfo/index.js +1 -1
  213. package/lib/vtx-df-modal/components/BaseInfoZdReborn/Jcqsfx.js +1 -1
  214. package/lib/vtx-df-modal/components/BaseInfoZdReborn/Jczbqs.js +1 -1
  215. package/lib/vtx-df-modal/components/BaseInfoZdReborn/Qyjcl.js +1 -1
  216. package/lib/vtx-df-modal/components/BaseInfoZdReborn/RealtimeMonitor.js +1 -1
  217. package/lib/vtx-df-modal/components/BaseInfoZdReborn/Situation.js +1 -1
  218. package/lib/vtx-df-modal/components/BaseInfoZdReborn/index.js +1 -1
  219. package/lib/vtx-df-modal/components/Calendar/index.js +1 -1
  220. package/lib/vtx-df-modal/components/Calendar/zd-reborn.js +1 -1
  221. package/lib/vtx-df-modal/components/Metering/ChartJccc.js +1 -1
  222. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +1 -1
  223. package/lib/vtx-df-modal/components/Metering/List.js +1 -1
  224. package/lib/vtx-df-modal/components/Metering/index.js +1 -1
  225. package/lib/vtx-df-modal/components/MeteringZdReborn/ChartJccc.js +1 -1
  226. package/lib/vtx-df-modal/components/MeteringZdReborn/ChartJcqs.js +1 -1
  227. package/lib/vtx-df-modal/components/MeteringZdReborn/List.js +1 -1
  228. package/lib/vtx-df-modal/components/MeteringZdReborn/index.js +1 -1
  229. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +1 -1
  230. package/lib/vtx-df-modal/components/WorkCondition/Table.js +1 -1
  231. package/lib/vtx-df-modal/components/WorkCondition/index.js +1 -1
  232. package/lib/vtx-df-modal/index.js +1 -1
  233. package/lib/vtx-housing-estate-modal/components/Alarm/CYLJTF.js +1 -1
  234. package/lib/vtx-housing-estate-modal/components/Alarm/Distribute.js +1 -1
  235. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL_TREND.js +1 -1
  236. package/lib/vtx-housing-estate-modal/components/Alarm/FSCSFB.js +1 -1
  237. package/lib/vtx-housing-estate-modal/components/Alarm/FSSD.js +1 -1
  238. package/lib/vtx-housing-estate-modal/components/Alarm/FSYZQS.js +1 -1
  239. package/lib/vtx-housing-estate-modal/components/Alarm/GDCLXL.js +1 -1
  240. package/lib/vtx-housing-estate-modal/components/Alarm/HTLJPH.js +1 -1
  241. package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_FB.js +1 -1
  242. package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_GD.js +1 -1
  243. package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_PIE.js +1 -1
  244. package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_TREND.js +1 -1
  245. package/lib/vtx-housing-estate-modal/components/Alarm/index.js +1 -1
  246. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +1 -1
  247. package/lib/vtx-housing-estate-modal/components/OverView/Left.js +1 -1
  248. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +1 -1
  249. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +1 -1
  250. package/lib/vtx-housing-estate-modal/components/Sbzj/index.js +1 -1
  251. package/lib/vtx-housing-estate-modal/components/TFRD/index.js +1 -1
  252. package/lib/vtx-housing-estate-modal/components/WGGS/index.js +1 -1
  253. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js +1 -1
  254. package/lib/vtx-housing-estate-modal/components/WGXW/index.js +1 -1
  255. package/lib/vtx-housing-estate-modal/index.js +1 -1
  256. package/lib/vtx-jzlj-df-tpd-modal/components/Collection/Chart.js +1 -1
  257. package/lib/vtx-jzlj-df-tpd-modal/components/Collection/index.js +1 -1
  258. package/lib/vtx-jzlj-df-tpd-modal/components/Dispose/FlowMap.js +1 -1
  259. package/lib/vtx-jzlj-df-tpd-modal/components/Dispose/index.js +1 -1
  260. package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CTL.js +1 -1
  261. package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CTYL.js +1 -1
  262. package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CZZ.js +1 -1
  263. package/lib/vtx-jzlj-df-tpd-modal/components/Overview/index.js +1 -1
  264. package/lib/vtx-jzlj-df-tpd-modal/index.js +1 -1
  265. package/lib/vtx-jzlj-gcxm-modal/components/Alarm/Bottom.js +1 -1
  266. package/lib/vtx-jzlj-gcxm-modal/components/Alarm/index.js +1 -1
  267. package/lib/vtx-jzlj-gcxm-modal/components/Collection/Chart.js +1 -1
  268. package/lib/vtx-jzlj-gcxm-modal/components/Collection/index.js +1 -1
  269. package/lib/vtx-jzlj-gcxm-modal/components/Dispose/FlowMap.js +1 -1
  270. package/lib/vtx-jzlj-gcxm-modal/components/Dispose/index.js +1 -1
  271. package/lib/vtx-jzlj-gcxm-modal/components/Overview/CTL.js +1 -1
  272. package/lib/vtx-jzlj-gcxm-modal/components/Overview/CTYL.js +1 -1
  273. package/lib/vtx-jzlj-gcxm-modal/components/Overview/CZZ.js +1 -1
  274. package/lib/vtx-jzlj-gcxm-modal/components/Overview/index.js +1 -1
  275. package/lib/vtx-jzlj-gcxm-modal/index.js +1 -1
  276. package/lib/vtx-jzlj-xnc-modal/components/Collection/Chart.js +1 -1
  277. package/lib/vtx-jzlj-xnc-modal/components/Collection/index.js +1 -1
  278. package/lib/vtx-jzlj-xnc-modal/components/Dispose/FlowMap.js +1 -1
  279. package/lib/vtx-jzlj-xnc-modal/components/Dispose/index.js +1 -1
  280. package/lib/vtx-jzlj-xnc-modal/components/Overview/CTL.js +1 -1
  281. package/lib/vtx-jzlj-xnc-modal/components/Overview/CTYL.js +1 -1
  282. package/lib/vtx-jzlj-xnc-modal/components/Overview/CZZ.js +1 -1
  283. package/lib/vtx-jzlj-xnc-modal/components/Overview/index.js +1 -1
  284. package/lib/vtx-jzlj-xnc-modal/index.js +1 -1
  285. package/lib/vtx-jzlj-ysqy-modal/components/Overview/index.js +1 -1
  286. package/lib/vtx-jzlj-ysqy-modal/index.js +1 -1
  287. package/lib/vtx-kh-modal/api2.js +1 -1
  288. package/lib/vtx-kh-modal/components/BaseInfo/index.js +1 -1
  289. package/lib/vtx-kh-modal/components/Record/index.js +1 -1
  290. package/lib/vtx-kh-modal/index.js +1 -1
  291. package/lib/vtx-qyry-modal/api.js +1 -1
  292. package/lib/vtx-qyry-modal/index.js +1 -1
  293. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +1 -1
  294. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +1 -1
  295. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +1 -1
  296. package/lib/vtx-restaurant-modal/components/Alarm/StaticInfo.js +1 -1
  297. package/lib/vtx-restaurant-modal/components/Alarm/index.js +1 -1
  298. package/lib/vtx-restaurant-modal/components/Basic/CollectRule.js +1 -1
  299. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +1 -1
  300. package/lib/vtx-restaurant-modal/components/Basic/Info.js +1 -1
  301. package/lib/vtx-restaurant-modal/components/Basic/Summary.js +1 -1
  302. package/lib/vtx-restaurant-modal/components/Basic/SummaryStatistics.js +1 -1
  303. package/lib/vtx-restaurant-modal/components/Basic/index.js +1 -1
  304. package/lib/vtx-restaurant-modal/components/Calendar/index.js +4 -4
  305. package/lib/vtx-restaurant-modal/components/Collection/index.js +1 -1
  306. package/lib/vtx-restaurant-modal/components/SignAndContract/ContactDetail.js +51 -34
  307. package/lib/vtx-restaurant-modal/components/SignAndContract/index.js +4 -4
  308. package/lib/vtx-restaurant-modal/index.js +1 -1
  309. package/lib/vtx-road-modal/api.js +1 -1
  310. package/lib/vtx-road-modal/components/BaseInfo/Rules.js +1 -1
  311. package/lib/vtx-road-modal/components/BaseInfo/Work.js +1 -1
  312. package/lib/vtx-road-modal/components/BaseInfo/index.js +1 -1
  313. package/lib/vtx-road-modal/components/Calendar/index.js +1 -1
  314. package/lib/vtx-road-modal/components/LaneBaseInfo/Work.js +1 -1
  315. package/lib/vtx-road-modal/components/LaneBaseInfo/index.js +1 -1
  316. package/lib/vtx-road-modal/components/LaneCalendar/index.js +1 -1
  317. package/lib/vtx-road-modal/components/LaneStatistical/index.js +1 -1
  318. package/lib/vtx-road-modal/components/Statistical/index.js +1 -1
  319. package/lib/vtx-road-modal/index.js +1 -1
  320. package/lib/vtx-sdyd-tfd-modal/components/Alarm/CYLJTF.js +1 -1
  321. package/lib/vtx-sdyd-tfd-modal/components/Alarm/Distribute.js +1 -1
  322. package/lib/vtx-sdyd-tfd-modal/components/Alarm/FLZL_TREND.js +1 -1
  323. package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSCSFB.js +1 -1
  324. package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSSD.js +1 -1
  325. package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSYZQS.js +1 -1
  326. package/lib/vtx-sdyd-tfd-modal/components/Alarm/GDCLXL.js +1 -1
  327. package/lib/vtx-sdyd-tfd-modal/components/Alarm/HTLJPH.js +1 -1
  328. package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_FB.js +1 -1
  329. package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_GD.js +1 -1
  330. package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_PIE.js +1 -1
  331. package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_TREND.js +1 -1
  332. package/lib/vtx-sdyd-tfd-modal/components/Alarm/index.js +1 -1
  333. package/lib/vtx-sdyd-tfd-modal/components/OverView/Hot.js +1 -1
  334. package/lib/vtx-sdyd-tfd-modal/components/OverView/Left.js +1 -1
  335. package/lib/vtx-sdyd-tfd-modal/components/OverView/Manage.js +1 -1
  336. package/lib/vtx-sdyd-tfd-modal/components/OverView/RightBottom.js +1 -1
  337. package/lib/vtx-sdyd-tfd-modal/components/Sbzj/index.js +1 -1
  338. package/lib/vtx-sdyd-tfd-modal/components/TFRD/index.js +1 -1
  339. package/lib/vtx-sdyd-tfd-modal/components/WGGS/index.js +1 -1
  340. package/lib/vtx-sdyd-tfd-modal/components/WGXW/Content.js +1 -1
  341. package/lib/vtx-sdyd-tfd-modal/index.js +1 -1
  342. package/lib/vtx-shxq-modal/api.js +1 -1
  343. package/lib/vtx-shxq-modal/components/AlarmRecord/List.js +1 -1
  344. package/lib/vtx-shxq-modal/components/AlarmRecord/index.js +1 -1
  345. package/lib/vtx-shxq-modal/components/BaseInfo/index.js +1 -1
  346. package/lib/vtx-shxq-modal/components/Tfd/index.js +1 -1
  347. package/lib/vtx-shxq-modal/components/ThrowCalendar/Chart.js +1 -1
  348. package/lib/vtx-shxq-modal/components/ThrowCalendar/List.js +1 -1
  349. package/lib/vtx-shxq-modal/components/ThrowCalendar/index.js +1 -1
  350. package/lib/vtx-shxq-modal/components/ThrowRecord/List.js +1 -1
  351. package/lib/vtx-shxq-modal/components/ThrowRecord/index.js +1 -1
  352. package/lib/vtx-shxq-modal/index.js +1 -1
  353. package/lib/vtx-staff-modal/api.js +1 -1
  354. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +1 -1
  355. package/lib/vtx-staff-modal/components/AlarmInfo/List.js +1 -1
  356. package/lib/vtx-staff-modal/components/AlarmInfo/index.js +1 -1
  357. package/lib/vtx-staff-modal/components/Attendance/Exeception.js +1 -1
  358. package/lib/vtx-staff-modal/components/Attendance/Record.js +1 -1
  359. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js +1 -1
  360. package/lib/vtx-staff-modal/components/BaseInfo/ListZymx.js +1 -1
  361. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +1 -1
  362. package/lib/vtx-staff-modal/components/BaseInfo/index.js +1 -1
  363. package/lib/vtx-staff-modal/components/Calendar/index.js +1 -1
  364. package/lib/vtx-staff-modal/components/Equipment/index.js +1 -1
  365. package/lib/vtx-staff-modal/index.js +1 -1
  366. package/lib/vtx-tfd-modal/api.js +1 -1
  367. package/lib/vtx-tfd-modal/components/BaseInfo/Jczbqs.js +1 -1
  368. package/lib/vtx-tfd-modal/components/BaseInfo/Qyjcl.js +1 -1
  369. package/lib/vtx-tfd-modal/components/BaseInfo/index.js +1 -1
  370. package/lib/vtx-wr-modal/components/Appraise/index.js +1 -1
  371. package/lib/vtx-wr-modal/components/Base/Jbxx.js +1 -1
  372. package/lib/vtx-wr-modal/components/Base/Ptss.js +1 -1
  373. package/lib/vtx-wr-modal/components/Base/Sjjg.js +1 -1
  374. package/lib/vtx-wr-modal/components/Base/index.js +1 -1
  375. package/lib/vtx-wr-modal/components/Build/index.js +1 -1
  376. package/lib/vtx-wr-modal/components/File/index.js +1 -1
  377. package/lib/vtx-wr-modal/components/Score/index.js +1 -1
  378. package/lib/vtx-wr-modal/index.js +1 -1
  379. package/lib/vtx-zf-modal/components/Base/index.js +1 -1
  380. package/lib/vtx-zf-modal/components/CkEditorCustom/index.js +1 -1
  381. package/lib/vtx-zf-modal/components/CkEditorCustom/view.js +4 -1
  382. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/CKModal.js +1 -1
  383. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/FormView.js +5 -4
  384. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/index.js +10 -5
  385. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/FormView.js +7 -6
  386. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/date.js +10 -5
  387. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/index.js +10 -5
  388. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/FormView.js +6 -5
  389. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/checkbox.js +10 -5
  390. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/index.js +10 -5
  391. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/FormView.js +7 -6
  392. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/index.js +12 -7
  393. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/FormView.js +6 -5
  394. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/index.js +10 -5
  395. package/lib/vtx-zf-modal/components/File/index.js +1 -1
  396. package/lib/vtx-zf-modal/components/Process/index.js +1 -1
  397. package/lib/vtx-zf-modal/components/Record/index.js +1 -1
  398. package/lib/vtx-zf-modal/components/Right/index.js +1 -1
  399. package/lib/vtx-zg-modal/api.js +1 -1
  400. package/lib/vtx-zg-modal/components/BaseInfo/index.js +1 -1
  401. package/lib/vtx-zg-modal/index.js +1 -1
  402. package/lib/vtx-zzz-modal/index.js +3 -3
  403. package/package.json +1 -1
@@ -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.js";
15
+ import { translateLocaleText } from "./../../../../hooks/useTranslation.ts";
16
16
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
17
17
  var AlarmInfo = function AlarmInfo() {
18
18
  var _useSettings = useSettings(),
@@ -20,7 +20,7 @@ import Info from "../../../components/Info";
20
20
  import { CarContext } from "../../../index";
21
21
  import "./index.less";
22
22
  import np from 'number-precision';
23
- import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
23
+ import { translateLocaleText } from "./../../../../hooks/useTranslation.ts";
24
24
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
25
25
  var BaseInfo = function BaseInfo() {
26
26
  var _useContext = useContext(CarContext),
@@ -8,7 +8,7 @@ import { VmInfoCollection, VmTable, VmTitle, VmWrapper } from "../../../../_comp
8
8
  import useSettings from "../../../../_hooks/useSettings";
9
9
  import { paramSerializer } from "../../../../_util";
10
10
  import dayjs from "dayjs";
11
- import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
11
+ import { translateLocaleText } from "./../../../../hooks/useTranslation.ts";
12
12
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
13
13
  var Content = function Content(_ref) {
14
14
  var data = _ref.data;
@@ -19,7 +19,7 @@ import Detail from "./Detail";
19
19
  import { VmTable, VmWrapper } from "../../../../_components";
20
20
  import dayjs from "dayjs";
21
21
  import { VtxExport } from '@vtx/components';
22
- import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
22
+ import { translateLocaleText } from "./../../../../hooks/useTranslation.ts";
23
23
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
24
24
  var OrderInfo = function OrderInfo() {
25
25
  var _useContext = useContext(CarContext),
@@ -26,7 +26,7 @@ import lightTrashIcon from "../../../imgs/trash.png";
26
26
  import lightUnplannedIcon from "../../../imgs/unplanned_point.png";
27
27
  import lightWeightIcon from "../../../imgs/weight.png";
28
28
  import { CarContext } from "../../../index";
29
- import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
29
+ import { translateLocaleText } from "./../../../../hooks/useTranslation.ts";
30
30
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
31
31
  var StaticInfo = function StaticInfo() {
32
32
  var _useSettings = useSettings(),
@@ -19,7 +19,7 @@ import { VmEmpty, VmTable, VmWrapper } from "../../../../_components";
19
19
  import useSettings from "../../../../_hooks/useSettings";
20
20
  import { CcService } from "../../../api";
21
21
  import { CarContext } from "../../../index";
22
- import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
22
+ import { translateLocaleText } from "./../../../../hooks/useTranslation.ts";
23
23
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
24
24
  var Detail = function Detail(_ref) {
25
25
  var startDate = _ref.startDate,
@@ -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.js";
17
+ import { translateLocaleText } from "./../../../../hooks/useTranslation.ts";
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.js";
15
+ import { translateLocaleText } from "./../../../../hooks/useTranslation.ts";
16
16
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
17
17
  var WorkRecord = function WorkRecord() {
18
18
  var _useSettings = useSettings(),
@@ -16,7 +16,7 @@ import { VmTable, VmWrapper } from "../../../../_components";
16
16
  import { VMSelect } from "../../../../_components/vm-filter";
17
17
  import { BaseService } from "../../../api";
18
18
  import { CarContext } from "../../../index";
19
- import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
19
+ import { translateLocaleText } from "./../../../../hooks/useTranslation.ts";
20
20
  import { jsx as _jsx } from "react/jsx-runtime";
21
21
  var List = function List(props) {
22
22
  var _useContext = useContext(CarContext),
@@ -5,7 +5,7 @@ import { useContext, useMemo } from 'react';
5
5
  import { VmLineCharts, VmPieCharts, VmWrapper } from "../../../../_components";
6
6
  import { BaseService } from "../../../api";
7
7
  import { CarContext } from "../../../index";
8
- import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
8
+ import { translateLocaleText } from "./../../../../hooks/useTranslation.ts";
9
9
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
10
10
  var StaticInfo = function StaticInfo(_ref) {
11
11
  var _todayRunRes$alarmGro;
@@ -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.js";
15
+ import { translateLocaleText } from "./../../../../hooks/useTranslation.ts";
16
16
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
17
17
  var AlarmInfo = function AlarmInfo() {
18
18
  var _useSettings = useSettings(),
@@ -18,7 +18,7 @@ import darkRunIcon from "../../../imgs/factor/dark_run.png";
18
18
  import durationIcon from "../../../imgs/factor/duration.png";
19
19
  import runIcon from "../../../imgs/factor/run.png";
20
20
  import { CarContext } from "../../../index";
21
- import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
21
+ import { translateLocaleText } from "./../../../../hooks/useTranslation.ts";
22
22
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
23
23
  var MILEAGE_TEXT = "t('vtxcarmodal.drivingMileage')";
24
24
  var DURATION_TEXT = "t('vtxcarmodal.hours2')";
@@ -3,7 +3,7 @@ import { useContext } from 'react';
3
3
  import { VmInfoCollection, VmTable, VmWrapper } from "../../../../_components";
4
4
  import { BaseService, carAuditMap, carConfigMap, carIdentityMap, carSYMap } from "../../../api";
5
5
  import { CarContext } from "../../../index";
6
- import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
6
+ import { translateLocaleText } from "./../../../../hooks/useTranslation.ts";
7
7
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
8
8
  var DetailInfo = function DetailInfo() {
9
9
  var _useContext = useContext(CarContext),
@@ -4,7 +4,7 @@ import { useContext } from 'react';
4
4
  import { VmInfoCollection, VmWrapper } from "../../../../_components";
5
5
  import { BaseService } from "../../../api";
6
6
  import { CarContext } from "../../../index";
7
- import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
7
+ import { translateLocaleText } from "./../../../../hooks/useTranslation.ts";
8
8
  import { jsx as _jsx } from "react/jsx-runtime";
9
9
  var DeviceInfo = function DeviceInfo() {
10
10
  var _useContext = useContext(CarContext),
@@ -0,0 +1,206 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
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."); }
9
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
10
+ 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
+ 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
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
+ import { useSetState } from 'ahooks';
14
+ import dayjs from 'dayjs';
15
+ import { useContext } from 'react';
16
+ import { VmBarCharts, VmFactor, VmTable, VmWrapper } from "../../../../_components";
17
+ import useSettings from "../../../../_hooks/useSettings";
18
+ import { MaintenanceService } from "../../../api";
19
+ import { CarContext } from "../../../index";
20
+ import "./index.less";
21
+ import { translateLocaleText } from "./../../../../hooks/useTranslation.ts";
22
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
23
+ var WaterUse = function WaterUse() {
24
+ var _useSettings = useSettings(),
25
+ isDark = _useSettings.isDark;
26
+ var _useContext = useContext(CarContext),
27
+ id = _useContext.id,
28
+ sDate = _useContext.startDate,
29
+ eDate = _useContext.endDate;
30
+ var _useSetState = useSetState({
31
+ startDate: sDate ? sDate : dayjs().subtract(6, 'day'),
32
+ endDate: eDate ? eDate : dayjs(),
33
+ sorter: 'chargeTime,ASC'
34
+ }),
35
+ _useSetState2 = _slicedToArray(_useSetState, 2),
36
+ state = _useSetState2[0],
37
+ setState = _useSetState2[1];
38
+ var startDate = dayjs(state.startDate).format('YYYY-MM-DD');
39
+ var endDate = dayjs(state.endDate).format('YYYY-MM-DD');
40
+ var filterChange = function filterChange(dateValue) {
41
+ setState({
42
+ startDate: dateValue[0],
43
+ endDate: dateValue[1]
44
+ });
45
+ };
46
+ var _MaintenanceService$u = MaintenanceService.useEleSummary(id, startDate, endDate),
47
+ eleSummary = _MaintenanceService$u.eleSummary;
48
+ var _MaintenanceService$u2 = MaintenanceService.useEleRecord(id, "".concat(startDate, " 00:00:00"), "".concat(endDate, " 23:59:59"), state.sorter),
49
+ recordRes = _MaintenanceService$u2.recordRes,
50
+ loading = _MaintenanceService$u2.loading;
51
+ var _MaintenanceService$u3 = MaintenanceService.useEleTypeSummary(id, startDate, endDate),
52
+ eleTypeSummary = _MaintenanceService$u3.eleTypeSummary,
53
+ loadingType = _MaintenanceService$u3.loading;
54
+ var columns = [{
55
+ title: translateLocaleText("t('vtxcarmodal.chargeTime')"),
56
+ dataIndex: 'chargeTime',
57
+ key: 'chargeTime',
58
+ sorter: true,
59
+ width: '30%'
60
+ }, {
61
+ title: translateLocaleText("t('vtxcarmodal.chargeLocation')"),
62
+ dataIndex: 'chargeAddress',
63
+ key: 'chargeAddress',
64
+ width: '30%',
65
+ render: function render(text) {
66
+ return /*#__PURE__*/_jsx("div", {
67
+ children: text || '--'
68
+ });
69
+ }
70
+ }, {
71
+ title: translateLocaleText("t('vtxcarmodal.chargeMoneyYuan')"),
72
+ dataIndex: 'chargeMoney',
73
+ key: 'chargeMoney',
74
+ width: '30%',
75
+ align: 'right'
76
+ }];
77
+ var handleTableChange = function handleTableChange(sorter) {
78
+ setState({
79
+ sorter: "".concat(sorter.columnKey || 'waterTime', ",").concat(sorter.order === 'ascend' ? 'ASC' : 'DESC')
80
+ });
81
+ };
82
+ var tableProps = {
83
+ pagination: {
84
+ total: (recordRes === null || recordRes === void 0 ? void 0 : recordRes.total) || 0,
85
+ defaultPageSize: 10
86
+ },
87
+ height: 360,
88
+ dataSource: (recordRes === null || recordRes === void 0 ? void 0 : recordRes.rows) || [],
89
+ loading: loading,
90
+ handleTableChange: handleTableChange
91
+ };
92
+ return /*#__PURE__*/_jsxs("div", {
93
+ className: 'vtx-car-water-use-wrap',
94
+ children: [/*#__PURE__*/_jsx(VmWrapper, {
95
+ title: translateLocaleText("t('vtxcarmodal.statisticalScope')"),
96
+ filterType: "rangePicker",
97
+ dateValue: [state.startDate, state.endDate],
98
+ filterChange: filterChange,
99
+ showContent: false,
100
+ style: {
101
+ height: 50
102
+ },
103
+ headerStyle: {
104
+ borderBottom: 'none'
105
+ },
106
+ extraStyle: {
107
+ left: 100,
108
+ right: 'unset'
109
+ }
110
+ }), /*#__PURE__*/_jsxs("div", {
111
+ className: "vtx-car-water-use-summary",
112
+ children: [/*#__PURE__*/_jsx(VmWrapper, {
113
+ title: translateLocaleText("t('vtxcarmodal.chargeSummary')"),
114
+ children: /*#__PURE__*/_jsx("div", {
115
+ className: "vtx-car-water-use-row",
116
+ children: [{
117
+ name: translateLocaleText("t('vtxcarmodal.chargeCount')"),
118
+ unit: translateLocaleText("t('common.unit.times')"),
119
+ value: (eleSummary === null || eleSummary === void 0 ? void 0 : eleSummary.chargeCount) || 0,
120
+ icon: 'cdcs'
121
+ }, {
122
+ name: translateLocaleText("t('vtxcarmodal.chargeMoney')"),
123
+ unit: translateLocaleText("t('common.unit.yuan')"),
124
+ value: (eleSummary === null || eleSummary === void 0 ? void 0 : eleSummary.chargeMoney) || 0,
125
+ icon: 'cdje'
126
+ }, {
127
+ name: translateLocaleText("t('vtxcarmodal.singleChargeMoney')"),
128
+ unit: translateLocaleText("t('common.unit.yuanPerTimes')"),
129
+ value: (eleSummary === null || eleSummary === void 0 ? void 0 : eleSummary.singleChargeMoney) || 0,
130
+ icon: 'dccdje'
131
+ }, {
132
+ name: translateLocaleText("t('vtxcarmodal.chargeFrequency')"),
133
+ unit: translateLocaleText("t('common.unit.dayPerTimes')"),
134
+ value: (eleSummary === null || eleSummary === void 0 ? void 0 : eleSummary.chargeFrequency) || 0,
135
+ icon: 'cdpc'
136
+ }, {
137
+ name: translateLocaleText("t('vtxcarmodal.day2')"),
138
+ unit: 'km',
139
+ value: (eleSummary === null || eleSummary === void 0 ? void 0 : eleSummary.distance) || 0,
140
+ icon: 'xslc'
141
+ }, {
142
+ name: translateLocaleText("t('vtxcarmodal.electricCost')"),
143
+ unit: translateLocaleText("t('common.unit.yuanPerKm')"),
144
+ value: (eleSummary === null || eleSummary === void 0 ? void 0 : eleSummary.electricCost) || 0,
145
+ icon: 'ydcb'
146
+ }].map(function (ele) {
147
+ return /*#__PURE__*/_jsx(VmFactor, {
148
+ name: translateLocaleText(ele.name),
149
+ unit: ele.unit,
150
+ value: ele.value,
151
+ img: require("../../../imgs/factor/".concat(ele.icon).concat(isDark ? '_dark' : '', ".png"))
152
+ }, ele.name);
153
+ })
154
+ })
155
+ }), /*#__PURE__*/_jsx(VmWrapper, {
156
+ title: translateLocaleText("t('vtxcarmodal.chargeTimePreferenceAnalysis')"),
157
+ children: /*#__PURE__*/_jsx(VmBarCharts, {
158
+ name: translateLocaleText("t('vtxcarmodal.chargeTimePreferenceAnalysis')"),
159
+ unit: translateLocaleText("t('common.unit.times')"),
160
+ loading: loadingType,
161
+ dataList: [{
162
+ name: translateLocaleText("t('vtxcarmodal.chargeCount')"),
163
+ data: _.map(eleTypeSummary, 'value'),
164
+ color: 'geekblue'
165
+ }],
166
+ yAxisList: [{
167
+ key: '',
168
+ unit: translateLocaleText("t('common.unit.times')"),
169
+ name: ''
170
+ }],
171
+ otherProps: {
172
+ xAxis: {
173
+ type: 'value',
174
+ unit: translateLocaleText("t('common.unit.times')"),
175
+ name: translateLocaleText("t('common.unit.times')")
176
+ },
177
+ yAxis: {
178
+ type: 'category',
179
+ data: _.map(eleTypeSummary, 'name')
180
+ },
181
+ grid: {
182
+ left: '5%',
183
+ right: '5%',
184
+ bottom: '5%',
185
+ top: '5%',
186
+ containLabel: true
187
+ }
188
+ }
189
+ })
190
+ })]
191
+ }), /*#__PURE__*/_jsx("div", {
192
+ style: {
193
+ flex: 1,
194
+ minHeight: 0
195
+ },
196
+ children: /*#__PURE__*/_jsx(VmWrapper, {
197
+ title: translateLocaleText("t('vtxcarmodal.chargeDetail')"),
198
+ children: /*#__PURE__*/_jsx(VmTable, _objectSpread({
199
+ columns: columns,
200
+ rowKey: "id"
201
+ }, tableProps))
202
+ })
203
+ })]
204
+ });
205
+ };
206
+ export default WaterUse;
@@ -0,0 +1,19 @@
1
+ .vtx-car-water-use-wrap {
2
+ height: 100%;
3
+ display: flex;
4
+ gap: 16px;
5
+ flex-direction: column;
6
+
7
+ .vtx-car-water-use-summary {
8
+ height: 240px;
9
+ display: flex;
10
+ gap: 16px;
11
+ flex-shrink: 0;
12
+ }
13
+
14
+ .vtx-car-water-use-row {
15
+ display: grid;
16
+ grid-template-columns: repeat(3, 1fr);
17
+ gap: 40px 0;
18
+ }
19
+ }
@@ -5,7 +5,7 @@ import { MaintenanceService } from "../../../api";
5
5
  import warn from "../../../imgs/warn.png";
6
6
  import { CarContext } from "../../../index";
7
7
  import "./index.less";
8
- import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
8
+ import { translateLocaleText } from "./../../../../hooks/useTranslation.ts";
9
9
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
10
10
  var Maintenance = function Maintenance() {
11
11
  var _useContext = useContext(CarContext),
@@ -15,7 +15,7 @@ import { useContext } from 'react';
15
15
  import { VmTable } from "../../../../_components";
16
16
  import { OilService } from "../../../api";
17
17
  import { CarContext } from "../../../index";
18
- import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
18
+ import { translateLocaleText } from "./../../../../hooks/useTranslation.ts";
19
19
  import { jsx as _jsx } from "react/jsx-runtime";
20
20
  var List = function List(_ref) {
21
21
  var startDate = _ref.startDate,
@@ -20,7 +20,7 @@ import oilIcon from "../../../imgs/factor/oil.png";
20
20
  import { CarContext } from "../../../index";
21
21
  import "./index.less";
22
22
  import List from "./List";
23
- import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
23
+ import { translateLocaleText } from "./../../../../hooks/useTranslation.ts";
24
24
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
25
25
  var OilConsumption = function OilConsumption() {
26
26
  var _oilLineRes$values;
@@ -0,0 +1,218 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
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."); }
9
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
10
+ 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
+ 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
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
+ import { useSetState } from 'ahooks';
14
+ import dayjs from 'dayjs';
15
+ import { useContext } from 'react';
16
+ import { VmBarCharts, VmFactor, VmTable, VmWrapper } from "../../../../_components";
17
+ import useSettings from "../../../../_hooks/useSettings";
18
+ import { MaintenanceService } from "../../../api";
19
+ import { CarContext } from "../../../index";
20
+ import "./index.less";
21
+ import { translateLocaleText } from "../../../../hooks/useTranslation";
22
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
23
+ var OilUse = function OilUse() {
24
+ var _useSettings = useSettings(),
25
+ isDark = _useSettings.isDark;
26
+ var _useContext = useContext(CarContext),
27
+ id = _useContext.id,
28
+ sDate = _useContext.startDate,
29
+ eDate = _useContext.endDate;
30
+ var _useSetState = useSetState({
31
+ startDate: sDate ? sDate : dayjs().subtract(6, 'day'),
32
+ endDate: eDate ? eDate : dayjs(),
33
+ sorter: 'oilTime,ASC'
34
+ }),
35
+ _useSetState2 = _slicedToArray(_useSetState, 2),
36
+ state = _useSetState2[0],
37
+ setState = _useSetState2[1];
38
+ var startDate = dayjs(state.startDate).format('YYYY-MM-DD');
39
+ var endDate = dayjs(state.endDate).format('YYYY-MM-DD');
40
+ var filterChange = function filterChange(dateValue) {
41
+ setState({
42
+ startDate: dateValue[0],
43
+ endDate: dateValue[1]
44
+ });
45
+ };
46
+ var _MaintenanceService$u = MaintenanceService.useOilSummary(id, startDate, endDate),
47
+ oilUseSummary = _MaintenanceService$u.oilUseSummary;
48
+ var _MaintenanceService$u2 = MaintenanceService.useOilRecord(id, "".concat(startDate, " 00:00:00"), "".concat(endDate, " 23:59:59"), state.sorter),
49
+ recordRes = _MaintenanceService$u2.recordRes,
50
+ loading = _MaintenanceService$u2.loading;
51
+ var _MaintenanceService$u3 = MaintenanceService.useOilTypeSummary(id, startDate, endDate),
52
+ oilUseTypeSummary = _MaintenanceService$u3.oilUseTypeSummary,
53
+ loadingType = _MaintenanceService$u3.loading;
54
+ var columns = [{
55
+ title: translateLocaleText("t('vtxcarmodal.oilRefuelTime')"),
56
+ dataIndex: 'oilTime',
57
+ key: 'oilTime',
58
+ sorter: true,
59
+ width: '15%'
60
+ }, {
61
+ title: translateLocaleText("t('vtxcarmodal.oilRefuelPoint')"),
62
+ dataIndex: 'oilPoint',
63
+ key: 'oilPoint',
64
+ width: '15%'
65
+ }, {
66
+ title: translateLocaleText("t('vtxcarmodal.oilProduct')"),
67
+ dataIndex: 'oilType',
68
+ key: 'oilType',
69
+ width: '15%'
70
+ }, {
71
+ title: translateLocaleText("t('vtxcarmodal.oilRefuelAmountL')"),
72
+ dataIndex: 'oilCount',
73
+ key: 'oilCount',
74
+ align: 'right',
75
+ width: '15%'
76
+ }, {
77
+ title: translateLocaleText("t('vtxcarmodal.totalPriceYuan')"),
78
+ dataIndex: 'totalPrice',
79
+ key: 'totalPrice',
80
+ align: 'right',
81
+ width: '15%'
82
+ }, {
83
+ title: translateLocaleText("t('vtxcarmodal.mileageKm')"),
84
+ dataIndex: 'mileage',
85
+ key: 'mileage',
86
+ align: 'right',
87
+ width: '15%'
88
+ }];
89
+ var handleTableChange = function handleTableChange(sorter) {
90
+ setState({
91
+ sorter: "".concat(sorter.columnKey || 'oilTime', ",").concat(sorter.order === 'ascend' ? 'ASC' : 'DESC')
92
+ });
93
+ };
94
+ var tableProps = {
95
+ pagination: {
96
+ total: (recordRes === null || recordRes === void 0 ? void 0 : recordRes.total) || 0,
97
+ defaultPageSize: 10
98
+ },
99
+ height: 360,
100
+ dataSource: (recordRes === null || recordRes === void 0 ? void 0 : recordRes.rows) || [],
101
+ loading: loading,
102
+ handleTableChange: handleTableChange
103
+ };
104
+ return /*#__PURE__*/_jsxs("div", {
105
+ className: 'vtx-car-water-use-wrap',
106
+ children: [/*#__PURE__*/_jsx(VmWrapper, {
107
+ title: translateLocaleText("t('vtxcarmodal.statisticalScope')"),
108
+ filterType: "rangePicker",
109
+ dateValue: [state.startDate, state.endDate],
110
+ filterChange: filterChange,
111
+ showContent: false,
112
+ style: {
113
+ height: 50
114
+ },
115
+ headerStyle: {
116
+ borderBottom: 'none'
117
+ },
118
+ extraStyle: {
119
+ left: 100,
120
+ right: 'unset'
121
+ }
122
+ }), /*#__PURE__*/_jsxs("div", {
123
+ className: "vtx-car-water-use-summary",
124
+ children: [/*#__PURE__*/_jsx(VmWrapper, {
125
+ title: translateLocaleText("t('vtxcarmodal.oilRefuelSummary')"),
126
+ children: /*#__PURE__*/_jsx("div", {
127
+ className: "vtx-car-water-use-row",
128
+ children: [{
129
+ name: translateLocaleText("t('vtxcarmodal.oilRefuelCount')"),
130
+ unit: translateLocaleText("t('common.unit.times')"),
131
+ value: (oilUseSummary === null || oilUseSummary === void 0 ? void 0 : oilUseSummary.oilCount) || 0,
132
+ icon: 'jycs'
133
+ }, {
134
+ name: translateLocaleText("t('vtxcarmodal.oilRefuelAmount')"),
135
+ unit: 'L',
136
+ value: (oilUseSummary === null || oilUseSummary === void 0 ? void 0 : oilUseSummary.oilAmount) || 0,
137
+ icon: 'jyl'
138
+ }, {
139
+ name: translateLocaleText("t('vtxcarmodal.oilRefuelMoney')"),
140
+ unit: translateLocaleText("t('common.unit.yuan')"),
141
+ value: (oilUseSummary === null || oilUseSummary === void 0 ? void 0 : oilUseSummary.oilMoney) || 0,
142
+ icon: 'jyje'
143
+ }, {
144
+ name: translateLocaleText("t('vtxcarmodal.day2')"),
145
+ unit: 'km',
146
+ value: (oilUseSummary === null || oilUseSummary === void 0 ? void 0 : oilUseSummary.distance) || 0,
147
+ icon: 'xslc'
148
+ }, {
149
+ name: translateLocaleText("t('vtxcarmodal.fuelConsumptionPer100Km')"),
150
+ unit: 'L',
151
+ value: (oilUseSummary === null || oilUseSummary === void 0 ? void 0 : oilUseSummary.averageOilUse) || 0,
152
+ icon: 'bglyh'
153
+ }, {
154
+ name: translateLocaleText("t('vtxcarmodal.oilCost')"),
155
+ unit: translateLocaleText("t('common.unit.yuanPerKm')"),
156
+ value: (oilUseSummary === null || oilUseSummary === void 0 ? void 0 : oilUseSummary.oilCost) || 0,
157
+ icon: 'yhcb'
158
+ }].map(function (ele) {
159
+ return /*#__PURE__*/_jsx(VmFactor, {
160
+ name: translateLocaleText(ele.name),
161
+ unit: ele.unit,
162
+ value: ele.value,
163
+ img: require("../../../imgs/factor/".concat(ele.icon).concat(isDark ? '_dark' : '', ".png"))
164
+ }, ele.name);
165
+ })
166
+ })
167
+ }), /*#__PURE__*/_jsx(VmWrapper, {
168
+ title: translateLocaleText("t('vtxcarmodal.oilRefuelTimePreferenceAnalysis')"),
169
+ children: /*#__PURE__*/_jsx(VmBarCharts, {
170
+ name: translateLocaleText("t('vtxcarmodal.oilRefuelTimePreferenceAnalysis')"),
171
+ unit: translateLocaleText("t('common.unit.times')"),
172
+ loading: loadingType,
173
+ dataList: [{
174
+ name: translateLocaleText("t('vtxcarmodal.oilRefuelCount')"),
175
+ data: _.map(oilUseTypeSummary, 'value'),
176
+ color: 'geekblue'
177
+ }],
178
+ yAxisList: [{
179
+ key: '',
180
+ unit: translateLocaleText("t('common.unit.times')"),
181
+ name: ''
182
+ }],
183
+ otherProps: {
184
+ xAxis: {
185
+ type: 'value',
186
+ unit: translateLocaleText("t('common.unit.times')"),
187
+ name: translateLocaleText("t('common.unit.times')")
188
+ },
189
+ yAxis: {
190
+ type: 'category',
191
+ data: _.map(oilUseTypeSummary, 'name')
192
+ },
193
+ grid: {
194
+ left: '5%',
195
+ right: '5%',
196
+ bottom: '5%',
197
+ top: '5%',
198
+ containLabel: true
199
+ }
200
+ }
201
+ })
202
+ })]
203
+ }), /*#__PURE__*/_jsx("div", {
204
+ style: {
205
+ flex: 1,
206
+ minHeight: 0
207
+ },
208
+ children: /*#__PURE__*/_jsx(VmWrapper, {
209
+ title: translateLocaleText("t('vtxcarmodal.oilRefuelDetail')"),
210
+ children: /*#__PURE__*/_jsx(VmTable, _objectSpread({
211
+ columns: columns,
212
+ rowKey: "id"
213
+ }, tableProps))
214
+ })
215
+ })]
216
+ });
217
+ };
218
+ export default OilUse;
@@ -0,0 +1,19 @@
1
+ .vtx-car-water-use-wrap {
2
+ height: 100%;
3
+ display: flex;
4
+ gap: 16px;
5
+ flex-direction: column;
6
+
7
+ .vtx-car-water-use-summary {
8
+ height: 240px;
9
+ display: flex;
10
+ gap: 16px;
11
+ flex-shrink: 0;
12
+ }
13
+
14
+ .vtx-car-water-use-row {
15
+ display: grid;
16
+ grid-template-columns: repeat(3, 1fr);
17
+ gap: 40px 0;
18
+ }
19
+ }