@vtx/modals2 5.0.58 → 6.0.0-beta.0

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 (373) hide show
  1. package/README.md +18 -2
  2. package/lib/_components/vm-calendar/index.js +12 -7
  3. package/lib/_components/vm-calendar/style/index.js +0 -1
  4. package/lib/_components/vm-calendar/style/index.less +1 -0
  5. package/lib/_components/vm-card-statistics/index.less +27 -27
  6. package/lib/_components/vm-custom/index.js +1 -1
  7. package/lib/_components/vm-empty/index.js +13 -11
  8. package/lib/_components/vm-factor/index.js +1 -0
  9. package/lib/_components/vm-factor/style/index.less +4 -0
  10. package/lib/_components/vm-factor-list/index.less +11 -11
  11. package/lib/_components/vm-filter/index.js +9 -12
  12. package/lib/_components/vm-info-collection/style/index.js +0 -1
  13. package/lib/_components/vm-map/index.js +18 -0
  14. package/lib/_components/vm-pie-charts/index.js +1 -1
  15. package/lib/_components/vm-popover/index.js +11 -3
  16. package/lib/_components/vm-popover/index.less +10 -7
  17. package/lib/_components/vm-repair-maintain/RmInfoSummary.js +7 -6
  18. package/lib/_components/vm-repair-maintain/RmMonthTrend.js +3 -2
  19. package/lib/_components/vm-repair-maintain/RmRecord.js +9 -8
  20. package/lib/_components/vm-repair-maintain/RmType.js +5 -4
  21. package/lib/_components/vm-repair-maintain/index.js +4 -3
  22. package/lib/_components/vm-table/index.js +31 -24
  23. package/lib/_components/vm-tabs/index.js +26 -10
  24. package/lib/_components/vm-video/index.js +21 -21
  25. package/lib/_components/vm-wrapper/index.js +8 -4
  26. package/lib/_components/vm-wrapper/resource/ICON_CONFIG.js +1 -1
  27. package/lib/_util/http.js +4 -2
  28. package/lib/_util/setupDayjs.js +16 -0
  29. package/lib/hooks/useTranslation.js +219 -0
  30. package/lib/index.js +3 -0
  31. package/lib/locales/en.json +1377 -0
  32. package/lib/locales/zh-CN.json +1377 -0
  33. package/lib/style/index.less +0 -2
  34. package/lib/vtx-area-modal/api.js +5 -4
  35. package/lib/vtx-area-modal/components/BaseInfo/Lcfx.js +2 -1
  36. package/lib/vtx-area-modal/components/BaseInfo/ListZymx.js +10 -9
  37. package/lib/vtx-area-modal/components/BaseInfo/index.js +14 -13
  38. package/lib/vtx-area-modal/index.js +1 -1
  39. package/lib/vtx-base-modal/Header/index.less +99 -98
  40. package/lib/vtx-base-modal/index.js +34 -3
  41. package/lib/vtx-base-modal/style/index.less +14 -1
  42. package/lib/vtx-car-modal/components/Info/index.js +37 -7
  43. package/lib/vtx-car-modal/components/Info/index.less +6 -6
  44. package/lib/vtx-car-modal/content/Cc/AlarmInfo/List.js +7 -6
  45. package/lib/vtx-car-modal/content/Cc/AlarmInfo/StaticInfo.js +7 -6
  46. package/lib/vtx-car-modal/content/Cc/AlarmInfo/index.js +2 -1
  47. package/lib/vtx-car-modal/content/Cc/BaseInfo/index.js +22 -21
  48. package/lib/vtx-car-modal/content/Cc/OrderInfo/Detail.js +26 -25
  49. package/lib/vtx-car-modal/content/Cc/OrderInfo/index.js +15 -14
  50. package/lib/vtx-car-modal/content/Cc/StaticInfo/index.js +22 -21
  51. package/lib/vtx-car-modal/content/Cc/WorkRecord/Detail.js +13 -12
  52. package/lib/vtx-car-modal/content/Cc/WorkRecord/Summary.js +13 -12
  53. package/lib/vtx-car-modal/content/Cc/WorkRecord/index.js +2 -1
  54. package/lib/vtx-car-modal/content/Common/AlarmInfo/List.js +16 -11
  55. package/lib/vtx-car-modal/content/Common/AlarmInfo/StaticInfo.js +7 -6
  56. package/lib/vtx-car-modal/content/Common/AlarmInfo/index.js +2 -1
  57. package/lib/vtx-car-modal/content/Common/BaseInfo/index.js +10 -7
  58. package/lib/vtx-car-modal/content/Common/DetailInfo/index.js +13 -12
  59. package/lib/vtx-car-modal/content/Common/DeviceInfo/index.js +16 -15
  60. package/lib/vtx-car-modal/content/Common/Maintenance/index.js +23 -18
  61. package/lib/vtx-car-modal/content/Common/OilConsumption/List.js +5 -4
  62. package/lib/vtx-car-modal/content/Common/OilConsumption/index.js +7 -6
  63. package/lib/vtx-car-modal/content/Common/OilConsumption/index.less +6 -6
  64. package/lib/vtx-car-modal/content/Common/StaticInfo/index.js +17 -15
  65. package/lib/vtx-car-modal/content/Common/WaterConsumption/index.js +10 -9
  66. package/lib/vtx-car-modal/content/Common/WaterConsumption/index.less +6 -6
  67. package/lib/vtx-car-modal/content/JXH/AlarmInfo/List.js +8 -7
  68. package/lib/vtx-car-modal/content/JXH/AlarmInfo/StaticInfo.js +9 -8
  69. package/lib/vtx-car-modal/content/JXH/AlarmInfo/index.js +2 -1
  70. package/lib/vtx-car-modal/content/JXH/BaseInfo/index.js +11 -10
  71. package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/List.js +8 -7
  72. package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/StaticInfo.js +7 -6
  73. package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/index.js +2 -1
  74. package/lib/vtx-car-modal/content/JXH/Hw2BaseInfo/index.js +13 -12
  75. package/lib/vtx-car-modal/content/JXH/Hw2StaticInfo/index.js +44 -41
  76. package/lib/vtx-car-modal/content/JXH/Hw2WorkRecord/index.js +26 -20
  77. package/lib/vtx-car-modal/content/JXH/StaticInfo/index.js +18 -17
  78. package/lib/vtx-car-modal/content/JXH/WorkRecord/index.js +23 -22
  79. package/lib/vtx-car-modal/content/Jzlj/Alarm/Bottom.js +41 -40
  80. package/lib/vtx-car-modal/content/Jzlj/Alarm/index.js +13 -12
  81. package/lib/vtx-car-modal/content/Jzlj/BaseInfo/index.js +21 -20
  82. package/lib/vtx-car-modal/content/Jzlj/Collection/Chart.js +8 -7
  83. package/lib/vtx-car-modal/content/Jzlj/Collection/index.js +26 -25
  84. package/lib/vtx-car-modal/content/Jzlj/Dispose/Pies.js +15 -9
  85. package/lib/vtx-car-modal/content/Jzlj/Dispose/index.js +20 -19
  86. package/lib/vtx-car-modal/content/Jzlj/RunCalendar/index.js +13 -12
  87. package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/List.js +6 -5
  88. package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/StaticInfo.js +7 -6
  89. package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/index.js +2 -1
  90. package/lib/vtx-car-modal/content/Ljsy/BaseInfo/index.js +28 -27
  91. package/lib/vtx-car-modal/content/Ljsy/StaticInfo/index.js +23 -22
  92. package/lib/vtx-car-modal/content/Ljsy/WorkRecord/Detail.js +10 -9
  93. package/lib/vtx-car-modal/content/Ljsy/WorkRecord/Summary.js +13 -12
  94. package/lib/vtx-car-modal/content/Ljsy/WorkRecord/index.js +2 -1
  95. package/lib/vtx-car-modal/content/Ljzy/BaseInfo/index.js +18 -17
  96. package/lib/vtx-car-modal/content/Ljzy/StaticInfo/index.js +15 -14
  97. package/lib/vtx-car-modal/content/Ljzy/WorkRecord/Detail.js +8 -7
  98. package/lib/vtx-car-modal/content/Ljzy/WorkRecord/Summary.js +12 -11
  99. package/lib/vtx-car-modal/content/Ljzy/WorkRecord/index.js +2 -1
  100. package/lib/vtx-car-modal/content/Unmanned/Analysis/index.js +4 -3
  101. package/lib/vtx-car-modal/content/Unmanned/Calendar/index.js +18 -17
  102. package/lib/vtx-car-modal/content/Unmanned/Monitor/index.js +2 -1
  103. package/lib/vtx-car-modal/content/Unmanned/WorkInfo/index.js +8 -7
  104. package/lib/vtx-car-modal/index.js +25 -24
  105. package/lib/vtx-car-modal/style/index.js +1 -3
  106. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +28 -16
  107. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTrend.js +7 -2
  108. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTypeAnalysis.js +4 -3
  109. package/lib/vtx-cc-cp-modal/components/AlarmInfo/StaticInfo.js +3 -2
  110. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +2 -1
  111. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +29 -34
  112. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +25 -19
  113. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +4 -3
  114. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +21 -17
  115. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +8 -7
  116. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.less +34 -0
  117. package/lib/vtx-cc-cp-modal/components/Calendar/index.js +4 -3
  118. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTrend.js +7 -2
  119. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTypeAnalysis.js +4 -3
  120. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExeceptionRecord.js +33 -35
  121. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/StaticInfo.js +3 -2
  122. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +2 -1
  123. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +23 -13
  124. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +2 -1
  125. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +25 -17
  126. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +3 -2
  127. package/lib/vtx-cc-cp-modal/index.js +2 -1
  128. package/lib/vtx-cc-unit-modal/components/BaseInfo/CollectRecord.js +11 -7
  129. package/lib/vtx-cc-unit-modal/components/BaseInfo/DetailList.js +3 -2
  130. package/lib/vtx-cc-unit-modal/components/BaseInfo/Factory.js +13 -9
  131. package/lib/vtx-cc-unit-modal/components/BaseInfo/Statistics.js +13 -9
  132. package/lib/vtx-cc-unit-modal/components/BaseInfo/index.js +7 -6
  133. package/lib/vtx-cc-unit-modal/components/BaseInfo/index.less +6 -6
  134. package/lib/vtx-cc-unit-modal/components/CarList/index.js +13 -9
  135. package/lib/vtx-cc-unit-modal/components/Collection/index.js +11 -7
  136. package/lib/vtx-cc-unit-modal/components/DetailInfo/index.js +14 -13
  137. package/lib/vtx-cc-unit-modal/components/Factory/index.js +13 -9
  138. package/lib/vtx-cc-unit-modal/components/RestaurantList/index.js +15 -11
  139. package/lib/vtx-cc-unit-modal/index.js +17 -10
  140. package/lib/vtx-cp-modal/api.js +6 -5
  141. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +11 -10
  142. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js +4 -3
  143. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +6 -5
  144. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js +9 -8
  145. package/lib/vtx-cp-modal/components/BaseInfo/Rules.js +3 -2
  146. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +10 -9
  147. package/lib/vtx-cp-modal/components/BaseInfo/index.js +5 -4
  148. package/lib/vtx-cp-modal/components/ExeceptionInfo/AlarmRecord.js +10 -9
  149. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js +4 -3
  150. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +6 -5
  151. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +5 -4
  152. package/lib/vtx-cp-modal/components/SyInfo/index.js +20 -19
  153. package/lib/vtx-cp-modal/index.js +5 -4
  154. package/lib/vtx-default-modal/components/BaseInfo/index.js +2 -1
  155. package/lib/vtx-default-modal/index.js +4 -3
  156. package/lib/vtx-default-modal/style/index.js +0 -1
  157. package/lib/vtx-device-modal/components/BaseInfo/PreviewAndDownload.js +4 -3
  158. package/lib/vtx-device-modal/components/BaseInfo/index.js +13 -12
  159. package/lib/vtx-device-modal/components/DataAnalysis/AlarmAnalysis.js +15 -14
  160. package/lib/vtx-device-modal/components/DataAnalysis/MonitorAnalysis.js +21 -20
  161. package/lib/vtx-device-modal/components/DataAnalysis/index.js +15 -0
  162. package/lib/vtx-device-modal/components/DataAnalysis/index.less +66 -66
  163. package/lib/vtx-device-modal/index.js +6 -3
  164. package/lib/vtx-device-modal/style/index.less +32 -0
  165. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +5 -4
  166. package/lib/vtx-df-modal/components/BaseInfo/Jczbqs.js +6 -5
  167. package/lib/vtx-df-modal/components/BaseInfo/Qyjcl.js +4 -3
  168. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +12 -7
  169. package/lib/vtx-df-modal/components/BaseInfo/Situation.js +5 -4
  170. package/lib/vtx-df-modal/components/BaseInfo/index.js +4 -3
  171. package/lib/vtx-df-modal/components/BaseInfoZdReborn/Jcqsfx.js +6 -5
  172. package/lib/vtx-df-modal/components/BaseInfoZdReborn/Jczbqs.js +6 -5
  173. package/lib/vtx-df-modal/components/BaseInfoZdReborn/Qyjcl.js +4 -3
  174. package/lib/vtx-df-modal/components/BaseInfoZdReborn/RealtimeMonitor.js +12 -7
  175. package/lib/vtx-df-modal/components/BaseInfoZdReborn/Situation.js +5 -4
  176. package/lib/vtx-df-modal/components/BaseInfoZdReborn/index.js +4 -3
  177. package/lib/vtx-df-modal/components/Calendar/index.js +7 -6
  178. package/lib/vtx-df-modal/components/Calendar/zd-reborn.js +7 -6
  179. package/lib/vtx-df-modal/components/Metering/ChartJccc.js +10 -8
  180. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +6 -5
  181. package/lib/vtx-df-modal/components/Metering/List.js +12 -10
  182. package/lib/vtx-df-modal/components/Metering/index.js +11 -10
  183. package/lib/vtx-df-modal/components/MeteringZdReborn/ChartJccc.js +10 -8
  184. package/lib/vtx-df-modal/components/MeteringZdReborn/ChartJcqs.js +6 -6
  185. package/lib/vtx-df-modal/components/MeteringZdReborn/List.js +12 -10
  186. package/lib/vtx-df-modal/components/MeteringZdReborn/index.js +11 -10
  187. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +2 -1
  188. package/lib/vtx-df-modal/components/WorkCondition/Table.js +4 -3
  189. package/lib/vtx-df-modal/components/WorkCondition/index.js +9 -4
  190. package/lib/vtx-df-modal/index.js +4 -3
  191. package/lib/vtx-housing-estate-modal/components/Alarm/CYLJTF.js +7 -6
  192. package/lib/vtx-housing-estate-modal/components/Alarm/Distribute.js +3 -2
  193. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL_TREND.js +3 -2
  194. package/lib/vtx-housing-estate-modal/components/Alarm/FSCSFB.js +3 -2
  195. package/lib/vtx-housing-estate-modal/components/Alarm/FSSD.js +5 -4
  196. package/lib/vtx-housing-estate-modal/components/Alarm/FSYZQS.js +4 -3
  197. package/lib/vtx-housing-estate-modal/components/Alarm/GDCLXL.js +8 -7
  198. package/lib/vtx-housing-estate-modal/components/Alarm/HTLJPH.js +6 -5
  199. package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_FB.js +9 -8
  200. package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_GD.js +4 -3
  201. package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_PIE.js +5 -4
  202. package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_TREND.js +3 -2
  203. package/lib/vtx-housing-estate-modal/components/Alarm/index.js +5 -4
  204. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +13 -12
  205. package/lib/vtx-housing-estate-modal/components/OverView/Left.js +7 -5
  206. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +14 -13
  207. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +12 -11
  208. package/lib/vtx-housing-estate-modal/components/Sbzj/index.js +20 -17
  209. package/lib/vtx-housing-estate-modal/components/TFRD/index.js +55 -52
  210. package/lib/vtx-housing-estate-modal/components/WGGS/index.js +3 -2
  211. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js +2 -1
  212. package/lib/vtx-housing-estate-modal/components/WGXW/index.js +6 -5
  213. package/lib/vtx-housing-estate-modal/config.js +10 -10
  214. package/lib/vtx-housing-estate-modal/index.js +6 -5
  215. package/lib/vtx-jzlj-df-tpd-modal/components/Collection/Chart.js +15 -9
  216. package/lib/vtx-jzlj-df-tpd-modal/components/Collection/index.js +31 -25
  217. package/lib/vtx-jzlj-df-tpd-modal/components/Dispose/FlowMap.js +4 -3
  218. package/lib/vtx-jzlj-df-tpd-modal/components/Dispose/index.js +32 -24
  219. package/lib/vtx-jzlj-df-tpd-modal/components/FactorList.js +38 -0
  220. package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CTL.js +4 -3
  221. package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CTYL.js +16 -10
  222. package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CZZ.js +16 -8
  223. package/lib/vtx-jzlj-df-tpd-modal/components/Overview/index.js +5 -4
  224. package/lib/vtx-jzlj-df-tpd-modal/index.js +8 -5
  225. package/lib/vtx-jzlj-df-tpd-modal/style/index.less +22 -0
  226. package/lib/vtx-jzlj-gcxm-modal/components/Alarm/Bottom.js +41 -40
  227. package/lib/vtx-jzlj-gcxm-modal/components/Alarm/index.js +16 -15
  228. package/lib/vtx-jzlj-gcxm-modal/components/Collection/Chart.js +10 -8
  229. package/lib/vtx-jzlj-gcxm-modal/components/Collection/index.js +26 -24
  230. package/lib/vtx-jzlj-gcxm-modal/components/Dispose/FlowMap.js +4 -3
  231. package/lib/vtx-jzlj-gcxm-modal/components/Dispose/index.js +26 -24
  232. package/lib/vtx-jzlj-gcxm-modal/components/FactorList.js +41 -0
  233. package/lib/vtx-jzlj-gcxm-modal/components/Overview/CTL.js +4 -3
  234. package/lib/vtx-jzlj-gcxm-modal/components/Overview/CTYL.js +11 -9
  235. package/lib/vtx-jzlj-gcxm-modal/components/Overview/CZZ.js +11 -9
  236. package/lib/vtx-jzlj-gcxm-modal/components/Overview/index.js +11 -9
  237. package/lib/vtx-jzlj-gcxm-modal/index.js +10 -6
  238. package/lib/vtx-jzlj-gcxm-modal/style/index.less +45 -0
  239. package/lib/vtx-jzlj-xnc-modal/components/Collection/Chart.js +11 -9
  240. package/lib/vtx-jzlj-xnc-modal/components/Collection/index.js +27 -25
  241. package/lib/vtx-jzlj-xnc-modal/components/Dispose/FlowMap.js +4 -3
  242. package/lib/vtx-jzlj-xnc-modal/components/Dispose/index.js +26 -24
  243. package/lib/vtx-jzlj-xnc-modal/components/FactorList.js +41 -0
  244. package/lib/vtx-jzlj-xnc-modal/components/Overview/CTL.js +4 -3
  245. package/lib/vtx-jzlj-xnc-modal/components/Overview/CTYL.js +12 -10
  246. package/lib/vtx-jzlj-xnc-modal/components/Overview/CZZ.js +13 -11
  247. package/lib/vtx-jzlj-xnc-modal/components/Overview/index.js +24 -13
  248. package/lib/vtx-jzlj-xnc-modal/index.js +9 -5
  249. package/lib/vtx-jzlj-xnc-modal/style/index.less +46 -0
  250. package/lib/vtx-jzlj-ysqy-modal/components/Overview/index.js +29 -12
  251. package/lib/vtx-jzlj-ysqy-modal/components/Overview/index.less +21 -0
  252. package/lib/vtx-jzlj-ysqy-modal/index.js +6 -2
  253. package/lib/vtx-kh-modal/api2.js +10 -9
  254. package/lib/vtx-kh-modal/components/BaseInfo/index.js +21 -23
  255. package/lib/vtx-kh-modal/components/Record/index.js +18 -17
  256. package/lib/vtx-kh-modal/index.js +3 -2
  257. package/lib/vtx-kh-modal/style/index.js +0 -1
  258. package/lib/vtx-qyry-modal/api.js +8 -7
  259. package/lib/vtx-qyry-modal/index.js +17 -16
  260. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +18 -9
  261. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +7 -2
  262. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +4 -3
  263. package/lib/vtx-restaurant-modal/components/Alarm/StaticInfo.js +3 -2
  264. package/lib/vtx-restaurant-modal/components/Alarm/index.js +2 -1
  265. package/lib/vtx-restaurant-modal/components/Basic/CollectRule.js +6 -5
  266. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +11 -7
  267. package/lib/vtx-restaurant-modal/components/Basic/Info.js +4 -1
  268. package/lib/vtx-restaurant-modal/components/Basic/Summary.js +6 -5
  269. package/lib/vtx-restaurant-modal/components/Basic/SummaryStatistics.js +3 -2
  270. package/lib/vtx-restaurant-modal/components/Basic/index.js +6 -5
  271. package/lib/vtx-restaurant-modal/components/Basic/index.less +16 -16
  272. package/lib/vtx-restaurant-modal/components/Calendar/index.js +3 -2
  273. package/lib/vtx-restaurant-modal/components/Collection/index.js +5 -4
  274. package/lib/vtx-restaurant-modal/components/SignAndContract/ContactDetail.js +24 -23
  275. package/lib/vtx-restaurant-modal/components/SignAndContract/index.js +11 -10
  276. package/lib/vtx-restaurant-modal/config.js +94 -95
  277. package/lib/vtx-restaurant-modal/index.js +16 -7
  278. package/lib/vtx-road-modal/api.js +14 -13
  279. package/lib/vtx-road-modal/components/BaseInfo/Rules.js +6 -2
  280. package/lib/vtx-road-modal/components/BaseInfo/Work.js +26 -21
  281. package/lib/vtx-road-modal/components/BaseInfo/index.js +7 -5
  282. package/lib/vtx-road-modal/components/BaseInfo/index.less +37 -0
  283. package/lib/vtx-road-modal/components/Calendar/index.js +5 -4
  284. package/lib/vtx-road-modal/components/LaneBaseInfo/Rules.js +6 -3
  285. package/lib/vtx-road-modal/components/LaneBaseInfo/Work.js +25 -20
  286. package/lib/vtx-road-modal/components/LaneBaseInfo/index.js +5 -3
  287. package/lib/vtx-road-modal/components/LaneBaseInfo/index.less +42 -0
  288. package/lib/vtx-road-modal/components/LaneCalendar/index.js +7 -6
  289. package/lib/vtx-road-modal/components/LaneStatistical/index.js +37 -24
  290. package/lib/vtx-road-modal/components/LaneStatistical/index.less +8 -0
  291. package/lib/vtx-road-modal/components/Statistical/index.js +36 -23
  292. package/lib/vtx-road-modal/components/Statistical/index.less +40 -32
  293. package/lib/vtx-road-modal/index.js +30 -21
  294. package/lib/vtx-road-modal/style/index.js +1 -3
  295. package/lib/vtx-sdyd-tfd-modal/components/Alarm/CYLJTF.js +7 -6
  296. package/lib/vtx-sdyd-tfd-modal/components/Alarm/Distribute.js +3 -2
  297. package/lib/vtx-sdyd-tfd-modal/components/Alarm/FLZL_TREND.js +3 -2
  298. package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSCSFB.js +3 -2
  299. package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSSD.js +5 -4
  300. package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSYZQS.js +4 -3
  301. package/lib/vtx-sdyd-tfd-modal/components/Alarm/GDCLXL.js +8 -7
  302. package/lib/vtx-sdyd-tfd-modal/components/Alarm/HTLJPH.js +6 -5
  303. package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_FB.js +9 -8
  304. package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_GD.js +4 -3
  305. package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_PIE.js +5 -4
  306. package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_TREND.js +3 -2
  307. package/lib/vtx-sdyd-tfd-modal/components/Alarm/index.js +5 -4
  308. package/lib/vtx-sdyd-tfd-modal/components/OverView/Hot.js +13 -12
  309. package/lib/vtx-sdyd-tfd-modal/components/OverView/Left.js +14 -12
  310. package/lib/vtx-sdyd-tfd-modal/components/OverView/Manage.js +14 -13
  311. package/lib/vtx-sdyd-tfd-modal/components/OverView/RightBottom.js +12 -11
  312. package/lib/vtx-sdyd-tfd-modal/components/Sbzj/index.js +11 -10
  313. package/lib/vtx-sdyd-tfd-modal/components/TFRD/index.js +13 -12
  314. package/lib/vtx-sdyd-tfd-modal/components/WGGS/index.js +2 -1
  315. package/lib/vtx-sdyd-tfd-modal/components/WGXW/Content.js +2 -1
  316. package/lib/vtx-sdyd-tfd-modal/config.js +6 -6
  317. package/lib/vtx-sdyd-tfd-modal/index.js +7 -6
  318. package/lib/vtx-shxq-modal/api.js +9 -8
  319. package/lib/vtx-shxq-modal/components/AlarmRecord/List.js +8 -7
  320. package/lib/vtx-shxq-modal/components/AlarmRecord/index.js +12 -11
  321. package/lib/vtx-shxq-modal/components/BaseInfo/index.js +11 -10
  322. package/lib/vtx-shxq-modal/components/Tfd/index.js +7 -6
  323. package/lib/vtx-shxq-modal/components/ThrowCalendar/Chart.js +2 -1
  324. package/lib/vtx-shxq-modal/components/ThrowCalendar/List.js +4 -3
  325. package/lib/vtx-shxq-modal/components/ThrowCalendar/index.js +6 -5
  326. package/lib/vtx-shxq-modal/components/ThrowRecord/List.js +15 -14
  327. package/lib/vtx-shxq-modal/components/ThrowRecord/index.js +10 -9
  328. package/lib/vtx-shxq-modal/index.js +6 -5
  329. package/lib/vtx-staff-modal/api.js +8 -7
  330. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +6 -5
  331. package/lib/vtx-staff-modal/components/AlarmInfo/List.js +8 -7
  332. package/lib/vtx-staff-modal/components/AlarmInfo/index.js +3 -2
  333. package/lib/vtx-staff-modal/components/Attendance/Exeception.js +5 -4
  334. package/lib/vtx-staff-modal/components/Attendance/Record.js +22 -20
  335. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js +8 -7
  336. package/lib/vtx-staff-modal/components/BaseInfo/ListZymx.js +13 -11
  337. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +11 -10
  338. package/lib/vtx-staff-modal/components/BaseInfo/index.js +7 -6
  339. package/lib/vtx-staff-modal/components/Calendar/index.js +8 -7
  340. package/lib/vtx-staff-modal/components/Equipment/index.js +23 -22
  341. package/lib/vtx-staff-modal/index.js +6 -5
  342. package/lib/vtx-tfd-modal/api.js +7 -6
  343. package/lib/vtx-tfd-modal/components/BaseInfo/Jczbqs.js +6 -5
  344. package/lib/vtx-tfd-modal/components/BaseInfo/Qyjcl.js +4 -3
  345. package/lib/vtx-tfd-modal/components/BaseInfo/index.js +17 -17
  346. package/lib/vtx-tfd-modal/index.js +4 -4
  347. package/lib/vtx-wr-modal/components/Appraise/index.js +18 -18
  348. package/lib/vtx-wr-modal/components/Base/Jbxx.js +15 -16
  349. package/lib/vtx-wr-modal/components/Base/Ptss.js +17 -16
  350. package/lib/vtx-wr-modal/components/Base/Sjjg.js +12 -9
  351. package/lib/vtx-wr-modal/components/Base/index.js +14 -14
  352. package/lib/vtx-wr-modal/components/Build/index.js +6 -5
  353. package/lib/vtx-wr-modal/components/File/index.js +12 -15
  354. package/lib/vtx-wr-modal/components/File/index.less +8 -3
  355. package/lib/vtx-wr-modal/components/Score/index.js +20 -27
  356. package/lib/vtx-wr-modal/components/Score/index.less +49 -26
  357. package/lib/vtx-wr-modal/index.js +5 -2
  358. package/lib/vtx-wr-modal/style/index.js +0 -1
  359. package/lib/vtx-zf-modal/components/Base/index.js +37 -36
  360. package/lib/vtx-zf-modal/components/CkEditorCustom/index.js +22 -21
  361. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/CKModal.js +9 -7
  362. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/config.js +27 -27
  363. package/lib/vtx-zf-modal/components/File/index.js +15 -14
  364. package/lib/vtx-zf-modal/components/Process/index.js +17 -17
  365. package/lib/vtx-zf-modal/components/Record/index.js +9 -8
  366. package/lib/vtx-zf-modal/components/Right/index.js +7 -7
  367. package/lib/vtx-zf-modal/style/index.js +0 -1
  368. package/lib/vtx-zg-modal/api.js +13 -12
  369. package/lib/vtx-zg-modal/components/BaseInfo/index.js +52 -35
  370. package/lib/vtx-zg-modal/components/BaseInfo/index.less +48 -1
  371. package/lib/vtx-zg-modal/index.js +2 -1
  372. package/lib/vtx-zzz-modal/index.js +2 -1
  373. package/package.json +92 -81
