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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (379) hide show
  1. package/lib/_components/index.js +1 -0
  2. package/lib/_components/vm-appraisal-info/api.js +55 -0
  3. package/lib/_components/vm-appraisal-info/imgs/count.png +0 -0
  4. package/lib/_components/vm-appraisal-info/imgs/count_light.png +0 -0
  5. package/lib/_components/vm-appraisal-info/imgs/subtract.png +0 -0
  6. package/lib/_components/vm-appraisal-info/imgs/subtract_light.png +0 -0
  7. package/lib/_components/vm-appraisal-info/index.js +205 -0
  8. package/lib/_components/vm-appraisal-info/index.less +7 -0
  9. package/lib/_components/vm-bar-charts/index.js +4 -4
  10. package/lib/_components/vm-calendar/index.js +1 -1
  11. package/lib/_components/vm-card-statistics/index.less +27 -27
  12. package/lib/_components/vm-empty/index.js +1 -1
  13. package/lib/_components/vm-factor/index.js +1 -1
  14. package/lib/_components/vm-factor-list/index.less +11 -11
  15. package/lib/_components/vm-filter/index.js +1 -1
  16. package/lib/_components/vm-filter/style/index.less +7 -11
  17. package/lib/_components/vm-info-collection/index.js +1 -1
  18. package/lib/_components/vm-line-charts/index.js +4 -1
  19. package/lib/_components/vm-map/index.js +1 -1
  20. package/lib/_components/vm-progress/index.js +1 -1
  21. package/lib/_components/vm-repair-maintain/RmInfoSummary.js +1 -1
  22. package/lib/_components/vm-repair-maintain/RmMonthTrend.js +1 -1
  23. package/lib/_components/vm-repair-maintain/RmRecord.js +1 -1
  24. package/lib/_components/vm-repair-maintain/RmType.js +1 -1
  25. package/lib/_components/vm-repair-maintain/index.js +35 -3
  26. package/lib/_components/vm-table/index.js +1 -1
  27. package/lib/_components/vm-tag/index.js +1 -1
  28. package/lib/_components/vm-title/index.js +1 -1
  29. package/lib/_components/vm-video/HistoryGrid.js +53 -3
  30. package/lib/_components/vm-video/RealtimeGrid.js +24 -3
  31. package/lib/_components/vm-video/index.js +100 -38
  32. package/lib/_components/vm-video/index.less +6 -2
  33. package/lib/_components/vm-wrapper/index.js +1 -1
  34. package/lib/_hooks/useGetChannels.js +20 -6
  35. package/lib/_hooks/useUmsService.js +36 -0
  36. package/lib/_service/index.js +7 -33
  37. package/lib/_util/http.js +31 -4
  38. package/lib/_util/iconSvgHtml.js +15 -5
  39. package/lib/_util/index.js +1 -1
  40. package/lib/locales/en.json +1517 -1516
  41. package/lib/locales/zh-CN.json +1517 -1516
  42. package/lib/vtx-area-modal/api.js +1 -1
  43. package/lib/vtx-area-modal/components/BaseInfo/Lcfx.js +1 -1
  44. package/lib/vtx-area-modal/components/BaseInfo/ListZymx.js +1 -1
  45. package/lib/vtx-area-modal/components/BaseInfo/index.js +1 -1
  46. package/lib/vtx-base-modal/Header/index.js +2 -77
  47. package/lib/vtx-base-modal/Header/index.less +1 -0
  48. package/lib/vtx-base-modal/Tabs/index.js +2 -1
  49. package/lib/vtx-base-modal/index.js +1 -1
  50. package/lib/vtx-base-modal/style/index.less +4 -1
  51. package/lib/vtx-car-modal/api.js +257 -165
  52. package/lib/vtx-car-modal/components/Info/index.js +2 -2
  53. package/lib/vtx-car-modal/components/Info/index.less +6 -6
  54. package/lib/vtx-car-modal/content/Cc/AlarmInfo/List.js +1 -1
  55. package/lib/vtx-car-modal/content/Cc/AlarmInfo/StaticInfo.js +1 -1
  56. package/lib/vtx-car-modal/content/Cc/AlarmInfo/index.js +1 -1
  57. package/lib/vtx-car-modal/content/Cc/BaseInfo/index.js +1 -1
  58. package/lib/vtx-car-modal/content/Cc/OrderInfo/Detail.js +1 -1
  59. package/lib/vtx-car-modal/content/Cc/OrderInfo/index.js +1 -1
  60. package/lib/vtx-car-modal/content/Cc/StaticInfo/index.js +1 -1
  61. package/lib/vtx-car-modal/content/Cc/WorkRecord/Detail.js +1 -1
  62. package/lib/vtx-car-modal/content/Cc/WorkRecord/Summary.js +1 -1
  63. package/lib/vtx-car-modal/content/Cc/WorkRecord/index.js +1 -1
  64. package/lib/vtx-car-modal/content/Common/AlarmInfo/List.js +1 -1
  65. package/lib/vtx-car-modal/content/Common/AlarmInfo/StaticInfo.js +1 -1
  66. package/lib/vtx-car-modal/content/Common/AlarmInfo/index.js +1 -1
  67. package/lib/vtx-car-modal/content/Common/BaseInfo/index.js +1 -1
  68. package/lib/vtx-car-modal/content/Common/DetailInfo/index.js +1 -1
  69. package/lib/vtx-car-modal/content/Common/DeviceInfo/index.js +1 -1
  70. package/lib/vtx-car-modal/content/Common/EleUse/index.js +20 -8
  71. package/lib/vtx-car-modal/content/Common/Maintenance/index.js +1 -1
  72. package/lib/vtx-car-modal/content/Common/OilConsumption/List.js +1 -1
  73. package/lib/vtx-car-modal/content/Common/OilConsumption/index.js +1 -1
  74. package/lib/vtx-car-modal/content/Common/OilConsumption/index.less +6 -6
  75. package/lib/vtx-car-modal/content/Common/OilUse/index.js +18 -6
  76. package/lib/vtx-car-modal/content/Common/OperationAnalysis/index.js +1 -1
  77. package/lib/vtx-car-modal/content/Common/OperationAnalysis/index.less +169 -169
  78. package/lib/vtx-car-modal/content/Common/StaticInfo/index.js +1 -1
  79. package/lib/vtx-car-modal/content/Common/WaterConsumption/index.js +1 -1
  80. package/lib/vtx-car-modal/content/Common/WaterConsumption/index.less +6 -6
  81. package/lib/vtx-car-modal/content/Common/WaterUse/index.js +10 -5
  82. package/lib/vtx-car-modal/content/JXH/AlarmInfo/List.js +1 -1
  83. package/lib/vtx-car-modal/content/JXH/AlarmInfo/StaticInfo.js +1 -1
  84. package/lib/vtx-car-modal/content/JXH/AlarmInfo/index.js +1 -1
  85. package/lib/vtx-car-modal/content/JXH/BaseInfo/index.js +1 -1
  86. package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/List.js +1 -1
  87. package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/StaticInfo.js +1 -1
  88. package/lib/vtx-car-modal/content/JXH/Hw2AlarmInfo/index.js +1 -1
  89. package/lib/vtx-car-modal/content/JXH/Hw2BaseInfo/index.js +1 -1
  90. package/lib/vtx-car-modal/content/JXH/Hw2StaticInfo/index.js +2 -2
  91. package/lib/vtx-car-modal/content/JXH/Hw2WorkRecord/index.js +1 -1
  92. package/lib/vtx-car-modal/content/JXH/StaticInfo/index.js +3 -3
  93. package/lib/vtx-car-modal/content/JXH/WorkRecord/index.js +1 -1
  94. package/lib/vtx-car-modal/content/Jzlj/Alarm/Bottom.js +1 -1
  95. package/lib/vtx-car-modal/content/Jzlj/Alarm/index.js +1 -1
  96. package/lib/vtx-car-modal/content/Jzlj/BaseInfo/index.js +1 -1
  97. package/lib/vtx-car-modal/content/Jzlj/Collection/Chart.js +1 -1
  98. package/lib/vtx-car-modal/content/Jzlj/Collection/index.js +1 -1
  99. package/lib/vtx-car-modal/content/Jzlj/Dispose/Pies.js +1 -1
  100. package/lib/vtx-car-modal/content/Jzlj/Dispose/index.js +1 -1
  101. package/lib/vtx-car-modal/content/Jzlj/RunCalendar/index.js +1 -1
  102. package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/List.js +1 -1
  103. package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/StaticInfo.js +1 -1
  104. package/lib/vtx-car-modal/content/Ljsy/AlarmInfo/index.js +1 -1
  105. package/lib/vtx-car-modal/content/Ljsy/BaseInfo/index.js +1 -1
  106. package/lib/vtx-car-modal/content/Ljsy/StaticInfo/index.js +1 -1
  107. package/lib/vtx-car-modal/content/Ljsy/WorkRecord/Detail.js +3 -2
  108. package/lib/vtx-car-modal/content/Ljsy/WorkRecord/Summary.js +1 -1
  109. package/lib/vtx-car-modal/content/Ljsy/WorkRecord/index.js +1 -1
  110. package/lib/vtx-car-modal/content/Ljzy/BaseInfo/index.js +10 -9
  111. package/lib/vtx-car-modal/content/Ljzy/StaticInfo/index.js +12 -12
  112. package/lib/vtx-car-modal/content/Ljzy/WorkRecord/Detail.js +6 -5
  113. package/lib/vtx-car-modal/content/Ljzy/WorkRecord/Summary.js +9 -7
  114. package/lib/vtx-car-modal/content/Ljzy/WorkRecord/index.js +7 -4
  115. package/lib/vtx-car-modal/content/Unmanned/Analysis/index.js +1 -1
  116. package/lib/vtx-car-modal/content/Unmanned/Calendar/index.js +2 -2
  117. package/lib/vtx-car-modal/content/Unmanned/Monitor/index.js +1 -1
  118. package/lib/vtx-car-modal/content/Unmanned/WorkInfo/index.js +1 -1
  119. package/lib/vtx-car-modal/index.js +33 -22
  120. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +1 -1
  121. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTrend.js +1 -1
  122. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTypeAnalysis.js +1 -1
  123. package/lib/vtx-cc-cp-modal/components/AlarmInfo/StaticInfo.js +1 -1
  124. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +1 -1
  125. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +1 -1
  126. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +1 -1
  127. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +1 -1
  128. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +1 -1
  129. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +1 -1
  130. package/lib/vtx-cc-cp-modal/components/Calendar/index.js +1 -1
  131. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTrend.js +1 -1
  132. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTypeAnalysis.js +1 -1
  133. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExeceptionRecord.js +1 -1
  134. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/StaticInfo.js +1 -1
  135. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +1 -1
  136. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +1 -1
  137. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +1 -1
  138. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +1 -1
  139. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +1 -1
  140. package/lib/vtx-cc-cp-modal/index.js +1 -1
  141. package/lib/vtx-cc-unit-modal/components/BaseInfo/CollectRecord.js +1 -1
  142. package/lib/vtx-cc-unit-modal/components/BaseInfo/DetailList.js +1 -1
  143. package/lib/vtx-cc-unit-modal/components/BaseInfo/Factory.js +1 -1
  144. package/lib/vtx-cc-unit-modal/components/BaseInfo/Statistics.js +1 -1
  145. package/lib/vtx-cc-unit-modal/components/BaseInfo/index.js +1 -1
  146. package/lib/vtx-cc-unit-modal/components/BaseInfo/index.less +6 -6
  147. package/lib/vtx-cc-unit-modal/components/CarList/index.js +1 -1
  148. package/lib/vtx-cc-unit-modal/components/Collection/index.js +1 -1
  149. package/lib/vtx-cc-unit-modal/components/DetailInfo/index.js +1 -1
  150. package/lib/vtx-cc-unit-modal/components/Factory/index.js +1 -1
  151. package/lib/vtx-cc-unit-modal/components/RestaurantList/index.js +1 -1
  152. package/lib/vtx-cc-unit-modal/index.js +1 -1
  153. package/lib/vtx-cp-modal/api.js +1 -1
  154. package/lib/vtx-cp-modal/components/AlarmInfo/AlarmRecord.js +1 -1
  155. package/lib/vtx-cp-modal/components/AlarmInfo/MonthTrend.js +1 -1
  156. package/lib/vtx-cp-modal/components/AlarmInfo/Summary.js +1 -1
  157. package/lib/vtx-cp-modal/components/BaseInfo/CarWork.js +3 -6
  158. package/lib/vtx-cp-modal/components/BaseInfo/Rules.js +1 -1
  159. package/lib/vtx-cp-modal/components/BaseInfo/TodayWork.js +8 -2
  160. package/lib/vtx-cp-modal/components/BaseInfo/index.js +1 -1
  161. package/lib/vtx-cp-modal/components/ExeceptionInfo/AlarmRecord.js +9 -5
  162. package/lib/vtx-cp-modal/components/ExeceptionInfo/MonthTrend.js +1 -1
  163. package/lib/vtx-cp-modal/components/ExeceptionInfo/Summary.js +1 -1
  164. package/lib/vtx-cp-modal/components/SyInfo/Ljcsl.js +3 -3
  165. package/lib/vtx-cp-modal/components/SyInfo/index.js +1 -1
  166. package/lib/vtx-cp-modal/index.js +13 -13
  167. package/lib/vtx-default-modal/components/BaseInfo/index.js +1 -1
  168. package/lib/vtx-default-modal/index.js +8 -7
  169. package/lib/vtx-device-modal/components/BaseInfo/PreviewAndDownload.js +1 -1
  170. package/lib/vtx-device-modal/components/BaseInfo/index.js +1 -1
  171. package/lib/vtx-device-modal/components/DataAnalysis/AlarmAnalysis.js +1 -1
  172. package/lib/vtx-device-modal/components/DataAnalysis/MonitorAnalysis.js +1 -1
  173. package/lib/vtx-device-modal/components/DataAnalysis/index.less +66 -66
  174. package/lib/vtx-device-modal/index.js +4 -4
  175. package/lib/vtx-df-modal/components/BaseInfo/Jcqsfx.js +1 -1
  176. package/lib/vtx-df-modal/components/BaseInfo/Jczbqs.js +3 -3
  177. package/lib/vtx-df-modal/components/BaseInfo/Qyjcl.js +12 -6
  178. package/lib/vtx-df-modal/components/BaseInfo/RealtimeMonitor.js +1 -1
  179. package/lib/vtx-df-modal/components/BaseInfo/Situation.js +1 -1
  180. package/lib/vtx-df-modal/components/BaseInfo/index.js +1 -1
  181. package/lib/vtx-df-modal/components/BaseInfoZdReborn/Jcqsfx.js +1 -1
  182. package/lib/vtx-df-modal/components/BaseInfoZdReborn/Jczbqs.js +3 -3
  183. package/lib/vtx-df-modal/components/BaseInfoZdReborn/Qyjcl.js +1 -1
  184. package/lib/vtx-df-modal/components/BaseInfoZdReborn/RealtimeMonitor.js +1 -1
  185. package/lib/vtx-df-modal/components/BaseInfoZdReborn/Situation.js +1 -1
  186. package/lib/vtx-df-modal/components/BaseInfoZdReborn/index.js +1 -1
  187. package/lib/vtx-df-modal/components/Calendar/index.js +10 -3
  188. package/lib/vtx-df-modal/components/Calendar/zd-reborn.js +10 -3
  189. package/lib/vtx-df-modal/components/Metering/ChartJccc.js +1 -1
  190. package/lib/vtx-df-modal/components/Metering/ChartJcqs.js +1 -1
  191. package/lib/vtx-df-modal/components/Metering/List.js +1 -1
  192. package/lib/vtx-df-modal/components/Metering/index.js +1 -1
  193. package/lib/vtx-df-modal/components/MeteringZdReborn/ChartJccc.js +1 -1
  194. package/lib/vtx-df-modal/components/MeteringZdReborn/ChartJcqs.js +1 -1
  195. package/lib/vtx-df-modal/components/MeteringZdReborn/List.js +1 -1
  196. package/lib/vtx-df-modal/components/MeteringZdReborn/index.js +1 -1
  197. package/lib/vtx-df-modal/components/WorkCondition/Monitor.js +1 -1
  198. package/lib/vtx-df-modal/components/WorkCondition/Table.js +3 -3
  199. package/lib/vtx-df-modal/components/WorkCondition/index.js +1 -1
  200. package/lib/vtx-df-modal/index.js +20 -25
  201. package/lib/vtx-housing-estate-modal/components/Alarm/CYLJTF.js +1 -1
  202. package/lib/vtx-housing-estate-modal/components/Alarm/Distribute.js +1 -1
  203. package/lib/vtx-housing-estate-modal/components/Alarm/FLZL_TREND.js +1 -1
  204. package/lib/vtx-housing-estate-modal/components/Alarm/FSCSFB.js +1 -1
  205. package/lib/vtx-housing-estate-modal/components/Alarm/FSSD.js +1 -1
  206. package/lib/vtx-housing-estate-modal/components/Alarm/FSYZQS.js +1 -1
  207. package/lib/vtx-housing-estate-modal/components/Alarm/GDCLXL.js +1 -1
  208. package/lib/vtx-housing-estate-modal/components/Alarm/HTLJPH.js +1 -1
  209. package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_FB.js +1 -1
  210. package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_GD.js +1 -1
  211. package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_PIE.js +1 -1
  212. package/lib/vtx-housing-estate-modal/components/Alarm/MYFX_TREND.js +1 -1
  213. package/lib/vtx-housing-estate-modal/components/Alarm/index.js +1 -1
  214. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +1 -1
  215. package/lib/vtx-housing-estate-modal/components/OverView/Left.js +1 -1
  216. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +1 -1
  217. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +1 -1
  218. package/lib/vtx-housing-estate-modal/components/Sbzj/index.js +1 -1
  219. package/lib/vtx-housing-estate-modal/components/TFRD/index.js +1 -1
  220. package/lib/vtx-housing-estate-modal/components/WGGS/index.js +1 -1
  221. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js +1 -1
  222. package/lib/vtx-housing-estate-modal/components/WGXW/index.js +1 -1
  223. package/lib/vtx-housing-estate-modal/index.js +1 -1
  224. package/lib/vtx-jzlj-df-tpd-modal/components/Collection/Chart.js +1 -1
  225. package/lib/vtx-jzlj-df-tpd-modal/components/Collection/index.js +1 -1
  226. package/lib/vtx-jzlj-df-tpd-modal/components/Dispose/FlowMap.js +1 -1
  227. package/lib/vtx-jzlj-df-tpd-modal/components/Dispose/index.js +1 -1
  228. package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CTL.js +1 -1
  229. package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CTYL.js +1 -1
  230. package/lib/vtx-jzlj-df-tpd-modal/components/Overview/CZZ.js +1 -1
  231. package/lib/vtx-jzlj-df-tpd-modal/components/Overview/index.js +1 -1
  232. package/lib/vtx-jzlj-df-tpd-modal/index.js +1 -1
  233. package/lib/vtx-jzlj-gcxm-modal/components/Alarm/Bottom.js +1 -1
  234. package/lib/vtx-jzlj-gcxm-modal/components/Alarm/index.js +1 -1
  235. package/lib/vtx-jzlj-gcxm-modal/components/Collection/Chart.js +1 -1
  236. package/lib/vtx-jzlj-gcxm-modal/components/Collection/index.js +1 -1
  237. package/lib/vtx-jzlj-gcxm-modal/components/Dispose/FlowMap.js +1 -1
  238. package/lib/vtx-jzlj-gcxm-modal/components/Dispose/index.js +1 -1
  239. package/lib/vtx-jzlj-gcxm-modal/components/Overview/CTL.js +1 -1
  240. package/lib/vtx-jzlj-gcxm-modal/components/Overview/CTYL.js +1 -1
  241. package/lib/vtx-jzlj-gcxm-modal/components/Overview/CZZ.js +1 -1
  242. package/lib/vtx-jzlj-gcxm-modal/components/Overview/index.js +1 -1
  243. package/lib/vtx-jzlj-gcxm-modal/index.js +1 -1
  244. package/lib/vtx-jzlj-xnc-modal/components/Collection/Chart.js +1 -1
  245. package/lib/vtx-jzlj-xnc-modal/components/Collection/index.js +1 -1
  246. package/lib/vtx-jzlj-xnc-modal/components/Dispose/FlowMap.js +1 -1
  247. package/lib/vtx-jzlj-xnc-modal/components/Dispose/index.js +1 -1
  248. package/lib/vtx-jzlj-xnc-modal/components/Overview/CTL.js +1 -1
  249. package/lib/vtx-jzlj-xnc-modal/components/Overview/CTYL.js +1 -1
  250. package/lib/vtx-jzlj-xnc-modal/components/Overview/CZZ.js +1 -1
  251. package/lib/vtx-jzlj-xnc-modal/components/Overview/index.js +1 -1
  252. package/lib/vtx-jzlj-xnc-modal/index.js +1 -1
  253. package/lib/vtx-jzlj-ysqy-modal/components/Overview/index.js +1 -1
  254. package/lib/vtx-jzlj-ysqy-modal/index.js +1 -1
  255. package/lib/vtx-kh-modal/api2.js +1 -1
  256. package/lib/vtx-kh-modal/components/BaseInfo/index.js +1 -1
  257. package/lib/vtx-kh-modal/components/Record/index.js +1 -205
  258. package/lib/vtx-kh-modal/index.js +1 -1
  259. package/lib/vtx-qyry-modal/api.js +1 -1
  260. package/lib/vtx-qyry-modal/index.js +2 -2
  261. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +1 -1
  262. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +1 -1
  263. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +1 -1
  264. package/lib/vtx-restaurant-modal/components/Alarm/StaticInfo.js +1 -1
  265. package/lib/vtx-restaurant-modal/components/Alarm/index.js +1 -1
  266. package/lib/vtx-restaurant-modal/components/Basic/CollectRule.js +1 -1
  267. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +1 -1
  268. package/lib/vtx-restaurant-modal/components/Basic/Info.js +1 -1
  269. package/lib/vtx-restaurant-modal/components/Basic/Summary.js +1 -1
  270. package/lib/vtx-restaurant-modal/components/Basic/SummaryStatistics.js +1 -1
  271. package/lib/vtx-restaurant-modal/components/Basic/index.js +1 -1
  272. package/lib/vtx-restaurant-modal/components/Basic/index.less +16 -16
  273. package/lib/vtx-restaurant-modal/components/Calendar/index.js +1 -1
  274. package/lib/vtx-restaurant-modal/components/Collection/index.js +1 -1
  275. package/lib/vtx-restaurant-modal/components/DetailInfo/index.js +3 -0
  276. package/lib/vtx-restaurant-modal/components/SignAndContract/ContactDetail.js +1 -1
  277. package/lib/vtx-restaurant-modal/components/SignAndContract/index.js +1 -1
  278. package/lib/vtx-restaurant-modal/config.js +11 -3
  279. package/lib/vtx-restaurant-modal/index.js +1 -1
  280. package/lib/vtx-road-modal/api.js +6 -2
  281. package/lib/vtx-road-modal/components/BaseInfo/Rules.js +1 -1
  282. package/lib/vtx-road-modal/components/BaseInfo/Work.js +11 -2
  283. package/lib/vtx-road-modal/components/BaseInfo/index.js +1 -1
  284. package/lib/vtx-road-modal/components/Calendar/index.js +4 -4
  285. package/lib/vtx-road-modal/components/LaneBaseInfo/Work.js +9 -2
  286. package/lib/vtx-road-modal/components/LaneBaseInfo/index.js +1 -1
  287. package/lib/vtx-road-modal/components/LaneCalendar/index.js +5 -2
  288. package/lib/vtx-road-modal/components/LaneStatistical/index.js +1 -1
  289. package/lib/vtx-road-modal/components/Statistical/index.js +1 -1
  290. package/lib/vtx-road-modal/index.js +21 -5
  291. package/lib/vtx-road-modal/utils/url.js +12 -0
  292. package/lib/vtx-sdyd-tfd-modal/components/Alarm/CYLJTF.js +1 -1
  293. package/lib/vtx-sdyd-tfd-modal/components/Alarm/Distribute.js +1 -1
  294. package/lib/vtx-sdyd-tfd-modal/components/Alarm/FLZL_TREND.js +1 -1
  295. package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSCSFB.js +1 -1
  296. package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSSD.js +1 -1
  297. package/lib/vtx-sdyd-tfd-modal/components/Alarm/FSYZQS.js +1 -1
  298. package/lib/vtx-sdyd-tfd-modal/components/Alarm/GDCLXL.js +1 -1
  299. package/lib/vtx-sdyd-tfd-modal/components/Alarm/HTLJPH.js +1 -1
  300. package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_FB.js +1 -1
  301. package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_GD.js +1 -1
  302. package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_PIE.js +1 -1
  303. package/lib/vtx-sdyd-tfd-modal/components/Alarm/MYFX_TREND.js +1 -1
  304. package/lib/vtx-sdyd-tfd-modal/components/Alarm/index.js +1 -1
  305. package/lib/vtx-sdyd-tfd-modal/components/OverView/Hot.js +1 -1
  306. package/lib/vtx-sdyd-tfd-modal/components/OverView/Left.js +1 -1
  307. package/lib/vtx-sdyd-tfd-modal/components/OverView/Manage.js +1 -1
  308. package/lib/vtx-sdyd-tfd-modal/components/OverView/RightBottom.js +1 -1
  309. package/lib/vtx-sdyd-tfd-modal/components/Sbzj/index.js +1 -1
  310. package/lib/vtx-sdyd-tfd-modal/components/TFRD/index.js +1 -1
  311. package/lib/vtx-sdyd-tfd-modal/components/WGGS/index.js +1 -1
  312. package/lib/vtx-sdyd-tfd-modal/components/WGXW/Content.js +1 -1
  313. package/lib/vtx-sdyd-tfd-modal/index.js +1 -1
  314. package/lib/vtx-shxq-modal/api.js +6 -6
  315. package/lib/vtx-shxq-modal/components/AlarmRecord/List.js +1 -1
  316. package/lib/vtx-shxq-modal/components/AlarmRecord/index.js +1 -1
  317. package/lib/vtx-shxq-modal/components/BaseInfo/index.js +1 -1
  318. package/lib/vtx-shxq-modal/components/Tfd/index.js +1 -1
  319. package/lib/vtx-shxq-modal/components/ThrowCalendar/Chart.js +1 -1
  320. package/lib/vtx-shxq-modal/components/ThrowCalendar/List.js +3 -3
  321. package/lib/vtx-shxq-modal/components/ThrowCalendar/index.js +1 -1
  322. package/lib/vtx-shxq-modal/components/ThrowRecord/List.js +20 -7
  323. package/lib/vtx-shxq-modal/components/ThrowRecord/index.js +1 -1
  324. package/lib/vtx-shxq-modal/index.js +21 -4
  325. package/lib/vtx-staff-modal/api.js +1 -1
  326. package/lib/vtx-staff-modal/components/AlarmInfo/Charts.js +5 -2
  327. package/lib/vtx-staff-modal/components/AlarmInfo/List.js +1 -1
  328. package/lib/vtx-staff-modal/components/AlarmInfo/index.js +1 -1
  329. package/lib/vtx-staff-modal/components/Attendance/Exeception.js +1 -1
  330. package/lib/vtx-staff-modal/components/Attendance/Record.js +1 -1
  331. package/lib/vtx-staff-modal/components/Attendance/WorkingHours.js +1 -1
  332. package/lib/vtx-staff-modal/components/BaseInfo/ListZymx.js +1 -1
  333. package/lib/vtx-staff-modal/components/BaseInfo/WorkStatic.js +1 -1
  334. package/lib/vtx-staff-modal/components/BaseInfo/index.js +1 -1
  335. package/lib/vtx-staff-modal/components/Calendar/index.js +1 -1
  336. package/lib/vtx-staff-modal/components/Calendar/index.less +1 -1
  337. package/lib/vtx-staff-modal/components/Equipment/index.js +1 -1
  338. package/lib/vtx-staff-modal/index.js +1 -1
  339. package/lib/vtx-tfd-modal/api.js +3 -3
  340. package/lib/vtx-tfd-modal/components/BaseInfo/Jczbqs.js +3 -3
  341. package/lib/vtx-tfd-modal/components/BaseInfo/Qyjcl.js +1 -1
  342. package/lib/vtx-tfd-modal/components/BaseInfo/index.js +1 -1
  343. package/lib/vtx-wr-modal/components/Appraise/index.js +3 -3
  344. package/lib/vtx-wr-modal/components/Base/Jbxx.js +4 -47
  345. package/lib/vtx-wr-modal/components/Base/Ptss.js +42 -8
  346. package/lib/vtx-wr-modal/components/Base/Sjjg.js +1 -1
  347. package/lib/vtx-wr-modal/components/Base/index.js +45 -14
  348. package/lib/vtx-wr-modal/components/Base/index.less +87 -4
  349. package/lib/vtx-wr-modal/components/Build/index.js +1 -1
  350. package/lib/vtx-wr-modal/components/File/index.js +1 -1
  351. package/lib/vtx-wr-modal/components/Score/index.js +3 -3
  352. package/lib/vtx-wr-modal/index.js +34 -6
  353. package/lib/vtx-zf-modal/components/Base/index.js +1 -1
  354. package/lib/vtx-zf-modal/components/Base/index.less +9 -0
  355. package/lib/vtx-zf-modal/components/CkEditorCustom/index.js +1 -1
  356. package/lib/vtx-zf-modal/components/CkEditorCustom/view.js +1 -1
  357. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/CKModal.js +1 -1
  358. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/FormView.js +1 -1
  359. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/editableDiv/index.js +1 -1
  360. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/FormView.js +1 -1
  361. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/date.js +1 -1
  362. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/input/index.js +1 -1
  363. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/FormView.js +1 -1
  364. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/checkbox.js +1 -1
  365. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/radio/index.js +1 -1
  366. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/FormView.js +1 -1
  367. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/sign/index.js +1 -1
  368. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/FormView.js +1 -1
  369. package/lib/vtx-zf-modal/components/CkEditorCustom/widgets/textarea/index.js +1 -1
  370. package/lib/vtx-zf-modal/components/File/index.js +1 -1
  371. package/lib/vtx-zf-modal/components/Process/index.js +1 -1
  372. package/lib/vtx-zf-modal/components/Process/index.less +7 -0
  373. package/lib/vtx-zf-modal/components/Record/index.js +1 -1
  374. package/lib/vtx-zf-modal/components/Right/index.js +1 -1
  375. package/lib/vtx-zg-modal/api.js +1 -1
  376. package/lib/vtx-zg-modal/components/BaseInfo/index.js +1 -1
  377. package/lib/vtx-zg-modal/index.js +1 -1
  378. package/lib/vtx-zzz-modal/index.js +29 -22
  379. package/package.json +92 -92
