@vtx/modals2 5.0.3 → 5.0.5

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 (294) hide show
  1. package/lib/_components/index.js +4 -3
  2. package/lib/_components/vm-bar-charts/index.js +10 -6
  3. package/lib/_components/vm-calendar/style/index.less +4 -7
  4. package/lib/_components/vm-card-statistics/index.less +27 -27
  5. package/lib/_components/vm-extra-tab/style/index.less +6 -3
  6. package/lib/_components/vm-factor/index.js +10 -5
  7. package/lib/_components/vm-factor/style/index.less +5 -1
  8. package/lib/_components/vm-factor-list/index.less +11 -11
  9. package/lib/_components/vm-filter/style/index.less +2 -1
  10. package/lib/_components/vm-info-collection/index.js +2 -2
  11. package/lib/_components/vm-line-charts/index.js +1 -1
  12. package/lib/_components/vm-map/index.js +5 -5
  13. package/lib/_components/vm-pie-charts/index.js +9 -5
  14. package/lib/_components/vm-repair-maintain/RmInfoSummary.js +46 -0
  15. package/lib/_components/vm-repair-maintain/RmMonthTrend.js +44 -0
  16. package/lib/_components/vm-repair-maintain/RmRecord.js +157 -0
  17. package/lib/_components/vm-repair-maintain/RmType.js +32 -0
  18. package/lib/_components/vm-repair-maintain/api.js +92 -0
  19. package/lib/_components/vm-repair-maintain/imgs/amount.png +0 -0
  20. package/lib/_components/vm-repair-maintain/imgs/amount_light.png +0 -0
  21. package/lib/_components/vm-repair-maintain/imgs/count.png +0 -0
  22. package/lib/_components/vm-repair-maintain/imgs/count_light.png +0 -0
  23. package/lib/_components/vm-repair-maintain/index.js +56 -0
  24. package/lib/_components/vm-repair-maintain/style/index.js +1 -0
  25. package/lib/_components/vm-repair-maintain/style/index.less +25 -0
  26. package/lib/_components/vm-table/index.js +7 -4
  27. package/lib/_components/vm-table/style/index.less +3 -2
  28. package/lib/_components/vm-tag/style/index.less +10 -0
  29. package/lib/_components/vm-title/index.js +3 -2
  30. package/lib/_components/vm-video/HistoryGrid.js +52 -0
  31. package/lib/_components/vm-video/RealtimeGrid.js +8 -4
  32. package/lib/_components/vm-video/index.js +298 -112
  33. package/lib/_components/vm-video/index.less +10 -1
  34. package/lib/_components/vm-wrapper/index.js +32 -10
  35. package/lib/_components/vm-wrapper/style/index.less +28 -0
  36. package/lib/_service/index.js +5 -0
  37. package/lib/_util/index.js +0 -5
  38. package/lib/index.js +7 -2
  39. package/lib/style/index.less +2 -6
  40. package/lib/vtx-area-modal/components/BaseInfo/ListZymx.js +2 -1
  41. package/lib/vtx-base-modal/Header/index.js +3 -1
  42. package/lib/vtx-base-modal/Header/index.less +98 -98
  43. package/lib/vtx-base-modal/Tabs/index.less +31 -31
  44. package/lib/vtx-base-modal/index.js +11 -5
  45. package/lib/vtx-car-modal/api.js +4 -3
  46. package/lib/vtx-car-modal/components/Info/index.js +2 -1
  47. package/lib/vtx-car-modal/components/Info/index.less +6 -6
  48. package/lib/vtx-car-modal/content/Cc/AlarmInfo/StaticInfo.js +0 -1
  49. package/lib/vtx-car-modal/content/Cc/BaseInfo/index.js +3 -0
  50. package/lib/vtx-car-modal/content/Cc/WorkRecord/Summary.js +1 -0
  51. package/lib/vtx-car-modal/content/Common/BaseInfo/index.js +5 -1
  52. package/lib/vtx-car-modal/content/Common/OilConsumption/index.less +6 -6
  53. package/lib/vtx-car-modal/content/Common/StaticInfo/index.js +1 -0
  54. package/lib/vtx-car-modal/content/Common/WaterConsumption/index.js +1 -0
  55. package/lib/vtx-car-modal/content/Common/WaterConsumption/index.less +6 -6
  56. package/lib/vtx-car-modal/content/JXH/AlarmInfo/List.js +9 -3
  57. package/lib/vtx-car-modal/content/JXH/BaseInfo/index.js +134 -103
  58. package/lib/vtx-car-modal/content/JXH/StaticInfo/index.js +210 -161
  59. package/lib/vtx-car-modal/content/JXH/WorkRecord/index.js +39 -16
  60. package/lib/vtx-car-modal/content/Ljsy/BaseInfo/index.js +3 -0
  61. package/lib/vtx-car-modal/content/Ljsy/WorkRecord/Summary.js +1 -0
  62. package/lib/vtx-car-modal/content/Ljzy/BaseInfo/index.js +3 -0
  63. package/lib/vtx-car-modal/content/Ljzy/WorkRecord/Summary.js +1 -0
  64. package/lib/vtx-car-modal/content/Unmanned/Analysis/index.js +33 -0
  65. package/lib/vtx-car-modal/content/Unmanned/Calendar/index.js +255 -0
  66. package/lib/vtx-car-modal/content/Unmanned/Monitor/index.js +75 -0
  67. package/lib/vtx-car-modal/content/Unmanned/Monitor/index.less +22 -0
  68. package/lib/vtx-car-modal/content/Unmanned/WorkInfo/index.js +87 -0
  69. package/lib/vtx-car-modal/content/Unmanned/WorkInfo/index.less +0 -0
  70. package/lib/vtx-car-modal/content/Unmanned/index.js +10 -0
  71. package/lib/vtx-car-modal/content/index.js +2 -1
  72. package/lib/vtx-car-modal/imgs/butter.png +0 -0
  73. package/lib/vtx-car-modal/imgs/butter_dark.png +0 -0
  74. package/lib/vtx-car-modal/imgs/clock.png +0 -0
  75. package/lib/vtx-car-modal/imgs/clock_dark.png +0 -0
  76. package/lib/vtx-car-modal/imgs/clock_green.png +0 -0
  77. package/lib/vtx-car-modal/imgs/clock_green_dark.png +0 -0
  78. package/lib/vtx-car-modal/imgs/factor_bg.png +0 -0
  79. package/lib/vtx-car-modal/imgs/track.png +0 -0
  80. package/lib/vtx-car-modal/imgs/track_dark.png +0 -0
  81. package/lib/vtx-car-modal/imgs/track_green.png +0 -0
  82. package/lib/vtx-car-modal/imgs/track_green_dark.png +0 -0
  83. package/lib/vtx-car-modal/imgs/water.png +0 -0
  84. package/lib/vtx-car-modal/imgs/water_dark.png +0 -0
  85. package/lib/vtx-car-modal/index.js +24 -4
  86. package/lib/vtx-cc-cp-modal/api.js +381 -0
  87. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmRecord.js +120 -0
  88. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTrend.js +27 -0
  89. package/lib/vtx-cc-cp-modal/components/AlarmInfo/AlarmTypeAnalysis.js +32 -0
  90. package/lib/vtx-cc-cp-modal/components/AlarmInfo/StaticInfo.js +41 -0
  91. package/lib/vtx-cc-cp-modal/components/AlarmInfo/index.js +69 -0
  92. package/lib/vtx-cc-cp-modal/components/BaseInfo/AllWork.js +103 -0
  93. package/lib/vtx-cc-cp-modal/components/BaseInfo/Info.js +75 -0
  94. package/lib/vtx-cc-cp-modal/components/BaseInfo/Rules.js +58 -0
  95. package/lib/vtx-cc-cp-modal/components/BaseInfo/SyRecord.js +142 -0
  96. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.js +63 -0
  97. package/lib/vtx-cc-cp-modal/components/BaseInfo/index.less +16 -0
  98. package/lib/vtx-cc-cp-modal/components/Calendar/index.js +168 -0
  99. package/lib/vtx-cc-cp-modal/components/Calendar/index.less +93 -0
  100. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTrend.js +27 -0
  101. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExceptionTypeAnalysis.js +32 -0
  102. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/ExeceptionRecord.js +118 -0
  103. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/StaticInfo.js +41 -0
  104. package/lib/vtx-cc-cp-modal/components/ExceptionInfo/index.js +69 -0
  105. package/lib/vtx-cc-cp-modal/components/Restaurant/index.js +111 -0
  106. package/lib/vtx-cc-cp-modal/components/Restaurant/index.less +3 -0
  107. package/lib/vtx-cc-cp-modal/components/SyInfo/Ljcsl.js +46 -0
  108. package/lib/vtx-cc-cp-modal/components/SyInfo/SummaryInfo.js +81 -0
  109. package/lib/vtx-cc-cp-modal/components/SyInfo/index.js +78 -0
  110. package/lib/vtx-cc-cp-modal/components/index.js +7 -0
  111. package/lib/vtx-cc-cp-modal/imgs/rwnsjts.png +0 -0
  112. package/lib/vtx-cc-cp-modal/imgs/rwnsjts_dark.png +0 -0
  113. package/lib/vtx-cc-cp-modal/imgs/rwnsjzl.png +0 -0
  114. package/lib/vtx-cc-cp-modal/imgs/rwnsjzl_dark.png +0 -0
  115. package/lib/vtx-cc-cp-modal/imgs/rwnsscs.png +0 -0
  116. package/lib/vtx-cc-cp-modal/imgs/rwnsscs_dark.png +0 -0
  117. package/lib/vtx-cc-cp-modal/imgs/zsjts.png +0 -0
  118. package/lib/vtx-cc-cp-modal/imgs/zsjts_dark.png +0 -0
  119. package/lib/vtx-cc-cp-modal/imgs/zsjzl.png +0 -0
  120. package/lib/vtx-cc-cp-modal/imgs/zsjzl_dark.png +0 -0
  121. package/lib/vtx-cc-cp-modal/imgs/zsscs.png +0 -0
  122. package/lib/vtx-cc-cp-modal/imgs/zsscs_dark.png +0 -0
  123. package/lib/vtx-cc-cp-modal/index.js +119 -0
  124. package/lib/vtx-cc-cp-modal/style/index.js +1 -0
  125. package/lib/vtx-cc-cp-modal/style/index.less +13 -0
  126. package/lib/vtx-cc-unit-modal/api.js +361 -0
  127. package/lib/vtx-cc-unit-modal/components/BaseInfo/CollectRecord.js +69 -0
  128. package/lib/vtx-cc-unit-modal/components/BaseInfo/DetailList.js +66 -0
  129. package/lib/vtx-cc-unit-modal/components/BaseInfo/Factory.js +60 -0
  130. package/lib/vtx-cc-unit-modal/components/BaseInfo/Statistics.js +91 -0
  131. package/lib/vtx-cc-unit-modal/components/BaseInfo/index.js +118 -0
  132. package/lib/vtx-cc-unit-modal/components/BaseInfo/index.less +6 -0
  133. package/lib/vtx-cc-unit-modal/components/CarList/index.js +129 -0
  134. package/lib/vtx-cc-unit-modal/components/Collection/index.js +95 -0
  135. package/lib/vtx-cc-unit-modal/components/DetailInfo/index.js +126 -0
  136. package/lib/vtx-cc-unit-modal/components/Factory/index.js +149 -0
  137. package/lib/vtx-cc-unit-modal/components/RestaurantList/index.js +127 -0
  138. package/lib/vtx-cc-unit-modal/components/index.js +7 -0
  139. package/lib/vtx-cc-unit-modal/imgs/jccc.png +0 -0
  140. package/lib/vtx-cc-unit-modal/imgs/jccc_dark.png +0 -0
  141. package/lib/vtx-cc-unit-modal/imgs/jcl.png +0 -0
  142. package/lib/vtx-cc-unit-modal/imgs/jcl_dark.png +0 -0
  143. package/lib/vtx-cc-unit-modal/imgs/syts.png +0 -0
  144. package/lib/vtx-cc-unit-modal/imgs/syts_dark.png +0 -0
  145. package/lib/vtx-cc-unit-modal/imgs/syzl.png +0 -0
  146. package/lib/vtx-cc-unit-modal/imgs/syzl_dark.png +0 -0
  147. package/lib/vtx-cc-unit-modal/index.js +137 -0
  148. package/lib/vtx-cc-unit-modal/style/index.js +1 -0
  149. package/lib/vtx-cc-unit-modal/style/index.less +14 -0
  150. package/lib/vtx-cp-modal/api.js +3 -3
  151. package/lib/vtx-cp-modal/index.js +4 -1
  152. package/lib/vtx-default-modal/components/BaseInfo/index.js +3 -2
  153. package/lib/vtx-default-modal/index.js +10 -8
  154. package/lib/vtx-device-modal/api.js +531 -0
  155. package/lib/vtx-device-modal/components/BaseInfo/index.js +140 -0
  156. package/lib/vtx-device-modal/components/DataAnalysis/AlarmAnalysis.js +279 -0
  157. package/lib/vtx-device-modal/components/DataAnalysis/MonitorAnalysis.js +610 -0
  158. package/lib/vtx-device-modal/components/DataAnalysis/TabsList.js +23 -0
  159. package/lib/vtx-device-modal/components/DataAnalysis/index.js +24 -0
  160. package/lib/vtx-device-modal/components/DataAnalysis/index.less +66 -0
  161. package/lib/vtx-device-modal/components/index.js +3 -0
  162. package/lib/vtx-device-modal/config.js +21 -0
  163. package/lib/vtx-device-modal/imgs/current.png +0 -0
  164. package/lib/vtx-device-modal/imgs/current_dark.png +0 -0
  165. package/lib/vtx-device-modal/imgs/history.png +0 -0
  166. package/lib/vtx-device-modal/imgs/history_dark.png +0 -0
  167. package/lib/vtx-device-modal/index.js +96 -0
  168. package/lib/vtx-device-modal/style/index.js +1 -0
  169. package/lib/vtx-device-modal/style/index.less +1 -0
  170. package/lib/vtx-df-modal/index.js +11 -11
  171. package/lib/vtx-housing-estate-modal/api.js +559 -0
  172. package/lib/vtx-housing-estate-modal/components/Alarm/Distribute.js +129 -0
  173. package/lib/vtx-housing-estate-modal/components/Alarm/FSCSFB.js +67 -0
  174. package/lib/vtx-housing-estate-modal/components/Alarm/FSSD.js +65 -0
  175. package/lib/vtx-housing-estate-modal/components/Alarm/FSYZQS.js +67 -0
  176. package/lib/vtx-housing-estate-modal/components/Alarm/GDCLXL.js +109 -0
  177. package/lib/vtx-housing-estate-modal/components/Alarm/index.js +99 -0
  178. package/lib/vtx-housing-estate-modal/components/Alarm/index.less +54 -0
  179. package/lib/vtx-housing-estate-modal/components/OverView/Hot.js +179 -0
  180. package/lib/vtx-housing-estate-modal/components/OverView/Left.js +85 -0
  181. package/lib/vtx-housing-estate-modal/components/OverView/Manage.js +172 -0
  182. package/lib/vtx-housing-estate-modal/components/OverView/RightBottom.js +177 -0
  183. package/lib/vtx-housing-estate-modal/components/OverView/index.js +56 -0
  184. package/lib/vtx-housing-estate-modal/components/OverView/index.less +163 -0
  185. package/lib/vtx-housing-estate-modal/components/TFRD/index.js +133 -0
  186. package/lib/vtx-housing-estate-modal/components/TFRD/index.less +12 -0
  187. package/lib/vtx-housing-estate-modal/components/WGGS/Content.js +66 -0
  188. package/lib/vtx-housing-estate-modal/components/WGGS/index.js +68 -0
  189. package/lib/vtx-housing-estate-modal/components/WGGS/index.less +49 -0
  190. package/lib/vtx-housing-estate-modal/components/WGXW/Content.js +119 -0
  191. package/lib/vtx-housing-estate-modal/components/WGXW/index.js +121 -0
  192. package/lib/vtx-housing-estate-modal/components/WGXW/index.less +97 -0
  193. package/lib/vtx-housing-estate-modal/components/index.js +5 -0
  194. package/lib/vtx-housing-estate-modal/config.js +77 -0
  195. package/lib/vtx-housing-estate-modal/imgs/avatar.png +0 -0
  196. package/lib/vtx-housing-estate-modal/imgs/avatar_light.png +0 -0
  197. package/lib/vtx-housing-estate-modal/imgs/ddypz.png +0 -0
  198. package/lib/vtx-housing-estate-modal/imgs/ddypz_light.png +0 -0
  199. package/lib/vtx-housing-estate-modal/imgs/gzxjcx.png +0 -0
  200. package/lib/vtx-housing-estate-modal/imgs/hjglcx.png +0 -0
  201. package/lib/vtx-housing-estate-modal/imgs/hmd.png +0 -0
  202. package/lib/vtx-housing-estate-modal/imgs/hmd_light.png +0 -0
  203. package/lib/vtx-housing-estate-modal/imgs/manage_bg.png +0 -0
  204. package/lib/vtx-housing-estate-modal/imgs/manage_bg_light.png +0 -0
  205. package/lib/vtx-housing-estate-modal/imgs/rank.png +0 -0
  206. package/lib/vtx-housing-estate-modal/imgs/rank_light.png +0 -0
  207. package/lib/vtx-housing-estate-modal/imgs/tfcs.png +0 -0
  208. package/lib/vtx-housing-estate-modal/imgs/tfcs_light.png +0 -0
  209. package/lib/vtx-housing-estate-modal/imgs/tfd.png +0 -0
  210. package/lib/vtx-housing-estate-modal/imgs/tfd_light.png +0 -0
  211. package/lib/vtx-housing-estate-modal/imgs/tfhs.png +0 -0
  212. package/lib/vtx-housing-estate-modal/imgs/tfhs_light.png +0 -0
  213. package/lib/vtx-housing-estate-modal/imgs/wgmsr.png +0 -0
  214. package/lib/vtx-housing-estate-modal/imgs/wgmsr_light.png +0 -0
  215. package/lib/vtx-housing-estate-modal/imgs/yyxj.png +0 -0
  216. package/lib/vtx-housing-estate-modal/imgs/yyxj_light.png +0 -0
  217. package/lib/vtx-housing-estate-modal/index.js +108 -0
  218. package/lib/vtx-housing-estate-modal/style/index.js +4 -0
  219. package/lib/vtx-housing-estate-modal/style/index.less +1 -0
  220. package/lib/vtx-kh-modal/api2.js +178 -0
  221. package/lib/vtx-kh-modal/components/BaseInfo/index.js +197 -0
  222. package/lib/vtx-kh-modal/components/BaseInfo/index.less +101 -0
  223. package/lib/vtx-kh-modal/components/Record/index.js +204 -0
  224. package/lib/vtx-kh-modal/components/Record/index.less +7 -0
  225. package/lib/vtx-kh-modal/components/index.js +3 -0
  226. package/lib/vtx-kh-modal/imgs/count.png +0 -0
  227. package/lib/vtx-kh-modal/imgs/count_light.png +0 -0
  228. package/lib/vtx-kh-modal/imgs/question_bg.png +0 -0
  229. package/lib/vtx-kh-modal/imgs/question_bg_light.png +0 -0
  230. package/lib/vtx-kh-modal/imgs/score.png +0 -0
  231. package/lib/vtx-kh-modal/imgs/score_light.png +0 -0
  232. package/lib/vtx-kh-modal/imgs/subtract.png +0 -0
  233. package/lib/vtx-kh-modal/imgs/subtract_light.png +0 -0
  234. package/lib/vtx-kh-modal/index.js +46 -0
  235. package/lib/vtx-kh-modal/style/index.js +4 -0
  236. package/lib/vtx-kh-modal/style/index.less +1 -0
  237. package/lib/vtx-restaurant-modal/api.js +297 -0
  238. package/lib/vtx-restaurant-modal/components/Alarm/AlarmRecord.js +47 -0
  239. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTrend.js +31 -0
  240. package/lib/vtx-restaurant-modal/components/Alarm/AlarmTypeAnalysis.js +36 -0
  241. package/lib/vtx-restaurant-modal/components/Alarm/StaticInfo.js +41 -0
  242. package/lib/vtx-restaurant-modal/components/Alarm/index.js +69 -0
  243. package/lib/vtx-restaurant-modal/components/Basic/CollectRule.js +64 -0
  244. package/lib/vtx-restaurant-modal/components/Basic/DetailList.js +68 -0
  245. package/lib/vtx-restaurant-modal/components/Basic/Info.js +87 -0
  246. package/lib/vtx-restaurant-modal/components/Basic/Summary.js +61 -0
  247. package/lib/vtx-restaurant-modal/components/Basic/SummaryStatistics.js +60 -0
  248. package/lib/vtx-restaurant-modal/components/Basic/index.js +74 -0
  249. package/lib/vtx-restaurant-modal/components/Basic/index.less +16 -0
  250. package/lib/vtx-restaurant-modal/components/Calendar/index.js +171 -0
  251. package/lib/vtx-restaurant-modal/components/Calendar/index.less +93 -0
  252. package/lib/vtx-restaurant-modal/components/Collection/index.js +86 -0
  253. package/lib/vtx-restaurant-modal/components/DetailInfo/index.js +111 -0
  254. package/lib/vtx-restaurant-modal/components/SignAndContract/ContactDetail.js +299 -0
  255. package/lib/vtx-restaurant-modal/components/SignAndContract/index.js +198 -0
  256. package/lib/vtx-restaurant-modal/components/index.js +7 -0
  257. package/lib/vtx-restaurant-modal/config.js +283 -0
  258. package/lib/vtx-restaurant-modal/imgs/csl.png +0 -0
  259. package/lib/vtx-restaurant-modal/imgs/csl_dark.png +0 -0
  260. package/lib/vtx-restaurant-modal/imgs/sycs.png +0 -0
  261. package/lib/vtx-restaurant-modal/imgs/sycs_dark.png +0 -0
  262. package/lib/vtx-restaurant-modal/imgs/syts.png +0 -0
  263. package/lib/vtx-restaurant-modal/imgs/syts_dark.png +0 -0
  264. package/lib/vtx-restaurant-modal/index.js +168 -0
  265. package/lib/vtx-restaurant-modal/style/index.js +1 -0
  266. package/lib/vtx-restaurant-modal/style/index.less +13 -0
  267. package/lib/vtx-road-modal/components/BaseInfo/index.less +218 -218
  268. package/lib/vtx-road-modal/components/Calendar/index.js +1 -1
  269. package/lib/vtx-road-modal/components/Statistical/index.js +1 -1
  270. package/lib/vtx-road-modal/components/Statistical/index.less +32 -32
  271. package/lib/vtx-shxq-modal/components/AlarmRecord/index.js +4 -1
  272. package/lib/vtx-shxq-modal/components/Tfd/index.js +0 -1
  273. package/lib/vtx-shxq-modal/components/ThrowCalendar/index.js +0 -1
  274. package/lib/vtx-shxq-modal/components/ThrowRecord/index.js +4 -1
  275. package/lib/vtx-staff-modal/components/BaseInfo/ListZymx.js +20 -6
  276. package/lib/vtx-staff-modal/index.js +4 -1
  277. package/lib/vtx-tfd-modal/api.js +22 -27
  278. package/lib/vtx-tfd-modal/components/BaseInfo/index.js +100 -59
  279. package/lib/vtx-tfd-modal/components/BaseInfo/index.less +5 -0
  280. package/lib/vtx-zg-modal/api.js +107 -0
  281. package/lib/vtx-zg-modal/components/BaseInfo/index.js +286 -0
  282. package/lib/vtx-zg-modal/components/BaseInfo/index.less +124 -0
  283. package/lib/vtx-zg-modal/components/index.js +1 -0
  284. package/lib/vtx-zg-modal/imgs/dot.png +0 -0
  285. package/lib/vtx-zg-modal/imgs/dot_done.png +0 -0
  286. package/lib/vtx-zg-modal/index.js +42 -0
  287. package/lib/vtx-zg-modal/style/index.js +3 -0
  288. package/lib/vtx-zg-modal/style/index.less +1 -0
  289. package/lib/vtx-zzz-modal/index.js +10 -10
  290. package/package.json +1 -1
  291. package/lib/resources/jessibuca/decoder.js +0 -3839
  292. package/lib/resources/jessibuca/decoder.wasm +0 -0
  293. package/lib/resources/jessibuca/jessibuca.js +0 -5350
  294. package/lib/vtx-car-modal/imgs/calendar/fsdf/durationqq.png +0 -0