@@ -1,99 +1,99 @@
1
1
  var Config = {
2
2
  input: [{
3
3
  type: 'field',
4
- name: '字段名',
4
+ name: "t('vtxzfmodal.fieldName')",
5
5
  key: 'label',
6
6
  require: true
7
7
  }, {
8
8
  type: 'field',
9
- name: '字段',
9
+ name: "t('vtxzfmodal.field')",
10
10
  key: 'name',
11
11
  require: true
12
12
  }, {
13
13
  type: 'field',
14
- name: '排序号',
14
+ name: "t('vtxzfmodal.sortOrder')",
15
15
  key: 'order',
16
16
  require: true
17
17
  }, {
18
18
  type: 'field',
19
- name: '宽度',
19
+ name: "t('vtxzfmodal.width')",
20
20
  key: 'width'
21
21
  }],
22
22
  date: [{
23
23
  type: 'field',
24
- name: '字段名',
24
+ name: "t('vtxzfmodal.fieldName')",
25
25
  key: 'label',
26
26
  require: true
27
27
  }, {
28
28
  type: 'field',
29
- name: '字段',
29
+ name: "t('vtxzfmodal.field')",
30
30
  key: 'name',
31
31
  require: true
32
32
  }, {
33
33
  type: 'field',
34
- name: '排序号',
34
+ name: "t('vtxzfmodal.sortOrder')",
35
35
  key: 'order',
36
36
  require: true
37
37
  }, {
38
38
  type: 'field',
39
- name: '宽度',
39
+ name: "t('vtxzfmodal.width')",
40
40
  key: 'width'
41
41
  }],
42
42
  radio: [{
43
43
  type: 'field',
44
- name: '字段名',
44
+ name: "t('vtxzfmodal.fieldName')",
45
45
  key: 'label',
46
46
  require: true
47
47
  }, {
48
48
  type: 'field',
49
- name: '字段',
49
+ name: "t('vtxzfmodal.field')",
50
50
  key: 'name',
51
51
  require: true
52
52
  }, {
53
53
  type: 'field',
54
- name: '排序号',
54
+ name: "t('vtxzfmodal.sortOrder')",
55
55
  key: 'order',
56
56
  require: true
57
57
  }, {
58
58
  type: 'field',
59
- name: '数据源',
59
+ name: "t('vtxzfmodal.dataSource')",
60
60
  key: 'url',
61
61
  require: true
62
62
  }],
63
63
  checkbox: [{
64
64
  type: 'field',
65
- name: '字段名',
65
+ name: "t('vtxzfmodal.fieldName')",
66
66
  key: 'label',
67
67
  require: true
68
68
  }, {
69
69
  type: 'field',
70
- name: '字段',
70
+ name: "t('vtxzfmodal.field')",
71
71
  key: 'name',
72
72
  require: true
73
73
  }, {
74
74
  type: 'field',
75
- name: '排序号',
75
+ name: "t('vtxzfmodal.sortOrder')",
76
76
  key: 'order',
77
77
  require: true
78
78
  }, {
79
79
  type: 'field',
80
- name: '数据源',
80
+ name: "t('vtxzfmodal.dataSource')",
81
81
  key: 'url',
82
82
  require: true
83
83
  }],
84
84
  textarea: [{
85
85
  type: 'field',
86
- name: '字段名',
86
+ name: "t('vtxzfmodal.fieldName')",
87
87
  key: 'label',
88
88
  require: true
89
89
  }, {
90
90
  type: 'field',
91
- name: '字段',
91
+ name: "t('vtxzfmodal.field')",
92
92
  key: 'name',
93
93
  require: true
94
94
  }, {
95
95
  type: 'field',
96
- name: '排序号',
96
+ name: "t('vtxzfmodal.sortOrder')",
97
97
  key: 'order',
98
98
  require: true
99
99
  }, {
@@ -103,42 +103,42 @@ var Config = {
103
103
  }],
104
104
  sign: [{
105
105
  type: 'field',
106
- name: '字段名',
106
+ name: "t('vtxzfmodal.fieldName')",
107
107
  key: 'label',
108
108
  require: true
109
109
  }, {
110
110
  type: 'field',
111
- name: '字段',
111
+ name: "t('vtxzfmodal.field')",
112
112
  key: 'name',
113
113
  require: true
114
114
  }, {
115
115
  type: 'field',
116
- name: '排序号',
116
+ name: "t('vtxzfmodal.sortOrder')",
117
117
  key: 'order',
118
118
  require: true
119
119
  }, {
120
120
  type: 'field',
121
- name: '文字',
121
+ name: "t('vtxzfmodal.word')",
122
122
  key: 'text'
123
123
  }],
124
124
  'editable-div': [{
125
125
  type: 'field',
126
- name: '字段名',
126
+ name: "t('vtxzfmodal.fieldName')",
127
127
  key: 'label',
128
128
  require: true
129
129
  }, {
130
130
  type: 'field',
131
- name: '字段',
131
+ name: "t('vtxzfmodal.field')",
132
132
  key: 'name',
133
133
  require: true
134
134
  }, {
135
135
  type: 'field',
136
- name: '排序号',
136
+ name: "t('vtxzfmodal.sortOrder')",
137
137
  key: 'order',
138
138
  require: true
139
139
  }, {
140
140
  type: 'field',
141
- name: '填充字符数',
141
+ name: "t('vtxzfmodal.fillCharacterCount')",
142
142
  key: 'fill',
143
143
  require: false
144
144
  }]
@@ -16,6 +16,7 @@ import Base64 from 'base-64';
16
16
  import { useEffect, useState } from 'react';
17
17
  import { VmTable } from "../../../_components";
18
18
  import Right from "../Right";
19
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
19
20
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
20
21
  var preview = function preview() {
21
22
  var item = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
@@ -35,12 +36,12 @@ var renderFile = function renderFile(list) {
35
36
  onClick: function onClick() {
36
37
  return preview(item);
37
38
  },
38
- children: "\u9884\u89C8"
39
+ children: translateLocaleText("t('vtxzfmodal.preview')")
39
40
  }), /*#__PURE__*/_jsx(Button, {
40
41
  onClick: function onClick() {
41
42
  return window.open("/cloudFile/common/downloadFile?token=".concat(getVtxToken('token'), "&id=").concat(item.id));
42
43
  },
43
- children: "\u4E0B\u8F7D"
44
+ children: translateLocaleText("t('vtxzfmodal.download')")
44
45
  })]
45
46
  }),
