win-chart 1.0.3 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (444) hide show
  1. package/README.md +15 -0
  2. package/esm/api/README.md +15 -0
  3. package/esm/api/index.js +6 -0
  4. package/esm/api/index.js.map +1 -0
  5. package/esm/api/layout/index.js +53 -0
  6. package/esm/api/layout/index.js.map +1 -0
  7. package/esm/api/request.d.ts +24 -0
  8. package/esm/api/request.js +89 -0
  9. package/esm/api/request.js.map +1 -0
  10. package/esm/api/url-map/index.js +7 -0
  11. package/esm/api/user/index.js +33 -0
  12. package/esm/api/user/index.js.map +1 -0
  13. package/esm/components/FilterContext.d.ts +3 -0
  14. package/esm/components/FilterContext.js +7 -0
  15. package/esm/components/FilterContext.js.map +1 -0
  16. package/esm/components/GlobalStyle.d.ts +2 -0
  17. package/esm/components/GlobalStyle.js +26 -0
  18. package/esm/components/GlobalStyle.js.map +1 -0
  19. package/esm/components/HalfScreenBrowser.d.ts +1 -0
  20. package/esm/components/HalfScreenBrowser.js +96 -0
  21. package/esm/components/HalfScreenBrowser.js.map +1 -0
  22. package/esm/components/ImgBox.d.ts +8 -0
  23. package/esm/components/ImgBox.js +15 -0
  24. package/esm/components/ImgBox.js.map +1 -0
  25. package/esm/components/JumpBtn.d.ts +11 -0
  26. package/esm/components/JumpBtn.js +40 -0
  27. package/esm/components/JumpBtn.js.map +1 -0
  28. package/esm/components/MCardWrapper.d.ts +4 -0
  29. package/esm/components/MCardWrapper.js +36 -0
  30. package/esm/components/MCardWrapper.js.map +1 -0
  31. package/esm/components/NoContent/index.d.ts +10 -0
  32. package/esm/components/NoContent/index.js +68 -0
  33. package/esm/components/NoContent/index.js.map +1 -0
  34. package/esm/components/ResponsiveReactGridLayout.d.ts +4 -0
  35. package/esm/components/ResponsiveReactGridLayout.js +15 -0
  36. package/esm/components/ResponsiveReactGridLayout.js.map +1 -0
  37. package/esm/components/SliderDecoration.d.ts +3 -0
  38. package/esm/components/SliderDecoration.js +51 -0
  39. package/esm/components/SliderDecoration.js.map +1 -0
  40. package/esm/components/VisionUserConfigContext.d.ts +1 -0
  41. package/esm/components/VisionUserConfigContext.js +4 -0
  42. package/esm/components/VisionUserConfigContext.js.map +1 -0
  43. package/esm/components/WinMenu/README.md +11 -0
  44. package/esm/components/WinMenu/WinHeader.d.ts +2 -0
  45. package/esm/components/WinMenu/WinHeader.js +15 -0
  46. package/esm/components/WinMenu/WinHeader.js.map +1 -0
  47. package/esm/components/WinMenu/components/ExtraBox.d.ts +7 -0
  48. package/esm/components/WinMenu/components/ExtraBox.js +57 -0
  49. package/esm/components/WinMenu/components/ExtraBox.js.map +1 -0
  50. package/esm/components/WinMenu/components/FullMenuBox.d.ts +2 -0
  51. package/esm/components/WinMenu/components/FullMenuBox.js +67 -0
  52. package/esm/components/WinMenu/components/FullMenuBox.js.map +1 -0
  53. package/esm/components/WinMenu/components/FullMenuContainer.d.ts +2 -0
  54. package/esm/components/WinMenu/components/FullMenuContainer.js +41 -0
  55. package/esm/components/WinMenu/components/FullMenuContainer.js.map +1 -0
  56. package/esm/components/WinMenu/components/FullMenuItem.d.ts +7 -0
  57. package/esm/components/WinMenu/components/FullMenuItem.js +75 -0
  58. package/esm/components/WinMenu/components/FullMenuItem.js.map +1 -0
  59. package/esm/components/WinMenu/components/LangSwitch.d.ts +1 -0
  60. package/esm/components/WinMenu/components/LangSwitch.js +86 -0
  61. package/esm/components/WinMenu/components/LangSwitch.js.map +1 -0
  62. package/esm/components/WinMenu/components/LogoBox.d.ts +4 -0
  63. package/esm/components/WinMenu/components/LogoBox.js +42 -0
  64. package/esm/components/WinMenu/components/LogoBox.js.map +1 -0
  65. package/esm/components/WinMenu/components/PinDialog.d.ts +9 -0
  66. package/esm/components/WinMenu/components/PinDialog.js +56 -0
  67. package/esm/components/WinMenu/components/PinDialog.js.map +1 -0
  68. package/esm/components/WinMenu/components/PinnedMenuBox.d.ts +11 -0
  69. package/esm/components/WinMenu/components/PinnedMenuBox.js +188 -0
  70. package/esm/components/WinMenu/components/PinnedMenuBox.js.map +1 -0
  71. package/esm/components/WinMenu/components/UserBox.d.ts +2 -0
  72. package/esm/components/WinMenu/components/UserBox.js +87 -0
  73. package/esm/components/WinMenu/components/UserBox.js.map +1 -0
  74. package/esm/components/WinMenu/hooks/useUserInfo.d.ts +1 -0
  75. package/esm/components/WinMenu/hooks/useUserInfo.js +52 -0
  76. package/esm/components/WinMenu/hooks/useUserInfo.js.map +1 -0
  77. package/esm/components/WinMenu/hooks/useUserMenu.d.ts +8 -0
  78. package/esm/components/WinMenu/hooks/useUserMenu.js +73 -0
  79. package/esm/components/WinMenu/hooks/useUserMenu.js.map +1 -0
  80. package/esm/components/WinMenu/index.d.ts +7 -0
  81. package/esm/components/WinMenu/index.js +151 -0
  82. package/esm/components/WinMenu/index.js.map +1 -0
  83. package/esm/components/WinMenu/services/WinService.d.ts +23 -0
  84. package/esm/components/WinMenu/services/WinService.js +155 -0
  85. package/esm/components/WinMenu/services/WinService.js.map +1 -0
  86. package/esm/components/WinMenu/services/request.d.ts +2 -0
  87. package/esm/components/WinMenu/services/request.js +60 -0
  88. package/esm/components/WinMenu/services/request.js.map +1 -0
  89. package/esm/components/WinMenu/utils/const.d.ts +36 -0
  90. package/esm/components/WinMenu/utils/const.js +52 -0
  91. package/esm/components/WinMenu/utils/enum.d.ts +17 -0
  92. package/esm/components/WinMenu/utils/enum.js +14 -0
  93. package/esm/components/WinMenu/utils/interface.d.ts +54 -0
  94. package/esm/components/WinMenu/utils/interface.js +3 -0
  95. package/esm/components/WinMenu/utils/map.d.ts +14 -0
  96. package/esm/components/WinMenu/utils/map.js +37 -0
  97. package/esm/components/WinMenu/utils/map.js.map +1 -0
  98. package/esm/components/WinMenu/utils/tool.d.ts +70 -0
  99. package/esm/components/WinMenu/utils/tool.js +154 -0
  100. package/esm/components/WinMenu/utils/tool.js.map +1 -0
  101. package/esm/components/WinMenu/utils/type.d.ts +1 -0
  102. package/esm/components/WinMenu/utils/type.js +1 -0
  103. package/esm/components/hover-view.d.ts +11 -0
  104. package/esm/components/hover-view.js +27 -0
  105. package/esm/components/hover-view.js.map +1 -0
  106. package/esm/components/icon.js +36 -0
  107. package/esm/components/icon.js.map +1 -0
  108. package/esm/components/indicator-remark.d.ts +6 -0
  109. package/esm/components/indicator-remark.js +20 -0
  110. package/esm/components/indicator-remark.js.map +1 -0
  111. package/esm/components/none-content.d.ts +11 -0
  112. package/esm/components/none-content.js +70 -0
  113. package/esm/components/none-content.js.map +1 -0
  114. package/esm/components/panel-tab.d.ts +15 -0
  115. package/esm/components/panel-tab.js +160 -0
  116. package/esm/components/panel-tab.js.map +1 -0
  117. package/esm/components/panel-title-tab.d.ts +12 -0
  118. package/esm/components/panel-title-tab.js +40 -0
  119. package/esm/components/panel-title-tab.js.map +1 -0
  120. package/esm/components/win-card/components/ChartContent.d.ts +8 -0
  121. package/esm/components/win-card/components/ChartContent.js +36 -0
  122. package/esm/components/win-card/components/ChartContent.js.map +1 -0
  123. package/esm/components/win-card/components/Indicator.d.ts +2 -0
  124. package/esm/components/win-card/components/Indicator.js +40 -0
  125. package/esm/components/win-card/components/Indicator.js.map +1 -0
  126. package/esm/components/win-card/components/IndicatorArea.d.ts +2 -0
  127. package/esm/components/win-card/components/IndicatorArea.js +57 -0
  128. package/esm/components/win-card/components/IndicatorArea.js.map +1 -0
  129. package/esm/components/win-card/components/IndicatorInfo.d.ts +14 -0
  130. package/esm/components/win-card/components/IndicatorInfo.js +67 -0
  131. package/esm/components/win-card/components/IndicatorInfo.js.map +1 -0
  132. package/esm/components/win-card/components/MatterContent.d.ts +5 -0
  133. package/esm/components/win-card/components/MatterContent.js +124 -0
  134. package/esm/components/win-card/components/MatterContent.js.map +1 -0
  135. package/esm/components/win-card/components/MatterList.d.ts +7 -0
  136. package/esm/components/win-card/components/MatterList.js +115 -0
  137. package/esm/components/win-card/components/MatterList.js.map +1 -0
  138. package/esm/components/win-card/components/NoticeContent.d.ts +6 -0
  139. package/esm/components/win-card/components/NoticeContent.js +75 -0
  140. package/esm/components/win-card/components/NoticeContent.js.map +1 -0
  141. package/esm/components/win-card/components/NoticeList.d.ts +7 -0
  142. package/esm/components/win-card/components/NoticeList.js +55 -0
  143. package/esm/components/win-card/components/NoticeList.js.map +1 -0
  144. package/esm/components/win-card/components/SelectDecoration.d.ts +4 -0
  145. package/esm/components/win-card/components/SelectDecoration.js +43 -0
  146. package/esm/components/win-card/components/SelectDecoration.js.map +1 -0
  147. package/esm/components/win-card/components/WinRankContent.d.ts +1 -0
  148. package/esm/components/win-card/components/WinRankContent.js +99 -0
  149. package/esm/components/win-card/components/WinRankContent.js.map +1 -0
  150. package/esm/components/win-card/index.d.ts +9 -0
  151. package/esm/components/win-card/index.js +263 -0
  152. package/esm/components/win-card/index.js.map +1 -0
  153. package/esm/components/win-card/utils/interface.d.ts +11 -0
  154. package/esm/components/win-card/utils/interface.js +1 -0
  155. package/esm/components/win-card/utils/tool.d.ts +1 -0
  156. package/esm/components/win-card/utils/tool.js +14 -0
  157. package/esm/components/win-card/utils/tool.js.map +1 -0
  158. package/esm/components/win-card-mobile/components/ChartContent.d.ts +8 -0
  159. package/esm/components/win-card-mobile/components/ChartContent.js +36 -0
  160. package/esm/components/win-card-mobile/components/ChartContent.js.map +1 -0
  161. package/esm/components/win-card-mobile/components/DualLineBar.d.ts +2 -0
  162. package/esm/components/win-card-mobile/components/DualLineBar.js +41 -0
  163. package/esm/components/win-card-mobile/components/DualLineBar.js.map +1 -0
  164. package/esm/components/win-card-mobile/components/Indicator.d.ts +2 -0
  165. package/esm/components/win-card-mobile/components/Indicator.js +40 -0
  166. package/esm/components/win-card-mobile/components/Indicator.js.map +1 -0
  167. package/esm/components/win-card-mobile/components/IndicatorArea.d.ts +2 -0
  168. package/esm/components/win-card-mobile/components/IndicatorArea.js +59 -0
  169. package/esm/components/win-card-mobile/components/IndicatorArea.js.map +1 -0
  170. package/esm/components/win-card-mobile/components/IndicatorInfo.d.ts +13 -0
  171. package/esm/components/win-card-mobile/components/IndicatorInfo.js +72 -0
  172. package/esm/components/win-card-mobile/components/IndicatorInfo.js.map +1 -0
  173. package/esm/components/win-card-mobile/components/SelectDecoration.d.ts +9 -0
  174. package/esm/components/win-card-mobile/components/SelectDecoration.js +33 -0
  175. package/esm/components/win-card-mobile/components/SelectDecoration.js.map +1 -0
  176. package/esm/components/win-card-mobile/index.d.ts +7 -0
  177. package/esm/components/win-card-mobile/index.js +215 -0
  178. package/esm/components/win-card-mobile/index.js.map +1 -0
  179. package/esm/components/win-card-mobile/utils/interface.d.ts +10 -0
  180. package/esm/components/win-card-mobile/utils/interface.js +1 -0
  181. package/esm/components/win-card-mobile/utils/tool.d.ts +1 -0
  182. package/esm/components/win-card-mobile/utils/tool.js +8 -0
  183. package/esm/components/win-chart/components/chart-wrapper.d.ts +2 -0
  184. package/esm/components/win-chart/components/chart-wrapper.js +14 -0
  185. package/esm/components/win-chart/components/chart-wrapper.js.map +1 -0
  186. package/esm/components/win-chart/index.d.ts +4 -0
  187. package/esm/components/win-chart/index.js +60 -0
  188. package/esm/components/win-chart/index.js.map +1 -0
  189. package/esm/components/win-chart/theme/win-dark.json +372 -0
  190. package/esm/components/win-chart/theme/win-light.json +372 -0
  191. package/esm/components/win-chart/utils/const.d.ts +8 -0
  192. package/esm/components/win-chart/utils/const.js +34 -0
  193. package/esm/components/win-chart/utils/getAreaSpec.d.ts +14 -0
  194. package/esm/components/win-chart/utils/getAreaSpec.js +149 -0
  195. package/esm/components/win-chart/utils/getAreaSpec.js.map +1 -0
  196. package/esm/components/win-chart/utils/getBarSpec.d.ts +8 -0
  197. package/esm/components/win-chart/utils/getBarSpec.js +66 -0
  198. package/esm/components/win-chart/utils/getBarSpec.js.map +1 -0
  199. package/esm/components/win-chart/utils/getChartOptions.d.ts +7 -0
  200. package/esm/components/win-chart/utils/getChartOptions.js +45 -0
  201. package/esm/components/win-chart/utils/getChartOptions.js.map +1 -0
  202. package/esm/components/win-chart/utils/getColumnSpec.d.ts +14 -0
  203. package/esm/components/win-chart/utils/getColumnSpec.js +119 -0
  204. package/esm/components/win-chart/utils/getColumnSpec.js.map +1 -0
  205. package/esm/components/win-chart/utils/getDualSpec.d.ts +7 -0
  206. package/esm/components/win-chart/utils/getDualSpec.js +93 -0
  207. package/esm/components/win-chart/utils/getDualSpec.js.map +1 -0
  208. package/esm/components/win-chart/utils/getFunnelSpec.d.ts +8 -0
  209. package/esm/components/win-chart/utils/getFunnelSpec.js +66 -0
  210. package/esm/components/win-chart/utils/getFunnelSpec.js.map +1 -0
  211. package/esm/components/win-chart/utils/getLineSpec.d.ts +8 -0
  212. package/esm/components/win-chart/utils/getLineSpec.js +52 -0
  213. package/esm/components/win-chart/utils/getLineSpec.js.map +1 -0
  214. package/esm/components/win-chart/utils/getPieSpec.d.ts +13 -0
  215. package/esm/components/win-chart/utils/getPieSpec.js +126 -0
  216. package/esm/components/win-chart/utils/getPieSpec.js.map +1 -0
  217. package/esm/components/win-chart/utils/getRadarSpec.d.ts +7 -0
  218. package/esm/components/win-chart/utils/getRadarSpec.js +88 -0
  219. package/esm/components/win-chart/utils/getRadarSpec.js.map +1 -0
  220. package/esm/components/win-chart/utils/tool.d.ts +57 -0
  221. package/esm/components/win-chart/utils/tool.js +146 -0
  222. package/esm/components/win-chart/utils/tool.js.map +1 -0
  223. package/esm/components/win-chart/utils/type.d.ts +82 -0
  224. package/esm/components/win-chart/utils/type.js +36 -0
  225. package/esm/components/win-icon/index.d.ts +9 -0
  226. package/esm/components/win-icon/index.js +79 -0
  227. package/esm/components/win-icon/index.js.map +1 -0
  228. package/esm/components/win-wrappers/card-wrapper.d.ts +17 -0
  229. package/esm/components/win-wrappers/card-wrapper.js +170 -0
  230. package/esm/components/win-wrappers/card-wrapper.js.map +1 -0
  231. package/esm/components/win-wrappers/dot-wrapper.d.ts +4 -0
  232. package/esm/components/win-wrappers/dot-wrapper.js +29 -0
  233. package/esm/components/win-wrappers/dot-wrapper.js.map +1 -0
  234. package/esm/components/win-wrappers/iframe-wrapper.d.ts +2 -0
  235. package/esm/components/win-wrappers/iframe-wrapper.js +14 -0
  236. package/esm/components/win-wrappers/iframe-wrapper.js.map +1 -0
  237. package/esm/components/win-wrappers/request-wrapper.d.ts +41 -0
  238. package/esm/components/win-wrappers/request-wrapper.js +170 -0
  239. package/esm/components/win-wrappers/request-wrapper.js.map +1 -0
  240. package/esm/hooks/useCardOptionList.d.ts +1 -0
  241. package/esm/hooks/useCardOptionList.js +58 -0
  242. package/esm/hooks/useCardOptionList.js.map +1 -0
  243. package/esm/hooks/useCostFiltersDicList.d.ts +1 -0
  244. package/esm/hooks/useCostFiltersDicList.js +61 -0
  245. package/esm/hooks/useCostFiltersDicList.js.map +1 -0
  246. package/esm/hooks/useFbiUrl.d.ts +1 -0
  247. package/esm/hooks/useFbiUrl.js +58 -0
  248. package/esm/hooks/useFbiUrl.js.map +1 -0
  249. package/esm/hooks/useHalfScreenState.d.ts +19 -0
  250. package/esm/hooks/useHalfScreenState.js +52 -0
  251. package/esm/hooks/useHalfScreenState.js.map +1 -0
  252. package/esm/hooks/useHasIntersected.d.ts +8 -0
  253. package/esm/hooks/useHasIntersected.js +33 -0
  254. package/esm/hooks/useHasIntersected.js.map +1 -0
  255. package/esm/hooks/useIndicatorCardInfo.d.ts +1 -0
  256. package/esm/hooks/useIndicatorCardInfo.js +61 -0
  257. package/esm/hooks/useIndicatorCardInfo.js.map +1 -0
  258. package/esm/hooks/useIndicatorCardQueryList.d.ts +1 -0
  259. package/esm/hooks/useIndicatorCardQueryList.js +59 -0
  260. package/esm/hooks/useIndicatorCardQueryList.js.map +1 -0
  261. package/esm/hooks/useIndicatorClassifyList.d.ts +1 -0
  262. package/esm/hooks/useIndicatorClassifyList.js +57 -0
  263. package/esm/hooks/useIndicatorClassifyList.js.map +1 -0
  264. package/esm/hooks/useIndicatorDetailsDateList.d.ts +1 -0
  265. package/esm/hooks/useIndicatorDetailsDateList.js +59 -0
  266. package/esm/hooks/useIndicatorDetailsDateList.js.map +1 -0
  267. package/esm/hooks/useIndicatorDetailsInfo.d.ts +4 -0
  268. package/esm/hooks/useIndicatorDetailsInfo.js +102 -0
  269. package/esm/hooks/useIndicatorDetailsInfo.js.map +1 -0
  270. package/esm/hooks/useIndicatorDetailsTrend.d.ts +1 -0
  271. package/esm/hooks/useIndicatorDetailsTrend.js +60 -0
  272. package/esm/hooks/useIndicatorDetailsTrend.js.map +1 -0
  273. package/esm/hooks/useIndicatorDicList.d.ts +1 -0
  274. package/esm/hooks/useIndicatorDicList.js +59 -0
  275. package/esm/hooks/useIndicatorDicList.js.map +1 -0
  276. package/esm/hooks/useIndicatorLabelList.d.ts +1 -0
  277. package/esm/hooks/useIndicatorLabelList.js +51 -0
  278. package/esm/hooks/useIndicatorLabelList.js.map +1 -0
  279. package/esm/hooks/useIndicatorList.d.ts +1 -0
  280. package/esm/hooks/useIndicatorList.js +53 -0
  281. package/esm/hooks/useIndicatorList.js.map +1 -0
  282. package/esm/hooks/useIndicatorRangeList.d.ts +1 -0
  283. package/esm/hooks/useIndicatorRangeList.js +51 -0
  284. package/esm/hooks/useIndicatorRangeList.js.map +1 -0
  285. package/esm/hooks/useIndicatorTypeList.d.ts +1 -0
  286. package/esm/hooks/useIndicatorTypeList.js +51 -0
  287. package/esm/hooks/useIndicatorTypeList.js.map +1 -0
  288. package/esm/hooks/useIndicatorUnitList.d.ts +1 -0
  289. package/esm/hooks/useIndicatorUnitList.js +50 -0
  290. package/esm/hooks/useIndicatorUnitList.js.map +1 -0
  291. package/esm/hooks/useListenQuery.d.ts +1 -0
  292. package/esm/hooks/useListenQuery.js +24 -0
  293. package/esm/hooks/useListenQuery.js.map +1 -0
  294. package/esm/hooks/useMobile.d.ts +13 -0
  295. package/esm/hooks/useMobile.js +51 -0
  296. package/esm/hooks/useMobile.js.map +1 -0
  297. package/esm/hooks/useNotice.d.ts +2 -0
  298. package/esm/hooks/useNotice.js +109 -0
  299. package/esm/hooks/useNotice.js.map +1 -0
  300. package/esm/hooks/useOrgLevelList.d.ts +1 -0
  301. package/esm/hooks/useOrgLevelList.js +58 -0
  302. package/esm/hooks/useOrgLevelList.js.map +1 -0
  303. package/esm/hooks/usePageSelection.d.ts +6 -0
  304. package/esm/hooks/usePageSelection.js +99 -0
  305. package/esm/hooks/usePageSelection.js.map +1 -0
  306. package/esm/hooks/usePageState.d.ts +12 -0
  307. package/esm/hooks/usePageState.js +20 -0
  308. package/esm/hooks/usePageState.js.map +1 -0
  309. package/esm/hooks/usePendingList.d.ts +1 -0
  310. package/esm/hooks/usePendingList.js +75 -0
  311. package/esm/hooks/usePendingList.js.map +1 -0
  312. package/esm/hooks/usePortalPageInfo.d.ts +10 -0
  313. package/esm/hooks/usePortalPageInfo.js +71 -0
  314. package/esm/hooks/usePortalPageInfo.js.map +1 -0
  315. package/esm/hooks/useRefreshByLocationChange.d.ts +1 -0
  316. package/esm/hooks/useRefreshByLocationChange.js +18 -0
  317. package/esm/hooks/useRefreshByLocationChange.js.map +1 -0
  318. package/esm/hooks/useReportIndicatorList.d.ts +1 -0
  319. package/esm/hooks/useReportIndicatorList.js +50 -0
  320. package/esm/hooks/useReportIndicatorList.js.map +1 -0
  321. package/esm/hooks/useReportInfo.d.ts +2 -0
  322. package/esm/hooks/useReportInfo.js +109 -0
  323. package/esm/hooks/useReportInfo.js.map +1 -0
  324. package/esm/hooks/useReportPersonList.d.ts +1 -0
  325. package/esm/hooks/useReportPersonList.js +50 -0
  326. package/esm/hooks/useReportPersonList.js.map +1 -0
  327. package/esm/hooks/useScriptLoader.d.ts +1 -0
  328. package/esm/hooks/useScriptLoader.js +26 -0
  329. package/esm/hooks/useScriptLoader.js.map +1 -0
  330. package/esm/hooks/useUnreadMsgList.d.ts +4 -0
  331. package/esm/hooks/useUnreadMsgList.js +56 -0
  332. package/esm/hooks/useUnreadMsgList.js.map +1 -0
  333. package/esm/hooks/useUserAvatar.d.ts +1 -0
  334. package/esm/hooks/useUserAvatar.js +59 -0
  335. package/esm/hooks/useUserAvatar.js.map +1 -0
  336. package/esm/hooks/useVReportInfo.d.ts +2 -0
  337. package/esm/hooks/useVReportInfo.js +113 -0
  338. package/esm/hooks/useVReportInfo.js.map +1 -0
  339. package/esm/hooks/useVisionUserConfig.d.ts +4 -0
  340. package/esm/hooks/useVisionUserConfig.js +57 -0
  341. package/esm/hooks/useVisionUserConfig.js.map +1 -0
  342. package/esm/hooks/useWorkbenchOptions.d.ts +5 -0
  343. package/esm/hooks/useWorkbenchOptions.js +116 -0
  344. package/esm/hooks/useWorkbenchOptions.js.map +1 -0
  345. package/esm/index.d.ts +3 -0
  346. package/esm/index.js +5 -0
  347. package/esm/index.js.map +1 -0
  348. package/esm/index.module.css +4 -0
  349. package/esm/services/CardService.d.ts +33 -0
  350. package/esm/services/CardService.js +183 -0
  351. package/esm/services/CardService.js.map +1 -0
  352. package/esm/services/CommonService.d.ts +8 -0
  353. package/esm/services/CommonService.js +44 -0
  354. package/esm/services/CommonService.js.map +1 -0
  355. package/esm/services/CostService.d.ts +13 -0
  356. package/esm/services/CostService.js +117 -0
  357. package/esm/services/CostService.js.map +1 -0
  358. package/esm/services/DialogService.d.ts +24 -0
  359. package/esm/services/DialogService.js +150 -0
  360. package/esm/services/DialogService.js.map +1 -0
  361. package/esm/services/IndicatorService.d.ts +135 -0
  362. package/esm/services/IndicatorService.js +732 -0
  363. package/esm/services/IndicatorService.js.map +1 -0
  364. package/esm/services/PageService.d.ts +44 -0
  365. package/esm/services/PageService.js +337 -0
  366. package/esm/services/PageService.js.map +1 -0
  367. package/esm/services/ReportService.d.ts +99 -0
  368. package/esm/services/ReportService.js +610 -0
  369. package/esm/services/ReportService.js.map +1 -0
  370. package/esm/services/WorkbenchService.d.ts +123 -0
  371. package/esm/services/WorkbenchService.js +718 -0
  372. package/esm/services/WorkbenchService.js.map +1 -0
  373. package/esm/styles/README.md +12 -0
  374. package/esm/styles/index.scss +9 -0
  375. package/esm/styles/mixins/index.scss +25 -0
  376. package/esm/styles/next-cover.scss +4 -0
  377. package/esm/styles/normalize.scss +27 -0
  378. package/esm/styles/utilities/index.scss +5 -0
  379. package/esm/styles/vars/index.scss +17 -0
  380. package/esm/types/enum-workbench.d.ts +26 -0
  381. package/esm/types/enum-workbench.js +20 -0
  382. package/esm/types/enum.d.ts +128 -0
  383. package/esm/types/enum.js +98 -0
  384. package/esm/types/index.d.ts +15 -0
  385. package/esm/types/index.js +10 -0
  386. package/esm/types/index.js.map +1 -0
  387. package/esm/types/indicator.d.ts +252 -0
  388. package/esm/types/indicator.js +1 -0
  389. package/esm/types/interface.d.ts +260 -0
  390. package/esm/types/interface.js +1 -0
  391. package/esm/types/portal.d.ts +180 -0
  392. package/esm/types/portal.js +1 -0
  393. package/esm/types/report.d.ts +25 -0
  394. package/esm/types/report.js +1 -0
  395. package/esm/types/type.d.ts +9 -0
  396. package/esm/types/type.js +1 -0
  397. package/esm/types/user.d.ts +26 -0
  398. package/esm/types/user.js +1 -0
  399. package/esm/typings.d.ts +1 -0
  400. package/esm/utils/README.md +4 -0
  401. package/esm/utils/arms.js +46 -0
  402. package/esm/utils/arr.d.ts +35 -0
  403. package/esm/utils/arr.js +125 -0
  404. package/esm/utils/arr.js.map +1 -0
  405. package/esm/utils/const-workbench.d.ts +8 -0
  406. package/esm/utils/const-workbench.js +6 -0
  407. package/esm/utils/const.d.ts +14 -0
  408. package/esm/utils/const.js +11 -0
  409. package/esm/utils/index.d.ts +17 -0
  410. package/esm/utils/index.js +18 -0
  411. package/esm/utils/index.js.map +1 -0
  412. package/esm/utils/init.d.ts +5 -0
  413. package/esm/utils/init.js +7 -0
  414. package/esm/utils/init.js.map +1 -0
  415. package/esm/utils/map-workbench.d.ts +22 -0
  416. package/esm/utils/map-workbench.js +74 -0
  417. package/esm/utils/map-workbench.js.map +1 -0
  418. package/esm/utils/map.d.ts +83 -0
  419. package/esm/utils/map.js +509 -0
  420. package/esm/utils/map.js.map +1 -0
  421. package/esm/utils/number.d.ts +44 -0
  422. package/esm/utils/number.js +92 -0
  423. package/esm/utils/number.js.map +1 -0
  424. package/esm/utils/page.d.ts +33 -0
  425. package/esm/utils/page.js +68 -0
  426. package/esm/utils/page.js.map +1 -0
  427. package/esm/utils/str.d.ts +12 -0
  428. package/esm/utils/str.js +21 -0
  429. package/esm/utils/tools.d.ts +7 -0
  430. package/esm/utils/tools.js +35 -0
  431. package/esm/utils/tools.js.map +1 -0
  432. package/esm/utils/tree.d.ts +49 -0
  433. package/esm/utils/tree.js +153 -0
  434. package/esm/utils/tree.js.map +1 -0
  435. package/esm/utils/url.d.ts +20 -0
  436. package/esm/utils/url.js +40 -0
  437. package/esm/utils/url.js.map +1 -0
  438. package/esm/utils/util.d.ts +38 -0
  439. package/esm/utils/util.js +89 -0
  440. package/esm/utils/util.js.map +1 -0
  441. package/esm/utils/workbench.d.ts +6 -0
  442. package/esm/utils/workbench.js +31 -0
  443. package/package.json +60 -37
  444. package/build/js/index.js +0 -1