@@ -0,0 +1,197 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
8
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
9
+ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
10
+ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
11
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
12
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
+ import { useSetState } from 'ahooks';
14
+ import { Tooltip } from 'antd';
15
+ import dayjs from 'dayjs';
16
+ import { VmBarCharts, VmFactor, VmInfoCollection, VmMap, VmPieCharts, VmTitle, VmWrapper } from "../../../_components";
17
+ import useSettings from "../../../_hooks/useSettings";
18
+ import { BaseService } from "../../api2";
19
+ import "./index.less";
20
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
21
+ var BaseInfo = function BaseInfo(props) {
22
+ var _useSettings = useSettings(),
23
+ isDark = _useSettings.isDark;
24
+ var mapCenter = props.mapCenter,
25
+ id = props.id;
26
+ var _useSetState = useSetState({
27
+ date: dayjs()
28
+ }),
29
+ _useSetState2 = _slicedToArray(_useSetState, 2),
30
+ state = _useSetState2[0],
31
+ setState = _useSetState2[1];
32
+ var date = state.date;
33
+ var _BaseService$useBaseI = BaseService.useBaseInfo(id),
34
+ baseInfo = _BaseService$useBaseI.baseInfo,
35
+ info = _BaseService$useBaseI.info,
36
+ mapPoints = _BaseService$useBaseI.mapPoints,
37
+ type = _BaseService$useBaseI.type,
38
+ mapPolygons = _BaseService$useBaseI.mapPolygons;
39
+ var _BaseService$useKhInf = BaseService.useKhInfo(id, date.startOf('M').format('YYYY-MM-DD'), date.endOf('M').format('YYYY-MM-DD')),
40
+ khRes = _BaseService$useKhInf.khRes;
41
+ var _BaseService$useGetQu = BaseService.useGetQuestions(id, date.startOf('M').format('YYYY-MM-DD'), date.endOf('M').format('YYYY-MM-DD')),
42
+ questions = _BaseService$useGetQu.questions;
43
+ var _BaseService$use7mont = BaseService.use7month(id, dayjs().subtract(6, 'M').startOf('M').format('YYYY-MM-DD'), dayjs().endOf('M').format('YYYY-MM-DD')),
44
+ monthData = _BaseService$use7mont.monthData,
45
+ loading = _BaseService$use7mont.loading;
46
+ var filterChange = function filterChange(dateValue) {
47
+ setState({
48
+ date: dateValue
49
+ });
50
+ };
51
+ var mapParam = {
52
+ mapCenter: mapCenter
53
+ };
54
+ if (type) {
55
+ mapParam = {
56
+ mapCenter: mapCenter,
57
+ geometryType: type,
58
+ newMapPoints: mapPoints,
59
+ mapPolygons: mapPolygons
60
+ };
61
+ }
62
+ return /*#__PURE__*/_jsxs("div", {
63
+ className: "kh-base",
64
+ children: [/*#__PURE__*/_jsx("div", {
65
+ className: "kh-base-left",
66
+ children: /*#__PURE__*/_jsxs(VmWrapper, {
67
+ title: "\u57FA\u672C\u4FE1\u606F",
68
+ children: [/*#__PURE__*/_jsx(VmInfoCollection, {
69
+ data: baseInfo,
70
+ gap: 12
71
+ }), /*#__PURE__*/_jsx("div", {
72
+ className: "kh-base-map",
73
+ children: /*#__PURE__*/_jsx(VmMap, _objectSpread({
74
+ address: info === null || info === void 0 ? void 0 : info.address
75
+ }, mapParam))
76
+ })]
77
+ })
78
+ }), /*#__PURE__*/_jsxs("div", {
79
+ className: "kh-base-right",
80
+ children: [/*#__PURE__*/_jsx("div", {
81
+ className: "kh-base-right-summary",
82
+ children: /*#__PURE__*/_jsxs(VmWrapper, {
83
+ title: "\u672C\u6708\u8003\u6838\u60C5\u51B5",
84
+ filterType: "monthPicker",
85
+ dateValue: state.date,
86
+ filterChange: filterChange,
87
+ children: [/*#__PURE__*/_jsx("div", {
88
+ className: "kh-base-right-summary-head",
89
+ children: [{
90
+ name: '考核次数',
91
+ value: khRes === null || khRes === void 0 ? void 0 : khRes.monthCheckTims,
92
+ key: 'count',
93
+ unit: '次',
94
+ fontType: 'blue'
95
+ }, {
96
+ name: '考核得分',
97
+ value: khRes === null || khRes === void 0 ? void 0 : khRes.monthPoint,
98
+ key: 'score',
99
+ unit: '分',
100
+ fontType: 'green'
101
+ }, {
102
+ name: '累计扣分',
103
+ value: khRes === null || khRes === void 0 ? void 0 : khRes.monthDeductPoint,
104
+ key: 'subtract',
105
+ unit: '分',
106
+ fontType: 'red'
107
+ }].map(function (ele) {
108
+ return /*#__PURE__*/_jsx(VmFactor, _objectSpread(_objectSpread({}, ele), {}, {
109
+ img: require("../../imgs/".concat(ele.key).concat(isDark ? '' : '_light', ".png")),
110
+ unitStyle: {
111
+ fontSize: 14
112
+ }
113
+ }), ele.key);
114
+ })
115
+ }), /*#__PURE__*/_jsx(VmTitle, {
116
+ title: "\u672C\u6708\u9AD8\u53D1\u95EE\u9898",
117
+ border: false
118
+ }), /*#__PURE__*/_jsxs("div", {
119
+ className: "kh-base-right-question",
120
+ children: [/*#__PURE__*/_jsx("div", {
121
+ className: "kh-base-right-question-left",
122
+ children: /*#__PURE__*/_jsx(VmPieCharts, {
123
+ height: 140,
124
+ dataList: questions === null || questions === void 0 ? void 0 : questions.map(function (ele) {
125
+ return {
126
+ name: ele.ruleName,
127
+ value: ele.times
128
+ };
129
+ }),
130
+ name: "\u9AD8\u53D1\u95EE\u9898",
131
+ loading: false,
132
+ unit: "\u6B21",
133
+ innerRadius: ['70%', '85%'],
134
+ outerRadius: ['85%', '90%'],
135
+ center: ['20%', '50%'],
136
+ legendConfig: {
137
+ right: 0
138
+ }
139
+ })
140
+ }), /*#__PURE__*/_jsxs("div", {
141
+ className: "kh-base-right-question-right ".concat(isDark ? 'dark' : ''),
142
+ children: [/*#__PURE__*/_jsx("div", {
143
+ className: "ques-title",
144
+ children: "\u6700\u5BB9\u6613\u51FA\u73B0\u95EE\u9898\u524D\u4E09:"
145
+ }), questions === null || questions === void 0 ? void 0 : questions.filter(function (ele, index) {
146
+ return index < 3;
147
+ }).map(function (ele, index) {
148
+ return /*#__PURE__*/_jsxs("div", {
149
+ className: "ques-row",
150
+ children: [/*#__PURE__*/_jsx("div", {
151
+ className: "ques-order",
152
+ children: index + 1
153
+ }), /*#__PURE__*/_jsxs("div", {
154
+ className: "ques-name",
155
+ children: [ele.ruleName, " ", ele.times, "\u6B21"]
156
+ })]
157
+ }, ele.ruleId);
158
+ })]
159
+ })]
160
+ }), /*#__PURE__*/_jsx("div", {
161
+ className: "kh-base-right-question-desc ".concat(isDark ? 'dark' : ''),
162
+ children: /*#__PURE__*/_jsx(Tooltip, {
163
+ title: '加强保洁频次与监督;设置报修专线,快速疏通维修;完善设施巡检制度,提升服务标准。,提升服务标准。,提升服务标准',
164
+ children: "\u5EFA\u8BAE\u63AA\u65BD: \u52A0\u5F3A\u4FDD\u6D01\u9891\u6B21\u4E0E\u76D1\u7763\uFF1B\u8BBE\u7F6E\u62A5\u4FEE\u4E13\u7EBF\uFF0C\u5FEB\u901F\u758F\u901A\u7EF4\u4FEE\uFF1B\u5B8C\u5584\u8BBE\u65BD\u5DE1\u68C0\u5236\u5EA6\uFF0C\u63D0\u5347\u670D\u52A1\u6807\u51C6\u3002\uFF0C\u63D0\u5347\u670D\u52A1\u6807\u51C6\u3002\uFF0C\u63D0\u5347\u670D\u52A1\u6807\u51C6\u3002"
165
+ })
166
+ })]
167
+ })
168
+ }), /*#__PURE__*/_jsxs(VmWrapper, {
169
+ title: "\u8FD17\u6708\u8003\u6838\u5F97\u5206\u60C5\u51B5",
170
+ style: {
171
+ height: 300,
172
+ marginTop: 16
173
+ },
174
+ children: [/*#__PURE__*/_jsx(VmBarCharts, {
175
+ dataList: [{
176
+ name: '考核得分',
177
+ data: (monthData === null || monthData === void 0 ? void 0 : monthData.map(function (ele) {
178
+ return ele.point;
179
+ })) || [],
180
+ color: 'geekblue'
181
+ }],
182
+ xAxis: monthData === null || monthData === void 0 ? void 0 : monthData.map(function (ele) {
183
+ return ele.month;
184
+ }),
185
+ yAxisList: [{
186
+ unit: '分',
187
+ name: '(分)',
188
+ key: ''
189
+ }],
190
+ loading: loading,
191
+ height: 250
192
+ }), /*#__PURE__*/_jsx("div", {})]
193
+ })]
194
+ })]
195
+ });
196
+ };
197
+ export default BaseInfo;
@@ -0,0 +1,101 @@
1
+ .kh-base {
2
+ padding: 6px 10px;
3
+ display: flex;
4
+ justify-content: start;
5
+ height: 100%;
6
+ gap: 16px;
7
+
8
+ &-left {
9
+ width: 400px;
10
+ height: 702px;
11
+ }
12
+ &-map {
13
+ width: 100%;
14
+ height: 250px;
15
+ }
16
+
17
+ &-right {
18
+ width: calc(100% - 416px);
19
+
20
+ &-summary {
21
+ height: 386px;
22
+
23
+ &-head {
24
+ display: flex;
25
+ justify-content: space-evenly;
26
+ align-items: center;
27
+ }
28
+ }
29
+
30
+ &-question {
31
+ display: flex;
32
+ align-items: center;
33
+ gap: 24px;
34
+
35
+ &-left {
36
+ flex: 1;
37
+ }
38
+ &-right {
39
+ --q-title-color: #f5222d;
40
+
41
+ width: 284px;
42
+ height: 140px;
43
+ background: url('../../imgs/question_bg_light.png') 100% 100% no-repeat;
44
+ padding: 9px 18px;
45
+
46
+ &.dark {
47
+ --q-title-color: #ff5861;
48
+
49
+ background: url('../../imgs/question_bg.png') 100% 100% no-repeat;
50
+ }
51
+
52
+ .ques-title {
53
+ color: var(--q-title-color);
54
+ font-family: Alibaba PuHuiTi 3, Alibaba PuHuiTi 30;
55
+ font-weight: normal;
56
+ font-size: 14px;
57
+ line-height: 24px;
58
+ }
59
+ .ques-row {
60
+ display: flex;
61
+ align-items: center;
62
+ gap: 8px;
63
+ line-height: 28px;
64
+ }
65
+ .ques-order {
66
+ width: 16px;
67
+ height: 16px;
68
+ line-height: 14px;
69
+ border-radius: 50%;
70
+ font-size: 12px;
71
+ text-align: center;
72
+ color: #fff;
73
+ background: var(--q-title-color);
74
+ transform: translateY(1px);
75
+ }
76
+ .ques-name {
77
+ color: var(--modal-title-color);
78
+ }
79
+ }
80
+ &-desc {
81
+ --q-desc-bg: rgba(22, 119, 255, 0.08);
82
+ --q-desc-color: #1677ff;
83
+ &.dark {
84
+ --q-desc-bg: rgba(0, 183, 255, 0.08);
85
+ --q-desc-color: #00b7ff;
86
+ }
87
+ width: 100%;
88
+ height: 36px;
89
+ line-height: 36px;
90
+ padding-left: 12px;
91
+ margin-top: 24px;
92
+ border-radius: 8px;
93
+ overflow: hidden;
94
+ text-overflow: ellipsis;
95
+ white-space: nowrap;
96
+ color: var(--q-desc-color);
97
+ background: var(--q-desc-bg);
98
+ }
99
+ }
100
+ }
101
+ }
@@ -0,0 +1,204 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
+ function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
8
+ function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
9
+ function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
10
+ function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
11
+ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
12
+ 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."); }
13
+ 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); }
14
+ 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; }
15
+ 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; } }
16
+ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
17
+ /**
18
+ * 考核信息-列表
19
+ */
20
+
21
+ import { VtxImage } from '@vtx/components';
22
+ import { useSetState } from 'ahooks';
23
+ import dayjs from 'dayjs';
24
+ import { VmFactor, VmFilter, VmTable, VmWrapper } from "../../../_components";
25
+ import useSettings from "../../../_hooks/useSettings";
26
+ import { BaseService, ReocrdService } from "../../api2";
27
+ import "./index.less";
28
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
29
+ var List = function List(props) {
30
+ var _useSettings = useSettings(),
31
+ isDark = _useSettings.isDark;
32
+ var id = props.id;
33
+ var _useSetState = useSetState({
34
+ pagination: {
35
+ current: 1,
36
+ pageSize: 10,
37
+ total: 0
38
+ },
39
+ startDate: dayjs().startOf('M'),
40
+ endDate: dayjs(),
41
+ checkActivityCode: '1',
42
+ sort: ''
43
+ }),
44
+ _useSetState2 = _slicedToArray(_useSetState, 2),
45
+ state = _useSetState2[0],
46
+ setState = _useSetState2[1];
47
+ var pagination = state.pagination,
48
+ startDate = state.startDate,
49
+ endDate = state.endDate,
50
+ checkActivityCode = state.checkActivityCode,
51
+ sort = state.sort;
52
+ var _BaseService$useKhInf = BaseService.useKhInfo(id, startDate.format('YYYY-MM-DD'), endDate.format('YYYY-MM-DD'), checkActivityCode === '1' ? '' : checkActivityCode),
53
+ khRes = _BaseService$useKhInf.khRes;
54
+ var _ReocrdService$useRec = ReocrdService.useRecordInfo(id, startDate.format('YYYY-MM-DD'), endDate.format('YYYY-MM-DD'), checkActivityCode === '1' ? '' : checkActivityCode, pagination.current - 1, sort),
55
+ records = _ReocrdService$useRec.records,
56
+ loading = _ReocrdService$useRec.loading;
57
+ var columns = [{
58
+ title: '考核图片',
59
+ dataIndex: 'photos',
60
+ key: 'photos',
61
+ width: 120,
62
+ render: function render(text) {
63
+ var photos = JSON.parse(text || '[]');
64
+ var a = [].concat(_toConsumableArray(photos), _toConsumableArray(photos), _toConsumableArray(photos), _toConsumableArray(photos));
65
+ return (photos === null || photos === void 0 ? void 0 : photos.length) > 0 ? /*#__PURE__*/_jsx(VtxImage.PreviewGroup, {
66
+ children: a.map(function (ele, index) {
67
+ return /*#__PURE__*/_jsx(VtxImage, {
68
+ src: "".concat(process.env.PREFIX || '', "/cloudFile/common/downloadFile?id=").concat(ele.id),
69
+ style: {
70
+ width: 80,
71
+ height: 80,
72
+ visibility: index > 0 ? 'hidden' : 'visible'
73
+ },
74
+ alt: ele.name
75
+ }, index);
76
+ })
77
+ }) : '--';
78
+ }
79
+ }, {
80
+ title: '考核时间',
81
+ dataIndex: 'checkDate',
82
+ key: 'checkDate',
83
+ width: 150,
84
+ ellipsis: true
85
+ }, {
86
+ title: '考核活动',
87
+ dataIndex: 'checkActivityName',
88
+ key: 'checkActivityName',
89
+ width: 200
90
+ }, {
91
+ title: '考核人',
92
+ dataIndex: 'checkUserName',
93
+ key: 'checkUserName'
94
+ }, {
95
+ title: '考核分组',
96
+ dataIndex: 'ruleGroupName',
97
+ key: 'ruleGroupName'
98
+ }, {
99
+ title: '考核标准',
100
+ dataIndex: 'ruleName',
101
+ key: 'ruleName',
102
+ width: 150
103
+ }, {
104
+ title: '分值',
105
+ dataIndex: 'deductPoints',
106
+ key: 'deductPoints',
107
+ align: 'right'
108
+ }];
109
+ var pageChange = function pageChange(page) {
110
+ setState({
111
+ pagination: _objectSpread(_objectSpread({}, pagination), {}, {
112
+ current: page
113
+ })
114
+ });
115
+ };
116
+ var tableProps = {
117
+ pagination: _objectSpread(_objectSpread({}, pagination), {}, {
118
+ total: records.total,
119
+ defaultPageSize: 10,
120
+ onChange: pageChange
121
+ }),
122
+ height: 384,
123
+ loading: loading,
124
+ dataSource: records.rows,
125
+ onChange: function onChange(_pagination, _filters, sorter) {
126
+ if (sorter.order) {
127
+ var order = sorter.order === 'ascend' ? 'asc' : 'desc';
128
+ setState({
129
+ sort: "".concat(sorter.field, ",").concat(order)
130
+ });
131
+ } else {
132
+ setState({
133
+ sort: ''
134
+ });
135
+ }
136
+ }
137
+ };
138
+ var filterChange = function filterChange(dateValue) {
139
+ setState({
140
+ startDate: dateValue[0],
141
+ endDate: dateValue[1]
142
+ });
143
+ };
144
+ return /*#__PURE__*/_jsxs(VmWrapper, {
145
+ title: "\u8003\u6838\u8BE6\u60C5",
146
+ filterType: "rangePicker",
147
+ dateValue: [startDate, endDate],
148
+ filterChange: filterChange,
149
+ extraLeft: /*#__PURE__*/_jsx(VmFilter.VMSelect, {
150
+ options: [{
151
+ value: '1',
152
+ label: '全部'
153
+ }, {
154
+ value: 'RCDC',
155
+ label: '日常督查'
156
+ }, {
157
+ value: 'ZXDC',
158
+ label: '专项督查'
159
+ }, {
160
+ value: 'DSFCP',
161
+ label: '第三方测评'
162
+ }, {
163
+ value: 'RCXC',
164
+ label: '日常巡查'
165
+ }],
166
+ style: {
167
+ width: 132
168
+ },
169
+ value: checkActivityCode,
170
+ onChange: function onChange(e) {
171
+ return setState({
172
+ checkActivityCode: e
173
+ });
174
+ }
175
+ }),
176
+ children: [/*#__PURE__*/_jsx("div", {
177
+ className: "kh-record-summary",
178
+ children: [{
179
+ name: '考核次数',
180
+ value: khRes === null || khRes === void 0 ? void 0 : khRes.monthCheckTims,
181
+ key: 'count',
182
+ unit: '次',
183
+ fontType: 'blue'
184
+ }, {
185
+ name: '累计扣分',
186
+ value: khRes === null || khRes === void 0 ? void 0 : khRes.monthDeductPoint,
187
+ key: 'subtract',
188
+ unit: '分',
189
+ fontType: 'red'
190
+ }].map(function (ele) {
191
+ return /*#__PURE__*/_jsx(VmFactor, _objectSpread(_objectSpread({}, ele), {}, {
192
+ img: require("../../imgs/".concat(ele.key).concat(isDark ? '' : '_light', ".png")),
193
+ unitStyle: {
194
+ fontSize: 14
195
+ }
196
+ }), ele.key);
197
+ })
198
+ }), /*#__PURE__*/_jsx(VmTable, _objectSpread({
199
+ columns: columns,
200
+ rowKey: "id"
201
+ }, tableProps))]
202
+ });
203
+ };
204
+ export default List;
@@ -0,0 +1,7 @@
1
+ .kh-record-summary {
2
+ display: flex;
3
+ justify-content: center;
4
+ align-items: center;
5
+ gap: 100px;
6
+ margin: 16px 0;
7
+ }
@@ -0,0 +1,3 @@
1
+ import BaseInfo from "./BaseInfo";
2
+ import Record from "./Record";
3
+ export { BaseInfo, Record };
Binary file
Binary file
@@ -0,0 +1,46 @@
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 _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; }
3
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
4
+ 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); }
5
+ /**
6
+ * 考核弹窗
7
+ */
8
+ import VtxBaseModal from "../vtx-base-modal";
9
+ import BaseInfo from "./components/BaseInfo";
10
+ import Record from "./components/Record";
11
+ import "./style";
12
+ import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
13
+ var TABS_BASE = 'base';
14
+ var TABS_RECORD = 'record';
15
+ var VtxKhModal = function VtxKhModal(props) {
16
+ var id = props.id,
17
+ title = props.title,
18
+ mapCenter = props.mapCenter,
19
+ theme = props.theme,
20
+ visible = props.visible,
21
+ onCancel = props.onCancel;
22
+ return /*#__PURE__*/_jsx(_Fragment, {
23
+ children: visible && /*#__PURE__*/_jsx(VtxBaseModal, {
24
+ id: id,
25
+ type: "facility",
26
+ title: title,
27
+ theme: theme,
28
+ visible: visible,
29
+ onCancel: onCancel,
30
+ tabs: [{
31
+ key: TABS_BASE,
32
+ title: '总览信息'
33
+ }, {
34
+ key: TABS_RECORD,
35
+ title: '考核记录'
36
+ }],
37
+ contents: _defineProperty(_defineProperty({}, TABS_BASE, /*#__PURE__*/_jsx(BaseInfo, {
38
+ id: id,
39
+ mapCenter: mapCenter
40
+ })), TABS_RECORD, /*#__PURE__*/_jsx(Record, {
41
+ id: id
42
+ }))
43
+ })
44
+ });
45
+ };
46
+ export default VtxKhModal;
@@ -0,0 +1,4 @@
1
+ // import 'antd/es/modal/style/css';
2
+ import "./index.less";
3
+ // import './baseInfo.less';
4
+ import "../components/BaseInfo/index.less";
@@ -0,0 +1 @@
1
+ @import '../../style/index';