46
47
  children: /*#__PURE__*/_jsx("a", {
@@ -84,12 +85,12 @@ export default (function (props) {
84
85
  }, [id]);
85
86
  var fileProps = {
86
87
  columns: [{
87
- title: '序号',
88
+ title: translateLocaleText("t('common.serialNumber')"),
88
89
  dataIndex: 'orderIndex',
89
90
  key: 'orderIndex',
90
91
  width: 40
91
92
  }, {
92
- title: '名称',
93
+ title: translateLocaleText("t('vtxzfmodal.fileName')"),
93
94
  dataIndex: 'file',
94
95
  key: 'file',
95
96
  width: 160,
@@ -98,19 +99,19 @@ export default (function (props) {
98
99
  return renderFile(JSON.parse(text));
99
100
  }
100
101
  }, {
101
- title: '上传节点',
102
+ title: translateLocaleText("t('vtxzfmodal.point2')"),
102
103
  dataIndex: 'taskName',
103
104
  key: 'taskName',
104
105
  width: 120,
105
106
  ellipsis: true
106
107
  }, {
107
- title: '上传时间',
108
+ title: translateLocaleText("t('vtxzfmodal.uploadTime')"),
108
109
  dataIndex: 'uploadTime',
109
110
  key: 'uploadTime',
110
111
  width: 100,
111
112
  ellipsis: true
112
113
  }, {
113
- title: '上传人',
114
+ title: translateLocaleText("t('vtxzfmodal.uploader')"),
114
115
  dataIndex: 'updateStaffName',
115
116
  key: 'updateStaffName',
116
117
  width: 120,
@@ -127,12 +128,12 @@ export default (function (props) {
127
128
  };
128
129
  var videoProps = {
129
130
  columns: [{
130
- title: '序号',
131
+ title: translateLocaleText("t('common.serialNumber')"),
131
132
  dataIndex: 'orderIndex',
132
133
  key: 'orderIndex',
133
134
  width: 60
134
135
  }, {
135
- title: '名称',
136
+ title: translateLocaleText("t('vtxzfmodal.videoName')"),
136
137
  dataIndex: 'video',
137
138
  key: 'video',
138
139
  width: 160,
@@ -141,19 +142,19 @@ export default (function (props) {
141
142
  return renderFile(JSON.parse(text));
142
143
  }
143
144
  }, {
144
- title: '上传节点',
145
+ title: translateLocaleText("t('vtxzfmodal.point2')"),
145
146
  dataIndex: 'taskName',
146
147
  key: 'taskName',
147
148
  width: 120,
148
149
  ellipsis: true
149
150
  }, {
150
- title: '上传时间',
151
+ title: translateLocaleText("t('vtxzfmodal.uploadTime')"),
151
152
  dataIndex: 'uploadTime',
152
153
  key: 'uploadTime',
153
154
  width: 100,
154
155
  ellipsis: true
155
156
  }, {
156
- title: '上传人',
157
+ title: translateLocaleText("t('vtxzfmodal.uploader')"),
157
158
  dataIndex: 'updateStaffName',
158
159
  key: 'updateStaffName',
159
160
  width: 120,
@@ -176,13 +177,13 @@ export default (function (props) {
176
177
  className: "zf-left-panel",
177
178
  children: [/*#__PURE__*/_jsx("div", {
178
179
  className: "zf-file-title",
179
- children: "\u9644\u4EF6"
180
+ children: translateLocaleText("t('vtxzfmodal.attachment')")
180
181
  }), /*#__PURE__*/_jsx(VmTable, _objectSpread({}, fileProps))]
181
182
  }), /*#__PURE__*/_jsxs("div", {
182
183
  className: "zf-left-panel",
183
184
  children: [/*#__PURE__*/_jsx("div", {
184
185
  className: "zf-file-title",
185
- children: "\u5173\u8054\u89C6\u9891"
186
+ children: translateLocaleText("t('vtxzfmodal.video')")
186
187
  }), /*#__PURE__*/_jsx(VmTable, _objectSpread({}, videoProps))]
187
188
  })]
188
189
  }), /*#__PURE__*/_jsx(Right, {
@@ -5,11 +5,11 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
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
7
  import { VtxImage } from '@vtx/components';
8
- import '@vtx/components/lib/vtx-image/style/index';
9
8
  import { request } from '@vtx/utils';
10
9
  import { useEffect, useState } from 'react';
11
10
  import { VmEmpty, VmTabs } from "../../../_components";
12
11
  import Right from "../Right";
12
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
13
13
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
14
  var listTaskInfo = function listTaskInfo(params) {
15
15
  return request.get('/cloud/zhzf/api/v101/case/listTaskInfo', {
@@ -37,38 +37,38 @@ export default (function (props) {
37
37
  });
38
38
  }, [id]);
39
39
  var legendList = [{
40
- name: '普通',
40
+ name: translateLocaleText("t('vtxzfmodal.normal')"),
41
41
  color: '#009DFF'
42
42
  }, {
43
- name: '撤件',
43
+ name: translateLocaleText("t('vtxzfmodal.withdrawn')"),
44
44
  color: '#FF5861'
45
45
  }, {
46
- name: '退件',
46
+ name: translateLocaleText("t('vtxzfmodal.returned')"),
47
47
  color: '#934BED'
48
48
  }, {
49
- name: '超时',
49
+ name: translateLocaleText("t('vtxzfmodal.hours5')"),
50
50
  color: '#F89A37'
51
51
  }];
52
52
  var stepColumn = [{
53
- name: '来件时间',
53
+ name: translateLocaleText("t('vtxzfmodal.hours6')"),
54
54
  key: 'startTime'
55
55
  }, {
56
- name: '办理人',
56
+ name: translateLocaleText("t('vtxzfmodal.handler')"),
57
57
  key: 'assignUserName'
58
58
  }, {
59
- name: '办理时间',
59
+ name: translateLocaleText("t('vtxzfmodal.hours7')"),
60
60
  key: 'endTime'
61
61
  }, {
62
- name: '节点用时',
62
+ name: translateLocaleText("t('vtxzfmodal.pointHours')"),
63
63
  key: 'taskTimeCost'
64
64
  }, {
65
- name: '节点时限',
65
+ name: translateLocaleText("t('vtxzfmodal.pointHours2')"),
66
66
  key: 'taskTimeLimitStr'
67
67
  }, {
68
- name: '累计用时',
68
+ name: translateLocaleText("t('vtxzfmodal.hours8')"),
69
69
  key: 'caseTimeCost'
70
70
  }, {
71
- name: '办理意见',
71
+ name: translateLocaleText("t('vtxzfmodal.opinion')"),
72
72
  key: 'comment',
73
73
  weights: 2
74
74
  }];
@@ -95,10 +95,10 @@ export default (function (props) {
95
95
  children: /*#__PURE__*/_jsx(VmTabs, {
96
96
  activeKey: activeKey,
97
97
  items: [{
98
- label: '流程节点',
98
+ label: translateLocaleText("t('vtxzfmodal.point3')"),
99
99
  key: '1'
100
100
  }, {
101
- label: '流程图',
101
+ label: translateLocaleText("t('vtxzfmodal.flowChart')"),
102
102
  key: '2'
103
103
  }],
104
104
  onChange: function onChange(key) {
@@ -131,14 +131,14 @@ export default (function (props) {
131
131
  style: {
132
132
  background: 'rgba(248,154,55,0.15)'
133
133
  },
134
- children: "\u8D85\u65F6"
134
+ children: translateLocaleText("t('vtxzfmodal.hours5')")
135
135
  })]
136
136
  })]
137
137
  }), index === 0 && /*#__PURE__*/_jsxs("div", {
138
138
  className: "zf-process-legend",
139
139
  children: [/*#__PURE__*/_jsx("div", {
140
140
  className: "zf-legend-title",
141
- children: "\u989C\u8272\u6807\u8BC6\uFF1A"
141
+ children: translateLocaleText("t('vtxzfmodal.color')")
142
142
  }), legendList.map(function (item) {
143
143
  return /*#__PURE__*/_jsxs("div", {
144
144
  className: "zf-legend-item",
@@ -184,7 +184,7 @@ export default (function (props) {
184
184
  className: "zf-process-img",
185
185
  children: /*#__PURE__*/_jsx(VtxImage, {
186
186
  aspectFit: true,
187
- alt: "\u6D41\u7A0B\u56FE",
187
+ alt: translateLocaleText("t('vtxzfmodal.flowChart')"),
188
188
  src: "/cloud/flowable/processInstance/generateDiagram?id=".concat(detail.processInstanceId)
189
189
  })
190
190
  })
@@ -14,6 +14,7 @@ import { request } from '@vtx/utils';
14
14
  import { useEffect, useState } from 'react';
15
15
  import { VmTable } from "../../../_components";
16
16
  import Right from "../Right";
17
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
17
18
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
18
19
  var getList = function getList(params) {
19
20
  return request.get('/cloud/zhzf/api/v101/case/change/log/page', {
@@ -40,30 +41,30 @@ export default (function (props) {
40
41
  }, [id]);
41
42
  var tableProps = {
42
43
  columns: [{
43
- title: '序号',
44
+ title: translateLocaleText("t('common.serialNumber')"),
44
45
  dataIndex: 'orderIndex',
45
46
  key: 'orderIndex',
46
47
  width: 40
47
48
  }, {
48
- title: '文书名称',
49
+ title: translateLocaleText("t('vtxzfmodal.name')"),
49
50
  dataIndex: 'instrumentTemplateName',
50
51
  key: 'instrumentTemplateName',
51
52
  width: 120,
52
53
  ellipsis: true
53
54
  }, {
54
- title: '环节名称',
55
+ title: translateLocaleText("t('vtxzfmodal.name2')"),
55
56
  dataIndex: 'taskName',
56
57
  key: 'taskName',
57
58
  width: 120,
58
59
  ellipsis: true
59
60
  }, {
60
- title: '修改字段',
61
+ title: translateLocaleText("t('vtxzfmodal.editField')"),
61
62
  dataIndex: 'fieldName',
62
63
  key: 'fieldName',
63
64
  width: 100,
64
65
  ellipsis: true
65
66
  }, {
66
- title: '修改前的值',
67
+ title: translateLocaleText("t('vtxzfmodal.editValue')"),
67
68
  dataIndex: 'fromContent',
68
69
  key: 'fromContent',
69
70
  width: 110,
@@ -73,7 +74,7 @@ export default (function (props) {
73
74
  return value;
74
75
  }
75
76
  }, {
76
- title: '修改后的值',
77
+ title: translateLocaleText("t('vtxzfmodal.editValue2')"),
77
78
  dataIndex: 'toContent',
78
79
  key: 'toContent',
79
80
  width: 110,
@@ -83,13 +84,13 @@ export default (function (props) {
83
84
  return value;
84
85
  }
85
86
  }, {
86
- title: '修改人',
87
+ title: translateLocaleText("t('vtxzfmodal.edit2')"),
87
88
  dataIndex: 'changeStaffName',
88
89
  key: 'changeStaffName',
89
90
  width: 90,
90
91
  ellipsis: true
91
92
  }, {
92
- title: '修改时间',
93
+ title: translateLocaleText("t('vtxzfmodal.editHours')"),
93
94
  dataIndex: 'changeTime',
94
95
  key: 'changeTime',
95
96
  width: 160,
@@ -1,26 +1,26 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
2
2
  //样式定义在Base内
3
-
3
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
4
4
  export default (function (props) {
5
5
  var detail = props.detail;
6
6
  var jdxx = [{
7
- name: '当前节点',
7
+ name: translateLocaleText("t('vtxzfmodal.currentPoint')"),
8
8
  key: 'currentTask'
9
9
  }, {
10
- name: '当前节点耗时',
10
+ name: translateLocaleText("t('vtxzfmodal.currentPointHours')"),
11
11
  key: 'currentTaskUseTime'
12
12
  }, {
13
- name: '开始时间',
13
+ name: translateLocaleText("t('common.startTime')"),
14
14
  key: 'currentTaskStartTime'
15
15
  }, {
16
- name: '总耗时',
16
+ name: translateLocaleText("t('vtxzfmodal.hours9')"),
17
17
  key: 'caseUseTime'
18
18
  }];
19
19
  return /*#__PURE__*/_jsxs("div", {
20
20
  className: "zf-base-right",
21
21
  children: [/*#__PURE__*/_jsx("div", {
22
22
  className: "zf-base-title",
23
- children: "\u8282\u70B9\u4FE1\u606F"
23
+ children: translateLocaleText("t('vtxzfmodal.point4')")
24
24
  }), /*#__PURE__*/_jsx("div", {
25
25
  className: "zf-base-info",
26
26
  children: /*#__PURE__*/_jsx("div", {
@@ -1,4 +1,3 @@
1
- import '@vtx/components/lib/vtx-image/style/index';
2
1
  import "../components/Base/index.less";
3
2
  import "../components/Document/index.less";
4
3
  import "../components/File/index.less";
@@ -1,6 +1,7 @@
1
1
  import { MapIcon } from '@vtx/map-icon';
2
2
  import { request } from '@vtx/utils';
3
3
  import { useRequest } from 'ahooks';
4
+ import { translateLocaleText } from "./../hooks/useTranslation.js";
4
5
  var BaseService = {
5
6
  useBaseDetail: function useBaseDetail(id) {
6
7
  var _info$geometryInfo, _info$geometryInfo2, _lngLats$split, _lngLats$split2, _lngLats$split3, _info$geometryInfo3;
@@ -18,55 +19,55 @@ var BaseService = {
18
19
  loading = _useRequest.loading;
19
20
  var info = baseInfoRes === null || baseInfoRes === void 0 ? void 0 : baseInfoRes.data;
20
21
  var baseInfo = [{
21
- label: '问题来源',
22
+ label: translateLocaleText("t('vtxzgmodal.problemSource')"),
22
23
  key: 'problemFromStr',
23
24
  value: info === null || info === void 0 ? void 0 : info.problemFromStr
24
25
  }, {
25
- label: '大类',
26
+ label: translateLocaleText("t('vtxzgmodal.majorCategory')"),
26
27
  key: 'parentCategoryName',
27
28
  value: info === null || info === void 0 ? void 0 : info.parentCategoryName
28
29
  }, {
29
- label: '问题分类',
30
+ label: translateLocaleText("t('vtxzgmodal.problemCategory')"),
30
31
  key: 'problemCategoryName',
31
32
  value: info === null || info === void 0 ? void 0 : info.problemCategoryName
32
33
  }, {
33
- label: '考核对象',
34
+ label: translateLocaleText("t('vtxzgmodal.object')"),
34
35
  key: 'checkResourceName',
35
36
  value: info === null || info === void 0 ? void 0 : info.checkResourceName
36
37
  }, {
37
- label: '上报人员',
38
+ label: translateLocaleText("t('vtxzgmodal.reporter')"),
38
39
  key: 'reportStaffName',
39
40
  value: info === null || info === void 0 ? void 0 : info.reportStaffName
40
41
  }, {
41
- label: '上报时间',
42
+ label: translateLocaleText("t('vtxzgmodal.hours')"),
42
43
  key: 'reportDateTimeStr',
43
44
  value: info === null || info === void 0 ? void 0 : info.reportDateTimeStr
44
45
  }, {
45
- label: '截止时间',
46
+ label: translateLocaleText("t('vtxzgmodal.hours2')"),
46
47
  key: 'endDateTimeStr',
47
48
  value: info === null || info === void 0 ? void 0 : info.endDateTimeStr
48
49
  }, {
49
- label: '标段',
50
+ label: translateLocaleText("t('vtxzgmodal.tender')"),
50
51
  key: 'tenderName',
51
52
  value: info === null || info === void 0 ? void 0 : info.tenderName
52
53
  }, {
53
- label: '行政区划',
54
+ label: translateLocaleText("t('vtxzgmodal.administrativeDivision')"),
54
55
  key: 'divisionName',
55
56
  value: info === null || info === void 0 ? void 0 : info.divisionName,
56
57
  width: '100%'
57
58
  }, {
58
- label: '问题描述',
59
+ label: translateLocaleText("t('vtxzgmodal.problemDescription')"),
59
60
  key: 'memo',
60
61
  value: info === null || info === void 0 ? void 0 : info.memo,
61
62
  width: '100%'
62
63
  }, {
63
- label: '问题照片',
64
+ label: translateLocaleText("t('vtxzgmodal.photo')"),
64
65
  key: 'photos',
65
66
  value: info === null || info === void 0 ? void 0 : info.photos,
66
67
  componentType: 'IMAGE',
67
68
  width: '100%'
68
69
  }, {
69
- label: '问题位置',
70
+ label: translateLocaleText("t('vtxzgmodal.problemLocation')"),
70
71
  key: 'address',
71
72
  value: info === null || info === void 0 ? void 0 : info.address,
72
73
  width: '100%'