@@ -1,16 +1,16 @@
1
1
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
- 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
2
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
8
3
  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
4
  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
5
  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
6
  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
7
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
- import { request } from '@vtx/utils';
8
+ 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; }
9
+ 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; }
10
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
11
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
12
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
13
+ import { getVtxToken, request } from '@vtx/utils';
14
14
  import { useSetState } from 'ahooks';
15
15
  import { Alert, Tabs } from 'antd';
16
16
  import dayjs from 'dayjs';
@@ -19,7 +19,7 @@ import { VmLineCharts, VmTable } from "../../../_components";
19
19
  import { VMDatePicker, VMRangePicker, VMSelect } from "../../../_components/vm-filter";
20
20
  import Jbxx from "./Jbxx";
21
21
  import Ptss from "./Ptss";
22
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
22
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
23
23
  //公厕详情
24
24
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
25
25
  var getDetail = function getDetail(params) {
@@ -27,6 +27,12 @@ var getDetail = function getDetail(params) {
27
27
  data: params
28
28
  });
29
29
  };
30
+ //基础设施详情
31
+ var getJcssDetail = function getJcssDetail(params) {
32
+ return request.get('/cloud/jcss-reborn/facility/get', {
33
+ data: params
34
+ });
35
+ };
30
36
  //公厕配置字段