@@ -0,0 +1,718 @@
1
+ import { _ as _async_to_generator } from "@swc/helpers/_/_async_to_generator";
2
+ import { _ as _class_call_check } from "@swc/helpers/_/_class_call_check";
3
+ import { _ as _create_class } from "@swc/helpers/_/_create_class";
4
+ import { _ as _object_spread } from "@swc/helpers/_/_object_spread";
5
+ import { _ as _object_spread_props } from "@swc/helpers/_/_object_spread_props";
6
+ import { _ as _ts_generator } from "@swc/helpers/_/_ts_generator";
7
+ import { newRequest } from "@/api/request";
8
+ import { handleResult } from "@/utils";
9
+ import { getBossOrigin } from "src/utils";
10
+ export var WorkbenchService = /*#__PURE__*/ function() {
11
+ "use strict";
12
+ function WorkbenchService() {
13
+ _class_call_check(this, WorkbenchService);
14
+ }
15
+ _create_class(WorkbenchService, null, [
16
+ {
17
+ key: "getRegionList",
18
+ value: /**
19
+ * 获取大区列表
20
+ * @returns
21
+ */ function getRegionList() {
22
+ return _async_to_generator(function() {
23
+ var resp;
24
+ return _ts_generator(this, function(_state) {
25
+ switch(_state.label){
26
+ case 0:
27
+ return [
28
+ 4,
29
+ newRequest({
30
+ url: "/workbench/common/getRegionList?accessCode=WIN_WORKBENCH_REGION_MANAGEMENT"
31
+ })
32
+ ];
33
+ case 1:
34
+ resp = handleResult.apply(void 0, [
35
+ _state.sent()
36
+ ]);
37
+ return [
38
+ 2,
39
+ resp
40
+ ];
41
+ }
42
+ });
43
+ })();
44
+ }
45
+ },
46
+ {
47
+ key: "getHotDataList",
48
+ value: /**
49
+ * 获取热词数据
50
+ * @returns
51
+ */ function getHotDataList() {
52
+ return _async_to_generator(function() {
53
+ var resp;
54
+ return _ts_generator(this, function(_state) {
55
+ switch(_state.label){
56
+ case 0:
57
+ return [
58
+ 4,
59
+ newRequest({
60
+ url: "/workbench/suggest/recentAndHot"
61
+ })
62
+ ];
63
+ case 1:
64
+ resp = handleResult.apply(void 0, [
65
+ _state.sent()
66
+ ]);
67
+ return [
68
+ 2,
69
+ resp
70
+ ];
71
+ }
72
+ });
73
+ })();
74
+ }
75
+ },
76
+ {
77
+ key: "getRecommendDataList",
78
+ value: /**
79
+ * 获取推荐数据
80
+ * @returns
81
+ */ function getRecommendDataList(data) {
82
+ return _async_to_generator(function() {
83
+ var _data_keyWord, resp;
84
+ return _ts_generator(this, function(_state) {
85
+ switch(_state.label){
86
+ case 0:
87
+ return [
88
+ 4,
89
+ newRequest({
90
+ url: "/workbench/suggest?input=".concat((_data_keyWord = data.keyWord) !== null && _data_keyWord !== void 0 ? _data_keyWord : "")
91
+ })
92
+ ];
93
+ case 1:
94
+ resp = handleResult.apply(void 0, [
95
+ _state.sent()
96
+ ]);
97
+ return [
98
+ 2,
99
+ resp
100
+ ];
101
+ }
102
+ });
103
+ })();
104
+ }
105
+ },
106
+ {
107
+ key: "getSearchDataList",
108
+ value: /**
109
+ * 获取查询数据
110
+ * @returns
111
+ */ function getSearchDataList(data) {
112
+ return _async_to_generator(function() {
113
+ var _data_keyWord, resp;
114
+ return _ts_generator(this, function(_state) {
115
+ switch(_state.label){
116
+ case 0:
117
+ return [
118
+ 4,
119
+ newRequest({
120
+ url: "/workbench/search?pageSize=50&input=".concat((_data_keyWord = data.keyWord) !== null && _data_keyWord !== void 0 ? _data_keyWord : "").concat(!!data.type ? "&type=".concat(data.type) : "")
121
+ })
122
+ ];
123
+ case 1:
124
+ resp = handleResult.apply(void 0, [
125
+ _state.sent()
126
+ ]);
127
+ return [
128
+ 2,
129
+ resp
130
+ ];
131
+ }
132
+ });
133
+ })();
134
+ }
135
+ },
136
+ {
137
+ key: "getSearchDataListByType",
138
+ value: /**
139
+ * 获取查询数据(分页)
140
+ * @returns
141
+ */ function getSearchDataListByType(data) {
142
+ return _async_to_generator(function() {
143
+ var _data_keyWord, resp;
144
+ return _ts_generator(this, function(_state) {
145
+ switch(_state.label){
146
+ case 0:
147
+ return [
148
+ 4,
149
+ newRequest({
150
+ url: "/workbench/searchByType?input=".concat((_data_keyWord = data.keyWord) !== null && _data_keyWord !== void 0 ? _data_keyWord : "").concat("&type=".concat(data.type)).concat("&page=".concat(data.page)).concat("&pageSize=".concat(data.pageSize))
151
+ })
152
+ ];
153
+ case 1:
154
+ resp = handleResult.apply(void 0, [
155
+ _state.sent()
156
+ ]);
157
+ return [
158
+ 2,
159
+ resp
160
+ ];
161
+ }
162
+ });
163
+ })();
164
+ }
165
+ },
166
+ {
167
+ key: "getMatterDataList",
168
+ value: /**
169
+ * 获取事项数据
170
+ * @returns
171
+ */ function getMatterDataList(data) {
172
+ return _async_to_generator(function() {
173
+ var resp;
174
+ return _ts_generator(this, function(_state) {
175
+ switch(_state.label){
176
+ case 0:
177
+ return [
178
+ 4,
179
+ newRequest({
180
+ url: "/workbench/common/queryWorkflowList",
181
+ method: "POST",
182
+ data: data
183
+ })
184
+ ];
185
+ case 1:
186
+ resp = handleResult.apply(void 0, [
187
+ _state.sent()
188
+ ]);
189
+ return [
190
+ 2,
191
+ resp
192
+ ];
193
+ }
194
+ });
195
+ })();
196
+ }
197
+ },
198
+ {
199
+ key: "getRiskData",
200
+ value: /**
201
+ * 获取风险数据
202
+ * @returns
203
+ */ function getRiskData(data) {
204
+ return _async_to_generator(function() {
205
+ var resp, _resp_tableData;
206
+ return _ts_generator(this, function(_state) {
207
+ switch(_state.label){
208
+ case 0:
209
+ return [
210
+ 4,
211
+ newRequest({
212
+ url: "/workbench/risk/risk?dataAccVal=".concat(data.dataAccVal),
213
+ data: data
214
+ })
215
+ ];
216
+ case 1:
217
+ resp = handleResult.apply(void 0, [
218
+ _state.sent()
219
+ ]);
220
+ return [
221
+ 2,
222
+ (_resp_tableData = resp.tableData) !== null && _resp_tableData !== void 0 ? _resp_tableData : []
223
+ ];
224
+ }
225
+ });
226
+ })();
227
+ }
228
+ },
229
+ {
230
+ key: "getHazardData",
231
+ value: /**
232
+ * 获取隐患整改情况数据
233
+ * @returns
234
+ */ function getHazardData(data) {
235
+ return _async_to_generator(function() {
236
+ var resp, _resp_tableData;
237
+ return _ts_generator(this, function(_state) {
238
+ switch(_state.label){
239
+ case 0:
240
+ return [
241
+ 4,
242
+ newRequest({
243
+ url: "/workbench/risk/hiddenDanger?dataAccVal=".concat(data.dataAccVal)
244
+ })
245
+ ];
246
+ case 1:
247
+ resp = handleResult.apply(void 0, [
248
+ _state.sent()
249
+ ]);
250
+ return [
251
+ 2,
252
+ (_resp_tableData = resp.tableData) !== null && _resp_tableData !== void 0 ? _resp_tableData : []
253
+ ];
254
+ }
255
+ });
256
+ })();
257
+ }
258
+ },
259
+ {
260
+ key: "getCommonFunctionsList",
261
+ value: /**
262
+ * 获取快捷菜单
263
+ * @returns
264
+ */ function getCommonFunctionsList() {
265
+ return _async_to_generator(function() {
266
+ var resp;
267
+ return _ts_generator(this, function(_state) {
268
+ switch(_state.label){
269
+ case 0:
270
+ return [
271
+ 4,
272
+ newRequest({
273
+ url: "/workbench/common/getCommonMenu"
274
+ })
275
+ ];
276
+ case 1:
277
+ resp = handleResult.apply(void 0, [
278
+ _state.sent()
279
+ ]);
280
+ return [
281
+ 2,
282
+ resp
283
+ ];
284
+ }
285
+ });
286
+ })();
287
+ }
288
+ },
289
+ {
290
+ key: "getCommonFunctionsListNew",
291
+ value: /**
292
+ * 获取快捷菜单
293
+ * @returns
294
+ */ function getCommonFunctionsListNew() {
295
+ return _async_to_generator(function() {
296
+ var resp;
297
+ return _ts_generator(this, function(_state) {
298
+ switch(_state.label){
299
+ case 0:
300
+ return [
301
+ 4,
302
+ newRequest({
303
+ url: "/menu/queryUserMenu",
304
+ method: "POST",
305
+ data: {
306
+ startMenuCode: "VISION_MENU",
307
+ productCodes: [
308
+ "VISION"
309
+ ]
310
+ }
311
+ })
312
+ ];
313
+ case 1:
314
+ resp = handleResult.apply(void 0, [
315
+ _state.sent()
316
+ ]);
317
+ return [
318
+ 2,
319
+ resp
320
+ ];
321
+ }
322
+ });
323
+ })();
324
+ }
325
+ },
326
+ {
327
+ key: "getNoticeDataList",
328
+ value: /**
329
+ * 获取头条公告数据
330
+ * @returns
331
+ */ function getNoticeDataList(data, isInside) {
332
+ return _async_to_generator(function() {
333
+ var resp;
334
+ return _ts_generator(this, function(_state) {
335
+ switch(_state.label){
336
+ case 0:
337
+ return [
338
+ 4,
339
+ newRequest({
340
+ url: "".concat(getBossOrigin(isInside), "/form/common/form/page/DWN"),
341
+ method: "POST",
342
+ data: _object_spread_props(_object_spread({}, data), {
343
+ scope: isInside ? "INNER" : "OUTER",
344
+ status: "PUBLISHED"
345
+ })
346
+ })
347
+ ];
348
+ case 1:
349
+ resp = handleResult.apply(void 0, [
350
+ _state.sent()
351
+ ]);
352
+ return [
353
+ 2,
354
+ resp
355
+ ];
356
+ }
357
+ });
358
+ })();
359
+ }
360
+ },
361
+ {
362
+ key: "getWorkbenchRoleList",
363
+ value: /**
364
+ * 获取工作台角色列表
365
+ * @returns
366
+ */ function getWorkbenchRoleList() {
367
+ return _async_to_generator(function() {
368
+ var resp;
369
+ return _ts_generator(this, function(_state) {
370
+ switch(_state.label){
371
+ case 0:
372
+ return [
373
+ 4,
374
+ newRequest({
375
+ url: "/menu/queryUserMenu",
376
+ method: "POST",
377
+ data: {
378
+ startMenuCode: "dwork_vision_mobile",
379
+ productCodes: [
380
+ "VISION"
381
+ ]
382
+ }
383
+ })
384
+ ];
385
+ case 1:
386
+ resp = handleResult.apply(void 0, [
387
+ _state.sent()
388
+ ]);
389
+ return [
390
+ 2,
391
+ resp.map(function(item) {
392
+ return {
393
+ label: item.menuTitle,
394
+ value: item.menuCode
395
+ };
396
+ })
397
+ ];
398
+ }
399
+ });
400
+ })();
401
+ }
402
+ },
403
+ {
404
+ key: "getWorkbenchOptions",
405
+ value: /**
406
+ * 获取角色工作台选项
407
+ * @returns
408
+ */ function getWorkbenchOptions() {
409
+ return _async_to_generator(function() {
410
+ var resp, _resp_countMap_unreadCount_toString, _resp_dworkNoticeDTOTable_tableData;
411
+ return _ts_generator(this, function(_state) {
412
+ switch(_state.label){
413
+ case 0:
414
+ return [
415
+ 4,
416
+ newRequest({
417
+ url: "/wireless/common/querymobile",
418
+ method: "POST",
419
+ data: {
420
+ startMenuCode: "dwork_vision_mobile",
421
+ productCodes: [
422
+ "VISION"
423
+ ]
424
+ }
425
+ })
426
+ ];
427
+ case 1:
428
+ resp = handleResult.apply(void 0, [
429
+ _state.sent()
430
+ ]);
431
+ return [
432
+ 2,
433
+ _object_spread_props(_object_spread({
434
+ roleList: resp.dworkMenuDTOList.map(function(item) {
435
+ return {
436
+ label: item.menuTitle,
437
+ value: item.menuCode
438
+ };
439
+ })
440
+ }, resp.headDic), {
441
+ pendingList: resp.pendingInfoVOList.map(function(item) {
442
+ var _resp_countMap_unreadCount;
443
+ return _object_spread({}, item, item.desc === "我的V信" && {
444
+ count: (_resp_countMap_unreadCount_toString = (_resp_countMap_unreadCount = resp.countMap.unreadCount) === null || _resp_countMap_unreadCount === void 0 ? void 0 : _resp_countMap_unreadCount.toString()) !== null && _resp_countMap_unreadCount_toString !== void 0 ? _resp_countMap_unreadCount_toString : "0"
445
+ });
446
+ }),
447
+ noticeList: (_resp_dworkNoticeDTOTable_tableData = resp.dworkNoticeDTOTable.tableData) !== null && _resp_dworkNoticeDTOTable_tableData !== void 0 ? _resp_dworkNoticeDTOTable_tableData : []
448
+ })
449
+ ];
450
+ }
451
+ });
452
+ })();
453
+ }
454
+ },
455
+ {
456
+ key: "queryUserAvatar",
457
+ value: /**
458
+ * 查询用户头像
459
+ * @returns
460
+ */ function queryUserAvatar() {
461
+ return _async_to_generator(function() {
462
+ var resp;
463
+ return _ts_generator(this, function(_state) {
464
+ switch(_state.label){
465
+ case 0:
466
+ return [
467
+ 4,
468
+ newRequest({
469
+ url: "/wireless/common/queryUserAvatar"
470
+ })
471
+ ];
472
+ case 1:
473
+ resp = handleResult.apply(void 0, [
474
+ _state.sent()
475
+ ]);
476
+ return [
477
+ 2,
478
+ resp
479
+ ];
480
+ }
481
+ });
482
+ })();
483
+ }
484
+ },
485
+ {
486
+ key: "queryNoticeBannerList",
487
+ value: /**
488
+ * 查询公告
489
+ * @returns
490
+ */ function queryNoticeBannerList() {
491
+ return _async_to_generator(function() {
492
+ var data, resp;
493
+ return _ts_generator(this, function(_state) {
494
+ switch(_state.label){
495
+ case 0:
496
+ data = new FormData();
497
+ data.append("topStatus", "1");
498
+ data.append("noticeStatus", "2");
499
+ data.append("currentPage", "1");
500
+ data.append("pageSize", "10");
501
+ return [
502
+ 4,
503
+ newRequest({
504
+ url: "/notice/query",
505
+ method: "POST",
506
+ data: data
507
+ })
508
+ ];
509
+ case 1:
510
+ resp = handleResult.apply(void 0, [
511
+ _state.sent()
512
+ ]);
513
+ return [
514
+ 2,
515
+ resp.tableData
516
+ ];
517
+ }
518
+ });
519
+ })();
520
+ }
521
+ },
522
+ {
523
+ key: "queryNotice",
524
+ value: /**
525
+ * 查询公告
526
+ * @returns
527
+ */ function queryNotice(param) {
528
+ var _param_currentPage = param.currentPage, currentPage = _param_currentPage === void 0 ? 1 : _param_currentPage;
529
+ return _async_to_generator(function() {
530
+ var data, resp;
531
+ return _ts_generator(this, function(_state) {
532
+ switch(_state.label){
533
+ case 0:
534
+ data = new FormData();
535
+ data.append("noticeStatus", "2");
536
+ data.append("currentPage", currentPage.toString());
537
+ data.append("pageSize", "10");
538
+ return [
539
+ 4,
540
+ newRequest({
541
+ url: "/notice/query",
542
+ method: "POST",
543
+ data: data
544
+ })
545
+ ];
546
+ case 1:
547
+ resp = handleResult.apply(void 0, [
548
+ _state.sent()
549
+ ]);
550
+ return [
551
+ 2,
552
+ resp
553
+ ];
554
+ }
555
+ });
556
+ })();
557
+ }
558
+ },
559
+ {
560
+ key: "queryNoticeInfo",
561
+ value: /**
562
+ * 查询公告详情
563
+ * @param id
564
+ * @returns
565
+ */ function queryNoticeInfo(id) {
566
+ return _async_to_generator(function() {
567
+ var data, resp;
568
+ return _ts_generator(this, function(_state) {
569
+ switch(_state.label){
570
+ case 0:
571
+ data = new FormData();
572
+ data.append("id", id.toString());
573
+ return [
574
+ 4,
575
+ newRequest({
576
+ url: "/notice/queryDetail",
577
+ method: "POST",
578
+ data: data
579
+ })
580
+ ];
581
+ case 1:
582
+ resp = handleResult.apply(void 0, [
583
+ _state.sent()
584
+ ]);
585
+ return [
586
+ 2,
587
+ resp
588
+ ];
589
+ }
590
+ });
591
+ })();
592
+ }
593
+ },
594
+ {
595
+ key: "queryPendingList",
596
+ value: /**
597
+ * 事项中心
598
+ * @returns
599
+ */ function queryPendingList() {
600
+ return _async_to_generator(function() {
601
+ var resp;
602
+ return _ts_generator(this, function(_state) {
603
+ switch(_state.label){
604
+ case 0:
605
+ return [
606
+ 4,
607
+ newRequest({
608
+ url: "/wireless/common/queryPendingCount"
609
+ })
610
+ ];
611
+ case 1:
612
+ resp = handleResult.apply(void 0, [
613
+ _state.sent()
614
+ ]);
615
+ return [
616
+ 2,
617
+ resp
618
+ ];
619
+ }
620
+ });
621
+ })();
622
+ }
623
+ },
624
+ {
625
+ key: "queryWinRankList",
626
+ value: /**
627
+ * 查询红黑榜单
628
+ * @returns
629
+ */ function queryWinRankList() {
630
+ return _async_to_generator(function() {
631
+ var resp;
632
+ return _ts_generator(this, function(_state) {
633
+ switch(_state.label){
634
+ case 0:
635
+ return [
636
+ 4,
637
+ newRequest({
638
+ url: "/workbench/common/queryWinRankList"
639
+ })
640
+ ];
641
+ case 1:
642
+ resp = handleResult.apply(void 0, [
643
+ _state.sent()
644
+ ]);
645
+ return [
646
+ 2,
647
+ resp
648
+ ];
649
+ }
650
+ });
651
+ })();
652
+ }
653
+ },
654
+ {
655
+ key: "queryVReportInfo",
656
+ value: /**
657
+ * 查询简报信息
658
+ * @returns
659
+ */ function queryVReportInfo() {
660
+ return _async_to_generator(function() {
661
+ var resp;
662
+ return _ts_generator(this, function(_state) {
663
+ switch(_state.label){
664
+ case 0:
665
+ return [
666
+ 4,
667
+ newRequest({
668
+ url: "/message/weekly"
669
+ })
670
+ ];
671
+ case 1:
672
+ resp = handleResult.apply(void 0, [
673
+ _state.sent()
674
+ ]);
675
+ return [
676
+ 2,
677
+ resp.extend
678
+ ];
679
+ }
680
+ });
681
+ })();
682
+ }
683
+ },
684
+ {
685
+ key: "queryVReportMessageCount",
686
+ value: /**
687
+ * 查询简报未读信息数量
688
+ * @returns
689
+ */ function queryVReportMessageCount() {
690
+ return _async_to_generator(function() {
691
+ var resp;
692
+ return _ts_generator(this, function(_state) {
693
+ switch(_state.label){
694
+ case 0:
695
+ return [
696
+ 4,
697
+ newRequest({
698
+ url: "/console/message/countMessage"
699
+ })
700
+ ];
701
+ case 1:
702
+ resp = handleResult.apply(void 0, [
703
+ _state.sent()
704
+ ]);
705
+ return [
706
+ 2,
707
+ resp
708
+ ];
709
+ }
710
+ });
711
+ })();
712
+ }
713
+ }
714
+ ]);
715
+ return WorkbenchService;
716
+ }();
717
+
718
+ //# sourceMappingURL=WorkbenchService.js.map