31
37
  var getFields = function getFields(params) {
32
38
  return request.get('/cloud/jcss-reborn/facility/type/view/detail', {
@@ -50,6 +56,19 @@ var getAlarmList = function getAlarmList(params) {
50
56
  data: JSON.stringify(params)
51
57
  });
52
58
  };
59
+ var getImgList = function getImgList(photoIds, typePhotoIds) {
60
+ var photoList = photoIds || typePhotoIds;
61
+ if (!photoList) {
62
+ return [];
63
+ }
64
+ return (typeof photoList === 'string' ? JSON.parse(photoList) : photoList).map(function (item, index) {
65
+ return _objectSpread(_objectSpread({}, item), {}, {
66
+ index: index + 1,
67
+ name: item.name.split('.')[0],
68
+ url: "/vortex/rest/cloud/np/file/downloadFileThumbnail/".concat(item.id, "?token=").concat(getVtxToken('token'), "&outputQuality=0.5&scale=0.5")
69
+ });
70
+ });
71
+ };
53
72
  export default (function (props) {
54
73
  var _monitorTypeList$filt;
55
74
  var theme = props.theme,
@@ -96,11 +115,22 @@ export default (function (props) {
96
115
  alarmList = state.alarmList;
97
116
  useEffect(function () {
98
117
  if (id) {
99
- getDetail({
118
+ Promise.all([getDetail({
100
119
  id: id
101
- }).then(function (res) {
102
- if ((res === null || res === void 0 ? void 0 : res.result) === 0) {
103
- setGcDetail(res.data || {});
120
+ }), getJcssDetail({
121
+ id: id,
122
+ coordType: 'bd09'
123
+ })]).then(function (_ref) {
124
+ var _ref2 = _slicedToArray(_ref, 2),
125
+ detailRes = _ref2[0],
126
+ jcssRes = _ref2[1];
127
+ if ((detailRes === null || detailRes === void 0 ? void 0 : detailRes.result) === 0) {
128
+ var detailData = detailRes.data || {};
129
+ var jcssDetail = (jcssRes === null || jcssRes === void 0 ? void 0 : jcssRes.result) === 0 ? jcssRes.data || {} : {};
130
+ setGcDetail(_objectSpread(_objectSpread({}, detailData), {}, {
131
+ jcssDetail: jcssDetail,
132
+ imgList: getImgList(detailData.photoIds, jcssDetail.typePhotoIds)
133
+ }));
104
134
  }
105
135
  });
106
136
  getFields({
@@ -156,7 +186,7 @@ export default (function (props) {
156
186
  }];
157
187
  var tableProps = {
158
188
  columns: columns,
159
- height: 270,
189
+ height: 220,
160
190
  isIndex: false,
161
191
  pagination: false,
162
192
  dataSource: alarmList
@@ -165,7 +195,7 @@ export default (function (props) {
165
195
  label: translateLocaleText("t('vtxwrmodal.monitoringData')"),
166
196
  key: 'data',
167
197
  children: /*#__PURE__*/_jsx(VmLineCharts, {
168
- height: 300,
198
+ height: 260,
169
199
  xAxis: echartsData.names || [],
170
200
  dataList: (echartsData.values || []).map(function (item, index) {
171
201
  return {
@@ -326,7 +356,8 @@ export default (function (props) {
326
356
  children: [/*#__PURE__*/_jsxs("div", {
327
357
  className: "wr-base-sjjg",
328
358
  style: {
329
- height: gcDetail.hasDevice ? '270px' : '100%'
359
+ height: gcDetail.hasDevice ? '270px' : 'auto',
360
+ flex: gcDetail.hasDevice ? '0 0 270px' : '1 1 auto'
330
361
  },
331
362
  children: [/*#__PURE__*/_jsx("div", {
332
363
  className: "wr-base-title",
@@ -3,6 +3,9 @@
3
3
  height: 100%;
4
4
  display: flex;
5
5
  justify-content: space-between;
6
+ gap: 16px;
7
+ box-sizing: border-box;
8
+ min-width: 0;
6
9
  position: relative;
7
10
  .wr-base-alart {
8
11
  width: 100%;
@@ -23,6 +26,8 @@
23
26
  }
24
27
  .wr-base-left {
25
28
  width: 448px;
29
+ flex: 0 1 448px;
30
+ min-width: 0;
26
31
  height: 100%;
27
32
  border-radius: 8px;
28
33
  box-sizing: border-box;
@@ -32,6 +37,10 @@
32
37
  height: calc(100% - 50px);
33
38
  overflow: hidden;
34
39
  overflow-y: auto;
40
+ scrollbar-width: none;
41
+ &::-webkit-scrollbar {
42
+ display: none;
43
+ }
35
44
  .wr-base-img {
36
45
  width: 100%;
37
46
  height: 207px;
@@ -75,24 +84,51 @@
75
84
  }
76
85
  .wr-base-right {
77
86
  width: 704px;
87
+ flex: 1 1 704px;
88
+ min-width: 0;
89
+ min-height: 0;
90
+ box-sizing: border-box;
78
91
  height: 100%;
79
92
  overflow: hidden;
80
93
  overflow-y: auto;
94
+ display: flex;
95
+ flex-direction: column;
96
+ scrollbar-width: none;
97
+ &::-webkit-scrollbar {
98
+ display: none;
99
+ }
81
100
  .wr-base-sjjg {
82
101
  width: 100%;
102
+ box-sizing: border-box;
103
+ min-width: 0;
104
+ min-height: 0;
83
105
  height: 270px;
84
106
  padding-bottom: 16px;
85
107
  border-radius: 8px;
108
+ overflow: hidden;
109
+ overflow-y: auto;
110
+ scrollbar-width: none;
111
+ &::-webkit-scrollbar {
112
+ display: none;
113
+ }
86
114
  }
87
115
  .wr-base-jcbj {
88
116
  width: 100%;
89
- height: 375px;
90
- padding-bottom: 16px;
117
+ box-sizing: border-box;
118
+ min-width: 0;
119
+ min-height: 0;
120
+ height: auto;
121
+ flex: 1 1 auto;
122
+ padding-bottom: 8px;
91
123
  overflow: hidden;
92
124
  overflow-y: auto;
93
125
  border-radius: 8px;
94
126
  margin-top: 15px;
95
127
  position: relative;
128
+ scrollbar-width: none;
129
+ &::-webkit-scrollbar {
130
+ display: none;
131
+ }
96
132
  .ant-tabs-nav {
97
133
  margin-bottom: 0;
98
134
  padding-left: 16px;
@@ -211,6 +247,49 @@
211
247
  }
212
248
  }
213
249
  }
250
+ .wr-base-universal {
251
+ padding: 16px 16px 0;
252
+ box-sizing: border-box;
253
+ height: auto;
254
+ display: flex;
255
+ align-items: flex-start;
256
+ .wr-base-universal-card {
257
+ width: 100%;
258
+ min-height: 76px;
259
+ border-radius: 8px;
260
+ padding: 14px 20px;
261
+ box-sizing: border-box;
262
+ display: flex;
263
+ align-items: center;
264
+ justify-content: space-between;
265
+ .wr-universal-title {
266
+ display: flex;
267
+ gap: 10px;
268
+ align-items: center;
269
+ img {
270
+ width: 44px;
271
+ height: 44px;
272
+ }
273
+ }
274
+ .wr-universal-total {
275
+ display: flex;
276
+ align-items: center;
277
+ gap: 8px;
278
+ .wr-universal-tip {
279
+ width: 6px;
280
+ height: 6px;
281
+ border-radius: 3px;
282
+ background: #ffc30f;
283
+ box-shadow: 0 0 5px rgba(255, 195, 15, 0.8);
284
+ }
285
+ .wr-universal-used {
286
+ color: #1ce548;
287
+ font-size: 24px;
288
+ font-weight: bold;
289
+ }
290
+ }
291
+ }
292
+ }
214
293
  .wr-base-kws {
215
294
  flex: 1;
216
295
  border-radius: 8px;
@@ -323,8 +402,12 @@
323
402
  height: calc(100% - 44px);
324
403
  overflow: hidden;
325
404
  overflow-y: auto;
405
+ scrollbar-width: none;
406
+ &::-webkit-scrollbar {
407
+ display: none;
408
+ }
326
409
  .each-value {
327
- width: 120px;
410
+ width: calc((100% - 12px) / 3);
328
411
  display: flex;
329
412
  flex-direction: column;
330
413
  align-items: center;
@@ -332,7 +415,7 @@
332
415
  font-weight: bold;
333
416
  }
334
417
  .each-factor-value {
335
- width: 120px;
418
+ width: 100%;
336
419
  text-align: center;
337
420
  overflow: hidden;
338
421
  text-overflow: ellipsis;
@@ -10,7 +10,7 @@ import { Button, Space, Tooltip } from 'antd';
10
10
  import Base64 from 'base-64';
11
11
  import { useEffect, useState } from 'react';
12
12
  import { VmEmpty } from "../../../_components";
13
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
13
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
14
14
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
15
15
  var preview = function preview() {
16
16
  var item = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
@@ -17,7 +17,7 @@ import uniq from 'lodash/uniq';
17
17
  import { useEffect, useState } from 'react';
18
18
  import { VmTable } from "../../../_components";
19
19
  import { renderFile } from "../Build";
20
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
20
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
21
21
  //公厕配置字段
22
22
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
23
23
  var changeFiles = function changeFiles(params) {
@@ -17,7 +17,7 @@ import { useEffect } from 'react';
17
17
  import { TagCloud } from 'react-tagcloud';
18
18
  import { VmEmpty, VmTable } from "../../../_components";
19
19
  import { VMRangePicker } from "../../../_components/vm-filter";
20
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
20
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
21
21
  //公厕详情
22
22
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
23
23
  var getDetail = function getDetail(params) {
@@ -136,7 +136,7 @@ export default (function (props) {
136
136
  fontSize: '20px'
137
137
  },
138
138
  children: (_detail$score = detail === null || detail === void 0 ? void 0 : detail.score) !== null && _detail$score !== void 0 ? _detail$score : 0
139
- }), translateLocaleText("t('vtxwrmodal.nbsp')")]
139
+ }), "\xA0", translateLocaleText("t('vtxwrmodal.nbsp')")]
140
140
  })]
141
141
  })]
142
142
  }), /*#__PURE__*/_jsxs("div", {
@@ -153,7 +153,7 @@ export default (function (props) {
153
153
  fontSize: '20px'
154
154
  },
155
155
  children: (_detail$evaluateCount = detail === null || detail === void 0 ? void 0 : detail.evaluateCount) !== null && _detail$evaluateCount !== void 0 ? _detail$evaluateCount : 0
156
- }), translateLocaleText("t('vtxwrmodal.nbsp2')")]
156
+ }), "\xA0", translateLocaleText("t('vtxwrmodal.nbsp2')")]
157
157
  })]
158
158
  })]
159
159
  })]
@@ -12,15 +12,24 @@ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" !=
12
12
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
13
  import { request } from '@vtx/utils';
14
14
  import { useEffect, useState } from 'react';
15
+ import Appraisal from "../_components/vm-appraisal-info";
15
16
  import VmCustom from "../_components/vm-custom";
17
+ import VmRepairMaintain from "../_components/vm-repair-maintain";
18
+ import VmVideo, { insertVideoTab } from "../_components/vm-video";
19
+ import useGetChannels from "../_hooks/useGetChannels";
20
+ import useGetConfig from "../_hooks/useGetConfig";
21
+ import { CommonService } from "../_service";
16
22
  import VtxBaseModal from "../vtx-base-modal";
17
23
  import VtxDefaultModal from "../vtx-default-modal";
24
+ import { translateLocaleText } from "./../hooks/useTranslation.js";
18
25
  import { Appraise, Base, Build, File, Score } from "./components";
19
26
  import "./style";
20
- import { translateLocaleText } from "./../hooks/useTranslation.ts";
27
+ import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
28
+ var TABS_APPRAISAL = 'appraisal';
29
+ var TABS_VIDEO = 'video';
30
+ var TABS_RM = 'rm';
21
31
 
22
32
  //弹窗配置
23
- import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
24
33
  var getByCode = function getByCode(params) {
25
34
  return request.get('/cloud/jcss-reborn/facility/type/config/getByCode', {
26
35
  data: params
@@ -32,6 +41,10 @@ var smallPop = function smallPop(params) {
32
41
  data: params
33
42
  });
34
43
  };
44
+ var tabs = [{
45
+ key: 'base',
46
+ title: translateLocaleText("t('vtxdefaultmodal.basicInformation')")
47
+ }];
35
48
  export default (function (props) {
36
49
  var _config$;
37
50
  var visible = props.visible,
@@ -49,19 +62,28 @@ export default (function (props) {
49
62
  _useState4 = _slicedToArray(_useState3, 2),
50
63
  config = _useState4[0],
51
64
  setConfig = _useState4[1];
65
+ var _CommonService$useBas = CommonService.useBaseInfo(id),
66
+ info = _CommonService$useBas.info;
67
+ var _useGetConfig = useGetConfig(info === null || info === void 0 ? void 0 : info.typeCode, tabs),
68
+ tabsData = _useGetConfig.tabsData;
69
+ var _useGetChannels = useGetChannels("".concat((info === null || info === void 0 ? void 0 : info.typeCode) || 'wr', "_").concat(info === null || info === void 0 ? void 0 : info.code), !!(info !== null && info !== void 0 && info.code) && (tabsData === null || tabsData === void 0 ? void 0 : tabsData.findIndex(function (ele) {
70
+ return ele.key === 'video';
71
+ })) > -1),
72
+ channels = _useGetChannels.channels;
52
73
  useEffect(function () {
53
74
  getByCode({
54
75
  code: 'wr'
55
76
  }).then(function (res) {
56
77
  if ((res === null || res === void 0 ? void 0 : res.result) === 0) {
57
- setConfig((res.data.popupConfigJson || []).filter(function (item) {
78
+ var tabsConfig = (res.data.popupConfigJson || []).filter(function (item) {
58
79
  return item.display;
59
80
  }).map(function (item) {
60
81
  return _objectSpread(_objectSpread({}, item), {}, {
61
82
  key: item.code,
62
83
  title: item.name
63
84
  });
64
- }));
85
+ });
86
+ setConfig(tabsConfig);
65
87
  }
66
88
  });
67
89
  }, []);
@@ -74,7 +96,13 @@ export default (function (props) {
74
96
  }
75
97
  });
76
98
  }, [id]);
77
- var contentList = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, 'base', /*#__PURE__*/_jsx(Base, _objectSpread(_objectSpread({}, props), {}, {
99
+ var contentList = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, TABS_APPRAISAL, /*#__PURE__*/_jsx(Appraisal, {
100
+ id: id
101
+ })), TABS_VIDEO, /*#__PURE__*/_jsx(VmVideo, {
102
+ channels: channels
103
+ })), TABS_RM, /*#__PURE__*/_jsx(VmRepairMaintain, {
104
+ id: id
105
+ })), 'base', /*#__PURE__*/_jsx(Base, _objectSpread(_objectSpread({}, props), {}, {
78
106
  detail: detail
79
107
  }))), 'appraise', /*#__PURE__*/_jsx(Appraise, _objectSpread({}, props))), 'score', /*#__PURE__*/_jsx(Score, _objectSpread({}, props))), 'build', /*#__PURE__*/_jsx(Build, _objectSpread({}, props))), 'file', /*#__PURE__*/_jsx(File, _objectSpread({}, props)));
80
108
 
@@ -97,7 +125,7 @@ export default (function (props) {
97
125
  title: title,
98
126
  id: id,
99
127
  onCancel: onCancel,
100
- tabs: config,
128
+ tabs: insertVideoTab(config, channels),
101
129
  contents: contentList,
102
130
  tabChose: (_config$ = config[0]) === null || _config$ === void 0 ? void 0 : _config$.key,
103
131
  modalShow: modalShow,
@@ -1,6 +1,6 @@
1
1
  import { VmMap } from "../../../_components";
2
2
  import Right from "../Right";
3
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
3
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
4
4
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
5
  export default (function (props) {
6
6
  var _detail$location, _detail$location2, _detail$location3, _detail$location4;
@@ -32,6 +32,15 @@
32
32
  padding: 16px 18px;
33
33
  overflow: hidden;
34
34
  overflow-y: auto;
35
+ .zf-base-item {
36
+ .zf-base-label {
37
+ flex-shrink: 0;
38
+ }
39
+ & > span:last-child {
40
+ word-wrap: break-word;
41
+ white-space: normal;
42
+ }
43
+ }
35
44
  .zf-base-list {
36
45
  display: flex;
37
46
  flex-wrap: wrap;
@@ -31,7 +31,7 @@ import { UnorderedListOutlined } from '@ant-design/icons';
31
31
  import "./index.less";
32
32
  import viewRichText from "./view";
33
33
  import CKModal from "./widgets/CKModal";
34
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
34
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
35
35
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
36
36
  var defaultPlugins = ClassicEditor.builtinPlugins;
37
37
  function CkEditorCustom(_ref, ref) {
@@ -11,7 +11,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len
11
11
  function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
12
12
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
13
  import { VtxUpload } from "@vtx/components";
14
- import { translateLocaleText } from "../../../hooks/useTranslation.ts";
14
+ import { translateLocaleText } from "../../../hooks/useTranslation.js";
15
15
  import htmr from "htmr";
16
16
  import React, { useState } from "react";
17
17
  import { useSetState } from 'ahooks';
@@ -15,7 +15,7 @@ import React, { useEffect } from "react";
15
15
  import Config from "./config";
16
16
  import classNames from "classnames";
17
17
  import { VtxFormLayout } from '@vtx/components';
18
- import { translateLocaleText } from "./../../../../hooks/useTranslation.ts";
18
+ import { translateLocaleText } from "./../../../../hooks/useTranslation.js";
19
19
  import { jsx as _jsx } from "react/jsx-runtime";
20
20
  export default function CKModal(props) {
21
21
  var _props$defaultData = props.defaultData,
@@ -14,7 +14,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
14
14
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
15
15
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
16
16
  import { View, LabeledFieldView, createLabeledInputText, ButtonView, submitHandler, icons, LabelView } from "../../ckeditor/ckeditor";
17
- import { translateLocaleText } from "../../../../../hooks/useTranslation.ts";
17
+ import { translateLocaleText } from "../../../../../hooks/useTranslation.js";
18
18
  var FormView = /*#__PURE__*/function (_View) {
19
19
  _inherits(FormView, _View);
20
20
  var _super = _createSuper(FormView);
@@ -22,7 +22,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
22
22
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
23
23
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
24
24
  import { Plugin, Widget, ButtonView, ContextualBalloon, Command, clickOutsideHandler, viewToModelPositionOutsideModelElement, toWidget } from "../../ckeditor/ckeditor";
25
- import { translateLocaleText } from "../../../../../hooks/useTranslation.ts";
25
+ import { translateLocaleText } from "../../../../../hooks/useTranslation.js";
26
26
  import OpenPanelCommand from "../OpenPanelCommand";
27
27
  import FormView from "./FormView";
28
28
  import "./index.less";
@@ -14,7 +14,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
14
14
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
15
15
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
16
16
  import { View, LabeledFieldView, createLabeledInputText, ButtonView, submitHandler, icons, LabelView } from "../../ckeditor/ckeditor";
17
- import { translateLocaleText } from "../../../../../hooks/useTranslation.ts";
17
+ import { translateLocaleText } from "../../../../../hooks/useTranslation.js";
18
18
  var FormView = /*#__PURE__*/function (_View) {
19
19
  _inherits(FormView, _View);
20
20
  var _super = _createSuper(FormView);
@@ -22,7 +22,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
22
22
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
23
23
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
24
24
  import { Plugin, Widget, ButtonView, ContextualBalloon, Command, clickOutsideHandler, toWidget } from "../../ckeditor/ckeditor";
25
- import { translateLocaleText } from "../../../../../hooks/useTranslation.ts";
25
+ import { translateLocaleText } from "../../../../../hooks/useTranslation.js";
26
26
  import OpenPanelCommand from "../OpenPanelCommand";
27
27
  import FormView from "./FormView";
28
28
  import "./index.less";
@@ -22,7 +22,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
22
22
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
23
23
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
24
24
  import { Plugin, Widget, ButtonView, ContextualBalloon, Command, clickOutsideHandler, toWidget } from "../../ckeditor/ckeditor";
25
- import { translateLocaleText } from "../../../../../hooks/useTranslation.ts";
25
+ import { translateLocaleText } from "../../../../../hooks/useTranslation.js";
26
26
  import OpenPanelCommand from "../OpenPanelCommand";
27
27
  import FormView from "./FormView";
28
28
  import "./index.less";
@@ -14,7 +14,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
14
14
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
15
15
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
16
16
  import { View, LabeledFieldView, createLabeledInputText, ButtonView, submitHandler, icons, LabelView } from "../../ckeditor/ckeditor";
17
- import { translateLocaleText } from "../../../../../hooks/useTranslation.ts";
17
+ import { translateLocaleText } from "../../../../../hooks/useTranslation.js";
18
18
  var FormView = /*#__PURE__*/function (_View) {
19
19
  _inherits(FormView, _View);
20
20
  var _super = _createSuper(FormView);
@@ -22,7 +22,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
22
22
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
23
23
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
24
24
  import { Plugin, Widget, ButtonView, ContextualBalloon, Command, clickOutsideHandler, toWidget } from "../../ckeditor/ckeditor";
25
- import { translateLocaleText } from "../../../../../hooks/useTranslation.ts";
25
+ import { translateLocaleText } from "../../../../../hooks/useTranslation.js";
26
26
  import OpenPanelCommand from "../OpenPanelCommand";
27
27
  import FormView from "./FormView";
28
28
  import "./index.less";
@@ -22,7 +22,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
22
22
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
23
23
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
24
24
  import { Plugin, Widget, ButtonView, ContextualBalloon, Command, clickOutsideHandler, toWidget } from "../../ckeditor/ckeditor";
25
- import { translateLocaleText } from "../../../../../hooks/useTranslation.ts";
25
+ import { translateLocaleText } from "../../../../../hooks/useTranslation.js";
26
26
  import OpenPanelCommand from "../OpenPanelCommand";
27
27
  import FormView from "./FormView";
28
28
  import "./index.less";
@@ -14,7 +14,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
14
14
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
15
15
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
16
16
  import { View, LabeledFieldView, createLabeledInputText, ButtonView, submitHandler, icons, LabelView } from "../../ckeditor/ckeditor";
17
- import { translateLocaleText } from "../../../../../hooks/useTranslation.ts";
17
+ import { translateLocaleText } from "../../../../../hooks/useTranslation.js";
18
18
  var FormView = /*#__PURE__*/function (_View) {
19
19
  _inherits(FormView, _View);
20
20
  var _super = _createSuper(FormView);
@@ -22,7 +22,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
22
22
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
23
23
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
24
24
  import { Plugin, Widget, ButtonView, ContextualBalloon, Command, clickOutsideHandler, viewToModelPositionOutsideModelElement, toWidget } from "../../ckeditor/ckeditor";
25
- import { translateLocaleText } from "../../../../../hooks/useTranslation.ts";
25
+ import { translateLocaleText } from "../../../../../hooks/useTranslation.js";
26
26
  import OpenPanelCommand from "../OpenPanelCommand";
27
27
  import FormView from "./FormView";
28
28
  import "./index.less";
@@ -14,7 +14,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
14
14
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
15
15
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
16
16
  import { View, LabeledFieldView, createLabeledInputText, ButtonView, submitHandler, icons, LabelView } from "../../ckeditor/ckeditor";
17
- import { translateLocaleText } from "../../../../../hooks/useTranslation.ts";
17
+ import { translateLocaleText } from "../../../../../hooks/useTranslation.js";
18
18
  var FormView = /*#__PURE__*/function (_View) {
19
19
  _inherits(FormView, _View);
20
20
  var _super = _createSuper(FormView);
@@ -22,7 +22,7 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
22
22
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
23
23
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
24
24
  import { Plugin, Widget, ButtonView, ContextualBalloon, Command, clickOutsideHandler, toWidget } from "../../ckeditor/ckeditor";
25
- import { translateLocaleText } from "../../../../../hooks/useTranslation.ts";
25
+ import { translateLocaleText } from "../../../../../hooks/useTranslation.js";
26
26
  import OpenPanelCommand from "../OpenPanelCommand";
27
27
  import FormView from "./FormView";
28
28
  import "./index.less";
@@ -16,7 +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.ts";
19
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
20
20
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
21
21
  var preview = function preview() {
22
22
  var item = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
@@ -9,7 +9,7 @@ import { request } from '@vtx/utils';
9
9
  import { useEffect, useState } from 'react';
10
10
  import { VmEmpty, VmTabs } from "../../../_components";
11
11
  import Right from "../Right";
12
- import { translateLocaleText } from "./../../../hooks/useTranslation.ts";
12
+ import { translateLocaleText } from "./../../../hooks/useTranslation.js";
13
13
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
14
14
  var listTaskInfo = function listTaskInfo(params) {
15
15
  return request.get('/cloud/zhzf/api/v101/case/listTaskInfo', {