admin2 1.0.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 (1785) hide show
  1. package/.editorconfig +11 -0
  2. package/.env +1 -0
  3. package/.eslintrc +87 -0
  4. package/README.md +57 -0
  5. package/bin/build-private.sh +9 -0
  6. package/bin/build.sh +9 -0
  7. package/config/assets_prefix.js +3 -0
  8. package/config/config.js +170 -0
  9. package/config/proxy.js +61 -0
  10. package/config/theme.js +42 -0
  11. package/jsconfig.json +11 -0
  12. package/loader/buildEnvLoader.js +15 -0
  13. package/loader/privateRemoveText.js +20 -0
  14. package/mock/auditLog.js +26 -0
  15. package/mock/basics/app.js +98 -0
  16. package/mock/basics/menu.js +42 -0
  17. package/mock/basics/user.js +0 -0
  18. package/mock/bill.js +188 -0
  19. package/mock/errorCase.js +24 -0
  20. package/mock/fieldsManage.js +52 -0
  21. package/mock/history.js +675 -0
  22. package/mock/listTableList.js +178 -0
  23. package/mock/notices.js +147 -0
  24. package/mock/opinion.js +51 -0
  25. package/mock/qps.js +63 -0
  26. package/mock/rank.js +172 -0
  27. package/mock/riskyMember.js +98 -0
  28. package/mock/route.js +104 -0
  29. package/mock/tj/check/index.js +0 -0
  30. package/mock/trend.js +1442 -0
  31. package/mock/tw/event/trend.js +0 -0
  32. package/mock/tw/list/list.js +251 -0
  33. package/mock/tx/history/index.js +81 -0
  34. package/mock/tx/trend/index.js +94 -0
  35. package/mock/user.js +194 -0
  36. package/package.json +154 -0
  37. package/plugin.js +15 -0
  38. package/public/CNAME +1 -0
  39. package/public/favicon.ico +0 -0
  40. package/public/fengkong.ico +0 -0
  41. package/public/home_bg.png +0 -0
  42. package/public/iconfont.js +1 -0
  43. package/public/icons/icon-128x128.ico +0 -0
  44. package/public/icons/icon-192x192.ico +0 -0
  45. package/public/icons/icon-512x512.ico +0 -0
  46. package/public/index/upload-icon.png +0 -0
  47. package/public/intlLoading.gif +0 -0
  48. package/public/loading.gif +0 -0
  49. package/public/loadingPRIVATE.gif +0 -0
  50. package/public/pro_icon.svg +5 -0
  51. package/public/txt/example.txt +2 -0
  52. package/src/assets/bigLogo.png +0 -0
  53. package/src/assets/demoImg/fengkong.ico +0 -0
  54. package/src/assets/demoImg/headerLogo.png +0 -0
  55. package/src/assets/demoImg/index.js +17 -0
  56. package/src/assets/demoImg/leftBanner.png +0 -0
  57. package/src/assets/demoImg/leftLogo.png +0 -0
  58. package/src/assets/demoImg/systemLogo.png +0 -0
  59. package/src/assets/logo.svg +1 -0
  60. package/src/assets/menuLeft.png +0 -0
  61. package/src/assets/menuLeftHover.png +0 -0
  62. package/src/assets/noData.png +0 -0
  63. package/src/assets/notFind.svg +6 -0
  64. package/src/assets/pdf.svg +20 -0
  65. package/src/assets/privateSmallLogo.png +0 -0
  66. package/src/assets/smallLogo.png +0 -0
  67. package/src/assets/ssoImg/index.js +5 -0
  68. package/src/assets/ssoImg/leftLogo.png +0 -0
  69. package/src/assets/tab.png +0 -0
  70. package/src/assets/zhonghang.png +0 -0
  71. package/src/components/ApprovalUploader/constants.js +6 -0
  72. package/src/components/ApprovalUploader/img/default.png +0 -0
  73. package/src/components/ApprovalUploader/img/downloadIcon.png +0 -0
  74. package/src/components/ApprovalUploader/img/index.js +15 -0
  75. package/src/components/ApprovalUploader/img/previewIcon.png +0 -0
  76. package/src/components/ApprovalUploader/img/remove.png +0 -0
  77. package/src/components/ApprovalUploader/index.js +181 -0
  78. package/src/components/ApprovalUploader/index.less +80 -0
  79. package/src/components/Authorized/Authorized.jsx +21 -0
  80. package/src/components/Authorized/AuthorizedRoute.jsx +25 -0
  81. package/src/components/Authorized/CheckPermissions.jsx +72 -0
  82. package/src/components/Authorized/PromiseRender.jsx +80 -0
  83. package/src/components/Authorized/Secured.jsx +75 -0
  84. package/src/components/Authorized/index.jsx +8 -0
  85. package/src/components/Authorized/renderAuthorize.js +27 -0
  86. package/src/components/CaseDetail/index.jsx +150 -0
  87. package/src/components/CaseDetail/index.less +32 -0
  88. package/src/components/ClusterChanger/index.jsx +110 -0
  89. package/src/components/CustomMessageContent/index.js +23 -0
  90. package/src/components/CustomVideo/index.js +77 -0
  91. package/src/components/ElementDateRangeTime/assets/arrow.svg +11 -0
  92. package/src/components/ElementDateRangeTime/assets/calendar.svg +13 -0
  93. package/src/components/ElementDateRangeTime/assets/last-month.svg +11 -0
  94. package/src/components/ElementDateRangeTime/assets/next-month.svg +11 -0
  95. package/src/components/ElementDateRangeTime/assets/next-year.svg +14 -0
  96. package/src/components/ElementDateRangeTime/assets/pre-year.svg +14 -0
  97. package/src/components/ElementDateRangeTime/constants.js +11 -0
  98. package/src/components/ElementDateRangeTime/index.jsx +106 -0
  99. package/src/components/ElementDateRangeTime/index.less +206 -0
  100. package/src/components/EsExportTaskModal/index.jsx +194 -0
  101. package/src/components/FieldMessageModal/DraggableBody/index.js +39 -0
  102. package/src/components/FieldMessageModal/DraggableBody/index.less +0 -0
  103. package/src/components/FieldMessageModal/index.js +329 -0
  104. package/src/components/FieldMessageModal/index.less +113 -0
  105. package/src/components/GlobalFilterListener/index.jsx +92 -0
  106. package/src/components/GlobalHeader/AppDropdown.jsx +157 -0
  107. package/src/components/GlobalHeader/AvatarDropdown.jsx +184 -0
  108. package/src/components/GlobalHeader/BottomContent.jsx +55 -0
  109. package/src/components/GlobalHeader/Message.jsx +93 -0
  110. package/src/components/GlobalHeader/NoticeIconView.jsx +153 -0
  111. package/src/components/GlobalHeader/PayMent.jsx +112 -0
  112. package/src/components/GlobalHeader/RightContent.jsx +137 -0
  113. package/src/components/GlobalHeader/index.less +226 -0
  114. package/src/components/HeaderDropdown/index.jsx +10 -0
  115. package/src/components/HeaderDropdown/index.less +16 -0
  116. package/src/components/HeaderFilter/index.jsx +447 -0
  117. package/src/components/HeaderFilter/index.less +33 -0
  118. package/src/components/IconLoading/index.jsx +24 -0
  119. package/src/components/IconLoading/index.less +17 -0
  120. package/src/components/IconLoading/loading.gif +0 -0
  121. package/src/components/InputSelect/index.jsx +186 -0
  122. package/src/components/InputSelect/index.less +6 -0
  123. package/src/components/NoticeIcon/NoticeList.jsx +95 -0
  124. package/src/components/NoticeIcon/NoticeList.less +103 -0
  125. package/src/components/NoticeIcon/index.jsx +112 -0
  126. package/src/components/NoticeIcon/index.less +35 -0
  127. package/src/components/PageLoading/index.jsx +37 -0
  128. package/src/components/PageLoading/index.less +18 -0
  129. package/src/components/PageLoading/intlLoading.gif +0 -0
  130. package/src/components/PageLoading/loading.gif +0 -0
  131. package/src/components/RemindPage/index.jsx +69 -0
  132. package/src/components/RemindPage/index.less +53 -0
  133. package/src/components/SMAlert/img/succeed.png +0 -0
  134. package/src/components/SMAlert/img/warning.png +0 -0
  135. package/src/components/SMAlert/index.js +169 -0
  136. package/src/components/SMAlert/index.less +36 -0
  137. package/src/components/SMAudio/index.jsx +297 -0
  138. package/src/components/SMAudio/index.less +65 -0
  139. package/src/components/SMBackTop/index.js +48 -0
  140. package/src/components/SMBackTop/index.less +35 -0
  141. package/src/components/SMBreadcrumb/index.js +42 -0
  142. package/src/components/SMBreadcrumb/index.less +4 -0
  143. package/src/components/SMCascader/index.jsx +124 -0
  144. package/src/components/SMCascader/index.less +10 -0
  145. package/src/components/SMCheckableTag/index.jsx +51 -0
  146. package/src/components/SMColorRect/img/icon_accomplish.png +0 -0
  147. package/src/components/SMColorRect/img/icon_activate.png +0 -0
  148. package/src/components/SMColorRect/img/icon_increase.png +0 -0
  149. package/src/components/SMColorRect/img/icon_invalid.png +0 -0
  150. package/src/components/SMColorRect/img/icon_jiaohuliang.png +0 -0
  151. package/src/components/SMColorRect/img/icon_lanjieliang.png +0 -0
  152. package/src/components/SMColorRect/img/icon_order_one.png +0 -0
  153. package/src/components/SMColorRect/img/icon_order_two.png +0 -0
  154. package/src/components/SMColorRect/img/icon_pass.png +0 -0
  155. package/src/components/SMColorRect/img/icon_reject.png +0 -0
  156. package/src/components/SMColorRect/img/icon_reject_total.png +0 -0
  157. package/src/components/SMColorRect/img/icon_review.png +0 -0
  158. package/src/components/SMColorRect/img/icon_review_total.png +0 -0
  159. package/src/components/SMColorRect/img/icon_robot.png +0 -0
  160. package/src/components/SMColorRect/img/icon_time.png +0 -0
  161. package/src/components/SMColorRect/img/icon_total.png +0 -0
  162. package/src/components/SMColorRect/img/icon_verify.png +0 -0
  163. package/src/components/SMColorRect/img/icon_zhanshiliang.png +0 -0
  164. package/src/components/SMColorRect/index.jsx +205 -0
  165. package/src/components/SMColorRect/index.less +135 -0
  166. package/src/components/SMCopy/index.jsx +33 -0
  167. package/src/components/SMCount/index.jsx +49 -0
  168. package/src/components/SMCount/index.less +80 -0
  169. package/src/components/SMCustomInput/index.jsx +115 -0
  170. package/src/components/SMCustomInput/index.less +11 -0
  171. package/src/components/SMDataCard/index.jsx +59 -0
  172. package/src/components/SMDataCard/index.less +3 -0
  173. package/src/components/SMDataCount/index.jsx +22 -0
  174. package/src/components/SMDataCount/index.less +39 -0
  175. package/src/components/SMDatePicker/assets/arrow.svg +11 -0
  176. package/src/components/SMDatePicker/assets/calendar.png +0 -0
  177. package/src/components/SMDatePicker/assets/calendar.svg +13 -0
  178. package/src/components/SMDatePicker/assets/last-month.svg +11 -0
  179. package/src/components/SMDatePicker/assets/next-month.svg +11 -0
  180. package/src/components/SMDatePicker/assets/next-year.svg +14 -0
  181. package/src/components/SMDatePicker/assets/pre-year.svg +14 -0
  182. package/src/components/SMDatePicker/assets/time.png +0 -0
  183. package/src/components/SMDatePicker/constants.js +13 -0
  184. package/src/components/SMDatePicker/index.jsx +222 -0
  185. package/src/components/SMDatePicker/index.less +318 -0
  186. package/src/components/SMDateSearch/index.js +63 -0
  187. package/src/components/SMElementPicker/index.jsx +38 -0
  188. package/src/components/SMElementPicker/index.less +22 -0
  189. package/src/components/SMEmpty/index.jsx +28 -0
  190. package/src/components/SMEmpty/index.less +9 -0
  191. package/src/components/SMIcon/index.jsx +25 -0
  192. package/src/components/SMImage/index.jsx +277 -0
  193. package/src/components/SMImage/index.less +46 -0
  194. package/src/components/SMInputSelect/index.jsx +117 -0
  195. package/src/components/SMInputSelect/index.less +6 -0
  196. package/src/components/SMLabelSearch/index.jsx +107 -0
  197. package/src/components/SMLabelSearch/index.less +41 -0
  198. package/src/components/SMLineChart/index.jsx +369 -0
  199. package/src/components/SMLineChart/index.less +49 -0
  200. package/src/components/SMLineChart2/index.jsx +453 -0
  201. package/src/components/SMLineChart2/index.less +140 -0
  202. package/src/components/SMLinePieChart/index.jsx +25 -0
  203. package/src/components/SMLinePieChart/index.less +0 -0
  204. package/src/components/SMList/index.jsx +153 -0
  205. package/src/components/SMList/index.less +103 -0
  206. package/src/components/SMMessageModal/index.jsx +67 -0
  207. package/src/components/SMMessageModal/index.less +111 -0
  208. package/src/components/SMMonthPicker/constants.js +91 -0
  209. package/src/components/SMMonthPicker/img/inputPanel.png +0 -0
  210. package/src/components/SMMonthPicker/index.jsx +393 -0
  211. package/src/components/SMMonthPicker/index.less +109 -0
  212. package/src/components/SMNewPieChart/index.jsx +204 -0
  213. package/src/components/SMNewPieChart/index.less +21 -0
  214. package/src/components/SMNewSelect/index.jsx +147 -0
  215. package/src/components/SMNewSelect/index.less +39 -0
  216. package/src/components/SMNewText/index.jsx +50 -0
  217. package/src/components/SMNoteTip/index.jsx +17 -0
  218. package/src/components/SMNoteTip/index.less +8 -0
  219. package/src/components/SMPageSize/index.jsx +84 -0
  220. package/src/components/SMPageSize/index.less +38 -0
  221. package/src/components/SMPieChart/index.jsx +187 -0
  222. package/src/components/SMPieChart/index.less +39 -0
  223. package/src/components/SMPopConfirm/index.jsx +82 -0
  224. package/src/components/SMPopConfirm/index.less +63 -0
  225. package/src/components/SMPopConfirm/tip.png +0 -0
  226. package/src/components/SMReply/constants.jsx +18 -0
  227. package/src/components/SMReply/img/apply.png +0 -0
  228. package/src/components/SMReply/img/guide.png +0 -0
  229. package/src/components/SMReply/img/open.png +0 -0
  230. package/src/components/SMReply/img/user.png +0 -0
  231. package/src/components/SMReply/index.jsx +54 -0
  232. package/src/components/SMReply/index.less +69 -0
  233. package/src/components/SMRiskLevel/index.jsx +50 -0
  234. package/src/components/SMSearchForm/index.jsx +501 -0
  235. package/src/components/SMSearchForm/index.less +88 -0
  236. package/src/components/SMSelect/index.jsx +170 -0
  237. package/src/components/SMSelect/index.less +28 -0
  238. package/src/components/SMTJCascader/index.js +694 -0
  239. package/src/components/SMTJCascader/index.less +129 -0
  240. package/src/components/SMText/index.jsx +90 -0
  241. package/src/components/SMTimeTip/index.jsx +16 -0
  242. package/src/components/SMTimeTip/index.less +13 -0
  243. package/src/components/SMTips/index.js +37 -0
  244. package/src/components/SMTips/index.less +24 -0
  245. package/src/components/SMUpload/index.js +174 -0
  246. package/src/components/SMUpload/index.less +200 -0
  247. package/src/components/SearchFormV2/DatePickerV2/index.less +9 -0
  248. package/src/components/SearchFormV2/DatePickerV2/index.tsx +73 -0
  249. package/src/components/SearchFormV2/DatePickerV3/index.jsx +109 -0
  250. package/src/components/SearchFormV2/DatePickerV3/index.less +9 -0
  251. package/src/components/SearchFormV2/ExportDom/index.less +6 -0
  252. package/src/components/SearchFormV2/ExportDom/index.tsx +69 -0
  253. package/src/components/SearchFormV2/LabelSearchV2/index.less +0 -0
  254. package/src/components/SearchFormV2/LabelSearchV2/index.tsx +84 -0
  255. package/src/components/SearchFormV2/getFormItems.tsx +132 -0
  256. package/src/components/SearchFormV2/index.less +91 -0
  257. package/src/components/SearchFormV2/index.tsx +73 -0
  258. package/src/components/SensitiveWordSpin/index.jsx +28 -0
  259. package/src/components/SensitiveWordSpin/index.less +9 -0
  260. package/src/components/TotalCount/index.jsx +42 -0
  261. package/src/components/TrialResult/index.jsx +125 -0
  262. package/src/components/TrialResult/index.less +128 -0
  263. package/src/components/TwDatePicker/index.jsx +76 -0
  264. package/src/components/TwDatePicker/index.less +17 -0
  265. package/src/components/common.less +13 -0
  266. package/src/components/iframe/index.jsx +186 -0
  267. package/src/components/index.js +122 -0
  268. package/src/components/modal/index.js +9 -0
  269. package/src/configure/api.js +270 -0
  270. package/src/configure/configData/feedbackOrgList.js +6 -0
  271. package/src/configure/configData/lineChartConfig.js +382 -0
  272. package/src/configure/configData/newPageConfig.js +45 -0
  273. package/src/configure/defaultSettings.js +19 -0
  274. package/src/configure/index.js +11 -0
  275. package/src/configure/oldPage/appDropdownList.js +536 -0
  276. package/src/configure/oldPage/rankData.js +14 -0
  277. package/src/configure/oldPage/routeContrastData.js +414 -0
  278. package/src/configure/oldPage/strategyData.js +13 -0
  279. package/src/configure/pageType.js +12 -0
  280. package/src/configure/routes/document/config.js +9 -0
  281. package/src/configure/routes/heichan/config.js +70 -0
  282. package/src/configure/routes/index.js +131 -0
  283. package/src/configure/routes/manage/config.js +426 -0
  284. package/src/configure/routes/message/config.js +10 -0
  285. package/src/configure/routes/opinion/index.js +21 -0
  286. package/src/configure/routes/overview/config.js +14 -0
  287. package/src/configure/routes/path.js +582 -0
  288. package/src/configure/routes/payment/config.js +113 -0
  289. package/src/configure/routes/policy/config.js +43 -0
  290. package/src/configure/routes/policyOld/config.js +71 -0
  291. package/src/configure/routes/riskyMember/config.js +28 -0
  292. package/src/configure/routes/tj/audioAlbRoutes/config.js +635 -0
  293. package/src/configure/routes/tj/audioBleiRoutes/config.js +372 -0
  294. package/src/configure/routes/tj/audioEngRoutes/config.js +635 -0
  295. package/src/configure/routes/tj/audioRoutes/config.js +779 -0
  296. package/src/configure/routes/tj/audioStreamAlbRoutes/config.js +671 -0
  297. package/src/configure/routes/tj/audioStreamBleiRoutes/config.js +349 -0
  298. package/src/configure/routes/tj/audioStreamEngRoutes/config.js +671 -0
  299. package/src/configure/routes/tj/audioStreamRoutes/config.js +738 -0
  300. package/src/configure/routes/tj/config.js +257 -0
  301. package/src/configure/routes/tj/imageRoutes/config.js +1209 -0
  302. package/src/configure/routes/tj/multiModalRoutes/config.js +92 -0
  303. package/src/configure/routes/tj/textAlbRoutes/config.js +772 -0
  304. package/src/configure/routes/tj/textEngRoutes/config.js +780 -0
  305. package/src/configure/routes/tj/textRoutes/config.js +812 -0
  306. package/src/configure/routes/tj/videoRoutes/config.js +1705 -0
  307. package/src/configure/routes/tj/videoStreamAlbRoutes/config.js +1419 -0
  308. package/src/configure/routes/tj/videoStreamEngRoutes/config.js +1419 -0
  309. package/src/configure/routes/tj/videoStreamRoutes/config.js +1588 -0
  310. package/src/configure/routes/tj/webRoutes/config.js +281 -0
  311. package/src/configure/routes/ts/config.js +942 -0
  312. package/src/configure/routes/tw/config.js +908 -0
  313. package/src/configure/routes/twCaptcha/config.js +86 -0
  314. package/src/configure/routes/twCertifiy/config.js +201 -0
  315. package/src/configure/routes/twChannel/config.js +125 -0
  316. package/src/configure/routes/tx/config.js +254 -0
  317. package/src/contants/account.js +7 -0
  318. package/src/contants/auth.js +3 -0
  319. package/src/contants/buildEnv.js +7 -0
  320. package/src/contants/exportUrl.js +11 -0
  321. package/src/contants/global.js +78 -0
  322. package/src/contants/headMenu.jsx +81 -0
  323. package/src/contants/histroy.js +18 -0
  324. package/src/contants/i18n.js +24 -0
  325. package/src/contants/img/bingsheng.png +0 -0
  326. package/src/contants/img/fengkong.png +0 -0
  327. package/src/contants/img/index.js +11 -0
  328. package/src/contants/img/jinjiang.png +0 -0
  329. package/src/contants/img/xiaodou.png +0 -0
  330. package/src/contants/imgBlackSimilayOrgs.js +15 -0
  331. package/src/contants/index.js +673 -0
  332. package/src/contants/judgeServiceIdType/index.ts +52 -0
  333. package/src/contants/modelType.js +57 -0
  334. package/src/contants/operation.js +6 -0
  335. package/src/contants/organizationMap.js +12 -0
  336. package/src/contants/pageSize.js +1 -0
  337. package/src/contants/role.js +5 -0
  338. package/src/contants/safe.js +8 -0
  339. package/src/contants/select.js +3 -0
  340. package/src/contants/serviceId.js +13 -0
  341. package/src/contants/storage.js +1 -0
  342. package/src/contants/tokenId.js +25 -0
  343. package/src/global.jsx +110 -0
  344. package/src/global.less +237 -0
  345. package/src/hoc/withIntlComponents.js +30 -0
  346. package/src/hooks/biz/useColumns.js +273 -0
  347. package/src/hooks/biz/useColumns.less +14 -0
  348. package/src/hooks/biz/useDraggable.js +26 -0
  349. package/src/hooks/biz/useElLanguage.js +22 -0
  350. package/src/hooks/biz/useHotkeys.js +60 -0
  351. package/src/hooks/biz/useLanguage.js +44 -0
  352. package/src/hooks/common/useInterval.js +21 -0
  353. package/src/hooks/common/useUpload.js +154 -0
  354. package/src/hooks/common/useUploadClick.js +56 -0
  355. package/src/hooks/index.js +72 -0
  356. package/src/hooks/object/useApiCallList.js +87 -0
  357. package/src/hooks/object/useApiSecretKey.js +88 -0
  358. package/src/hooks/object/useApp.js +51 -0
  359. package/src/hooks/object/useAppChannel.js +51 -0
  360. package/src/hooks/object/useAuthServiceId.ts +52 -0
  361. package/src/hooks/object/useBill.js +195 -0
  362. package/src/hooks/object/useChannel.js +121 -0
  363. package/src/hooks/object/useDataBack.js +165 -0
  364. package/src/hooks/object/useDetailKeyDown.js +81 -0
  365. package/src/hooks/object/useDeviceExport.js +57 -0
  366. package/src/hooks/object/useDeviceTrend.js +97 -0
  367. package/src/hooks/object/useHistoryExport.js +46 -0
  368. package/src/hooks/object/useLabel.js +77 -0
  369. package/src/hooks/object/useMdList.js +251 -0
  370. package/src/hooks/object/useOpenOrganization.js +34 -0
  371. package/src/hooks/object/useOpinion.js +27 -0
  372. package/src/hooks/object/useOrganization.js +47 -0
  373. package/src/hooks/object/useQueryMethod.js +32 -0
  374. package/src/hooks/object/useRiskType.js +41 -0
  375. package/src/hooks/object/useRoleList.js +39 -0
  376. package/src/hooks/object/useService.js +37 -0
  377. package/src/hooks/object/useTokenTrend.js +108 -0
  378. package/src/hooks/object/useTopn.js +0 -0
  379. package/src/hooks/object/useTwHistory.js +69 -0
  380. package/src/hooks/object/useUser.js +109 -0
  381. package/src/layouts/BasicLayout.jsx +155 -0
  382. package/src/layouts/BlankLayout.jsx +5 -0
  383. package/src/layouts/CollapsibleMenu.js +196 -0
  384. package/src/layouts/CollapsibleMenu.less +50 -0
  385. package/src/layouts/LeftMenu.jsx +264 -0
  386. package/src/layouts/MenuContext.js +22 -0
  387. package/src/layouts/SecurityLayout.jsx +329 -0
  388. package/src/layouts/TabContentLayout.jsx +270 -0
  389. package/src/layouts/TabContentLayout.less +61 -0
  390. package/src/layouts/TopMenu.jsx +115 -0
  391. package/src/layouts/TopSide.jsx +394 -0
  392. package/src/layouts/TopSide.less +339 -0
  393. package/src/layouts/TopSideMenuLayout.jsx +203 -0
  394. package/src/layouts/TopSideMenuLayout.less +81 -0
  395. package/src/layouts/UserLayout.jsx +59 -0
  396. package/src/layouts/UserLayout.less +71 -0
  397. package/src/layouts/constants.js +28 -0
  398. package/src/locales/basic-US.js +227 -0
  399. package/src/locales/en-US/component.js +2 -0
  400. package/src/locales/en-US/globalHeader.js +2 -0
  401. package/src/locales/en-US/menu.js +2 -0
  402. package/src/locales/en-US/module/history.js +19 -0
  403. package/src/locales/en-US/module/md.js +230 -0
  404. package/src/locales/en-US/product/tw/index.js +33 -0
  405. package/src/locales/en-US/pwa.js +2 -0
  406. package/src/locales/en-US/settingDrawer.js +2 -0
  407. package/src/locales/en-US/settings.js +2 -0
  408. package/src/locales/en-US.js +762 -0
  409. package/src/locales/product/md.js +88 -0
  410. package/src/locales/pt-BR/component.js +5 -0
  411. package/src/locales/pt-BR/globalHeader.js +18 -0
  412. package/src/locales/pt-BR/menu.js +52 -0
  413. package/src/locales/pt-BR/pwa.js +7 -0
  414. package/src/locales/pt-BR/settingDrawer.js +32 -0
  415. package/src/locales/pt-BR/settings.js +61 -0
  416. package/src/locales/pt-BR.js +13 -0
  417. package/src/locales/request-US.js +28 -0
  418. package/src/locales/special.js +11 -0
  419. package/src/locales/tj-US.js +811 -0
  420. package/src/locales/zh-CN/component.js +2 -0
  421. package/src/locales/zh-CN/globalHeader.js +2 -0
  422. package/src/locales/zh-CN/menu.js +2 -0
  423. package/src/locales/zh-CN/module/history.js +11 -0
  424. package/src/locales/zh-CN/module/md.js +0 -0
  425. package/src/locales/zh-CN/product/Information/index.js +2 -0
  426. package/src/locales/zh-CN/product/celue/index.js +2 -0
  427. package/src/locales/zh-CN/product/index.js +13 -0
  428. package/src/locales/zh-CN/product/tj/audio/index.js +2 -0
  429. package/src/locales/zh-CN/product/tj/audioStream/index.js +2 -0
  430. package/src/locales/zh-CN/product/tj/image/index.js +2 -0
  431. package/src/locales/zh-CN/product/tj/index.js +35 -0
  432. package/src/locales/zh-CN/product/tj/text/index.js +2 -0
  433. package/src/locales/zh-CN/product/tj/video/index.js +2 -0
  434. package/src/locales/zh-CN/product/tj/videoStream/index.js +2 -0
  435. package/src/locales/zh-CN/product/tj/web/index.js +2 -0
  436. package/src/locales/zh-CN/product/tw/index.js +32 -0
  437. package/src/locales/zh-CN/product/tx/index.js +2 -0
  438. package/src/locales/zh-CN/pwa.js +2 -0
  439. package/src/locales/zh-CN/settingDrawer.js +2 -0
  440. package/src/locales/zh-CN/settings.js +2 -0
  441. package/src/locales/zh-CN.js +1493 -0
  442. package/src/locales/zh-TW/component.js +5 -0
  443. package/src/locales/zh-TW/globalHeader.js +17 -0
  444. package/src/locales/zh-TW/menu.js +52 -0
  445. package/src/locales/zh-TW/pwa.js +6 -0
  446. package/src/locales/zh-TW/settingDrawer.js +31 -0
  447. package/src/locales/zh-TW/settings.js +2 -0
  448. package/src/locales/zh-TW.js +13 -0
  449. package/src/models/base.js +71 -0
  450. package/src/models/dataBack.js +51 -0
  451. package/src/models/global.js +20 -0
  452. package/src/models/history.js +141 -0
  453. package/src/models/information.js +27 -0
  454. package/src/models/login.js +195 -0
  455. package/src/models/manage.js +214 -0
  456. package/src/models/mingdan.js +243 -0
  457. package/src/models/rank.js +25 -0
  458. package/src/models/riskAccount.js +41 -0
  459. package/src/models/setting.js +27 -0
  460. package/src/models/strategy.js +179 -0
  461. package/src/models/strategyLab.js +84 -0
  462. package/src/models/trend.js +102 -0
  463. package/src/models/twChannel.js +50 -0
  464. package/src/models/user.js +205 -0
  465. package/src/pages/404.jsx +19 -0
  466. package/src/pages/Admin.jsx +40 -0
  467. package/src/pages/IFrame/index.jsx +173 -0
  468. package/src/pages/Welcome.jsx +48 -0
  469. package/src/pages/Welcome.less +8 -0
  470. package/src/pages/account/IntlLogin/index.js +27 -0
  471. package/src/pages/account/IntlLogin/index.less +26 -0
  472. package/src/pages/account/components/EmailTwoFactor/index.jsx +94 -0
  473. package/src/pages/account/components/EmailTwoFactor/index.less +128 -0
  474. package/src/pages/account/components/Header/index.jsx +66 -0
  475. package/src/pages/account/components/Header/index.less +62 -0
  476. package/src/pages/account/components/HeaderList/index.jsx +20 -0
  477. package/src/pages/account/components/IntlHeader/index.js +43 -0
  478. package/src/pages/account/components/IntlHeader/index.less +54 -0
  479. package/src/pages/account/components/IntlLoginLeft/index.jsx +33 -0
  480. package/src/pages/account/components/IntlLoginLeft/index.less +44 -0
  481. package/src/pages/account/components/IntlLoginRight/index.js +514 -0
  482. package/src/pages/account/components/IntlLoginRight/index.less +259 -0
  483. package/src/pages/account/components/LoginEmail/index.jsx +188 -0
  484. package/src/pages/account/components/LoginEmail/index.less +105 -0
  485. package/src/pages/account/components/LoginLeft/index.jsx +73 -0
  486. package/src/pages/account/components/LoginLeft/index.less +44 -0
  487. package/src/pages/account/components/LoginModeError/index.js +14 -0
  488. package/src/pages/account/components/LoginModeError/index.less +14 -0
  489. package/src/pages/account/components/LoginPhone/index.jsx +230 -0
  490. package/src/pages/account/components/LoginPhone/index.less +131 -0
  491. package/src/pages/account/components/LoginRight/index.jsx +560 -0
  492. package/src/pages/account/components/LoginRight/index.less +172 -0
  493. package/src/pages/account/components/ResetSuccee/index.jsx +18 -0
  494. package/src/pages/account/components/ResetSuccee/index.less +29 -0
  495. package/src/pages/account/components/WscLoginLeft/index.jsx +41 -0
  496. package/src/pages/account/components/WscLoginLeft/index.less +45 -0
  497. package/src/pages/account/components/WscLoginRight/index.jsx +252 -0
  498. package/src/pages/account/components/WscLoginRight/index.less +142 -0
  499. package/src/pages/account/components/loginLeftList/index.jsx +23 -0
  500. package/src/pages/account/forgetPwd/index.jsx +111 -0
  501. package/src/pages/account/forgetPwd/index.less +73 -0
  502. package/src/pages/account/img/google.png +0 -0
  503. package/src/pages/account/img/icon-checked.png +0 -0
  504. package/src/pages/account/img/icon-unchecked.png +0 -0
  505. package/src/pages/account/img/intl-left-banner.png +0 -0
  506. package/src/pages/account/img/intlLogo.png +0 -0
  507. package/src/pages/account/img/intlLogo.svg +14 -0
  508. package/src/pages/account/img/left-banner-private.png +0 -0
  509. package/src/pages/account/img/left-banner.png +0 -0
  510. package/src/pages/account/img/logo.png +0 -0
  511. package/src/pages/account/img/newLogo.png +0 -0
  512. package/src/pages/account/index.js +17 -0
  513. package/src/pages/account/intlForgetPwd/index.js +70 -0
  514. package/src/pages/account/intlForgetPwd/index.less +87 -0
  515. package/src/pages/account/intlResetPwd/index.js +212 -0
  516. package/src/pages/account/intlResetPwd/index.less +122 -0
  517. package/src/pages/account/login/index.jsx +153 -0
  518. package/src/pages/account/login/index.less +35 -0
  519. package/src/pages/account/resetPwd/index.jsx +145 -0
  520. package/src/pages/account/resetPwd/index.less +109 -0
  521. package/src/pages/audit/auditLog/fieldsConfig.ts +22 -0
  522. package/src/pages/audit/auditLog/formatDetailData.ts +46 -0
  523. package/src/pages/audit/auditLog/index.less +22 -0
  524. package/src/pages/audit/auditLog/index.tsx +183 -0
  525. package/src/pages/audit/auditLog/searchFormConfig.tsx +91 -0
  526. package/src/pages/audit/auditLog/tableConfig.tsx +79 -0
  527. package/src/pages/audit/components/AuditDetailDrawer/index.less +27 -0
  528. package/src/pages/audit/components/AuditDetailDrawer/index.tsx +105 -0
  529. package/src/pages/audit/components/AuditLabelSearch/index.less +11 -0
  530. package/src/pages/audit/components/AuditLabelSearch/index.tsx +103 -0
  531. package/src/pages/audit/hooks/useAuditAction.ts +54 -0
  532. package/src/pages/audit/hooks/useAuditLog.ts +40 -0
  533. package/src/pages/audit/type.ts +65 -0
  534. package/src/pages/basic/AccountList/index.js +69 -0
  535. package/src/pages/basic/AccountList/index.less +37 -0
  536. package/src/pages/basic/components/BasicTitle/index.jsx +31 -0
  537. package/src/pages/basic/components/BasicTitle/index.less +16 -0
  538. package/src/pages/basic/constants.js +731 -0
  539. package/src/pages/basic/hooks/index.js +21 -0
  540. package/src/pages/basic/hooks/useAppChannel.js +50 -0
  541. package/src/pages/basic/hooks/useBasicApiCallList.js +67 -0
  542. package/src/pages/basic/hooks/useBasicApiSecretKey.js +62 -0
  543. package/src/pages/basic/hooks/useBasicUser.js +256 -0
  544. package/src/pages/basic/hooks/useBasicsChannel.js +43 -0
  545. package/src/pages/basic/hooks/useBasicsObject.js +149 -0
  546. package/src/pages/basic/list/index.jsx +326 -0
  547. package/src/pages/basic/list/index.less +62 -0
  548. package/src/pages/configure/tj/md/list/index.js +612 -0
  549. package/src/pages/configure/tj/rank/detail/index.js +0 -0
  550. package/src/pages/configure/tj/rank/list/index.js +1157 -0
  551. package/src/pages/constants.js +73 -0
  552. package/src/pages/document.ejs +102 -0
  553. package/src/pages/historySearch/constants.js +262 -0
  554. package/src/pages/historySearch/index.jsx +1217 -0
  555. package/src/pages/historySearch/index.less +0 -0
  556. package/src/pages/information/constants.js +70 -0
  557. package/src/pages/information/img/blue.png +0 -0
  558. package/src/pages/information/img/red.png +0 -0
  559. package/src/pages/information/img/yellow.png +0 -0
  560. package/src/pages/information/record/index.jsx +155 -0
  561. package/src/pages/information/trend/index.jsx +24 -0
  562. package/src/pages/manage/correctionCallback/index.jsx +440 -0
  563. package/src/pages/manage/correctionCallback/index.less +22 -0
  564. package/src/pages/manage/fieldsManage/components/FieldsManage/index.js +148 -0
  565. package/src/pages/manage/fieldsManage/components/FieldsManage/index.less +13 -0
  566. package/src/pages/manage/fieldsManage/components/PageTemplate/index.js +149 -0
  567. package/src/pages/manage/fieldsManage/components/SelectSuffix/index.js +86 -0
  568. package/src/pages/manage/fieldsManage/components/SelectSuffix/index.less +13 -0
  569. package/src/pages/manage/fieldsManage/components/TableTitle/index.js +24 -0
  570. package/src/pages/manage/fieldsManage/components/TableTitle/index.less +22 -0
  571. package/src/pages/manage/fieldsManage/components/index.js +14 -0
  572. package/src/pages/manage/fieldsManage/constants/index.js +462 -0
  573. package/src/pages/manage/fieldsManage/field/add/index.js +171 -0
  574. package/src/pages/manage/fieldsManage/field/add/index.less +37 -0
  575. package/src/pages/manage/fieldsManage/field/index.js +66 -0
  576. package/src/pages/manage/fieldsManage/field/index.less +9 -0
  577. package/src/pages/manage/fieldsManage/fieldSet/add/index.js +350 -0
  578. package/src/pages/manage/fieldsManage/fieldSet/add/index.less +42 -0
  579. package/src/pages/manage/fieldsManage/fieldSet/index.js +187 -0
  580. package/src/pages/manage/pageSetup/logo/index.js +220 -0
  581. package/src/pages/manage/pageSetup/logo/index.less +35 -0
  582. package/src/pages/manage/password/index.jsx +225 -0
  583. package/src/pages/manage/password/index.less +188 -0
  584. package/src/pages/manage/qpsError/Trend/getSearchFormConfig.jsx +131 -0
  585. package/src/pages/manage/qpsError/Trend/index.jsx +226 -0
  586. package/src/pages/manage/qpsError/Trend/index.less +41 -0
  587. package/src/pages/manage/qpsError/Trend/useAuthServiceId.js +43 -0
  588. package/src/pages/manage/qpsError/Trend/useQpsError.js +105 -0
  589. package/src/pages/manage/qpsError/formatSubmitParams.js +21 -0
  590. package/src/pages/manage/qpsTrend/formatSearchParams.ts +24 -0
  591. package/src/pages/manage/qpsTrend/hooks/useQps.ts +117 -0
  592. package/src/pages/manage/qpsTrend/index.less +0 -0
  593. package/src/pages/manage/qpsTrend/index.tsx +284 -0
  594. package/src/pages/manage/qpsTrend/searchFormConfig.ts +117 -0
  595. package/src/pages/manage/qpsTrend/type.ts +9 -0
  596. package/src/pages/manage/safe/index.jsx +86 -0
  597. package/src/pages/manage/safe/index.less +58 -0
  598. package/src/pages/manage/safe/loginMethod/index.jsx +15 -0
  599. package/src/pages/manage/safe/loginMethod/index.less +0 -0
  600. package/src/pages/manage/safe/useSafe.js +143 -0
  601. package/src/pages/manage/safe/waterMark/index.jsx +15 -0
  602. package/src/pages/manage/safe/waterMark/index.less +0 -0
  603. package/src/pages/message/index.jsx +139 -0
  604. package/src/pages/message/index.less +75 -0
  605. package/src/pages/opinion/index.jsx +179 -0
  606. package/src/pages/opinion/index.less +141 -0
  607. package/src/pages/overview/components/ApplyModal/constants.js +78 -0
  608. package/src/pages/overview/components/ApplyModal/index.jsx +135 -0
  609. package/src/pages/overview/components/ApplyModal/index.less +41 -0
  610. package/src/pages/overview/components/CarouselMap/img/en-aigc.jpg +0 -0
  611. package/src/pages/overview/components/CarouselMap/img/en-intelligent.jpg +0 -0
  612. package/src/pages/overview/components/CarouselMap/img/image1.png +0 -0
  613. package/src/pages/overview/components/CarouselMap/img/image2.jpg +0 -0
  614. package/src/pages/overview/components/CarouselMap/img/image3.jpg +0 -0
  615. package/src/pages/overview/components/CarouselMap/img/image4.jpg +0 -0
  616. package/src/pages/overview/components/CarouselMap/index.jsx +67 -0
  617. package/src/pages/overview/components/CarouselMap/index.less +11 -0
  618. package/src/pages/overview/components/DataCard/index.jsx +60 -0
  619. package/src/pages/overview/components/DataCard/index.less +107 -0
  620. package/src/pages/overview/components/EmptyLineChart/index.jsx +50 -0
  621. package/src/pages/overview/components/EmptyLineChart/index.less +29 -0
  622. package/src/pages/overview/components/IntroduceBox/constants.js +96 -0
  623. package/src/pages/overview/components/IntroduceBox/img/anti-theft-crawling.svg +19 -0
  624. package/src/pages/overview/components/IntroduceBox/img/audio.svg +20 -0
  625. package/src/pages/overview/components/IntroduceBox/img/brush-list-protection.svg +18 -0
  626. package/src/pages/overview/components/IntroduceBox/img/captcha.svg +14 -0
  627. package/src/pages/overview/components/IntroduceBox/img/channel-traffic.svg +17 -0
  628. package/src/pages/overview/components/IntroduceBox/img/device-risk-sdk.svg +16 -0
  629. package/src/pages/overview/components/IntroduceBox/img/market-activity.svg +20 -0
  630. package/src/pages/overview/components/IntroduceBox/img/payment-risk-control.svg +17 -0
  631. package/src/pages/overview/components/IntroduceBox/img/pic.svg +16 -0
  632. package/src/pages/overview/components/IntroduceBox/img/text.svg +20 -0
  633. package/src/pages/overview/components/IntroduceBox/img/video.svg +16 -0
  634. package/src/pages/overview/components/IntroduceBox/img/virtual-user-fission.svg +25 -0
  635. package/src/pages/overview/components/IntroduceBox/index.jsx +155 -0
  636. package/src/pages/overview/components/IntroduceBox/index.less +75 -0
  637. package/src/pages/overview/components/NewUserGuide/img/apply.png +0 -0
  638. package/src/pages/overview/components/NewUserGuide/img/guide.png +0 -0
  639. package/src/pages/overview/components/NewUserGuide/img/guideCopy.png +0 -0
  640. package/src/pages/overview/components/NewUserGuide/img/open.png +0 -0
  641. package/src/pages/overview/components/NewUserGuide/img/phone.png +0 -0
  642. package/src/pages/overview/components/NewUserGuide/img/user.png +0 -0
  643. package/src/pages/overview/components/NewUserGuide/index.jsx +114 -0
  644. package/src/pages/overview/components/NewUserGuide/index.less +158 -0
  645. package/src/pages/overview/components/UserInfoBox/img/app-manage-dark.svg +16 -0
  646. package/src/pages/overview/components/UserInfoBox/img/app-manage-light.svg +16 -0
  647. package/src/pages/overview/components/UserInfoBox/img/channel-manage-dark.svg +24 -0
  648. package/src/pages/overview/components/UserInfoBox/img/channel-manage-light.svg +26 -0
  649. package/src/pages/overview/components/UserInfoBox/img/user-account-dark.svg +30 -0
  650. package/src/pages/overview/components/UserInfoBox/img/user-account-light.svg +30 -0
  651. package/src/pages/overview/components/UserInfoBox/img/user-manage-dark.svg +20 -0
  652. package/src/pages/overview/components/UserInfoBox/img/user-manage-light.svg +20 -0
  653. package/src/pages/overview/components/UserInfoBox/img/user.svg +43 -0
  654. package/src/pages/overview/components/UserInfoBox/index.jsx +139 -0
  655. package/src/pages/overview/components/UserInfoBox/index.less +117 -0
  656. package/src/pages/overview/img/risk-account.svg +21 -0
  657. package/src/pages/overview/img/risk-audio.svg +25 -0
  658. package/src/pages/overview/img/risk-device.svg +24 -0
  659. package/src/pages/overview/img/risk-event.svg +21 -0
  660. package/src/pages/overview/img/risk-pic.svg +21 -0
  661. package/src/pages/overview/img/risk-text.svg +25 -0
  662. package/src/pages/overview/img/risk-video.svg +29 -0
  663. package/src/pages/overview/index.jsx +841 -0
  664. package/src/pages/overview/index.less +107 -0
  665. package/src/pages/pageComponents/RankPageTwo/constants.js +106 -0
  666. package/src/pages/pageComponents/RankPageTwo/index.jsx +606 -0
  667. package/src/pages/pageComponents/RankPageTwo/index.less +30 -0
  668. package/src/pages/pageComponents/StrategyPage/components/AddRuleMdoal/index.js +81 -0
  669. package/src/pages/pageComponents/StrategyPage/components/AddRuleMdoal/index.less +4 -0
  670. package/src/pages/pageComponents/StrategyPage/components/BatchUpdateModal/index.js +48 -0
  671. package/src/pages/pageComponents/StrategyPage/components/BatchUpdateModal/index.less +0 -0
  672. package/src/pages/pageComponents/StrategyPage/components/OneKeyLabModal/index.js +303 -0
  673. package/src/pages/pageComponents/StrategyPage/components/OneKeyLabModal/index.less +46 -0
  674. package/src/pages/pageComponents/StrategyPage/components/RuleCollapse/index.js +1554 -0
  675. package/src/pages/pageComponents/StrategyPage/components/RuleCollapse/index.less +56 -0
  676. package/src/pages/pageComponents/StrategyPage/components/RuleConditions/ConditionContent/index.jsx +60 -0
  677. package/src/pages/pageComponents/StrategyPage/components/RuleConditions/ConditionItem/index.jsx +189 -0
  678. package/src/pages/pageComponents/StrategyPage/components/RuleConditions/ConditionItem/index.less +11 -0
  679. package/src/pages/pageComponents/StrategyPage/components/RuleConditions/index.jsx +67 -0
  680. package/src/pages/pageComponents/StrategyPage/components/RuleConditions/index.less +71 -0
  681. package/src/pages/pageComponents/StrategyPage/components/RuleModal/index.js +243 -0
  682. package/src/pages/pageComponents/StrategyPage/components/RuleModal/index.less +13 -0
  683. package/src/pages/pageComponents/StrategyPage/components/RuleModalCustomer/index.js +244 -0
  684. package/src/pages/pageComponents/StrategyPage/components/RuleModalCustomer/index.less +13 -0
  685. package/src/pages/pageComponents/StrategyPage/components/RuleTable/index.js +15 -0
  686. package/src/pages/pageComponents/StrategyPage/components/RuleTable/index.less +36 -0
  687. package/src/pages/pageComponents/StrategyPage/components/customBlackFields/index.less +16 -0
  688. package/src/pages/pageComponents/StrategyPage/components/customBlackFields/index.tsx +106 -0
  689. package/src/pages/pageComponents/StrategyPage/contants.js +2000 -0
  690. package/src/pages/pageComponents/StrategyPage/index.js +864 -0
  691. package/src/pages/pageComponents/StrategyPage/index.less +95 -0
  692. package/src/pages/pageComponents/configure/adminApply.js +72 -0
  693. package/src/pages/pageComponents/configure/index.js +5 -0
  694. package/src/pages/pageComponents/formatMdListByAppId.js +39 -0
  695. package/src/pages/pageComponents/historyPage/CaptchaList/index.jsx +1235 -0
  696. package/src/pages/pageComponents/historyPage/CaptchaList/index.less +43 -0
  697. package/src/pages/pageComponents/historyPage/ChannelList/index.jsx +1340 -0
  698. package/src/pages/pageComponents/historyPage/ChannelList/index.less +134 -0
  699. package/src/pages/pageComponents/historyPage/ChannelRetain/index.jsx +666 -0
  700. package/src/pages/pageComponents/historyPage/ChannelRetain/index.less +40 -0
  701. package/src/pages/pageComponents/historyPage/DisposalModal/index.js +46 -0
  702. package/src/pages/pageComponents/historyPage/DisposalModal/index.less +17 -0
  703. package/src/pages/pageComponents/historyPage/MultiContentsRender/index.jsx +20 -0
  704. package/src/pages/pageComponents/historyPage/TwDetail/export.js +233 -0
  705. package/src/pages/pageComponents/historyPage/TwDetail/export.less +120 -0
  706. package/src/pages/pageComponents/historyPage/TwDetail/helper.js +794 -0
  707. package/src/pages/pageComponents/historyPage/TwDetail/index.jsx +427 -0
  708. package/src/pages/pageComponents/historyPage/TwDetail/index.less +63 -0
  709. package/src/pages/pageComponents/historyPage/TwNewDetail/export.js +231 -0
  710. package/src/pages/pageComponents/historyPage/TwNewDetail/export.less +120 -0
  711. package/src/pages/pageComponents/historyPage/TwNewDetail/helper.js +815 -0
  712. package/src/pages/pageComponents/historyPage/TwNewDetail/index.jsx +363 -0
  713. package/src/pages/pageComponents/historyPage/TwNewDetail/index.less +63 -0
  714. package/src/pages/pageComponents/historyPage/TypeOne/constants.js +195 -0
  715. package/src/pages/pageComponents/historyPage/TypeOne/index.jsx +2792 -0
  716. package/src/pages/pageComponents/historyPage/TypeOne/index.less +146 -0
  717. package/src/pages/pageComponents/historyPage/TypeThree/constants.js +29 -0
  718. package/src/pages/pageComponents/historyPage/TypeThree/index.jsx +2158 -0
  719. package/src/pages/pageComponents/historyPage/TypeThree/index.less +192 -0
  720. package/src/pages/pageComponents/historyPage/TypeTwo/components/Fields/constant.js +11 -0
  721. package/src/pages/pageComponents/historyPage/TypeTwo/components/Fields/index.jsx +261 -0
  722. package/src/pages/pageComponents/historyPage/TypeTwo/components/Fields/styles.less +79 -0
  723. package/src/pages/pageComponents/historyPage/TypeTwo/components/ImgSlider/index.jsx +99 -0
  724. package/src/pages/pageComponents/historyPage/TypeTwo/components/ImgSlider/styles.less +64 -0
  725. package/src/pages/pageComponents/historyPage/TypeTwo/components/ImgSliderDetail/index.jsx +113 -0
  726. package/src/pages/pageComponents/historyPage/TypeTwo/components/ImgSliderDetail/styles.less +14 -0
  727. package/src/pages/pageComponents/historyPage/TypeTwo/components/ImgTable/index.jsx +197 -0
  728. package/src/pages/pageComponents/historyPage/TypeTwo/components/ImgTable/styles.less +52 -0
  729. package/src/pages/pageComponents/historyPage/TypeTwo/constants.js +32 -0
  730. package/src/pages/pageComponents/historyPage/TypeTwo/index.jsx +2225 -0
  731. package/src/pages/pageComponents/historyPage/TypeTwo/index.less +237 -0
  732. package/src/pages/pageComponents/historyPage/components/AddFilterDom/index.jsx +0 -0
  733. package/src/pages/pageComponents/historyPage/components/AddListModal/index.jsx +148 -0
  734. package/src/pages/pageComponents/historyPage/components/AddListModal/index.less +54 -0
  735. package/src/pages/pageComponents/historyPage/components/AddTextMdModal/constants.js +50 -0
  736. package/src/pages/pageComponents/historyPage/components/AddTextMdModal/index.jsx +233 -0
  737. package/src/pages/pageComponents/historyPage/components/AddTextMdModal/index.less +64 -0
  738. package/src/pages/pageComponents/historyPage/components/ExportTask/index.jsx +707 -0
  739. package/src/pages/pageComponents/historyPage/components/ExportTask/styles.less +120 -0
  740. package/src/pages/pageComponents/historyPage/components/FeedbackContent/index.jsx +463 -0
  741. package/src/pages/pageComponents/historyPage/components/FeedbackContent/index.less +47 -0
  742. package/src/pages/pageComponents/historyPage/components/FeedbackPanel/constants.js +1 -0
  743. package/src/pages/pageComponents/historyPage/components/FeedbackPanel/index.jsx +135 -0
  744. package/src/pages/pageComponents/historyPage/components/FeedbackPanel/styles.less +60 -0
  745. package/src/pages/pageComponents/historyPage/components/GroupFilter/index.js +378 -0
  746. package/src/pages/pageComponents/historyPage/components/GroupFilter/index.less +178 -0
  747. package/src/pages/pageComponents/historyPage/components/GroupFilter/type.ts +16 -0
  748. package/src/pages/pageComponents/historyPage/components/HistoryDetailDrawer/index.jsx +716 -0
  749. package/src/pages/pageComponents/historyPage/components/HistoryDetailDrawer/index.less +102 -0
  750. package/src/pages/pageComponents/historyPage/components/HistoryDetailDrawer/rgba.png +0 -0
  751. package/src/pages/pageComponents/historyPage/components/HistoryExport/export.png +0 -0
  752. package/src/pages/pageComponents/historyPage/components/HistoryExport/index.jsx +29 -0
  753. package/src/pages/pageComponents/historyPage/components/HistoryExport/index.less +21 -0
  754. package/src/pages/pageComponents/historyPage/components/ImgSimilar/index.js +124 -0
  755. package/src/pages/pageComponents/historyPage/components/ImgSimilar/index.less +130 -0
  756. package/src/pages/pageComponents/historyPage/components/ImgTextDetail/index.js +164 -0
  757. package/src/pages/pageComponents/historyPage/components/ImgTextDetail/index.less +75 -0
  758. package/src/pages/pageComponents/historyPage/components/NewHistoryDetailDrawer/formatSpecialFeature.ts +20 -0
  759. package/src/pages/pageComponents/historyPage/components/NewHistoryDetailDrawer/index.js +959 -0
  760. package/src/pages/pageComponents/historyPage/components/NewHistoryDetailDrawer/index.less +61 -0
  761. package/src/pages/pageComponents/historyPage/components/StreamInfoModal/components/RiskInfo/index.less +26 -0
  762. package/src/pages/pageComponents/historyPage/components/StreamInfoModal/components/RiskInfo/index.tsx +38 -0
  763. package/src/pages/pageComponents/historyPage/components/StreamInfoModal/components/renderStreamAudios/index.less +18 -0
  764. package/src/pages/pageComponents/historyPage/components/StreamInfoModal/components/renderStreamAudios/index.tsx +40 -0
  765. package/src/pages/pageComponents/historyPage/components/StreamInfoModal/components/renderStreamImages/index.less +21 -0
  766. package/src/pages/pageComponents/historyPage/components/StreamInfoModal/components/renderStreamImages/index.tsx +48 -0
  767. package/src/pages/pageComponents/historyPage/components/StreamInfoModal/fieldsConfig.ts +9 -0
  768. package/src/pages/pageComponents/historyPage/components/StreamInfoModal/hooks/useStreamInfo.ts +49 -0
  769. package/src/pages/pageComponents/historyPage/components/StreamInfoModal/index.less +11 -0
  770. package/src/pages/pageComponents/historyPage/components/StreamInfoModal/index.tsx +101 -0
  771. package/src/pages/pageComponents/historyPage/components/StreamInfoModal/tableColumns.tsx +51 -0
  772. package/src/pages/pageComponents/historyPage/components/TJExportTask/components/HistoryTaskDetail/index.jsx +41 -0
  773. package/src/pages/pageComponents/historyPage/components/TJExportTask/components/HistoryTaskDetail/index.less +22 -0
  774. package/src/pages/pageComponents/historyPage/components/TJExportTask/components/TJExportForm/index.jsx +73 -0
  775. package/src/pages/pageComponents/historyPage/components/TJExportTask/components/TJExportForm/index.less +0 -0
  776. package/src/pages/pageComponents/historyPage/components/TJExportTask/constants.js +487 -0
  777. package/src/pages/pageComponents/historyPage/components/TJExportTask/getExportForm.js +103 -0
  778. package/src/pages/pageComponents/historyPage/components/TJExportTask/index.jsx +309 -0
  779. package/src/pages/pageComponents/historyPage/components/TJExportTask/styles.less +142 -0
  780. package/src/pages/pageComponents/historyPage/components/contentRender/index.jsx +34 -0
  781. package/src/pages/pageComponents/historyPage/components/index.js +33 -0
  782. package/src/pages/pageComponents/historyPage/constants.js +611 -0
  783. package/src/pages/pageComponents/historyPage/help.js +224 -0
  784. package/src/pages/pageComponents/hooks/index.js +14 -0
  785. package/src/pages/pageComponents/hooks/index.less +10 -0
  786. package/src/pages/pageComponents/hooks/useForm.js +113 -0
  787. package/src/pages/pageComponents/hooks/useGetStorageTime/index.js +24 -0
  788. package/src/pages/pageComponents/hooks/useTableColumn.js +136 -0
  789. package/src/pages/pageComponents/mdPage/components/AddMdModal/index.jsx +240 -0
  790. package/src/pages/pageComponents/mdPage/components/AddMdModal/index.less +25 -0
  791. package/src/pages/pageComponents/mdPage/components/AddVideoModal/index.jsx +113 -0
  792. package/src/pages/pageComponents/mdPage/components/AddVideoModal/index.less +33 -0
  793. package/src/pages/pageComponents/mdPage/components/CreateMdForm/index.jsx +1205 -0
  794. package/src/pages/pageComponents/mdPage/components/CreateMdForm/index.less +140 -0
  795. package/src/pages/pageComponents/mdPage/components/ExpansionTable/index.js +150 -0
  796. package/src/pages/pageComponents/mdPage/components/ExpansionTable/index.less +9 -0
  797. package/src/pages/pageComponents/mdPage/components/MdContentImportModal/index.jsx +218 -0
  798. package/src/pages/pageComponents/mdPage/components/MdContentImportModal/index.less +11 -0
  799. package/src/pages/pageComponents/mdPage/components/MdContentModal/index.jsx +288 -0
  800. package/src/pages/pageComponents/mdPage/components/MdContentModal/index.less +11 -0
  801. package/src/pages/pageComponents/mdPage/components/RedTextViewer/index.jsx +33 -0
  802. package/src/pages/pageComponents/mdPage/components/RedTextViewer/index.less +4 -0
  803. package/src/pages/pageComponents/mdPage/components/RegexContents/img/example.png +0 -0
  804. package/src/pages/pageComponents/mdPage/components/RegexContents/index.js +1154 -0
  805. package/src/pages/pageComponents/mdPage/components/RegexContents/index.less +404 -0
  806. package/src/pages/pageComponents/mdPage/components/SMAdminForm/index.jsx +165 -0
  807. package/src/pages/pageComponents/mdPage/components/SMAdminForm/index.less +17 -0
  808. package/src/pages/pageComponents/mdPage/components/SMDatePicker/index.jsx +173 -0
  809. package/src/pages/pageComponents/mdPage/components/SMPopConfirm/img/tip.png +0 -0
  810. package/src/pages/pageComponents/mdPage/components/SMPopConfirm/index.jsx +116 -0
  811. package/src/pages/pageComponents/mdPage/components/SMPopConfirm/index.less +64 -0
  812. package/src/pages/pageComponents/mdPage/components/SegmentStatusTag/index.tsx +45 -0
  813. package/src/pages/pageComponents/mdPage/components/SensitivewordHintList/index.jsx +467 -0
  814. package/src/pages/pageComponents/mdPage/components/SensitivewordHintList/index.less +65 -0
  815. package/src/pages/pageComponents/mdPage/components/SensitivewordHintModal/index.jsx +80 -0
  816. package/src/pages/pageComponents/mdPage/components/SensitivewordHintModal/index.less +38 -0
  817. package/src/pages/pageComponents/mdPage/components/UpdateMdModal/index.jsx +929 -0
  818. package/src/pages/pageComponents/mdPage/components/UpdateMdModal/index.less +10 -0
  819. package/src/pages/pageComponents/mdPage/components/UploadImg/index.jsx +178 -0
  820. package/src/pages/pageComponents/mdPage/components/UploadImg/index.less +66 -0
  821. package/src/pages/pageComponents/mdPage/components/UploadVideo/index.jsx +409 -0
  822. package/src/pages/pageComponents/mdPage/components/UploadVideo/index.less +134 -0
  823. package/src/pages/pageComponents/mdPage/components/getIllegalWordList.jsx +14 -0
  824. package/src/pages/pageComponents/mdPage/components/isIllegalWord.jsx +8 -0
  825. package/src/pages/pageComponents/mdPage/constants.js +770 -0
  826. package/src/pages/pageComponents/mdPage/list/CommonType/contants.js +114 -0
  827. package/src/pages/pageComponents/mdPage/list/CommonType/index.jsx +2177 -0
  828. package/src/pages/pageComponents/mdPage/list/CommonType/index.less +21 -0
  829. package/src/pages/pageComponents/mdPage/listContent/CommonType/img/tip.png +0 -0
  830. package/src/pages/pageComponents/mdPage/listContent/CommonType/index.jsx +1584 -0
  831. package/src/pages/pageComponents/mdPage/listContent/CommonType/index.less +124 -0
  832. package/src/pages/pageComponents/mdPage/listContent/ImgBlackType/img/tip.png +0 -0
  833. package/src/pages/pageComponents/mdPage/listContent/ImgBlackType/index.jsx +1053 -0
  834. package/src/pages/pageComponents/mdPage/listContent/ImgBlackType/index.less +142 -0
  835. package/src/pages/pageComponents/mdPage/listContent/ImgType/img/tip.png +0 -0
  836. package/src/pages/pageComponents/mdPage/listContent/ImgType/index.jsx +1185 -0
  837. package/src/pages/pageComponents/mdPage/listContent/ImgType/index.less +135 -0
  838. package/src/pages/pageComponents/mdPage/listContent/TextBlackType/img/tip.png +0 -0
  839. package/src/pages/pageComponents/mdPage/listContent/TextBlackType/index.jsx +1184 -0
  840. package/src/pages/pageComponents/mdPage/listContent/TextBlackType/index.less +104 -0
  841. package/src/pages/pageComponents/mdPage/listContentOpLog/CommonType/contants.js +24 -0
  842. package/src/pages/pageComponents/mdPage/listContentOpLog/CommonType/index.jsx +569 -0
  843. package/src/pages/pageComponents/mdPage/listContentOpLog/CommonType/index.less +7 -0
  844. package/src/pages/pageComponents/mdPage/listOpLog/CommonType/index.jsx +897 -0
  845. package/src/pages/pageComponents/mdPage/listOpLog/CommonType/index.less +11 -0
  846. package/src/pages/pageComponents/mdPage/listSearch/CommonType/index.jsx +696 -0
  847. package/src/pages/pageComponents/mdPage/listSearch/CommonType/index.less +16 -0
  848. package/src/pages/pageComponents/newMdPage/NewList/components/ExtraButton/index.jsx +20 -0
  849. package/src/pages/pageComponents/newMdPage/NewList/components/ExtraButton/index.less +15 -0
  850. package/src/pages/pageComponents/newMdPage/NewList/components/MdContentTip/index.jsx +73 -0
  851. package/src/pages/pageComponents/newMdPage/NewList/components/MdContentTip/index.less +16 -0
  852. package/src/pages/pageComponents/newMdPage/NewList/components/MdLabel/index.jsx +18 -0
  853. package/src/pages/pageComponents/newMdPage/NewList/components/MdLabel/index.less +9 -0
  854. package/src/pages/pageComponents/newMdPage/NewList/components/MdTagSelect/defaultIcon.png +0 -0
  855. package/src/pages/pageComponents/newMdPage/NewList/components/MdTagSelect/index.jsx +204 -0
  856. package/src/pages/pageComponents/newMdPage/NewList/components/MdTagSelect/index.less +88 -0
  857. package/src/pages/pageComponents/newMdPage/NewList/components/MdTagSelect/intlDefaultIcon.png +0 -0
  858. package/src/pages/pageComponents/newMdPage/NewList/components/MdTimeInput/index.jsx +32 -0
  859. package/src/pages/pageComponents/newMdPage/NewList/components/MdTimeInput/index.less +13 -0
  860. package/src/pages/pageComponents/newMdPage/NewList/components/TabsImg/index.jsx +50 -0
  861. package/src/pages/pageComponents/newMdPage/NewList/components/TabsImg/index.less +11 -0
  862. package/src/pages/pageComponents/newMdPage/NewList/components/index.js +15 -0
  863. package/src/pages/pageComponents/newMdPage/NewList/configure.js +179 -0
  864. package/src/pages/pageComponents/newMdPage/NewList/constants.js +2508 -0
  865. package/src/pages/pageComponents/newMdPage/NewList/getSubmitOperationSegmentStatus.js +41 -0
  866. package/src/pages/pageComponents/newMdPage/NewList/getUpdateOperationSegmentStatus.js +26 -0
  867. package/src/pages/pageComponents/newMdPage/NewList/index.jsx +761 -0
  868. package/src/pages/pageComponents/newMdPage/NewList/index.less +46 -0
  869. package/src/pages/pageComponents/newMdPage/components/CreateMdForm/index.jsx +82 -0
  870. package/src/pages/pageComponents/newMdPage/components/CreateMdForm/index.less +28 -0
  871. package/src/pages/pageComponents/newMdPage/components/MdFormV2/index.jsx +190 -0
  872. package/src/pages/pageComponents/newMdPage/components/MdFormV2/index.less +43 -0
  873. package/src/pages/pageComponents/newMdPage/list/constants.js +18 -0
  874. package/src/pages/pageComponents/newMdPage/list/index.jsx +465 -0
  875. package/src/pages/pageComponents/newMdPage/list/index.less +26 -0
  876. package/src/pages/pageComponents/newMdPage/listContent/index.jsx +0 -0
  877. package/src/pages/pageComponents/newMdPage/listContent/index.less +0 -0
  878. package/src/pages/pageComponents/newMdPage/listContentOplog/index.jsx +0 -0
  879. package/src/pages/pageComponents/newMdPage/listContentOplog/index.less +0 -0
  880. package/src/pages/pageComponents/newMdPage/listOplog/index.jsx +0 -0
  881. package/src/pages/pageComponents/newMdPage/listOplog/index.less +0 -0
  882. package/src/pages/pageComponents/rankPage/SensitiveRank/index.jsx +592 -0
  883. package/src/pages/pageComponents/rankPage/SensitiveRank/index.less +17 -0
  884. package/src/pages/pageComponents/riskAccount/img/tip.png +0 -0
  885. package/src/pages/pageComponents/riskAccount/index.jsx +568 -0
  886. package/src/pages/pageComponents/riskAccount/index.less +104 -0
  887. package/src/pages/pageComponents/trendPage/CaptchRisk/index.jsx +564 -0
  888. package/src/pages/pageComponents/trendPage/CaptchSecond/index.jsx +517 -0
  889. package/src/pages/pageComponents/trendPage/ChannelRisk/index.jsx +533 -0
  890. package/src/pages/pageComponents/trendPage/TwNewTrend/configure.js +88 -0
  891. package/src/pages/pageComponents/trendPage/TwNewTrend/index.jsx +274 -0
  892. package/src/pages/pageComponents/trendPage/TwNewTrend/index.less +11 -0
  893. package/src/pages/pageComponents/trendPage/TwTrend/configure.js +128 -0
  894. package/src/pages/pageComponents/trendPage/TwTrend/index.jsx +130 -0
  895. package/src/pages/pageComponents/trendPage/TwTrend/index.less +11 -0
  896. package/src/pages/pageComponents/trendPage/TypeFour/contants.js +119 -0
  897. package/src/pages/pageComponents/trendPage/TypeFour/index.jsx +527 -0
  898. package/src/pages/pageComponents/trendPage/TypeOne/index.jsx +1474 -0
  899. package/src/pages/pageComponents/trendPage/TypeThree/index.jsx +676 -0
  900. package/src/pages/pageComponents/trendPage/TypeTwo/index.jsx +772 -0
  901. package/src/pages/pageComponents/trendPage/helper.js +80 -0
  902. package/src/pages/pageComponents/trendPage/hooks/useLineChart.js +45 -0
  903. package/src/pages/pageComponents/trendPage/trend.less +28 -0
  904. package/src/pages/pageComponents/typeErrorCorrection/TypeErrorPage.js +657 -0
  905. package/src/pages/pageComponents/typeErrorCorrection/constants.js +1017 -0
  906. package/src/pages/pageComponents/typeErrorCorrection/index.jsx +1090 -0
  907. package/src/pages/pageComponents/typeErrorCorrection/index.less +76 -0
  908. package/src/pages/payment/common/index.js +635 -0
  909. package/src/pages/payment/components/SMBillCard/index.js +102 -0
  910. package/src/pages/payment/components/SMBillCard/index.less +76 -0
  911. package/src/pages/payment/components/SMExport/index.js +43 -0
  912. package/src/pages/payment/components/SMExport/index.less +15 -0
  913. package/src/pages/payment/components/SMTimeRange/index.js +31 -0
  914. package/src/pages/payment/components/SMTimeRange/index.less +22 -0
  915. package/src/pages/payment/components/index.js +14 -0
  916. package/src/pages/payment/contants.js +107 -0
  917. package/src/pages/payment/index.less +160 -0
  918. package/src/pages/payment/manual/index.js +190 -0
  919. package/src/pages/payment/manual/index.less +11 -0
  920. package/src/pages/payment/options.js +686 -0
  921. package/src/pages/riskyMember/three.js +438 -0
  922. package/src/pages/riskyMember/three.less +80 -0
  923. package/src/pages/tj/audioStream/errorCorrection/list/index.jsx +8 -0
  924. package/src/pages/tj/audioStream/errorCorrection/missReason/index.jsx +26 -0
  925. package/src/pages/tj/audioStream/errorCorrection/trend/index.jsx +19 -0
  926. package/src/pages/tj/audioStream/history/audioClips/index.jsx +62 -0
  927. package/src/pages/tj/audioStream/history/audioStream/index.jsx +240 -0
  928. package/src/pages/tj/audioStream/history/constants.js +401 -0
  929. package/src/pages/tj/audioStream/list/blackWhite/company/list/contants.js +80 -0
  930. package/src/pages/tj/audioStream/list/blackWhite/company/list/index.jsx +229 -0
  931. package/src/pages/tj/audioStream/list/blackWhite/company/listContent/index.jsx +27 -0
  932. package/src/pages/tj/audioStream/list/blackWhite/company/listContentOpLog/index.jsx +25 -0
  933. package/src/pages/tj/audioStream/list/blackWhite/company/listOpLog/index.jsx +120 -0
  934. package/src/pages/tj/audioStream/list/blackWhite/company/listRepetition/index.jsx +20 -0
  935. package/src/pages/tj/audioStream/list/blackWhite/custom/list/contants.js +66 -0
  936. package/src/pages/tj/audioStream/list/blackWhite/custom/list/index.jsx +227 -0
  937. package/src/pages/tj/audioStream/list/blackWhite/custom/listContent/index.jsx +26 -0
  938. package/src/pages/tj/audioStream/list/blackWhite/custom/listContentOpLog/index.jsx +22 -0
  939. package/src/pages/tj/audioStream/list/blackWhite/custom/listOpLog/index.jsx +118 -0
  940. package/src/pages/tj/audioStream/list/blackWhite/custom/listRepetition/index.jsx +19 -0
  941. package/src/pages/tj/audioStream/list/blackWhite/global/list/contants.js +73 -0
  942. package/src/pages/tj/audioStream/list/blackWhite/global/list/index.jsx +164 -0
  943. package/src/pages/tj/audioStream/list/blackWhite/global/listContent/index.jsx +28 -0
  944. package/src/pages/tj/audioStream/list/blackWhite/global/listContentOpLog/index.jsx +23 -0
  945. package/src/pages/tj/audioStream/list/blackWhite/global/listOpLog/index.jsx +120 -0
  946. package/src/pages/tj/audioStream/list/blackWhite/listSearch/index.jsx +19 -0
  947. package/src/pages/tj/audioStream/list/text/black/listContent/index.jsx +27 -0
  948. package/src/pages/tj/audioStream/list/text/black/listContentOpLog/index.jsx +26 -0
  949. package/src/pages/tj/audioStream/list/text/black/listRepetition/index.jsx +16 -0
  950. package/src/pages/tj/audioStream/list/text/company/list/contants.js +101 -0
  951. package/src/pages/tj/audioStream/list/text/company/list/index.jsx +403 -0
  952. package/src/pages/tj/audioStream/list/text/company/listContent/index.jsx +26 -0
  953. package/src/pages/tj/audioStream/list/text/company/listContent/listRepetition/index.jsx +17 -0
  954. package/src/pages/tj/audioStream/list/text/company/listContentOpLog/index.jsx +25 -0
  955. package/src/pages/tj/audioStream/list/text/company/listOpLog/index.jsx +120 -0
  956. package/src/pages/tj/audioStream/list/text/company/listRepetition/index.jsx +17 -0
  957. package/src/pages/tj/audioStream/list/text/custom/list/contants.js +87 -0
  958. package/src/pages/tj/audioStream/list/text/custom/list/index.jsx +323 -0
  959. package/src/pages/tj/audioStream/list/text/custom/listContent/index.jsx +26 -0
  960. package/src/pages/tj/audioStream/list/text/custom/listContent/listRepetition/index.jsx +17 -0
  961. package/src/pages/tj/audioStream/list/text/custom/listContentOpLog/index.jsx +24 -0
  962. package/src/pages/tj/audioStream/list/text/custom/listOpLog/index.jsx +111 -0
  963. package/src/pages/tj/audioStream/list/text/custom/listRepetition/index.jsx +17 -0
  964. package/src/pages/tj/audioStream/list/text/global/list/contants.js +94 -0
  965. package/src/pages/tj/audioStream/list/text/global/list/index.jsx +301 -0
  966. package/src/pages/tj/audioStream/list/text/global/listContent/index.jsx +28 -0
  967. package/src/pages/tj/audioStream/list/text/global/listContentOpLog/index.jsx +25 -0
  968. package/src/pages/tj/audioStream/list/text/global/listOpLog/index.jsx +109 -0
  969. package/src/pages/tj/audioStream/list/text/listSearch/index.jsx +19 -0
  970. package/src/pages/tj/audioStream/rank/audioSensitiveWord/index.jsx +18 -0
  971. package/src/pages/tj/audioStream/trend/audioClips/index.jsx +59 -0
  972. package/src/pages/tj/audioStream/trend/audioStream/index.jsx +76 -0
  973. package/src/pages/tj/blackWhite/contants.js +112 -0
  974. package/src/pages/tj/blackWhite/list/index.jsx +224 -0
  975. package/src/pages/tj/blackWhite/listContent/index.jsx +24 -0
  976. package/src/pages/tj/blackWhite/listContentOpLog/index.jsx +23 -0
  977. package/src/pages/tj/blackWhite/listOpLog/index.jsx +66 -0
  978. package/src/pages/tj/blackWhite/listRepetition/index.jsx +15 -0
  979. package/src/pages/tj/blackWhite/listSearch/index.jsx +19 -0
  980. package/src/pages/tj/components/BatchDisplay/index.jsx +107 -0
  981. package/src/pages/tj/components/BatchDisplay/index.less +39 -0
  982. package/src/pages/tj/components/CheckItemPage/index.jsx +278 -0
  983. package/src/pages/tj/components/CheckTaskPage/constants.js +98 -0
  984. package/src/pages/tj/components/CheckTaskPage/img/0.png +0 -0
  985. package/src/pages/tj/components/CheckTaskPage/img/1.png +0 -0
  986. package/src/pages/tj/components/CheckTaskPage/img/2.png +0 -0
  987. package/src/pages/tj/components/CheckTaskPage/img/4.png +0 -0
  988. package/src/pages/tj/components/CheckTaskPage/img/5.png +0 -0
  989. package/src/pages/tj/components/CheckTaskPage/img/index.js +13 -0
  990. package/src/pages/tj/components/CheckTaskPage/index.jsx +627 -0
  991. package/src/pages/tj/components/CheckTaskPage/index.less +54 -0
  992. package/src/pages/tj/components/CheckUpload/img/img-close.png +0 -0
  993. package/src/pages/tj/components/CheckUpload/img/img-open.png +0 -0
  994. package/src/pages/tj/components/CheckUpload/img/index.js +9 -0
  995. package/src/pages/tj/components/CheckUpload/img/remove.png +0 -0
  996. package/src/pages/tj/components/CheckUpload/index.jsx +301 -0
  997. package/src/pages/tj/components/CheckUpload/index.less +102 -0
  998. package/src/pages/tj/components/Custom/img/icon-add.png +0 -0
  999. package/src/pages/tj/components/Custom/index.jsx +400 -0
  1000. package/src/pages/tj/components/Custom/index.less +122 -0
  1001. package/src/pages/tj/components/IconOther/index.jsx +25 -0
  1002. package/src/pages/tj/components/IconOther/index.less +17 -0
  1003. package/src/pages/tj/components/ImgUpload/constants.js +12 -0
  1004. package/src/pages/tj/components/ImgUpload/img/icon-add.png +0 -0
  1005. package/src/pages/tj/components/ImgUpload/index.jsx +146 -0
  1006. package/src/pages/tj/components/ImgUpload/index.less +105 -0
  1007. package/src/pages/tj/components/KnowledgeResult/index.jsx +115 -0
  1008. package/src/pages/tj/components/KnowledgeResult/index.less +103 -0
  1009. package/src/pages/tj/components/MediaUpload/help.js +99 -0
  1010. package/src/pages/tj/components/MediaUpload/img/img-close.png +0 -0
  1011. package/src/pages/tj/components/MediaUpload/img/img-open.png +0 -0
  1012. package/src/pages/tj/components/MediaUpload/img/index.js +9 -0
  1013. package/src/pages/tj/components/MediaUpload/img/remove.png +0 -0
  1014. package/src/pages/tj/components/MediaUpload/index.jsx +182 -0
  1015. package/src/pages/tj/components/MediaUpload/index.less +123 -0
  1016. package/src/pages/tj/components/ShowResult/constants.js +20 -0
  1017. package/src/pages/tj/components/ShowResult/img/index.js +9 -0
  1018. package/src/pages/tj/components/ShowResult/img/pass.png +0 -0
  1019. package/src/pages/tj/components/ShowResult/img/reject.png +0 -0
  1020. package/src/pages/tj/components/ShowResult/img/review.png +0 -0
  1021. package/src/pages/tj/components/ShowResult/index.jsx +156 -0
  1022. package/src/pages/tj/components/ShowResult/index.less +118 -0
  1023. package/src/pages/tj/components/TrialForm/config.js +68 -0
  1024. package/src/pages/tj/components/TrialForm/constants.js +20 -0
  1025. package/src/pages/tj/components/TrialForm/img/img-close.png +0 -0
  1026. package/src/pages/tj/components/TrialForm/img/img-open.png +0 -0
  1027. package/src/pages/tj/components/TrialForm/index.js +302 -0
  1028. package/src/pages/tj/components/TrialForm/index.less +76 -0
  1029. package/src/pages/tj/components/help.js +41 -0
  1030. package/src/pages/tj/components/hooks/constants.js +13 -0
  1031. package/src/pages/tj/components/hooks/index.js +9 -0
  1032. package/src/pages/tj/components/hooks/useAppChannel.js +353 -0
  1033. package/src/pages/tj/components/hooks/useTrialItem.js +611 -0
  1034. package/src/pages/tj/components/img/img-close.png +0 -0
  1035. package/src/pages/tj/components/img/img-open.png +0 -0
  1036. package/src/pages/tj/components/img/index.js +7 -0
  1037. package/src/pages/tj/constants.js +524 -0
  1038. package/src/pages/tj/multiModal/history/constants.js +535 -0
  1039. package/src/pages/tj/multiModal/history/text/buildHistoryTaskDetail.js +134 -0
  1040. package/src/pages/tj/multiModal/history/text/index.jsx +526 -0
  1041. package/src/pages/tj/multiModal/trend/text/index.jsx +8 -0
  1042. package/src/pages/tj/postAudio/errorCorrection/list/index.jsx +8 -0
  1043. package/src/pages/tj/postAudio/errorCorrection/missReason/index.jsx +26 -0
  1044. package/src/pages/tj/postAudio/errorCorrection/trend/index.jsx +19 -0
  1045. package/src/pages/tj/postAudio/history/audioClips/index.jsx +28 -0
  1046. package/src/pages/tj/postAudio/history/constants.js +427 -0
  1047. package/src/pages/tj/postAudio/history/postAudio/index.jsx +28 -0
  1048. package/src/pages/tj/postAudio/list/blackWhite/company/list/contants.js +80 -0
  1049. package/src/pages/tj/postAudio/list/blackWhite/company/list/index.jsx +232 -0
  1050. package/src/pages/tj/postAudio/list/blackWhite/company/listContent/index.jsx +27 -0
  1051. package/src/pages/tj/postAudio/list/blackWhite/company/listContentOpLog/index.jsx +24 -0
  1052. package/src/pages/tj/postAudio/list/blackWhite/company/listOpLog/index.jsx +113 -0
  1053. package/src/pages/tj/postAudio/list/blackWhite/company/listRepetition/index.jsx +19 -0
  1054. package/src/pages/tj/postAudio/list/blackWhite/custom/list/contants.js +66 -0
  1055. package/src/pages/tj/postAudio/list/blackWhite/custom/list/index.jsx +221 -0
  1056. package/src/pages/tj/postAudio/list/blackWhite/custom/listContent/index.jsx +27 -0
  1057. package/src/pages/tj/postAudio/list/blackWhite/custom/listContentOpLog/index.jsx +22 -0
  1058. package/src/pages/tj/postAudio/list/blackWhite/custom/listOpLog/index.jsx +112 -0
  1059. package/src/pages/tj/postAudio/list/blackWhite/custom/listRepetition/index.jsx +19 -0
  1060. package/src/pages/tj/postAudio/list/blackWhite/global/list/contants.js +73 -0
  1061. package/src/pages/tj/postAudio/list/blackWhite/global/list/index.jsx +147 -0
  1062. package/src/pages/tj/postAudio/list/blackWhite/global/listContent/index.jsx +27 -0
  1063. package/src/pages/tj/postAudio/list/blackWhite/global/listContentOpLog/index.jsx +22 -0
  1064. package/src/pages/tj/postAudio/list/blackWhite/global/listOpLog/index.jsx +113 -0
  1065. package/src/pages/tj/postAudio/list/blackWhite/listSearch/index.jsx +19 -0
  1066. package/src/pages/tj/postAudio/list/text/black/listContent/index.jsx +27 -0
  1067. package/src/pages/tj/postAudio/list/text/black/listContentOpLog/index.jsx +26 -0
  1068. package/src/pages/tj/postAudio/list/text/black/listRepetition/index.jsx +16 -0
  1069. package/src/pages/tj/postAudio/list/text/company/list/contants.js +101 -0
  1070. package/src/pages/tj/postAudio/list/text/company/list/index.jsx +411 -0
  1071. package/src/pages/tj/postAudio/list/text/company/listContent/index.jsx +26 -0
  1072. package/src/pages/tj/postAudio/list/text/company/listContent/listRepetition/index.jsx +16 -0
  1073. package/src/pages/tj/postAudio/list/text/company/listContentOpLog/index.jsx +24 -0
  1074. package/src/pages/tj/postAudio/list/text/company/listOpLog/index.jsx +119 -0
  1075. package/src/pages/tj/postAudio/list/text/company/listRepetition/index.jsx +16 -0
  1076. package/src/pages/tj/postAudio/list/text/custom/list/contants.js +87 -0
  1077. package/src/pages/tj/postAudio/list/text/custom/list/index.jsx +322 -0
  1078. package/src/pages/tj/postAudio/list/text/custom/listContent/index.jsx +28 -0
  1079. package/src/pages/tj/postAudio/list/text/custom/listContent/listRepetition/index.jsx +16 -0
  1080. package/src/pages/tj/postAudio/list/text/custom/listContentOpLog/index.jsx +24 -0
  1081. package/src/pages/tj/postAudio/list/text/custom/listOpLog/index.jsx +111 -0
  1082. package/src/pages/tj/postAudio/list/text/custom/listRepetition/index.jsx +16 -0
  1083. package/src/pages/tj/postAudio/list/text/global/list/contants.js +94 -0
  1084. package/src/pages/tj/postAudio/list/text/global/list/index.jsx +290 -0
  1085. package/src/pages/tj/postAudio/list/text/global/listContent/index.jsx +28 -0
  1086. package/src/pages/tj/postAudio/list/text/global/listContentOpLog/index.jsx +24 -0
  1087. package/src/pages/tj/postAudio/list/text/global/listOpLog/index.jsx +108 -0
  1088. package/src/pages/tj/postAudio/list/text/listSearch/index.jsx +19 -0
  1089. package/src/pages/tj/postAudio/rank/audioSensitiveWord/index.jsx +18 -0
  1090. package/src/pages/tj/postAudio/trend/audioClips/index.jsx +57 -0
  1091. package/src/pages/tj/postAudio/trend/postAudio/index.jsx +8 -0
  1092. package/src/pages/tj/postImg/errorCorrection/list/index.jsx +35 -0
  1093. package/src/pages/tj/postImg/errorCorrection/list/index.less +0 -0
  1094. package/src/pages/tj/postImg/errorCorrection/missReason/index.jsx +26 -0
  1095. package/src/pages/tj/postImg/errorCorrection/trend/index.jsx +19 -0
  1096. package/src/pages/tj/postImg/history/constants.js +112 -0
  1097. package/src/pages/tj/postImg/history/postImg/buildHistoryTaskDetail.js +129 -0
  1098. package/src/pages/tj/postImg/history/postImg/index.jsx +190 -0
  1099. package/src/pages/tj/postImg/list/blackWhite/company/list/contants.js +90 -0
  1100. package/src/pages/tj/postImg/list/blackWhite/company/list/index.jsx +233 -0
  1101. package/src/pages/tj/postImg/list/blackWhite/company/listContent/index.jsx +19 -0
  1102. package/src/pages/tj/postImg/list/blackWhite/company/listContentOpLog/index.jsx +17 -0
  1103. package/src/pages/tj/postImg/list/blackWhite/company/listOpLog/index.jsx +100 -0
  1104. package/src/pages/tj/postImg/list/blackWhite/company/listRepetition/index.jsx +17 -0
  1105. package/src/pages/tj/postImg/list/blackWhite/custom/list/contants.js +66 -0
  1106. package/src/pages/tj/postImg/list/blackWhite/custom/list/index.jsx +217 -0
  1107. package/src/pages/tj/postImg/list/blackWhite/custom/listContent/index.jsx +25 -0
  1108. package/src/pages/tj/postImg/list/blackWhite/custom/listContentOpLog/index.jsx +21 -0
  1109. package/src/pages/tj/postImg/list/blackWhite/custom/listOpLog/index.jsx +99 -0
  1110. package/src/pages/tj/postImg/list/blackWhite/custom/listRepetition/index.jsx +17 -0
  1111. package/src/pages/tj/postImg/list/blackWhite/global/list/contants.js +73 -0
  1112. package/src/pages/tj/postImg/list/blackWhite/global/list/index.jsx +147 -0
  1113. package/src/pages/tj/postImg/list/blackWhite/global/listContent/index.jsx +26 -0
  1114. package/src/pages/tj/postImg/list/blackWhite/global/listContentOpLog/index.jsx +21 -0
  1115. package/src/pages/tj/postImg/list/blackWhite/global/listOpLog/index.jsx +100 -0
  1116. package/src/pages/tj/postImg/list/blackWhite/listSearch/index.jsx +19 -0
  1117. package/src/pages/tj/postImg/list/components/DatePickerV2/index.less +0 -0
  1118. package/src/pages/tj/postImg/list/components/DatePickerV2/index.tsx +34 -0
  1119. package/src/pages/tj/postImg/list/components/ExportDom/index.less +6 -0
  1120. package/src/pages/tj/postImg/list/components/ExportDom/index.tsx +63 -0
  1121. package/src/pages/tj/postImg/list/components/LabelSearchV2/index.less +0 -0
  1122. package/src/pages/tj/postImg/list/components/LabelSearchV2/index.tsx +84 -0
  1123. package/src/pages/tj/postImg/list/components/SearchFormV2/getFormItems.tsx +121 -0
  1124. package/src/pages/tj/postImg/list/components/SearchFormV2/index.less +91 -0
  1125. package/src/pages/tj/postImg/list/components/SearchFormV2/index.tsx +73 -0
  1126. package/src/pages/tj/postImg/list/formatAppIdOrChannelRender.js +52 -0
  1127. package/src/pages/tj/postImg/list/formatSubmitParams.js +32 -0
  1128. package/src/pages/tj/postImg/list/laboratory/blackImgSimilar/detail/components/BreadCrumbSimilar/index.less +4 -0
  1129. package/src/pages/tj/postImg/list/laboratory/blackImgSimilar/detail/components/BreadCrumbSimilar/index.tsx +57 -0
  1130. package/src/pages/tj/postImg/list/laboratory/blackImgSimilar/detail/components/SimilarImage/index.less +30 -0
  1131. package/src/pages/tj/postImg/list/laboratory/blackImgSimilar/detail/components/SimilarImage/index.tsx +135 -0
  1132. package/src/pages/tj/postImg/list/laboratory/blackImgSimilar/detail/getSearchFormConfig.ts +71 -0
  1133. package/src/pages/tj/postImg/list/laboratory/blackImgSimilar/detail/index.less +24 -0
  1134. package/src/pages/tj/postImg/list/laboratory/blackImgSimilar/detail/index.tsx +151 -0
  1135. package/src/pages/tj/postImg/list/laboratory/blackImgSimilar/list/formatSubmitParams.ts +18 -0
  1136. package/src/pages/tj/postImg/list/laboratory/blackImgSimilar/list/getLabColumns.tsx +135 -0
  1137. package/src/pages/tj/postImg/list/laboratory/blackImgSimilar/list/getSearchFormConfig.ts +81 -0
  1138. package/src/pages/tj/postImg/list/laboratory/blackImgSimilar/list/index.less +63 -0
  1139. package/src/pages/tj/postImg/list/laboratory/blackImgSimilar/list/index.tsx +271 -0
  1140. package/src/pages/tj/postImg/list/laboratory/formatQueryParams.ts +5 -0
  1141. package/src/pages/tj/postImg/list/laboratory/hooks/useMdLab.ts +67 -0
  1142. package/src/pages/tj/postImg/list/laboratory/hooks/useMdLabHit.ts +39 -0
  1143. package/src/pages/tj/postImg/list/laboratory/type.d.ts +23 -0
  1144. package/src/pages/tj/postImg/list/laboratory/whiteImgSimilar/detail/index.tsx +9 -0
  1145. package/src/pages/tj/postImg/list/laboratory/whiteImgSimilar/index.tsx +9 -0
  1146. package/src/pages/tj/postImg/list/laboratory/whiteImgSimilar/list/index.tsx +9 -0
  1147. package/src/pages/tj/postImg/list/postImg/ImgSimilar/List/components/ListUpdateForm/index.tsx +92 -0
  1148. package/src/pages/tj/postImg/list/postImg/ImgSimilar/List/getImgListColumns.tsx +173 -0
  1149. package/src/pages/tj/postImg/list/postImg/ImgSimilar/List/getSearchFormConfig.ts +49 -0
  1150. package/src/pages/tj/postImg/list/postImg/ImgSimilar/List/hooks/useImgSimilarList.tsx +142 -0
  1151. package/src/pages/tj/postImg/list/postImg/ImgSimilar/List/index.less +25 -0
  1152. package/src/pages/tj/postImg/list/postImg/ImgSimilar/List/index.tsx +237 -0
  1153. package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContent/components/BatchForm/BatchUpload.tsx +49 -0
  1154. package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContent/components/BatchForm/index.less +11 -0
  1155. package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContent/components/BatchForm/index.tsx +113 -0
  1156. package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContent/components/CreateForm/index.less +0 -0
  1157. package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContent/components/CreateForm/index.tsx +72 -0
  1158. package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContent/getImgListColumns.tsx +72 -0
  1159. package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContent/getSearchFormConfig.ts +41 -0
  1160. package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContent/getSelectionExtraDom.tsx +34 -0
  1161. package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContent/hooks/useImgSimilarListContent.tsx +118 -0
  1162. package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContent/index.less +74 -0
  1163. package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContent/index.tsx +301 -0
  1164. package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContentRecord/getImgListColumns.tsx +80 -0
  1165. package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContentRecord/getSearchFormConfig.ts +69 -0
  1166. package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContentRecord/hooks/useSimilarListRecord.ts +41 -0
  1167. package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContentRecord/index.less +20 -0
  1168. package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContentRecord/index.tsx +145 -0
  1169. package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListCreate/index.less +15 -0
  1170. package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListCreate/index.tsx +172 -0
  1171. package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListRecord/getImgListColumns.tsx +68 -0
  1172. package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListRecord/getSearchFormConfig.ts +87 -0
  1173. package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListRecord/hooks/useSimilarListRecord.ts +41 -0
  1174. package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListRecord/index.less +19 -0
  1175. package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListRecord/index.tsx +158 -0
  1176. package/src/pages/tj/postImg/list/postImg/ImgSimilar/components/ImgSimilarForm/index.tsx +120 -0
  1177. package/src/pages/tj/postImg/list/postImg/ImgSimilar/components/MultiSelect/index.less +0 -0
  1178. package/src/pages/tj/postImg/list/postImg/ImgSimilar/components/MultiSelect/index.tsx +118 -0
  1179. package/src/pages/tj/postImg/list/postImg/ImgSimilar/components/SimilarUpload/checkImageExist.ts +36 -0
  1180. package/src/pages/tj/postImg/list/postImg/ImgSimilar/components/SimilarUpload/constants.ts +25 -0
  1181. package/src/pages/tj/postImg/list/postImg/ImgSimilar/components/SimilarUpload/getBase64.ts +9 -0
  1182. package/src/pages/tj/postImg/list/postImg/ImgSimilar/components/SimilarUpload/icon-add.png +0 -0
  1183. package/src/pages/tj/postImg/list/postImg/ImgSimilar/components/SimilarUpload/index.less +306 -0
  1184. package/src/pages/tj/postImg/list/postImg/ImgSimilar/components/SimilarUpload/index.tsx +238 -0
  1185. package/src/pages/tj/postImg/list/postImg/ImgSimilar/components/SimilarUpload/uploadIcon.svg +14 -0
  1186. package/src/pages/tj/postImg/list/postImg/ImgSimilar/components/SingleSelect/index.less +0 -0
  1187. package/src/pages/tj/postImg/list/postImg/ImgSimilar/components/SingleSelect/index.tsx +28 -0
  1188. package/src/pages/tj/postImg/list/postImg/ImgSimilar/constants.js +29 -0
  1189. package/src/pages/tj/postImg/list/postImg/ImgSimilar/index.tsx +40 -0
  1190. package/src/pages/tj/postImg/list/postImg/black/listContent/index.jsx +24 -0
  1191. package/src/pages/tj/postImg/list/postImg/black/listContentOpLog/index.jsx +23 -0
  1192. package/src/pages/tj/postImg/list/postImg/company/list/contants.js +94 -0
  1193. package/src/pages/tj/postImg/list/postImg/company/list/index.jsx +254 -0
  1194. package/src/pages/tj/postImg/list/postImg/company/listContent/index.jsx +29 -0
  1195. package/src/pages/tj/postImg/list/postImg/company/listContentOpLog/index.jsx +28 -0
  1196. package/src/pages/tj/postImg/list/postImg/company/listOpLog/index.jsx +86 -0
  1197. package/src/pages/tj/postImg/list/postImg/company/listRepetition/index.jsx +17 -0
  1198. package/src/pages/tj/postImg/list/postImg/custom/list/contants.js +73 -0
  1199. package/src/pages/tj/postImg/list/postImg/custom/list/index.jsx +247 -0
  1200. package/src/pages/tj/postImg/list/postImg/custom/listContent/index.jsx +34 -0
  1201. package/src/pages/tj/postImg/list/postImg/custom/listContentOpLog/index.jsx +27 -0
  1202. package/src/pages/tj/postImg/list/postImg/custom/listOpLog/index.jsx +86 -0
  1203. package/src/pages/tj/postImg/list/postImg/custom/listRepetition/index.jsx +17 -0
  1204. package/src/pages/tj/postImg/list/postImg/global/list/contants.js +87 -0
  1205. package/src/pages/tj/postImg/list/postImg/global/list/index.jsx +196 -0
  1206. package/src/pages/tj/postImg/list/postImg/global/listContent/index.jsx +27 -0
  1207. package/src/pages/tj/postImg/list/postImg/global/listContentOpLog/index.jsx +24 -0
  1208. package/src/pages/tj/postImg/list/postImg/global/listOpLog/index.jsx +82 -0
  1209. package/src/pages/tj/postImg/list/postImg/listSearch/index.jsx +20 -0
  1210. package/src/pages/tj/postImg/list/postImg/similarBlack/listContent/index.jsx +27 -0
  1211. package/src/pages/tj/postImg/list/postImg/similarBlack/listContentOpLog/index.jsx +24 -0
  1212. package/src/pages/tj/postImg/list/postImg/tabContentLayoutImage/index.jsx +64 -0
  1213. package/src/pages/tj/postImg/list/text/black/listContent/index.jsx +24 -0
  1214. package/src/pages/tj/postImg/list/text/black/listContentOpLog/index.jsx +22 -0
  1215. package/src/pages/tj/postImg/list/text/black/listRepetition/index.jsx +15 -0
  1216. package/src/pages/tj/postImg/list/text/company/list/contants.js +101 -0
  1217. package/src/pages/tj/postImg/list/text/company/list/index.jsx +368 -0
  1218. package/src/pages/tj/postImg/list/text/company/listContent/index.jsx +24 -0
  1219. package/src/pages/tj/postImg/list/text/company/listContent/listRepetition/index.jsx +15 -0
  1220. package/src/pages/tj/postImg/list/text/company/listContentOpLog/index.jsx +23 -0
  1221. package/src/pages/tj/postImg/list/text/company/listOpLog/index.jsx +109 -0
  1222. package/src/pages/tj/postImg/list/text/company/listRepetition/index.jsx +15 -0
  1223. package/src/pages/tj/postImg/list/text/custom/list/contants.js +87 -0
  1224. package/src/pages/tj/postImg/list/text/custom/list/index.jsx +318 -0
  1225. package/src/pages/tj/postImg/list/text/custom/listContent/index.jsx +32 -0
  1226. package/src/pages/tj/postImg/list/text/custom/listContent/listRepetition/index.jsx +15 -0
  1227. package/src/pages/tj/postImg/list/text/custom/listContentOpLog/index.jsx +26 -0
  1228. package/src/pages/tj/postImg/list/text/custom/listOpLog/index.jsx +110 -0
  1229. package/src/pages/tj/postImg/list/text/custom/listRepetition/index.jsx +15 -0
  1230. package/src/pages/tj/postImg/list/text/global/list/contants.js +94 -0
  1231. package/src/pages/tj/postImg/list/text/global/list/index.jsx +289 -0
  1232. package/src/pages/tj/postImg/list/text/global/listContent/index.jsx +26 -0
  1233. package/src/pages/tj/postImg/list/text/global/listContentOpLog/index.jsx +23 -0
  1234. package/src/pages/tj/postImg/list/text/global/listOpLog/index.jsx +99 -0
  1235. package/src/pages/tj/postImg/list/text/listSearch/index.jsx +19 -0
  1236. package/src/pages/tj/postImg/trend/postImg/index.jsx +50 -0
  1237. package/src/pages/tj/postVideo/errorCorrection/audioList/index.jsx +8 -0
  1238. package/src/pages/tj/postVideo/errorCorrection/audioMissReason/index.jsx +26 -0
  1239. package/src/pages/tj/postVideo/errorCorrection/constants.js +490 -0
  1240. package/src/pages/tj/postVideo/errorCorrection/imgList/index.jsx +8 -0
  1241. package/src/pages/tj/postVideo/errorCorrection/imgMissReason/index.jsx +26 -0
  1242. package/src/pages/tj/postVideo/errorCorrection/trend/index.jsx +19 -0
  1243. package/src/pages/tj/postVideo/history/audioClips/index.jsx +27 -0
  1244. package/src/pages/tj/postVideo/history/constants.js +590 -0
  1245. package/src/pages/tj/postVideo/history/imgClips/index.jsx +64 -0
  1246. package/src/pages/tj/postVideo/history/videoFile/index.jsx +25 -0
  1247. package/src/pages/tj/postVideo/list/audioBlackWhite/company/list/contants.js +80 -0
  1248. package/src/pages/tj/postVideo/list/audioBlackWhite/company/list/index.jsx +228 -0
  1249. package/src/pages/tj/postVideo/list/audioBlackWhite/company/listContent/index.jsx +25 -0
  1250. package/src/pages/tj/postVideo/list/audioBlackWhite/company/listContentOpLog/index.jsx +23 -0
  1251. package/src/pages/tj/postVideo/list/audioBlackWhite/company/listOpLog/index.jsx +112 -0
  1252. package/src/pages/tj/postVideo/list/audioBlackWhite/company/listRepetition/index.jsx +17 -0
  1253. package/src/pages/tj/postVideo/list/audioBlackWhite/custom/list/contants.js +66 -0
  1254. package/src/pages/tj/postVideo/list/audioBlackWhite/custom/list/index.jsx +203 -0
  1255. package/src/pages/tj/postVideo/list/audioBlackWhite/custom/listContent/index.jsx +25 -0
  1256. package/src/pages/tj/postVideo/list/audioBlackWhite/custom/listContentOpLog/index.jsx +21 -0
  1257. package/src/pages/tj/postVideo/list/audioBlackWhite/custom/listOpLog/index.jsx +111 -0
  1258. package/src/pages/tj/postVideo/list/audioBlackWhite/custom/listRepetition/index.jsx +17 -0
  1259. package/src/pages/tj/postVideo/list/audioBlackWhite/global/list/contants.js +73 -0
  1260. package/src/pages/tj/postVideo/list/audioBlackWhite/global/list/index.jsx +148 -0
  1261. package/src/pages/tj/postVideo/list/audioBlackWhite/global/listContent/index.jsx +26 -0
  1262. package/src/pages/tj/postVideo/list/audioBlackWhite/global/listContentOpLog/index.jsx +21 -0
  1263. package/src/pages/tj/postVideo/list/audioBlackWhite/global/listOpLog/index.jsx +112 -0
  1264. package/src/pages/tj/postVideo/list/audioBlackWhite/listSearch/index.jsx +19 -0
  1265. package/src/pages/tj/postVideo/list/audioText/black/listContent/index.jsx +24 -0
  1266. package/src/pages/tj/postVideo/list/audioText/black/listContentOpLog/index.jsx +22 -0
  1267. package/src/pages/tj/postVideo/list/audioText/black/listRepetition/index.jsx +15 -0
  1268. package/src/pages/tj/postVideo/list/audioText/company/list/contants.js +101 -0
  1269. package/src/pages/tj/postVideo/list/audioText/company/list/index.jsx +397 -0
  1270. package/src/pages/tj/postVideo/list/audioText/company/listContent/index.jsx +24 -0
  1271. package/src/pages/tj/postVideo/list/audioText/company/listContent/listRepetition/index.jsx +15 -0
  1272. package/src/pages/tj/postVideo/list/audioText/company/listContentOpLog/index.jsx +23 -0
  1273. package/src/pages/tj/postVideo/list/audioText/company/listOpLog/index.jsx +118 -0
  1274. package/src/pages/tj/postVideo/list/audioText/company/listRepetition/index.jsx +15 -0
  1275. package/src/pages/tj/postVideo/list/audioText/custom/list/contants.js +87 -0
  1276. package/src/pages/tj/postVideo/list/audioText/custom/list/index.jsx +304 -0
  1277. package/src/pages/tj/postVideo/list/audioText/custom/listContent/index.jsx +24 -0
  1278. package/src/pages/tj/postVideo/list/audioText/custom/listContent/listRepetition/index.jsx +15 -0
  1279. package/src/pages/tj/postVideo/list/audioText/custom/listContentOpLog/index.jsx +23 -0
  1280. package/src/pages/tj/postVideo/list/audioText/custom/listOpLog/index.jsx +112 -0
  1281. package/src/pages/tj/postVideo/list/audioText/custom/listRepetition/index.jsx +15 -0
  1282. package/src/pages/tj/postVideo/list/audioText/global/list/contants.js +94 -0
  1283. package/src/pages/tj/postVideo/list/audioText/global/list/index.jsx +297 -0
  1284. package/src/pages/tj/postVideo/list/audioText/global/listContent/index.jsx +26 -0
  1285. package/src/pages/tj/postVideo/list/audioText/global/listContentOpLog/index.jsx +23 -0
  1286. package/src/pages/tj/postVideo/list/audioText/global/listOpLog/index.jsx +108 -0
  1287. package/src/pages/tj/postVideo/list/audioText/listSearch/index.jsx +19 -0
  1288. package/src/pages/tj/postVideo/list/imgBlackWhite/company/list/contants.js +80 -0
  1289. package/src/pages/tj/postVideo/list/imgBlackWhite/company/list/index.jsx +229 -0
  1290. package/src/pages/tj/postVideo/list/imgBlackWhite/company/listContent/index.jsx +25 -0
  1291. package/src/pages/tj/postVideo/list/imgBlackWhite/company/listContentOpLog/index.jsx +23 -0
  1292. package/src/pages/tj/postVideo/list/imgBlackWhite/company/listOpLog/index.jsx +100 -0
  1293. package/src/pages/tj/postVideo/list/imgBlackWhite/company/listRepetition/index.jsx +17 -0
  1294. package/src/pages/tj/postVideo/list/imgBlackWhite/custom/list/contants.js +66 -0
  1295. package/src/pages/tj/postVideo/list/imgBlackWhite/custom/list/index.jsx +217 -0
  1296. package/src/pages/tj/postVideo/list/imgBlackWhite/custom/listContent/index.jsx +25 -0
  1297. package/src/pages/tj/postVideo/list/imgBlackWhite/custom/listContentOpLog/index.jsx +21 -0
  1298. package/src/pages/tj/postVideo/list/imgBlackWhite/custom/listOpLog/index.jsx +99 -0
  1299. package/src/pages/tj/postVideo/list/imgBlackWhite/custom/listRepetition/index.jsx +17 -0
  1300. package/src/pages/tj/postVideo/list/imgBlackWhite/global/list/contants.js +73 -0
  1301. package/src/pages/tj/postVideo/list/imgBlackWhite/global/list/index.jsx +146 -0
  1302. package/src/pages/tj/postVideo/list/imgBlackWhite/global/listContent/index.jsx +26 -0
  1303. package/src/pages/tj/postVideo/list/imgBlackWhite/global/listContentOpLog/index.jsx +21 -0
  1304. package/src/pages/tj/postVideo/list/imgBlackWhite/global/listOpLog/index.jsx +100 -0
  1305. package/src/pages/tj/postVideo/list/imgBlackWhite/listSearch/index.jsx +19 -0
  1306. package/src/pages/tj/postVideo/list/imgText/black/listContent/index.jsx +24 -0
  1307. package/src/pages/tj/postVideo/list/imgText/black/listContentOpLog/index.jsx +22 -0
  1308. package/src/pages/tj/postVideo/list/imgText/black/listRepetition/index.jsx +15 -0
  1309. package/src/pages/tj/postVideo/list/imgText/company/list/contants.js +101 -0
  1310. package/src/pages/tj/postVideo/list/imgText/company/list/index.jsx +363 -0
  1311. package/src/pages/tj/postVideo/list/imgText/company/listContent/index.jsx +24 -0
  1312. package/src/pages/tj/postVideo/list/imgText/company/listContent/listRepetition/index.jsx +15 -0
  1313. package/src/pages/tj/postVideo/list/imgText/company/listContentOpLog/index.jsx +23 -0
  1314. package/src/pages/tj/postVideo/list/imgText/company/listOpLog/index.jsx +110 -0
  1315. package/src/pages/tj/postVideo/list/imgText/company/listRepetition/index.jsx +15 -0
  1316. package/src/pages/tj/postVideo/list/imgText/custom/list/contants.js +87 -0
  1317. package/src/pages/tj/postVideo/list/imgText/custom/list/index.jsx +310 -0
  1318. package/src/pages/tj/postVideo/list/imgText/custom/listContent/index.jsx +24 -0
  1319. package/src/pages/tj/postVideo/list/imgText/custom/listContent/listRepetition/index.jsx +15 -0
  1320. package/src/pages/tj/postVideo/list/imgText/custom/listContentOpLog/index.jsx +23 -0
  1321. package/src/pages/tj/postVideo/list/imgText/custom/listOpLog/index.jsx +104 -0
  1322. package/src/pages/tj/postVideo/list/imgText/custom/listRepetition/index.jsx +15 -0
  1323. package/src/pages/tj/postVideo/list/imgText/global/list/contants.js +94 -0
  1324. package/src/pages/tj/postVideo/list/imgText/global/list/index.jsx +293 -0
  1325. package/src/pages/tj/postVideo/list/imgText/global/listContent/index.jsx +26 -0
  1326. package/src/pages/tj/postVideo/list/imgText/global/listContentOpLog/index.jsx +23 -0
  1327. package/src/pages/tj/postVideo/list/imgText/global/listOpLog/index.jsx +100 -0
  1328. package/src/pages/tj/postVideo/list/imgText/listSearch/index.jsx +19 -0
  1329. package/src/pages/tj/postVideo/list/postImg/black/listContent/index.jsx +24 -0
  1330. package/src/pages/tj/postVideo/list/postImg/black/listContentOpLog/index.jsx +23 -0
  1331. package/src/pages/tj/postVideo/list/postImg/company/list/contants.js +94 -0
  1332. package/src/pages/tj/postVideo/list/postImg/company/list/index.jsx +245 -0
  1333. package/src/pages/tj/postVideo/list/postImg/company/listContent/index.jsx +26 -0
  1334. package/src/pages/tj/postVideo/list/postImg/company/listContentOpLog/index.jsx +26 -0
  1335. package/src/pages/tj/postVideo/list/postImg/company/listOpLog/index.jsx +84 -0
  1336. package/src/pages/tj/postVideo/list/postImg/company/listRepetition/index.jsx +17 -0
  1337. package/src/pages/tj/postVideo/list/postImg/custom/list/contants.js +73 -0
  1338. package/src/pages/tj/postVideo/list/postImg/custom/list/index.jsx +233 -0
  1339. package/src/pages/tj/postVideo/list/postImg/custom/listContent/index.jsx +27 -0
  1340. package/src/pages/tj/postVideo/list/postImg/custom/listContentOpLog/index.jsx +24 -0
  1341. package/src/pages/tj/postVideo/list/postImg/custom/listOpLog/index.jsx +80 -0
  1342. package/src/pages/tj/postVideo/list/postImg/custom/listRepetition/index.jsx +17 -0
  1343. package/src/pages/tj/postVideo/list/postImg/global/list/contants.js +87 -0
  1344. package/src/pages/tj/postVideo/list/postImg/global/list/index.jsx +196 -0
  1345. package/src/pages/tj/postVideo/list/postImg/global/listContent/index.jsx +27 -0
  1346. package/src/pages/tj/postVideo/list/postImg/global/listContentOpLog/index.jsx +24 -0
  1347. package/src/pages/tj/postVideo/list/postImg/global/listOpLog/index.jsx +82 -0
  1348. package/src/pages/tj/postVideo/list/postImg/listSearch/index.jsx +21 -0
  1349. package/src/pages/tj/postVideo/rank/audioSensitiveWord/index.jsx +18 -0
  1350. package/src/pages/tj/postVideo/rank/imgSensitiveWord/index.jsx +18 -0
  1351. package/src/pages/tj/postVideo/trend/audioClips/index.jsx +50 -0
  1352. package/src/pages/tj/postVideo/trend/imgClips/index.jsx +50 -0
  1353. package/src/pages/tj/postVideo/trend/videoFile/index.jsx +50 -0
  1354. package/src/pages/tj/risk/account/index.jsx +18 -0
  1355. package/src/pages/tj/sensitive/list/contants.js +24 -0
  1356. package/src/pages/tj/sensitive/list/index.jsx +20 -0
  1357. package/src/pages/tj/sensitive/listContent/index.jsx +29 -0
  1358. package/src/pages/tj/sensitive/listContent/listRepetition/index.jsx +17 -0
  1359. package/src/pages/tj/sensitive/listContentOpLog/index.jsx +26 -0
  1360. package/src/pages/tj/sensitive/listOpLog/index.jsx +121 -0
  1361. package/src/pages/tj/text/check/batch/index.jsx +24 -0
  1362. package/src/pages/tj/text/check/constants.js +1696 -0
  1363. package/src/pages/tj/text/check/item/index.jsx +26 -0
  1364. package/src/pages/tj/text/errorCorrection/list/index.jsx +52 -0
  1365. package/src/pages/tj/text/errorCorrection/missReason/index.jsx +26 -0
  1366. package/src/pages/tj/text/errorCorrection/trend/index.jsx +19 -0
  1367. package/src/pages/tj/text/history/constants.js +535 -0
  1368. package/src/pages/tj/text/history/text/buildHistoryTaskDetail.js +134 -0
  1369. package/src/pages/tj/text/history/text/index.jsx +526 -0
  1370. package/src/pages/tj/text/list/blackWhite/company/list/contants.js +98 -0
  1371. package/src/pages/tj/text/list/blackWhite/company/list/index.jsx +230 -0
  1372. package/src/pages/tj/text/list/blackWhite/company/listContent/index.jsx +25 -0
  1373. package/src/pages/tj/text/list/blackWhite/company/listContent/listRepetition/index.jsx +15 -0
  1374. package/src/pages/tj/text/list/blackWhite/company/listContentOpLog/index.jsx +24 -0
  1375. package/src/pages/tj/text/list/blackWhite/company/listOpLog/index.jsx +120 -0
  1376. package/src/pages/tj/text/list/blackWhite/company/listRepetition/index.jsx +19 -0
  1377. package/src/pages/tj/text/list/blackWhite/custom/list/contants.js +82 -0
  1378. package/src/pages/tj/text/list/blackWhite/custom/list/index.jsx +219 -0
  1379. package/src/pages/tj/text/list/blackWhite/custom/listContent/index.jsx +25 -0
  1380. package/src/pages/tj/text/list/blackWhite/custom/listContentOpLog/index.jsx +22 -0
  1381. package/src/pages/tj/text/list/blackWhite/custom/listOpLog/index.jsx +117 -0
  1382. package/src/pages/tj/text/list/blackWhite/custom/listRepetition/index.jsx +19 -0
  1383. package/src/pages/tj/text/list/blackWhite/global/list/contants.js +73 -0
  1384. package/src/pages/tj/text/list/blackWhite/global/list/index.jsx +145 -0
  1385. package/src/pages/tj/text/list/blackWhite/global/listContent/index.jsx +26 -0
  1386. package/src/pages/tj/text/list/blackWhite/global/listContentOpLog/index.jsx +22 -0
  1387. package/src/pages/tj/text/list/blackWhite/global/listOpLog/index.jsx +113 -0
  1388. package/src/pages/tj/text/list/blackWhite/listSearch/index.jsx +19 -0
  1389. package/src/pages/tj/text/list/text/black/listContent/index.jsx +25 -0
  1390. package/src/pages/tj/text/list/text/black/listContentOpLog/index.jsx +26 -0
  1391. package/src/pages/tj/text/list/text/black/listRepetition/index.jsx +16 -0
  1392. package/src/pages/tj/text/list/text/company/list/contants.js +114 -0
  1393. package/src/pages/tj/text/list/text/company/list/index.jsx +422 -0
  1394. package/src/pages/tj/text/list/text/company/listContent/index.jsx +32 -0
  1395. package/src/pages/tj/text/list/text/company/listContent/listRepetition/index.jsx +16 -0
  1396. package/src/pages/tj/text/list/text/company/listContentOpLog/index.jsx +29 -0
  1397. package/src/pages/tj/text/list/text/company/listOpLog/index.jsx +129 -0
  1398. package/src/pages/tj/text/list/text/company/listRepetition/index.jsx +17 -0
  1399. package/src/pages/tj/text/list/text/custom/list/contants.js +743 -0
  1400. package/src/pages/tj/text/list/text/custom/list/index.jsx +36 -0
  1401. package/src/pages/tj/text/list/text/custom/listContent/index.jsx +36 -0
  1402. package/src/pages/tj/text/list/text/custom/listContent/listRepetition/index.jsx +15 -0
  1403. package/src/pages/tj/text/list/text/custom/listContentOpLog/index.jsx +27 -0
  1404. package/src/pages/tj/text/list/text/custom/listOpLog/index.jsx +124 -0
  1405. package/src/pages/tj/text/list/text/custom/listRepetition/index.jsx +15 -0
  1406. package/src/pages/tj/text/list/text/global/list/contants.js +94 -0
  1407. package/src/pages/tj/text/list/text/global/list/index.jsx +326 -0
  1408. package/src/pages/tj/text/list/text/global/listContent/index.jsx +27 -0
  1409. package/src/pages/tj/text/list/text/global/listContentOpLog/index.jsx +24 -0
  1410. package/src/pages/tj/text/list/text/global/listOpLog/index.jsx +111 -0
  1411. package/src/pages/tj/text/list/text/lab/contants.js +346 -0
  1412. package/src/pages/tj/text/list/text/lab/hooks/useHitListExport.js +38 -0
  1413. package/src/pages/tj/text/list/text/lab/index.jsx +479 -0
  1414. package/src/pages/tj/text/list/text/lab/index.less +29 -0
  1415. package/src/pages/tj/text/list/text/lab/viewHit/index.jsx +231 -0
  1416. package/src/pages/tj/text/list/text/lab/viewHit/index.less +43 -0
  1417. package/src/pages/tj/text/list/text/listSearch/index.jsx +19 -0
  1418. package/src/pages/tj/text/rank/constants.js +10 -0
  1419. package/src/pages/tj/text/rank/index.js +36 -0
  1420. package/src/pages/tj/text/trend/text/index.jsx +8 -0
  1421. package/src/pages/tj/videoStream/errorCorrection/audioList/index.jsx +8 -0
  1422. package/src/pages/tj/videoStream/errorCorrection/audioMissReason/index.jsx +26 -0
  1423. package/src/pages/tj/videoStream/errorCorrection/imgList/index.jsx +8 -0
  1424. package/src/pages/tj/videoStream/errorCorrection/imgMissReason/index.jsx +26 -0
  1425. package/src/pages/tj/videoStream/errorCorrection/trend/index.jsx +19 -0
  1426. package/src/pages/tj/videoStream/history/audioClips/index.jsx +160 -0
  1427. package/src/pages/tj/videoStream/history/constants.js +394 -0
  1428. package/src/pages/tj/videoStream/history/imgClips/index.jsx +58 -0
  1429. package/src/pages/tj/videoStream/history/videoStream/index.jsx +120 -0
  1430. package/src/pages/tj/videoStream/list/audioBlackWhite/company/list/contants.js +80 -0
  1431. package/src/pages/tj/videoStream/list/audioBlackWhite/company/list/index.jsx +217 -0
  1432. package/src/pages/tj/videoStream/list/audioBlackWhite/company/listContent/index.jsx +25 -0
  1433. package/src/pages/tj/videoStream/list/audioBlackWhite/company/listContentOpLog/index.jsx +23 -0
  1434. package/src/pages/tj/videoStream/list/audioBlackWhite/company/listOpLog/index.jsx +116 -0
  1435. package/src/pages/tj/videoStream/list/audioBlackWhite/company/listRepetition/index.jsx +19 -0
  1436. package/src/pages/tj/videoStream/list/audioBlackWhite/custom/list/contants.js +66 -0
  1437. package/src/pages/tj/videoStream/list/audioBlackWhite/custom/list/index.jsx +205 -0
  1438. package/src/pages/tj/videoStream/list/audioBlackWhite/custom/listContent/index.jsx +26 -0
  1439. package/src/pages/tj/videoStream/list/audioBlackWhite/custom/listContentOpLog/index.jsx +22 -0
  1440. package/src/pages/tj/videoStream/list/audioBlackWhite/custom/listOpLog/index.jsx +115 -0
  1441. package/src/pages/tj/videoStream/list/audioBlackWhite/custom/listRepetition/index.jsx +19 -0
  1442. package/src/pages/tj/videoStream/list/audioBlackWhite/global/list/contants.js +73 -0
  1443. package/src/pages/tj/videoStream/list/audioBlackWhite/global/list/index.jsx +149 -0
  1444. package/src/pages/tj/videoStream/list/audioBlackWhite/global/listContent/index.jsx +27 -0
  1445. package/src/pages/tj/videoStream/list/audioBlackWhite/global/listContentOpLog/index.jsx +22 -0
  1446. package/src/pages/tj/videoStream/list/audioBlackWhite/global/listOpLog/index.jsx +116 -0
  1447. package/src/pages/tj/videoStream/list/audioBlackWhite/listSearch/index.jsx +19 -0
  1448. package/src/pages/tj/videoStream/list/audioText/black/listContent/index.jsx +24 -0
  1449. package/src/pages/tj/videoStream/list/audioText/black/listContentOpLog/index.jsx +26 -0
  1450. package/src/pages/tj/videoStream/list/audioText/black/listRepetition/index.jsx +16 -0
  1451. package/src/pages/tj/videoStream/list/audioText/company/list/contants.js +94 -0
  1452. package/src/pages/tj/videoStream/list/audioText/company/list/index.jsx +395 -0
  1453. package/src/pages/tj/videoStream/list/audioText/company/listContent/index.jsx +25 -0
  1454. package/src/pages/tj/videoStream/list/audioText/company/listContent/listRepetition/index.jsx +16 -0
  1455. package/src/pages/tj/videoStream/list/audioText/company/listContentOpLog/index.jsx +24 -0
  1456. package/src/pages/tj/videoStream/list/audioText/company/listOpLog/index.jsx +120 -0
  1457. package/src/pages/tj/videoStream/list/audioText/company/listRepetition/index.jsx +16 -0
  1458. package/src/pages/tj/videoStream/list/audioText/custom/list/contants.js +80 -0
  1459. package/src/pages/tj/videoStream/list/audioText/custom/list/index.jsx +312 -0
  1460. package/src/pages/tj/videoStream/list/audioText/custom/listContent/index.jsx +26 -0
  1461. package/src/pages/tj/videoStream/list/audioText/custom/listContent/listRepetition/index.jsx +17 -0
  1462. package/src/pages/tj/videoStream/list/audioText/custom/listContentOpLog/index.jsx +24 -0
  1463. package/src/pages/tj/videoStream/list/audioText/custom/listOpLog/index.jsx +114 -0
  1464. package/src/pages/tj/videoStream/list/audioText/custom/listRepetition/index.jsx +16 -0
  1465. package/src/pages/tj/videoStream/list/audioText/global/list/contants.js +87 -0
  1466. package/src/pages/tj/videoStream/list/audioText/global/list/index.jsx +306 -0
  1467. package/src/pages/tj/videoStream/list/audioText/global/listContent/index.jsx +27 -0
  1468. package/src/pages/tj/videoStream/list/audioText/global/listContentOpLog/index.jsx +24 -0
  1469. package/src/pages/tj/videoStream/list/audioText/global/listOpLog/index.jsx +110 -0
  1470. package/src/pages/tj/videoStream/list/audioText/listSearch/index.jsx +19 -0
  1471. package/src/pages/tj/videoStream/list/imgBlackWhite/company/list/contants.js +80 -0
  1472. package/src/pages/tj/videoStream/list/imgBlackWhite/company/list/index.jsx +231 -0
  1473. package/src/pages/tj/videoStream/list/imgBlackWhite/company/listContent/index.jsx +26 -0
  1474. package/src/pages/tj/videoStream/list/imgBlackWhite/company/listContentOpLog/index.jsx +24 -0
  1475. package/src/pages/tj/videoStream/list/imgBlackWhite/company/listOpLog/index.jsx +104 -0
  1476. package/src/pages/tj/videoStream/list/imgBlackWhite/company/listRepetition/index.jsx +19 -0
  1477. package/src/pages/tj/videoStream/list/imgBlackWhite/custom/list/contants.js +66 -0
  1478. package/src/pages/tj/videoStream/list/imgBlackWhite/custom/list/index.jsx +220 -0
  1479. package/src/pages/tj/videoStream/list/imgBlackWhite/custom/listContent/index.jsx +26 -0
  1480. package/src/pages/tj/videoStream/list/imgBlackWhite/custom/listContentOpLog/index.jsx +22 -0
  1481. package/src/pages/tj/videoStream/list/imgBlackWhite/custom/listOpLog/index.jsx +103 -0
  1482. package/src/pages/tj/videoStream/list/imgBlackWhite/custom/listRepetition/index.jsx +19 -0
  1483. package/src/pages/tj/videoStream/list/imgBlackWhite/global/list/contants.js +73 -0
  1484. package/src/pages/tj/videoStream/list/imgBlackWhite/global/list/index.jsx +149 -0
  1485. package/src/pages/tj/videoStream/list/imgBlackWhite/global/listContent/index.jsx +27 -0
  1486. package/src/pages/tj/videoStream/list/imgBlackWhite/global/listContentOpLog/index.jsx +22 -0
  1487. package/src/pages/tj/videoStream/list/imgBlackWhite/global/listOpLog/index.jsx +104 -0
  1488. package/src/pages/tj/videoStream/list/imgBlackWhite/listSearch/index.jsx +19 -0
  1489. package/src/pages/tj/videoStream/list/imgText/black/listContent/index.jsx +24 -0
  1490. package/src/pages/tj/videoStream/list/imgText/black/listContentOpLog/index.jsx +23 -0
  1491. package/src/pages/tj/videoStream/list/imgText/black/listRepetition/index.jsx +17 -0
  1492. package/src/pages/tj/videoStream/list/imgText/company/list/contants.js +94 -0
  1493. package/src/pages/tj/videoStream/list/imgText/company/list/index.jsx +357 -0
  1494. package/src/pages/tj/videoStream/list/imgText/company/listContent/index.jsx +25 -0
  1495. package/src/pages/tj/videoStream/list/imgText/company/listContent/listRepetition/index.jsx +17 -0
  1496. package/src/pages/tj/videoStream/list/imgText/company/listContentOpLog/index.jsx +24 -0
  1497. package/src/pages/tj/videoStream/list/imgText/company/listOpLog/index.jsx +112 -0
  1498. package/src/pages/tj/videoStream/list/imgText/company/listRepetition/index.jsx +17 -0
  1499. package/src/pages/tj/videoStream/list/imgText/custom/list/contants.js +80 -0
  1500. package/src/pages/tj/videoStream/list/imgText/custom/list/index.jsx +305 -0
  1501. package/src/pages/tj/videoStream/list/imgText/custom/listContent/index.jsx +26 -0
  1502. package/src/pages/tj/videoStream/list/imgText/custom/listContent/listRepetition/index.jsx +17 -0
  1503. package/src/pages/tj/videoStream/list/imgText/custom/listContentOpLog/index.jsx +24 -0
  1504. package/src/pages/tj/videoStream/list/imgText/custom/listOpLog/index.jsx +106 -0
  1505. package/src/pages/tj/videoStream/list/imgText/custom/listRepetition/index.jsx +17 -0
  1506. package/src/pages/tj/videoStream/list/imgText/global/list/contants.js +87 -0
  1507. package/src/pages/tj/videoStream/list/imgText/global/list/index.jsx +276 -0
  1508. package/src/pages/tj/videoStream/list/imgText/global/listContent/index.jsx +27 -0
  1509. package/src/pages/tj/videoStream/list/imgText/global/listContentOpLog/index.jsx +24 -0
  1510. package/src/pages/tj/videoStream/list/imgText/global/listOpLog/index.jsx +102 -0
  1511. package/src/pages/tj/videoStream/list/imgText/listSearch/index.jsx +19 -0
  1512. package/src/pages/tj/videoStream/list/postImg/black/listContent/index.jsx +24 -0
  1513. package/src/pages/tj/videoStream/list/postImg/black/listContentOpLog/index.jsx +24 -0
  1514. package/src/pages/tj/videoStream/list/postImg/company/list/contants.js +94 -0
  1515. package/src/pages/tj/videoStream/list/postImg/company/list/index.jsx +250 -0
  1516. package/src/pages/tj/videoStream/list/postImg/company/listContent/index.jsx +26 -0
  1517. package/src/pages/tj/videoStream/list/postImg/company/listContentOpLog/index.jsx +25 -0
  1518. package/src/pages/tj/videoStream/list/postImg/company/listOpLog/index.jsx +86 -0
  1519. package/src/pages/tj/videoStream/list/postImg/company/listRepetition/index.jsx +19 -0
  1520. package/src/pages/tj/videoStream/list/postImg/custom/list/contants.js +73 -0
  1521. package/src/pages/tj/videoStream/list/postImg/custom/list/index.jsx +249 -0
  1522. package/src/pages/tj/videoStream/list/postImg/custom/listContent/index.jsx +26 -0
  1523. package/src/pages/tj/videoStream/list/postImg/custom/listContentOpLog/index.jsx +25 -0
  1524. package/src/pages/tj/videoStream/list/postImg/custom/listOpLog/index.jsx +84 -0
  1525. package/src/pages/tj/videoStream/list/postImg/custom/listRepetition/index.jsx +19 -0
  1526. package/src/pages/tj/videoStream/list/postImg/global/list/contants.js +87 -0
  1527. package/src/pages/tj/videoStream/list/postImg/global/list/index.jsx +176 -0
  1528. package/src/pages/tj/videoStream/list/postImg/global/listContent/index.jsx +27 -0
  1529. package/src/pages/tj/videoStream/list/postImg/global/listContentOpLog/index.jsx +25 -0
  1530. package/src/pages/tj/videoStream/list/postImg/global/listOpLog/index.jsx +86 -0
  1531. package/src/pages/tj/videoStream/list/postImg/listSearch/index.jsx +21 -0
  1532. package/src/pages/tj/videoStream/rank/audioSensitiveWord/index.jsx +18 -0
  1533. package/src/pages/tj/videoStream/rank/imgSensitiveWord/index.jsx +18 -0
  1534. package/src/pages/tj/videoStream/trend/audioClips/index.jsx +50 -0
  1535. package/src/pages/tj/videoStream/trend/imgClips/index.jsx +49 -0
  1536. package/src/pages/tj/videoStream/trend/videoStream/index.jsx +76 -0
  1537. package/src/pages/tj/web/history/web/buildHistoryTaskDetail.js +240 -0
  1538. package/src/pages/tj/web/history/web/index.jsx +26 -0
  1539. package/src/pages/tj/web/list/web/company/list/contants.js +114 -0
  1540. package/src/pages/tj/web/list/web/company/list/index.jsx +400 -0
  1541. package/src/pages/tj/web/list/web/company/listContent/index.jsx +24 -0
  1542. package/src/pages/tj/web/list/web/company/listContent/listRepetition/index.jsx +16 -0
  1543. package/src/pages/tj/web/list/web/company/listContentOpLog/index.jsx +24 -0
  1544. package/src/pages/tj/web/list/web/company/listOpLog/index.jsx +126 -0
  1545. package/src/pages/tj/web/list/web/company/listRepetition/index.jsx +17 -0
  1546. package/src/pages/tj/web/trend/web/index.jsx +8 -0
  1547. package/src/pages/tw/activity/components/ActivityOverviewCard/index.jsx +109 -0
  1548. package/src/pages/tw/activity/components/ActivityOverviewCard/index.less +36 -0
  1549. package/src/pages/tw/activity/components/riskFilter.js +180 -0
  1550. package/src/pages/tw/activity/components/riskFilter.less +32 -0
  1551. package/src/pages/tw/activity/index.less +77 -0
  1552. package/src/pages/tw/activity/ranking/index.jsx +532 -0
  1553. package/src/pages/tw/activity/trend/index.jsx +296 -0
  1554. package/src/pages/tw/activity/user/index.jsx +112 -0
  1555. package/src/pages/tw/antiRobotSms/history/constants.js +299 -0
  1556. package/src/pages/tw/antiRobotSms/history/exportConfig.js +159 -0
  1557. package/src/pages/tw/antiRobotSms/history/index.jsx +303 -0
  1558. package/src/pages/tw/antiRobotSms/trend/index.jsx +13 -0
  1559. package/src/pages/tw/blackWhite/company/list/contants.js +80 -0
  1560. package/src/pages/tw/blackWhite/company/list/index.jsx +270 -0
  1561. package/src/pages/tw/blackWhite/company/listContent/index.jsx +25 -0
  1562. package/src/pages/tw/blackWhite/company/listContentOpLog/index.jsx +22 -0
  1563. package/src/pages/tw/blackWhite/company/listOpLog/index.jsx +119 -0
  1564. package/src/pages/tw/blackWhite/company/listRepetition/index.jsx +17 -0
  1565. package/src/pages/tw/blackWhite/constants.js +3 -0
  1566. package/src/pages/tw/blackWhite/custom/list/contants.js +82 -0
  1567. package/src/pages/tw/blackWhite/custom/list/index.jsx +260 -0
  1568. package/src/pages/tw/blackWhite/custom/listContent/index.jsx +19 -0
  1569. package/src/pages/tw/blackWhite/custom/listContentOpLog/index.jsx +15 -0
  1570. package/src/pages/tw/blackWhite/custom/listOpLog/index.jsx +117 -0
  1571. package/src/pages/tw/blackWhite/custom/listRepetition/index.jsx +17 -0
  1572. package/src/pages/tw/blackWhite/global/list/contants.js +82 -0
  1573. package/src/pages/tw/blackWhite/global/list/index.jsx +155 -0
  1574. package/src/pages/tw/blackWhite/global/listContent/index.jsx +20 -0
  1575. package/src/pages/tw/blackWhite/global/listContentOpLog/index.jsx +15 -0
  1576. package/src/pages/tw/blackWhite/global/listOpLog/index.jsx +118 -0
  1577. package/src/pages/tw/blackWhite/listSearch/index.jsx +19 -0
  1578. package/src/pages/tw/components/exportConfig.js +330 -0
  1579. package/src/pages/tw/constants.js +87 -0
  1580. package/src/pages/tw/event/dataUpload/index.jsx +405 -0
  1581. package/src/pages/tw/event/dataUpload/index.less +73 -0
  1582. package/src/pages/tw/event/disposal/constants.js +71 -0
  1583. package/src/pages/tw/event/disposal/getSearchForm.js +158 -0
  1584. package/src/pages/tw/event/disposal/getTableColumns.js +99 -0
  1585. package/src/pages/tw/event/disposal/index.jsx +86 -0
  1586. package/src/pages/tw/event/disposal/index.less +13 -0
  1587. package/src/pages/tw/event/history/constants.js +700 -0
  1588. package/src/pages/tw/event/history/exportConfig.js +170 -0
  1589. package/src/pages/tw/event/history/index.jsx +795 -0
  1590. package/src/pages/tw/event/occupyRate/index.jsx +53 -0
  1591. package/src/pages/tw/event/queryOrder/index.jsx +102 -0
  1592. package/src/pages/tw/event/trend/index.jsx +78 -0
  1593. package/src/pages/tw/login/history/constants.js +484 -0
  1594. package/src/pages/tw/login/history/exportConfig.js +158 -0
  1595. package/src/pages/tw/login/history/index.jsx +406 -0
  1596. package/src/pages/tw/login/trend/index.jsx +78 -0
  1597. package/src/pages/tw/marketing/history/constants.js +407 -0
  1598. package/src/pages/tw/marketing/history/exportConfig.js +159 -0
  1599. package/src/pages/tw/marketing/history/index.jsx +384 -0
  1600. package/src/pages/tw/marketing/trend/index.jsx +11 -0
  1601. package/src/pages/tw/register/history/constants.js +503 -0
  1602. package/src/pages/tw/register/history/exportConfig.js +158 -0
  1603. package/src/pages/tw/register/history/index.jsx +414 -0
  1604. package/src/pages/tw/register/trend/index.jsx +78 -0
  1605. package/src/pages/tw/risk/account/index.jsx +17 -0
  1606. package/src/pages/tw/riskQueryCenter/components/AccountPage.js +711 -0
  1607. package/src/pages/tw/riskQueryCenter/components/ColorLegend/index.js +25 -0
  1608. package/src/pages/tw/riskQueryCenter/components/ColorLegend/index.less +20 -0
  1609. package/src/pages/tw/riskQueryCenter/components/DeviceId.js +300 -0
  1610. package/src/pages/tw/riskQueryCenter/components/PhonePage.js +330 -0
  1611. package/src/pages/tw/riskQueryCenter/components/RiskFilter.js +411 -0
  1612. package/src/pages/tw/riskQueryCenter/components/detailDrawer.js +399 -0
  1613. package/src/pages/tw/riskQueryCenter/components/detailDrawer.less +101 -0
  1614. package/src/pages/tw/riskQueryCenter/components/index.less +316 -0
  1615. package/src/pages/tw/riskQueryCenter/components/riskFilter.less +27 -0
  1616. package/src/pages/tw/riskQueryCenter/configure.js +958 -0
  1617. package/src/pages/tw/riskQueryCenter/index.jsx +40 -0
  1618. package/src/pages/tw/riskQueryCenter/index.less +0 -0
  1619. package/src/pages/tw/strategy/components/StrategyNoPermission/index.jsx +20 -0
  1620. package/src/pages/tw/strategy/components/StrategyNoPermission/index.less +32 -0
  1621. package/src/pages/tw/strategy/experiment/components/ExperimentRuleTable/index.jsx +1219 -0
  1622. package/src/pages/tw/strategy/experiment/components/ExperimentRuleTable/index.less +40 -0
  1623. package/src/pages/tw/strategy/experiment/components/RuleDiffModal/index.jsx +149 -0
  1624. package/src/pages/tw/strategy/experiment/components/RuleEventModal/index.jsx +203 -0
  1625. package/src/pages/tw/strategy/experiment/components/RuleGroupCopyModal/index.jsx +132 -0
  1626. package/src/pages/tw/strategy/experiment/components/RuleOnlineModal/index.jsx +226 -0
  1627. package/src/pages/tw/strategy/experiment/index.jsx +545 -0
  1628. package/src/pages/tw/strategy/experiment/index.less +15 -0
  1629. package/src/pages/tw/strategy/experimentLog/components/CreateEvaluationTask/index.jsx +69 -0
  1630. package/src/pages/tw/strategy/experimentLog/components/CreateEvaluationTask/index.less +3 -0
  1631. package/src/pages/tw/strategy/experimentLog/components/LabStatistic/index.jsx +16 -0
  1632. package/src/pages/tw/strategy/experimentLog/components/LabStatistic/index.less +38 -0
  1633. package/src/pages/tw/strategy/experimentLog/index.jsx +944 -0
  1634. package/src/pages/tw/strategy/experimentLog/index.less +18 -0
  1635. package/src/pages/tw/strategy/hooks/useStrategyOpenStatus.js +64 -0
  1636. package/src/pages/tw/strategy/labRecord/index.jsx +136 -0
  1637. package/src/pages/tw/strategy/labRecord/index.less +8 -0
  1638. package/src/pages/tw/strategy/policy/index.jsx +14 -0
  1639. package/src/pages/tw/strategy/ruleLog/index.jsx +257 -0
  1640. package/src/pages/tw/strategy/ruleLog/index.less +16 -0
  1641. package/src/pages/twCaptcha/constants.js +158 -0
  1642. package/src/pages/twCaptcha/risk/history/index.jsx +57 -0
  1643. package/src/pages/twCaptcha/risk/trend/index.jsx +8 -0
  1644. package/src/pages/twCaptcha/secondCheck/history/index.jsx +189 -0
  1645. package/src/pages/twCaptcha/secondCheck/trend/index.jsx +8 -0
  1646. package/src/pages/twCertifiy/constants.js +118 -0
  1647. package/src/pages/twCertifiy/machine/history/index.jsx +52 -0
  1648. package/src/pages/twCertifiy/machine/trend/index.jsx +19 -0
  1649. package/src/pages/twCertifiy/oneKeyLogin/history/index.jsx +53 -0
  1650. package/src/pages/twCertifiy/oneKeyLogin/trend/index.jsx +34 -0
  1651. package/src/pages/twChannel/activeHistory/index.jsx +182 -0
  1652. package/src/pages/twChannel/constants.js +499 -0
  1653. package/src/pages/twChannel/retain/index.jsx +117 -0
  1654. package/src/pages/twChannel/risk/activate/index.jsx +46 -0
  1655. package/src/pages/twChannel/risk/channel/index.jsx +77 -0
  1656. package/src/pages/twChannel/risk/trend/index.jsx +8 -0
  1657. package/src/pages/tw_history_trend_ts_backup/hooks/useChannelEventList.ts +76 -0
  1658. package/src/pages/tw_history_trend_ts_backup/hooks/useDefaultRangeTimeData.ts +65 -0
  1659. package/src/pages/tw_history_trend_ts_backup/hooks/useDefaultServiceDataAndServiceIdMap.ts +66 -0
  1660. package/src/pages/tw_history_trend_ts_backup/hooks/useEventList.ts +65 -0
  1661. package/src/pages/tw_history_trend_ts_backup/hooks/useGlobalFilterListener.ts +169 -0
  1662. package/src/pages/tw_history_trend_ts_backup/hooks/useHistoryList.ts +116 -0
  1663. package/src/pages/tw_history_trend_ts_backup/hooks/useQueryParams.ts +178 -0
  1664. package/src/pages/tw_history_trend_ts_backup/hooks/useRiskLevelList.ts +103 -0
  1665. package/src/pages/tw_history_trend_ts_backup/hooks/useRiskReasonList.ts +57 -0
  1666. package/src/pages/tw_history_trend_ts_backup/hooks/useTableExtraDom.tsx +194 -0
  1667. package/src/pages/tw_history_trend_ts_backup/index.tsx +659 -0
  1668. package/src/pages/tw_history_trend_ts_backup/tableMethods/tableColumnRenders.tsx +119 -0
  1669. package/src/pages/tw_history_trend_ts_backup/tableMethods/tableExportData.ts +65 -0
  1670. package/src/pages/tw_history_trend_ts_backup/tableMethods/tableFormatColumn.ts +76 -0
  1671. package/src/pages/tw_history_trend_ts_backup/tableMethods/tableSaveColumns.ts +31 -0
  1672. package/src/pages/tw_history_trend_ts_backup/utils/getFormData.ts +64 -0
  1673. package/src/pages/tw_history_trend_ts_backup/utils/getSearchParams.ts +55 -0
  1674. package/src/pages/tw_history_trend_ts_backup/utils/hasFilterValue.ts +21 -0
  1675. package/src/pages/tw_history_trend_ts_backup/utils/setDefaultSearchParams.ts +96 -0
  1676. package/src/pages/tx/components/TxExport/index.jsx +70 -0
  1677. package/src/pages/tx/components/TxExport/index.less +0 -0
  1678. package/src/pages/tx/device/history/index.jsx +341 -0
  1679. package/src/pages/tx/device/history/index.less +11 -0
  1680. package/src/pages/tx/device/history/searchFormConfig.js +43 -0
  1681. package/src/pages/tx/device/history/tableConfig.js +107 -0
  1682. package/src/pages/tx/device/trend/index.jsx +204 -0
  1683. package/src/pages/tx/helper/formatHistoryParams.js +34 -0
  1684. package/src/pages/tx/helper/formatTrendParams.js +101 -0
  1685. package/src/pages/tx/hooks/useTxHistory.ts +72 -0
  1686. package/src/pages/tx/hooks/useTxRiskLabel.ts +53 -0
  1687. package/src/pages/tx/hooks/useTxTrend.ts +109 -0
  1688. package/src/pages/tx/ip/history/index.jsx +250 -0
  1689. package/src/pages/tx/ip/history/index.less +11 -0
  1690. package/src/pages/tx/ip/history/searchFormConfig.js +43 -0
  1691. package/src/pages/tx/ip/history/tableConfig.js +85 -0
  1692. package/src/pages/tx/ip/trend/index.jsx +204 -0
  1693. package/src/pages/tx/phoneNum/history/index.jsx +307 -0
  1694. package/src/pages/tx/phoneNum/history/index.less +11 -0
  1695. package/src/pages/tx/phoneNum/history/searchFormConfig.js +43 -0
  1696. package/src/pages/tx/phoneNum/history/tableConfig.js +111 -0
  1697. package/src/pages/tx/phoneNum/trend/index.jsx +204 -0
  1698. package/src/pages/tx/tokenId/history/index.jsx +248 -0
  1699. package/src/pages/tx/tokenId/history/index.less +11 -0
  1700. package/src/pages/tx/tokenId/history/searchFormConfig.js +43 -0
  1701. package/src/pages/tx/tokenId/history/tableConfig.js +85 -0
  1702. package/src/pages/tx/tokenId/trend/index.jsx +203 -0
  1703. package/src/privateCustomConfig/WeiLai/Header/index.js +23 -0
  1704. package/src/privateCustomConfig/WeiLai/Header/index.less +28 -0
  1705. package/src/privateCustomConfig/WeiLai/LoginLeft/index.jsx +35 -0
  1706. package/src/privateCustomConfig/WeiLai/LoginLeft/index.less +53 -0
  1707. package/src/privateCustomConfig/WeiLai/img/favicon.png +0 -0
  1708. package/src/privateCustomConfig/WeiLai/img/left-banner.png +0 -0
  1709. package/src/privateCustomConfig/WeiLai/img/login.png +0 -0
  1710. package/src/privateCustomConfig/WeiLai/index.jsx +7 -0
  1711. package/src/privateCustomConfig/WeiLai/index.less +53 -0
  1712. package/src/privateCustomConfig/ZhongYiHuLian/Header/index.js +23 -0
  1713. package/src/privateCustomConfig/ZhongYiHuLian/Header/index.less +28 -0
  1714. package/src/privateCustomConfig/ZhongYiHuLian/LoginLeft/index.jsx +33 -0
  1715. package/src/privateCustomConfig/ZhongYiHuLian/LoginLeft/index.less +55 -0
  1716. package/src/privateCustomConfig/ZhongYiHuLian/img/favicon.png +0 -0
  1717. package/src/privateCustomConfig/ZhongYiHuLian/index.jsx +7 -0
  1718. package/src/privateCustomConfig/ZhongYiHuLian/index.less +53 -0
  1719. package/src/services/activity.js +44 -0
  1720. package/src/services/base.js +66 -0
  1721. package/src/services/bill.js +50 -0
  1722. package/src/services/dataBack.js +45 -0
  1723. package/src/services/dataUpload.js +26 -0
  1724. package/src/services/helper.js +22 -0
  1725. package/src/services/history.js +99 -0
  1726. package/src/services/information.js +8 -0
  1727. package/src/services/login.js +178 -0
  1728. package/src/services/manage.js +203 -0
  1729. package/src/services/mingdan.js +265 -0
  1730. package/src/services/opinion.js +13 -0
  1731. package/src/services/qps.ts +20 -0
  1732. package/src/services/rank.js +26 -0
  1733. package/src/services/riskAccount.js +25 -0
  1734. package/src/services/strategy.js +269 -0
  1735. package/src/services/strategyLab.js +31 -0
  1736. package/src/services/streamInfo.ts +11 -0
  1737. package/src/services/system.js +17 -0
  1738. package/src/services/trend.js +154 -0
  1739. package/src/services/twChannel.js +211 -0
  1740. package/src/services/tx.js +24 -0
  1741. package/src/services/user.js +127 -0
  1742. package/src/type/index.ts +3 -0
  1743. package/src/type.ts +32 -0
  1744. package/src/utils/AuthorityManage.js +197 -0
  1745. package/src/utils/Authorized.js +18 -0
  1746. package/src/utils/adal.js +1936 -0
  1747. package/src/utils/authority.js +36 -0
  1748. package/src/utils/formatPrefixLink.ts +17 -0
  1749. package/src/utils/getRejectRatio.js +18 -0
  1750. package/src/utils/getTimeName.js +31 -0
  1751. package/src/utils/getUniqueColor.ts +136 -0
  1752. package/src/utils/helpers.js +168 -0
  1753. package/src/utils/md5.js +206 -0
  1754. package/src/utils/newRequest.js +139 -0
  1755. package/src/utils/removeExportBtnOfForm.js +12 -0
  1756. package/src/utils/request.js +139 -0
  1757. package/src/utils/tableHelper.js +23 -0
  1758. package/src/utils/translateSMImageTable.js +42 -0
  1759. package/src/utils/utils.js +1521 -0
  1760. package/src/wrappers/auth/ApplyNaModal/index.js +61 -0
  1761. package/src/wrappers/auth/constants.js +114 -0
  1762. package/src/wrappers/auth/img/account.png +0 -0
  1763. package/src/wrappers/auth/img/article.png +0 -0
  1764. package/src/wrappers/auth/img/audio.png +0 -0
  1765. package/src/wrappers/auth/img/audioStream.png +0 -0
  1766. package/src/wrappers/auth/img/blackWhite.png +0 -0
  1767. package/src/wrappers/auth/img/captchaSverify.png +0 -0
  1768. package/src/wrappers/auth/img/captchaVerify.png +0 -0
  1769. package/src/wrappers/auth/img/channelAnticheat.png +0 -0
  1770. package/src/wrappers/auth/img/channelHistory.png +0 -0
  1771. package/src/wrappers/auth/img/channelRetain.png +0 -0
  1772. package/src/wrappers/auth/img/device.png +0 -0
  1773. package/src/wrappers/auth/img/event.png +0 -0
  1774. package/src/wrappers/auth/img/login.png +0 -0
  1775. package/src/wrappers/auth/img/noApplyAuth.png +0 -0
  1776. package/src/wrappers/auth/img/pic.png +0 -0
  1777. package/src/wrappers/auth/img/policy.png +0 -0
  1778. package/src/wrappers/auth/img/register.png +0 -0
  1779. package/src/wrappers/auth/img/success.png +0 -0
  1780. package/src/wrappers/auth/img/team.png +0 -0
  1781. package/src/wrappers/auth/img/text.png +0 -0
  1782. package/src/wrappers/auth/img/video.png +0 -0
  1783. package/src/wrappers/auth/img/videoStream.png +0 -0
  1784. package/src/wrappers/auth/index.jsx +218 -0
  1785. package/src/wrappers/auth/index.less +42 -0
@@ -0,0 +1,2177 @@
1
+ /* eslint-disable max-len */
2
+ /* eslint-disable react/no-children-prop */
3
+ /**
4
+ * 天网-黑白名单服务
5
+ * 天净-文本-文本名单-(全局名单、公司名单、敏感词名单) 天净-文本-权限名单-全局名单
6
+ * 天净-图片-图片名单-(全局名单、公司名单、图片自定义名单) 天净-图片-OCR名单-(全局名单、公司名单、OCR自定义名单)
7
+ * 天净-音频文件-音频ASR名单-(全局名单、公司名单、ASR自定义名单)
8
+ * 天净-音频流-音频ASR名单-(全局名单、公司名单、ASR自定义名单)
9
+ * 天净-音视频文件-音频ASR名单-(全局名单、公司名单)
10
+ * 天净-视频文件-截帧图片名单-(全局名单、公司名单) 天净-视频文件-截帧OCR名单-(全局名单、公司名单、OCR自定义名单) 天净-视频文件-音频ACR名单-(全局名单、公司名单、ACR自定义名单)
11
+ * 天净-视频流-截帧图片名单-(全局名单、公司名单、图片自定义名单) 天净-视频流-截帧OCR名单-(全局名单、公司名单、OCR自定义名单)
12
+ * 天净-视频流-音频ASR名单-(全局名单、公司名单、ASR自定义名单)
13
+ * 天净-黑白名单服务
14
+ * 天网-黑白名单服务-(全局名单、公司名单)
15
+ * 名单页面
16
+ */
17
+
18
+ import React, { Component } from 'react';
19
+ import { connect, Link, history } from 'umi';
20
+ import _ from 'lodash';
21
+ import { Tooltip, message, Space, Switch, Modal } from 'antd';
22
+ import { SMTable, SMModal } from 'sm-antd';
23
+
24
+ import TotalCount from '@/components/TotalCount';
25
+ import { formatSearchParams, formatContents, Storage, arryRepetition, formatLang, formatMdParams } from '@/utils/utils';
26
+ import SMSearchForm from '@/components/SMSearchForm';
27
+ import GlobalFilterListener from '@/components/GlobalFilterListener';
28
+ import SMIcon from '@/components/SMIcon';
29
+ import SMNoteTip from '@/components/SMNoteTip';
30
+ import SMRiskLevel from '@/components/SMRiskLevel';
31
+ import SensitiveWordSpin from '@/components/SensitiveWordSpin';
32
+ import md5 from '@/utils/md5';
33
+ import { PAGE_SIZE } from '@/contants/pageSize';
34
+ import withIntlComponents from '@/hoc/withIntlComponents';
35
+ import { getAuthFunction } from '@/utils/AuthorityManage';
36
+ import {AUTH_FUNCTION, ACCOUNT_ROLE, SM_ACCOUNT, tableText, HTTP_CODE} from '@/contants';
37
+ import {SERVICEID_MAP} from '@/contants/serviceId';
38
+ import {getIntlTableColums, formatUs} from '@/utils/helpers';
39
+ import {TIME_TYPE, REPETITION} from '../../constants';
40
+ import { getLabelConfig } from '@/pages/pageComponents/historyPage/help';
41
+
42
+ import {
43
+ statusData,
44
+ riskLevelData,
45
+ handleLanguage,
46
+ PRODUCT_TO_LANGUAGE,
47
+ getLangProduct,
48
+ SECOND_VERIFY,
49
+ getRealProduct,
50
+ } from '../../constants';
51
+ import CreateMdForm from '../../components/CreateMdForm';
52
+ import UpdateMdModal from '../../components/UpdateMdModal';
53
+ import SensitivewordHintModal from '../../components/SensitivewordHintModal/index';
54
+ import SMPopConfirm from '../../components/SMPopConfirm';
55
+ import getUpdateOperationSegmentStatus from '@/pages/pageComponents/newMdPage/NewList/getUpdateOperationSegmentStatus';
56
+ import getSubmitOperationSegmentStatus from '@/pages/pageComponents/newMdPage/NewList/getSubmitOperationSegmentStatus';
57
+ import {
58
+ blackListCheckItems,
59
+ PRODUCT_TEXT_AUDIO,
60
+ EN,
61
+ AR,
62
+ RISKTYPE,
63
+ ASR_OCR,
64
+ GLOBAL,
65
+ getVideoStreamState,
66
+ RISKTYPE_VALUE,
67
+ LANG_TYPE,
68
+ formatNewMdData,
69
+ LIST_TYPE,
70
+ } from './contants';
71
+ import {getIllegalWordList} from '../../components/getIllegalWordList';
72
+
73
+ import styles from './index.less';
74
+
75
+ const { ModalType } = SMModal;
76
+
77
+ const REVIEW = 'REVIEW';
78
+
79
+ class List extends Component {
80
+ constructor(props) {
81
+ super(props);
82
+ const {t} = props;
83
+ this.state = {
84
+ serviceId: props.route.routeData.serviceId,
85
+ tableDataSource: [],
86
+ tableColumns: [],
87
+ listTotalCount: 0, // 列表总数
88
+ currentPage: 1, // 当前列表页码
89
+ pageSize: 20, // 当前列表分页
90
+ pageSizeOptions: PAGE_SIZE,
91
+ queryParams: {}, // 列表搜索参数
92
+ listType: 4, // 当前名单列表类型
93
+ noteInfo: '黑白名单,用户可添加内容到对应类型的名单中。',
94
+ firstRoute: '', // 页面第一次加载的路由
95
+ isFirstLoading: true,
96
+ isSMShow: false, // 当前名单sm公司是否可操作
97
+ appData: [],
98
+ channelEventData: [],
99
+ realChannelEventData: [],
100
+ channelTWEventData: [],
101
+ realChannelTWEventData: [],
102
+ riskTypeData: [],
103
+ riskLabelData: [],
104
+ mdRiskType: [],
105
+ createMdType: '', // 当前创建名单的类型
106
+ createMdVisible: false, // 是否创建名单
107
+ createMdTitle: '', // 创建名单名称
108
+ isSubmit: false,
109
+ mdFormDataConfig: {},
110
+ mdFormDataList: [],
111
+ mdUpdateFormDataList: [],
112
+ secondVerifySelectList: [],
113
+ mdUpdateFormDataConfig: {},
114
+ mdUpdateFormType: 'modify',
115
+ mdUpdateVisible: false,
116
+ initialValues: {},
117
+ // listId: md5(this.getUid()).toString(),
118
+ currentList: {}, // 当前名单
119
+ sensitiveWordSpin: false, // 敏感词查重
120
+ startTime: '',
121
+ endTime: '',
122
+ resetLangCount: 0,
123
+ resetRiskType: true,
124
+ // 为小语种包括B类外语
125
+ isEngOrAlb: location.pathname.includes(EN) || location.pathname.includes(AR)
126
+ || props.route.routeData.serviceId === SERVICEID_MAP.ASR_B
127
+ || props.route.routeData.serviceId === SERVICEID_MAP.ASR_STREAM_B,
128
+ isTw: props.route.path.includes('tianwang'),
129
+ isVideoStreamEngOrAlb: getVideoStreamState(location.pathname),
130
+ authConfig: {
131
+ // 账号角色权限
132
+ canCreate: false,
133
+ canDelete: false,
134
+ canEdit: false,
135
+ canSwitch: false,
136
+ canTop: false,
137
+ },
138
+ buttonGroupConfig: {
139
+ isLast: false,
140
+ buttonGroupStyle: {
141
+ float: 'unset',
142
+ display: 'block',
143
+ },
144
+ },
145
+ currentGlobalFilter: {
146
+ organization: '',
147
+ appId: '',
148
+ clusterId: '',
149
+ },
150
+ defaultCreateWhiteButtonData: {
151
+ type: 'button',
152
+ name: 'createWhite',
153
+ data: {
154
+ title: '创建白名单',
155
+ icon: 'icon-add',
156
+ },
157
+ },
158
+ defaultCreateBlackButtonData: {
159
+ type: 'button',
160
+ name: 'createBlack',
161
+ data: {
162
+ title: '创建黑名单',
163
+ icon: 'icon-add',
164
+ },
165
+ },
166
+ defaultCreateSensitiveButtonData: {
167
+ type: 'button',
168
+ name: 'createSensitive',
169
+ data: {
170
+ title: '创建敏感词名单',
171
+ icon: 'icon-add',
172
+ },
173
+ },
174
+ defaultCreateIgnoreButtonData: {
175
+ type: 'button',
176
+ name: 'createIgnore',
177
+ data: {
178
+ title: '创建忽略词名单',
179
+ icon: 'icon-add',
180
+ },
181
+ },
182
+ defaultOpLogButtonData: {
183
+ type: 'button',
184
+ name: 'opLog',
185
+ data: {
186
+ title: '操作日志',
187
+ antdProps: {
188
+ type: 'link',
189
+ style: {
190
+ padding: '0',
191
+ },
192
+ },
193
+ },
194
+ },
195
+ defaultChannelEventData: {
196
+ type: 'select',
197
+ name: 'channelEvent',
198
+ data: {
199
+ selectData: {
200
+ optionData: [],
201
+ title: '渠道',
202
+ labelId: 'channelEvent',
203
+ defaultValue: '',
204
+ },
205
+ },
206
+ },
207
+ defaultChannelTWEventData: {
208
+ type: 'select',
209
+ name: 'channelTWEvent',
210
+ data: {
211
+ selectData: {
212
+ optionData: [],
213
+ title: '事件',
214
+ labelId: 'channelTWEvent',
215
+ defaultValue: '',
216
+ },
217
+ },
218
+ },
219
+ defaultRiskLevelData: {
220
+ type: 'select',
221
+ name: 'riskLevel',
222
+ data: {
223
+ selectData: {
224
+ optionData: riskLevelData,
225
+ title: '处置建议',
226
+ labelId: 'riskLevel',
227
+ isAddAll: true,
228
+ defaultValue: 'all',
229
+ isLang: true,
230
+ },
231
+ },
232
+ },
233
+ defaultRiskTypeData: {
234
+ type: 'select',
235
+ name: 'riskType',
236
+ data: {
237
+ selectData: {
238
+ optionData: [],
239
+ title: '风险类型',
240
+ labelId: 'riskType',
241
+ isAddAll: true,
242
+ defaultValue: 'all',
243
+ },
244
+ },
245
+ },
246
+ defaultLanguageData: {
247
+ type: 'select',
248
+ name: 'language',
249
+ data: {
250
+ selectData: {
251
+ optionData: formatUs(handleLanguage(props.stateConfig.lang), ['name'], t),
252
+ title: '识别语种',
253
+ labelId: 'language',
254
+ defaultValue: props.stateConfig.lang && handleLanguage(props.stateConfig.lang)?.[0]?.value,
255
+ },
256
+ },
257
+ },
258
+ defaultStatusData: {
259
+ type: 'select',
260
+ name: 'status',
261
+ data: {
262
+ selectData: {
263
+ optionData: statusData,
264
+ title: '状态',
265
+ labelId: 'status',
266
+ isAddAll: true,
267
+ defaultValue: 'all',
268
+ isLang: true,
269
+ },
270
+ },
271
+ },
272
+ defaultLabelSearchData: {
273
+ type: 'labelSearch',
274
+ name: 'labelSearch',
275
+ data: {
276
+ placeholder: '请输入名单名称',
277
+ addonBefore: false,
278
+ optionData: [
279
+ {
280
+ value: 'name',
281
+ name: '名单名称',
282
+ },
283
+ ],
284
+ },
285
+ },
286
+ defaultDescriptionData: {
287
+ type: 'cascader',
288
+ name: 'labelId',
289
+ data: {
290
+ selectData: {
291
+ optionData: [],
292
+ title: '风险标签',
293
+ labelName: 'label_name',
294
+ valueName: 'label',
295
+ childrenName: 'son',
296
+ isAddAll: true,
297
+ defaultValue: '全部',
298
+ },
299
+ },
300
+ },
301
+ };
302
+ }
303
+
304
+ UNSAFE_componentWillMount() {
305
+ const { stateConfig } = this.props;
306
+ if (stateConfig) {
307
+ let {tableColumns, defaultRiskLevelData} = stateConfig;
308
+ try {
309
+ if (defaultRiskLevelData) {
310
+ defaultRiskLevelData.data.selectData.isLang = true;
311
+ }
312
+ } catch (error) {}
313
+ if (tableColumns) {
314
+ tableColumns.forEach(item => {
315
+ switch (item.type) {
316
+ case 'text':
317
+ item.render = this.textRender;
318
+ break;
319
+ case 'routeJump':
320
+ item.render = this.routeJumpRender;
321
+ break;
322
+ case 'riskLevel':
323
+ item.render = this.riskLevelRender;
324
+ break;
325
+ case 'switch':
326
+ item.render = this.switchRender;
327
+ break;
328
+ case 'operation':
329
+ item.render = this.operationRender;
330
+ }
331
+ });
332
+ }
333
+ this.setState({
334
+ firstRoute: location.pathname,
335
+ ...stateConfig,
336
+ });
337
+ }
338
+ }
339
+
340
+ UNSAFE_componentWillReceiveProps(nextProps) {
341
+ const {t} = this.props;
342
+ if (this.state.firstRoute !== location.pathname) {
343
+ this.setState({
344
+ queryParams: {},
345
+ });
346
+ }
347
+ const newApps = nextProps.apps;
348
+ const { apps, currentUser } = this.props;
349
+ if (!_.isEqual(newApps, apps)) {
350
+ let appData = newApps.map(item => {
351
+ return {
352
+ name: item.appName,
353
+ value: item.appId,
354
+ };
355
+ });
356
+ if (currentUser && currentUser.apps && currentUser.apps.isAll === 1) {
357
+ appData.unshift({
358
+ name: t('全部'),
359
+ value: '',
360
+ });
361
+ }
362
+ this.setState({
363
+ appData,
364
+ });
365
+ }
366
+ }
367
+ /**
368
+ * 列表文本类型 展示
369
+ * @param {*} text
370
+ * @param {*} record
371
+ * @param {*} index
372
+ */
373
+ textRender = text => {
374
+ const toolTipTitle = <span className={styles.tooltip}>{text}</span>;
375
+ return (
376
+ <Tooltip title={toolTipTitle} placement="left">
377
+ <span className={styles.text}>{text}</span>
378
+ </Tooltip>
379
+ );
380
+ };
381
+
382
+ // 处置建议 展示
383
+ riskLevelRender = text => {
384
+ const riskLevelStr = text.split('|')[0];
385
+ const riskLevel = text.split('|')[1];
386
+ return <SMRiskLevel riskLevel={riskLevel} riskLevelStr={riskLevelStr} />;
387
+ };
388
+
389
+ /**
390
+ * 路由跳转
391
+ * @param {*} text
392
+ * @param {*} record
393
+ * @param {*} index
394
+ */
395
+ routeJumpRender = text => {
396
+ const { name, path } = text;
397
+ return <Link to={path}>{name}</Link>;
398
+ };
399
+
400
+ /**
401
+ * 名单启用禁用开关
402
+ * @param {*} text
403
+ * @param {*} record
404
+ * @param {*} index
405
+ */
406
+ switchRender = (text, record) => {
407
+ const {t} = this.props;
408
+ const { checked = true, disabled = false} = text;
409
+ const { listId = '', name = {} } = record;
410
+ const { authConfig } = this.state;
411
+ const { canSwitch } = authConfig;
412
+ return disabled || !canSwitch ? (
413
+ <Switch
414
+ size="small"
415
+ checked={checked}
416
+ defaultChecked={checked}
417
+ disabled
418
+ checkedChildren={t('启用')}
419
+ unCheckedChildren={t('禁用')}
420
+ />
421
+ ) : (
422
+ <SMPopConfirm
423
+ title={t(`请确认是否${checked ? '禁用' : '启用'}名单`)}
424
+ placeholder={t(`请输入${checked ? '禁用' : '启用'}名单原因(必填)`)}
425
+ hasTextArea
426
+ onConfirm={(remark, cb) => this.clickMdSwitch(listId, name, !checked, remark, cb)}
427
+ isRequired
428
+ children={
429
+ <Switch
430
+ size="small"
431
+ checked={checked}
432
+ defaultChecked={checked}
433
+ checkedChildren={t('启用')}
434
+ unCheckedChildren={t('禁用')}
435
+ />
436
+ }
437
+ />
438
+ );
439
+ };
440
+
441
+ getCommonParams = () => {
442
+ const {route} = this.props;
443
+ const {subType} = this.state;
444
+ const serviceId = route.routeData.serviceId;
445
+ return {
446
+ subType,
447
+ realServiceId: serviceId,
448
+ realProduct: getRealProduct(subType, serviceId),
449
+ };
450
+ };
451
+
452
+ /**
453
+ * 操作类型 渲染(置顶,编辑,删除)
454
+ * @param {*} text
455
+ * @param {*} record
456
+ * @param {*} index
457
+ */
458
+ operationRender = (text, record) => {
459
+ const {stateConfig} = this.props;
460
+
461
+ const { isGlobalProduct } = stateConfig;
462
+ const { hasTop = true, hasEdit = true, hasDelete = true, hasView = false, isTop = false } = text;
463
+ const { listId = '', list = {}, name } = record;
464
+ const { authConfig } = this.state;
465
+ const { canEdit, canDelete, canTop, canView } = authConfig;
466
+
467
+ return (
468
+ <Space size={16}>
469
+ {hasTop && canTop && !isGlobalProduct ? (
470
+ <SMIcon
471
+ type={isTop ? 'icon-quxiaozhiding' : 'icon-zhiding'}
472
+ onClick={() => {
473
+ this.clickTop(listId, name, !isTop);
474
+ }}
475
+ />
476
+ ) : null}
477
+ {hasEdit && canEdit ? (
478
+ <SMIcon
479
+ type="icon-xiugai"
480
+ onClick={() => {
481
+ this.showMdModal(list, 'modify');
482
+ }}
483
+ />
484
+ ) : null}
485
+ {hasDelete && canDelete ? (
486
+ <SMPopConfirm
487
+ title="请确认是否删除名单"
488
+ placeholder="请输入删除名单原因(必填)"
489
+ hasTextArea
490
+ onConfirm={(remark, cb) => this.deleteMd(listId, name, remark, cb)}
491
+ isRequired
492
+ children={<SMIcon type="icon-shanchuxuanzhong" />}
493
+ />
494
+ ) : null}
495
+ {hasView && canView ? (
496
+ <SMIcon
497
+ type="icon-chakan2"
498
+ onClick={() => {
499
+ this.showMdModal(list, 'view');
500
+ }}
501
+ />
502
+ ) : null}
503
+ </Space>
504
+ );
505
+ };
506
+
507
+ /**
508
+ * 是否为黑白名单
509
+ * @param checkItem
510
+ * @returns {boolean}
511
+ */
512
+ isBlackListMd = checkItem => {
513
+ return blackListCheckItems.indexOf(checkItem) !== -1;
514
+ };
515
+
516
+ /**
517
+ * 点击名单启用禁用开关
518
+ * @param {*} listId 名单id
519
+ * @param {*} name 名单名称
520
+ * @param {*} checked 当前开关状态
521
+ * @param {*} remark 备注
522
+ * @param {*} cb 回调函数
523
+ */
524
+
525
+ getProduct = () => {
526
+ const { route, stateConfig } = this.props;
527
+
528
+ const { isVideoStreamEngOrAlb, currentGlobalFilter, queryParams } = this.state;
529
+ const { isGlobalProduct, isOrganizationProduct } = stateConfig;
530
+ const { organization } = currentGlobalFilter;
531
+ if (this.handleLang()) {
532
+ return queryParams.product || handleLanguage(stateConfig.lang)[0].value;
533
+ }
534
+ if (isVideoStreamEngOrAlb || isGlobalProduct || (organization === GLOBAL && isOrganizationProduct)) {
535
+ return ASR_OCR[route.routeData.serviceId];
536
+ }
537
+
538
+ return route.routeData.serviceId;
539
+ };
540
+
541
+ clickMdSwitch = async (listId, name, checked, remark, cb) => {
542
+ const { dispatch } = this.props;
543
+ const { reuseGlobal = '', listType } = this.state;
544
+ let searchParams = {
545
+ organization: this.state.currentGlobalFilter.organization,
546
+ listId: listId,
547
+ name: name,
548
+ remarks: remark,
549
+ product: this.getProduct(),
550
+ action: checked ? 'ENABLE' : 'DISABLE',
551
+ status: checked ? 1 : 0,
552
+ ...this.getCommonParams(),
553
+ };
554
+ // 全局名单 区分全局和公司
555
+ if (reuseGlobal === '1' && listType === '0') {
556
+ searchParams.reuseGlobal = reuseGlobal;
557
+ }
558
+ const { code, Message } = await dispatch({
559
+ type: 'mingdan/updateMd',
560
+ payload: searchParams,
561
+ });
562
+ if (code === 1100) {
563
+ message.success(Message);
564
+ cb && cb();
565
+ this.doSearch();
566
+ } else {
567
+ message.error(Message);
568
+ }
569
+ };
570
+
571
+ /**
572
+ * 点击置顶/取消置顶
573
+ * @param {*} listId 名单id
574
+ * @param {*} name 名单名称
575
+ * @param {*} status 要修改为的置顶状态 true/false
576
+ */
577
+ clickTop = async (listId, name, status) => {
578
+ const {dispatch, t} = this.props;
579
+ const { reuseGlobal = '', listType } = this.state;
580
+ let searchParams = {
581
+ organization: this.state.currentGlobalFilter.organization,
582
+ listId: listId,
583
+ name: name,
584
+ product: this.getProduct(),
585
+ topLevel: status ? 1 : 0,
586
+ };
587
+ // 全局名单 区分全局和公司
588
+ if (reuseGlobal === '1' && listType === '0') {
589
+ searchParams.reuseGlobal = reuseGlobal;
590
+ }
591
+ const { code, Message } = await dispatch({
592
+ type: 'mingdan/updateTopLevel',
593
+ payload: searchParams,
594
+ });
595
+ if (code === 1100) {
596
+ message.success(t(`${status ? '置顶' : '取消置顶'}成功`));
597
+ this.doSearch();
598
+ } else {
599
+ message.error(Message || '操作失败!');
600
+ }
601
+ };
602
+
603
+ /**
604
+ * 删除名单
605
+ * @param {String} listId 名单id
606
+ * @param {String} name 名单名称
607
+ * @param {String} remark 删除名单原因
608
+ * @param {Function} cb 回调函数
609
+ */
610
+ async deleteMd(listId, name, remark, cb) {
611
+ const {dispatch, t} = this.props;
612
+ const { code, Message } = await dispatch({
613
+ type: 'mingdan/deleteMd',
614
+ payload: {
615
+ product: this.getProduct(),
616
+ name: name,
617
+ organization: this.state.currentGlobalFilter.organization,
618
+ ids: [listId],
619
+ remarks: remark,
620
+ ...this.getCommonParams(),
621
+ },
622
+ });
623
+ if (code === 1100) {
624
+ message.success(t('删除成功'));
625
+ cb && cb();
626
+ this.doSearch();
627
+ } else {
628
+ message.error(Message);
629
+ }
630
+ }
631
+ handleLang = () => {
632
+ const { lang, listType, currentGlobalFilter, hideLang } = this.state;
633
+ const { organization } = currentGlobalFilter;
634
+ if (lang && listType === '0') {
635
+ if (organization === GLOBAL || !hideLang) {
636
+ return true;
637
+ }
638
+ }
639
+ return false;
640
+ };
641
+ /**
642
+ * 修改 || 查看名单
643
+ * @param {*} listId 名单
644
+ * @param {*} type 类型,modify || view
645
+ */
646
+ showMdModal(list, type) {
647
+ const { getMdFormDataList, route } = this.props;
648
+
649
+ const { organization } = this.state.currentGlobalFilter;
650
+ const isGlobal = this.state.listType === '0' && organization === GLOBAL;
651
+ const isTw = route.path.includes('tianwang');
652
+ const channel = (list.config && list.config.filter && list.config.filter.channel) || '';
653
+ const eventId = isTw ? (list.config && list.config.eventId) || '' : (list.config && list.config.eventId) || '';
654
+ let channelData = [];
655
+ let eventIdData = [];
656
+ let channelTWData = [];
657
+ let eventIdTWData = [];
658
+ if (channel !== '' && !isTw) {
659
+ channelData = channel.split('|');
660
+ channelData = channelData.map(item => {
661
+ return `SMCN${item}`;
662
+ });
663
+ }
664
+ if (eventId !== '' && !isTw) {
665
+ eventIdData = eventId.split('|');
666
+ eventIdData = eventIdData.map(item => {
667
+ return `SMED${item}`;
668
+ });
669
+ }
670
+ if (eventId !== '' && isTw) {
671
+ eventIdTWData = eventId.split('|');
672
+ eventIdTWData = eventIdTWData.map(item => {
673
+ return item;
674
+ });
675
+ }
676
+ // 渠道事件 当前名单的默认值
677
+ const getChannelEventList = () => {
678
+ if (channel === '' && eventId === '') {
679
+ return [''];
680
+ } else if (isTw) {
681
+ return channelTWData.concat(eventIdTWData);
682
+ }
683
+ return channelData.concat(eventIdData);
684
+ };
685
+ const channelEventData = getChannelEventList();
686
+ // 渠道事件 下拉列表
687
+ const newChannelEventData = this.decorateChannelEventDara(channelEventData);
688
+ const listType = list.config.action || 'IGNORE';
689
+ const formDataList = this.formatFormDataList(list, getMdFormDataList(type, listType, list.riskTypeCN));
690
+ this.setState({
691
+ currentList: list,
692
+ mdUpdateVisible: true,
693
+ mdUpdateFormType: type,
694
+ mdUpdateFormDataList: formDataList,
695
+ channelEventData: !isTw ? newChannelEventData : undefined,
696
+ channelTWEventData: isTw ? newChannelEventData : undefined,
697
+ initialValues: {
698
+ name: list.name,
699
+ priority: list.priority,
700
+ checkItem: list.config.checkItems.join('|'),
701
+ distance: list.config.distance,
702
+ riskLevel: list.config.action,
703
+ riskType: list.config.riskType + '',
704
+ channelEvent: !isTw ? channelEventData : undefined,
705
+ channelTWEvent: isTw ? channelEventData : undefined,
706
+ startTime: list.config.startTime,
707
+ endTime: list.config.endTime,
708
+ verifyType: list.config.verifyType,
709
+ riskLabel: [list.config.risklabel1 || '', list.config.risklabel2 || '', list.config.risklabel3 || ''],
710
+ operation: list.config.operation,
711
+ appId: (list.config.appId && list.config.appId.split('|')) || [''],
712
+ remark: list.remarks,
713
+ segmentStatus: list.config.segmentStatus || '0',
714
+ tempList: list.config.tempList || 0,
715
+ timeBased: list.config.timeBased,
716
+ timeBased2: +list.config.timeSpan ? +list.config.timeSpan : list.config.timeSpan,
717
+ language: isGlobal ? PRODUCT_TO_LANGUAGE[this.getProduct()] : list.config.__lang__ || 'all',
718
+ circleTime: list.config.circleTime,
719
+ ignoreCase: list.config.ignoreCase, // 归一化
720
+ ...getUpdateOperationSegmentStatus(list), // 处理切词方式回写
721
+ useNormalization: list.config.useNormalization !== '0',
722
+ },
723
+ });
724
+ }
725
+
726
+ /**
727
+ * x格式化修改 里面的处置建议
728
+ * @param {h} item
729
+ * @param {*} list
730
+ */
731
+ formatFormDataList = (item, list) => {
732
+ const { isBlackWhite, isWhiteList, listType } = this.state;
733
+ const loseList = ['PASS', 'EXCLUDE', 'IGNORE'];
734
+ const { action } = item.config;
735
+ let newList = [];
736
+ if (list.includes('riskLevel')) {
737
+ if (loseList.includes(action)) {
738
+ let number = 0;
739
+ newList = list.map((item, index) => {
740
+ if (item === 'riskLevel') {
741
+ number = index;
742
+ return 'specialRiskLevel';
743
+ }
744
+ return item;
745
+ }).filter(item => item !== SECOND_VERIFY);
746
+ if (isBlackWhite || isWhiteList || listType === LIST_TYPE.CUSTOM) {// 黑白名单 白名单不需要 处置建议
747
+ newList.splice(number, 1);
748
+ }
749
+ } else {
750
+ newList = list;
751
+ }
752
+ } else {
753
+ newList = list;
754
+ }
755
+
756
+ return newList;
757
+ };
758
+
759
+ /**
760
+ * 修改/查看名单时 根据当前名单的渠道 动态增加渠道事件下拉菜单项
761
+ * @param {*} channelEventList 当前修改/查看名单的 渠道事件
762
+ * @returns {Array}
763
+ */
764
+ decorateChannelEventDara(channelEventList) {
765
+ const { realChannelEventData, realChannelTWEventData } = this.state;
766
+ const isTw = location.pathname.includes('tianwang');
767
+ let newChannelEventData = isTw
768
+ ? _.cloneDeep(realChannelTWEventData)
769
+ : _.cloneDeep(realChannelEventData);
770
+ let newChannelEventArry = newChannelEventData.map(item => {
771
+ return item.value;
772
+ });
773
+ for (let index = 0; index < channelEventList.length; index++) {
774
+ const element = channelEventList[index];
775
+ if (!newChannelEventArry.includes(element)) {
776
+ newChannelEventData.push({
777
+ name: isTw ? element : element.slice(4),
778
+ value: element,
779
+ });
780
+ }
781
+ }
782
+ return newChannelEventData;
783
+ }
784
+
785
+ /**
786
+ * 创建名单
787
+ * @param {*} values
788
+ * @param {*} type
789
+ */
790
+ createMd = async (values, type) => {
791
+ // 通过 getCreateMdConfig 这个方法,获取各个名单下创建名单
792
+ const { dispatch, currentUser } = this.props;
793
+ const { organization } = this.state.currentGlobalFilter;
794
+ const isAudit = currentUser.organization === GLOBAL && organization === SM_ACCOUNT;
795
+ const { code, Message } = await dispatch({
796
+ type: 'mingdan/addMd',
797
+ payload: this.getListConf(values, type),
798
+ });
799
+ const successMessage = isAudit ? '提交审批成功' : '创建名单成功,预计5分钟内生效';
800
+ if (code === 1100) {
801
+ message.success(successMessage);
802
+ this.setState(
803
+ {
804
+ createMdVisible: false,
805
+ isSubmit: false,
806
+ },
807
+ () => {
808
+ this.doSearch();
809
+ }
810
+ );
811
+ } else {
812
+ this.setState({
813
+ isSubmit: false,
814
+ });
815
+ message.error(Message || (isAudit ? '提交审批失败' : '创建名单失败!'));
816
+ }
817
+ };
818
+
819
+ /**
820
+ *
821
+ * @returns 获得提交参数
822
+ */
823
+ getListConf = (values, type) => {
824
+ const { getCreateMdConfig, route } = this.props;
825
+ const { subType } = this.state;
826
+ const isTw = route.path.includes('tianwang');
827
+ let listId = md5(this.getUid()).toString();
828
+ let appId = values.appId.join('|');
829
+ for (let index = 0; index < values.appId.length; index++) {
830
+ if (values.appId[index] === '') {
831
+ appId = '';
832
+ }
833
+ }
834
+ let isAllChannelEvent = true;
835
+ let channelData = [];
836
+ let eventIdData = [];
837
+ let channelTWData = [];
838
+ let eventIdTWData = [];
839
+ if (values.channelEvent && values.channelEvent.length > 0) {
840
+ for (let index = 0; index < values.channelEvent.length; index++) {
841
+ const item = values.channelEvent[index];
842
+ if (item === '') {
843
+ isAllChannelEvent = true;
844
+ break;
845
+ }
846
+ isAllChannelEvent = false;
847
+ if (item.indexOf('SMCN') > -1) {
848
+ channelData.push(item.slice(4));
849
+ } else if (item.indexOf('SMED') > -1) {
850
+ eventIdData.push(item.slice(4));
851
+ }
852
+ }
853
+ }
854
+ if (values.channelTWEvent && values.channelTWEvent.length > 0) {
855
+ for (let index = 0; index < values.channelTWEvent.length; index++) {
856
+ const item = values.channelTWEvent[index];
857
+ if (item === '') {
858
+ isAllChannelEvent = true;
859
+ break;
860
+ }
861
+ isAllChannelEvent = false;
862
+ eventIdTWData.push(item);
863
+ }
864
+ }
865
+ let config = getCreateMdConfig(values, type);
866
+ // 增加对应的 渠道事件参数
867
+ if (!isAllChannelEvent) {
868
+ config.eventId = !isTw ? eventIdData.join('|') : eventIdTWData.join('|');
869
+ config.filter = !isTw ? { channel: channelData.join('|') } : { channel: channelTWData.join('|') };
870
+ }
871
+ if (!config.risklabel1) {
872
+ delete config.risklabel1;
873
+ }
874
+ if (!config.risklabel2) {
875
+ delete config.risklabel2;
876
+ }
877
+ if (!config.risklabel3) {
878
+ delete config.risklabel3;
879
+ }
880
+ const operationSegment = getSubmitOperationSegmentStatus(config);
881
+ config = {
882
+ ...config,
883
+ ...operationSegment,
884
+ };
885
+ let listConf = {
886
+ organization: this.state.currentGlobalFilter.organization,
887
+ product: !isTw ? this.getProduct() : 'P_TIAN_WANG',
888
+ name: values.name,
889
+ type: this.state.createMdListType || Number(this.state.listType),
890
+ status: 1,
891
+ listId: listId,
892
+ priority: 0,
893
+ ...(subType ? {subType} : {}),
894
+ config: {
895
+ appId: appId,
896
+ timeBased: values.timeBased,
897
+ timeSpan: +values.timeSpan ? +values.timeSpan : values.timeSpan,
898
+ __lang__: formatLang(values.lang),
899
+ verifyType: config.action === REVIEW ? values.verifyType : undefined,
900
+ ...config,
901
+ },
902
+ contents: values.contents ? formatContents(values.contents) : [],
903
+ contentRemarks: values.remark ? [values.remark.trim()] : [],
904
+ ...(values.applyReason ? {
905
+ auditInfo: {
906
+ applyReason: values.applyReason,
907
+ attachment: values.attachment || [],
908
+ },
909
+ } : {}),
910
+ ...this.getCommonParams(),
911
+ };
912
+ if (values.product) {
913
+ listConf.product = values.product;
914
+ listConf.serviceId = route.routeData.serviceId;
915
+ }
916
+ if ([TIME_TYPE.DAY_TIME_RANGE, TIME_TYPE.CIRCLE_TIME].includes(values.termList)) {
917
+ listConf.config.circleTime = values.termList === TIME_TYPE.DAY_TIME_RANGE ? REPETITION.DAY_TIME_RANGE : REPETITION.CIRCLE_TIME;
918
+ listConf.config.timeBased = '3';
919
+ }
920
+ // 归一化
921
+ if (values.ignoreCase) {
922
+ listConf.config.ignoreCase = values.ignoreCase;
923
+ }
924
+ return listConf;
925
+ };
926
+
927
+ /**
928
+ * 更新名单
929
+ * @param {*} values
930
+ */
931
+ updateMd = async values => {
932
+ const { currentList, reuseGlobal = '', listType, currentGlobalFilter } = this.state;
933
+ const { organization } = currentGlobalFilter;
934
+ const isGlobal = listType === '0' && organization === GLOBAL;
935
+ const newList = {
936
+ listId: currentList.listId,
937
+ name: currentList.name && currentList.name.trim(),
938
+ type: currentList.type,
939
+ status: currentList.status,
940
+ config: {...currentList.config}, // ...避免污染原始config中的内容
941
+ remarks: currentList.remarks || '',
942
+ action: 'PATCH',
943
+ ...this.getCommonParams(),
944
+ };
945
+ const { config: listConfig } = currentList;
946
+ const { checkItems = [], action: listRiskLevel } = listConfig;
947
+ const checkItem = values.checkItem || (listConfig ? checkItems.join('') : '');
948
+ const blackListStatus = this.isBlackListMd(checkItem);
949
+ if (listConfig.riskType === null || listConfig.riskType === undefined) {
950
+ delete listConfig.riskType;
951
+ }
952
+ // 全局名单 区分全局和公司
953
+ if (reuseGlobal === '1' && listType === '0') {
954
+ newList.reuseGlobal = reuseGlobal;
955
+ }
956
+ // 黑白名单的黑名单
957
+ if (blackListStatus && listRiskLevel === 'REJECT') {
958
+ newList.config.risklabel1 = 'blacklist';
959
+ newList.config.risklabel2 = 'heimingdan';
960
+ newList.config.risklabel3 = 'heimingdan';
961
+ }
962
+
963
+ if (values.startTime && values.endTime) {
964
+ newList.config.startTime = values.startTime;
965
+ newList.config.endTime = values.endTime;
966
+ newList.config.timeBased = '1';
967
+ } else {
968
+ newList.config.startTime = undefined;
969
+ newList.config.endTime = undefined;
970
+ newList.config.timeBased = undefined;
971
+ }
972
+ if (values.timeSpan) {
973
+ newList.config.timeBased = '2';
974
+ newList.config.timeSpan = +values.timeSpan ? +values.timeSpan : values.timeSpan;
975
+ }
976
+ // 有效期重复类型 新增circleTime 1每天 2每年
977
+ if ([TIME_TYPE.DAY_TIME_RANGE, TIME_TYPE.CIRCLE_TIME].includes(values.termList)) {
978
+ newList.config.circleTime = values.termList === TIME_TYPE.DAY_TIME_RANGE ? REPETITION.DAY_TIME_RANGE : REPETITION.CIRCLE_TIME;
979
+ newList.config.timeBased = '3';
980
+ } else {
981
+ // 有效期非重复类型 清除circleTime 字段
982
+ delete newList.config.circleTime;
983
+ }
984
+ // 归一化
985
+ if (values.ignoreCase) {
986
+ newList.config.ignoreCase = values.ignoreCase;
987
+ }
988
+ if (values.operation !== 'contain' || values.riskLevel === 'IGNORE' || typeof values.useNormalization !== 'boolean') {
989
+ newList.config.useNormalization = undefined;
990
+ }
991
+ // eslint-disable-next-line guard-for-in
992
+ for (let i in values) {
993
+ switch (i) {
994
+ case 'name':
995
+ newList.name = values.name && values.name.trim();
996
+ break;
997
+ case 'appId':
998
+ let appId = values.appId.join('|');
999
+ for (let index = 0; index < values.appId.length; index++) {
1000
+ if (values.appId[index] === '') {
1001
+ appId = '';
1002
+ }
1003
+ }
1004
+ newList.config.appId = appId;
1005
+ break;
1006
+ case 'channelEvent':
1007
+ if (values.channelEvent && values.channelEvent.length > 0) {
1008
+ let isAllChannelEvent = true;
1009
+ let channelData = [];
1010
+ let eventIdData = [];
1011
+ for (let index = 0; index < values.channelEvent.length; index++) {
1012
+ const item = values.channelEvent[index];
1013
+ if (item === '') {
1014
+ isAllChannelEvent = true;
1015
+ break;
1016
+ }
1017
+ isAllChannelEvent = false;
1018
+ if (item.indexOf('SMCN') > -1) {
1019
+ channelData.push(item.slice(4));
1020
+ } else if (item.indexOf('SMED') > -1) {
1021
+ eventIdData.push(item.slice(4));
1022
+ }
1023
+ }
1024
+ if (isAllChannelEvent) {
1025
+ newList.config.eventId = '';
1026
+ newList.config.filter = {};
1027
+ } else {
1028
+ newList.config.eventId = eventIdData.join('|');
1029
+ if (channelData.length > 0) {
1030
+ newList.config.filter = {
1031
+ channel: channelData.join('|'),
1032
+ };
1033
+ } else {
1034
+ newList.config.filter = {};
1035
+ }
1036
+ }
1037
+ }
1038
+ break;
1039
+ case 'channelTWEvent':
1040
+ if (values.channelTWEvent && values.channelTWEvent.length > 0) {
1041
+ let isAllChannelEvent = true;
1042
+ let channelTWData = [];
1043
+ let eventIdTWData = [];
1044
+ for (let index = 0; index < values.channelTWEvent.length; index++) {
1045
+ const item = values.channelTWEvent[index];
1046
+ if (item === '') {
1047
+ isAllChannelEvent = true;
1048
+ break;
1049
+ }
1050
+ isAllChannelEvent = false;
1051
+ // if (item.indexOf('SMCN') > -1) {
1052
+ // channelTWData.push(item.slice(4));
1053
+ // } else if (item.indexOf('SMED') > -1) {
1054
+ // eventIdTWData.push(item.slice(4));
1055
+ // }
1056
+ if (item) {
1057
+ eventIdTWData.push(item);
1058
+ }
1059
+ }
1060
+ if (isAllChannelEvent) {
1061
+ newList.config.eventId = '';
1062
+ newList.config.filter = {};
1063
+ } else {
1064
+ newList.config.eventId = eventIdTWData.join('|');
1065
+ if (channelTWData.length > 0) {
1066
+ newList.config.filter = {
1067
+ channel: channelTWData.join('|'),
1068
+ };
1069
+ } else {
1070
+ newList.config.filter = {};
1071
+ }
1072
+ }
1073
+ }
1074
+ break;
1075
+ case 'riskLabel':
1076
+ const riskLabel1 = (values.riskLabel && values.riskLabel[0]) || '';
1077
+ const riskLabel2 = (values.riskLabel && values.riskLabel[1]) || '';
1078
+ const riskLabel3 = (values.riskLabel && values.riskLabel[2]) || '';
1079
+ // 如果没有选择2、3级 则删掉改字段
1080
+ if (riskLabel1) {
1081
+ newList.config.risklabel1 = riskLabel1;
1082
+ }
1083
+ else {
1084
+ newList.config.risklabel1 = riskLabel1;
1085
+ }
1086
+ if (riskLabel2) {
1087
+ newList.config.risklabel2 = riskLabel2;
1088
+ }
1089
+ else {
1090
+ delete newList.config.risklabel2;
1091
+ }
1092
+ if (riskLabel3) {
1093
+ newList.config.risklabel3 = riskLabel3;
1094
+ }
1095
+ else {
1096
+ delete newList.config.risklabel3;
1097
+ }
1098
+ break;
1099
+ case 'remark':
1100
+ newList.remarks = values.remark;
1101
+ break;
1102
+ case 'priority':
1103
+ newList.priority = Number(values.priority);
1104
+ break;
1105
+ case 'distance':
1106
+ if (values.distance !== undefined && values.distance !== '') {
1107
+ newList.config.distance = `${Number(values.distance)}`;
1108
+ } else {
1109
+ delete newList.config.distance;
1110
+ }
1111
+ break;
1112
+ case 'riskType':
1113
+ newList.config.riskType = values.riskType;
1114
+ break;
1115
+ case 'operation':
1116
+ newList.config.operation = values.operation;
1117
+ break;
1118
+ case 'checkItem':
1119
+ let checkItems = values.checkItem.split('|');
1120
+ newList.config.checkItems = checkItems;
1121
+ break;
1122
+ case 'segmentStatus':
1123
+ newList.config.segmentStatus = values.segmentStatus;
1124
+ break;
1125
+ case 'useNormalization':
1126
+ if (values.operation === 'contain' && values.riskLevel !== 'IGNORE'
1127
+ && typeof values.useNormalization === 'boolean') {
1128
+ newList.config.useNormalization = values.useNormalization ? '1' : '0';
1129
+ }
1130
+ break;
1131
+ case 'riskLevel':
1132
+ newList.config.action = values.riskLevel;
1133
+ if (newList.config.verifyType && values.riskLevel !== REVIEW) {
1134
+ delete newList.config.verifyType;
1135
+ }
1136
+ break;
1137
+ case 'language':
1138
+ newList.config.__lang__ = formatLang(values.language);
1139
+ break;
1140
+ case 'verifyType':
1141
+ newList.config.verifyType = values.riskLevel === REVIEW ? values.verifyType : undefined;
1142
+ break;
1143
+ }
1144
+ }
1145
+ const operationSegment = getSubmitOperationSegmentStatus(values);
1146
+ newList.config = {
1147
+ ...newList.config,
1148
+ ...operationSegment,
1149
+ };
1150
+ let newProduct = this.getProduct();
1151
+ if (values.language && isGlobal) {
1152
+ newProduct = getLangProduct()[values.language];
1153
+ }
1154
+ const { dispatch } = this.props;
1155
+ const { code, Message } = await dispatch({
1156
+ type: 'mingdan/updateMd',
1157
+ payload: {
1158
+ organization: this.state.currentGlobalFilter.organization,
1159
+ product: newProduct,
1160
+ ...newList,
1161
+ ...this.getCommonParams(),
1162
+ },
1163
+ });
1164
+ if (code === 1100) {
1165
+ message.success('修改成功');
1166
+ this.setState(
1167
+ {
1168
+ mdUpdateVisible: false,
1169
+ },
1170
+ () => {
1171
+ this.doSearch();
1172
+ }
1173
+ );
1174
+ } else {
1175
+ message.error(Message);
1176
+ }
1177
+ };
1178
+
1179
+ /**
1180
+ * 获取GUID 随机ID
1181
+ * @returns {string}
1182
+ */
1183
+ getUid = () => {
1184
+ return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
1185
+ let r = (Math.random() * 16) | 0;
1186
+ let v = c === 'x' ? r : (r & 0x3) | 0x8;
1187
+ return v.toString(16);
1188
+ });
1189
+ };
1190
+ handleChannelEvent = () => {
1191
+ const { route } = this.props;
1192
+ const isTw = route.path.includes('tianwang');
1193
+ if (isTw) {
1194
+ this.updateOperationAuth();
1195
+ this.getAppList();
1196
+ this.getChannelTWEventList();
1197
+ this.getSecondVerifySelect();
1198
+ } else {
1199
+ this.updateOperationAuth();
1200
+ this.getAppList();
1201
+ this.getRiskTypeList();
1202
+ this.getNewRiskLabelList();
1203
+ this.getChannelEventList();
1204
+ }
1205
+ };
1206
+
1207
+ globalFilterChange = obj => {
1208
+ const {
1209
+ orgChange,
1210
+
1211
+ currentGlobalFilter,
1212
+ } = obj;
1213
+ this.setState(
1214
+ {
1215
+ currentGlobalFilter,
1216
+ listLoading: true,
1217
+ },
1218
+ async () => {
1219
+ if (orgChange) {
1220
+ // this.updateOperationAuth();
1221
+ // this.getAppList();
1222
+ // this.getRiskTypeList();
1223
+ // this.getRiskLabelList();
1224
+ this.handleChannelEvent();
1225
+ this.resetLang();
1226
+ this.setState({
1227
+ resetLangCount: this.state.resetLangCount + 1,
1228
+ });
1229
+ }
1230
+ this.setState(
1231
+ {
1232
+ currentPage: 1,
1233
+ createMdVisible: false,
1234
+ },
1235
+ () => {
1236
+ this.doSearch();
1237
+ }
1238
+ );
1239
+ }
1240
+ );
1241
+ };
1242
+
1243
+ // 请求搜索
1244
+ doSearch() {
1245
+ this.getMdList();
1246
+ }
1247
+ // 获取名单列表
1248
+ async getMdList() {
1249
+ const { dispatch, formatData, route } = this.props;
1250
+ const {subType} = this.state;
1251
+ const newParams = this.getSearchParams();
1252
+ if (this.handleLang()) {
1253
+ newParams.serviceId = route.routeData.serviceId;
1254
+ }
1255
+ if (route?.routeData?.channelType) {
1256
+ newParams.channelType = route?.routeData?.channelType;
1257
+ }
1258
+ const { listData, totalCount } = await dispatch({
1259
+ type: 'mingdan/getMdList',
1260
+ payload: newParams,
1261
+ });
1262
+ this.setState(
1263
+ {
1264
+ listData,
1265
+ listTotalCount: totalCount,
1266
+ },
1267
+ () => {
1268
+ if (listData.length) {
1269
+ let data = formatData && formatData(listData);
1270
+ const newData = formatNewMdData(data);
1271
+ const dataSource = newData;
1272
+ this.setState({
1273
+ tableDataSource: dataSource,
1274
+ listLoading: false,
1275
+ });
1276
+ } else {
1277
+ this.setState({
1278
+ tableDataSource: [],
1279
+ listLoading: false,
1280
+ });
1281
+ }
1282
+ }
1283
+ );
1284
+ }
1285
+ // 公司改变时重置列表
1286
+ resetLang = () => {
1287
+ const newQueryParams = _.cloneDeep(this.state.queryParams);
1288
+ delete newQueryParams.product;
1289
+ this.setState({ queryParams: newQueryParams});
1290
+ };
1291
+ getMdRiskType = async newProduct => {
1292
+ const { dispatch } = this.props;
1293
+ const mdOcrData = [];
1294
+ if (dispatch) {
1295
+ const riskTypeList = await dispatch({
1296
+ type: 'base/fetchRiskTypeList',
1297
+ payload: {
1298
+ organization: this.state.currentGlobalFilter.organization,
1299
+ product: this.handleProduct(newProduct),
1300
+ },
1301
+ });
1302
+ if (riskTypeList) {
1303
+ riskTypeList.forEach(item => {
1304
+ // 筛选掉正常和白名单选项
1305
+ if (item.riskType !== RISKTYPE_VALUE.pass && item.riskType !== RISKTYPE_VALUE.white) {
1306
+ mdOcrData.push({
1307
+ value: item.riskType,
1308
+ name: item.riskTypeName,
1309
+ });
1310
+ }
1311
+ });
1312
+ }
1313
+ this.setState({
1314
+ mdRiskType: mdOcrData,
1315
+ });
1316
+ }
1317
+ };
1318
+ handleProduct = (value = 'P_TIANJING_IMG') => {
1319
+ const { route } = this.props;
1320
+ const { serviceId } = route.routeData;
1321
+ const { product, lang } = this.state;
1322
+ let newProduct = product;
1323
+ if (lang === 'ocr') {
1324
+ return RISKTYPE[value];
1325
+ }
1326
+ if (location.pathname.includes(EN)) {
1327
+ newProduct = RISKTYPE.PRODUCT_TEXT_EN;
1328
+ }
1329
+ if (location.pathname.includes(AR)) {
1330
+ newProduct = RISKTYPE.PRODUCT_TEXT_AR;
1331
+ }
1332
+ if (serviceId === SERVICEID_MAP.ASR_B || serviceId === SERVICEID_MAP.ASR_STREAM_B) {
1333
+ newProduct = RISKTYPE.PRODUCT_TEXT_EN;
1334
+ }
1335
+ return newProduct;
1336
+ };
1337
+ // 获取风险类型列表
1338
+ getRiskTypeList = async newProduct => {
1339
+ const { dispatch, route } = this.props;
1340
+ if (dispatch) {
1341
+ const newParams = {
1342
+ organization: this.state.currentGlobalFilter.organization,
1343
+ product: this.handleProduct(newProduct),
1344
+ };
1345
+ if (!newParams.product) {
1346
+ newParams.serviceId = route.routeData.serviceId;
1347
+ }
1348
+ let riskTypeList = await dispatch({
1349
+ type: 'base/fetchRiskTypeList',
1350
+ payload: newParams,
1351
+ });
1352
+ let newRiskTypeData = _.cloneDeep(this.state.defaultRiskTypeData);
1353
+ let newOptionData = [];
1354
+ let unNormalData = [];
1355
+ if (riskTypeList) {
1356
+ riskTypeList.forEach(item => {
1357
+ newOptionData.push({
1358
+ value: item.riskType,
1359
+ name: item.riskTypeName,
1360
+ });
1361
+ // 筛选掉正常和白名单选项
1362
+ if (item.riskType !== '0' && item.riskType !== '710') {
1363
+ unNormalData.push({
1364
+ value: item.riskType,
1365
+ name: item.riskTypeName,
1366
+ });
1367
+ }
1368
+ });
1369
+ }
1370
+ newRiskTypeData.data.selectData.optionData = newOptionData;
1371
+ this.setState({
1372
+ defaultRiskTypeData: newRiskTypeData,
1373
+ riskTypeData: newOptionData,
1374
+ unNormalRiskTypeData: unNormalData,
1375
+ });
1376
+ }
1377
+ };
1378
+ // 获取小语种风险标签
1379
+ getNewRiskLabelList = async () => {
1380
+ const { dispatch, route } = this.props;
1381
+ const {defaultDescriptionData} = this.state;
1382
+ if (dispatch) {
1383
+ const labelConfig = getLabelConfig(route.routeData.serviceId);
1384
+ const riskLabelList = await dispatch({
1385
+ type: labelConfig.action,
1386
+ payload: {
1387
+ product: labelConfig.product,
1388
+ category: 'rule',
1389
+ },
1390
+ });
1391
+ defaultDescriptionData.data.selectData.optionData = riskLabelList;
1392
+ this.setState({ riskLabelData: _.cloneDeep(riskLabelList), defaultDescriptionData });
1393
+ }
1394
+ };
1395
+ // 获取风险标签你列表
1396
+ getRiskLabelList = async () => {
1397
+ const { dispatch } = this.props;
1398
+ if (dispatch) {
1399
+ let riskLabelList = await dispatch({
1400
+ type: 'base/fetchOldRiskLabelList',
1401
+ payload: {
1402
+ serviceId: this.state.product === 'PRODUCT_TEXT' ? 'POST_TEXT' : 'POST_IMG',
1403
+ },
1404
+ });
1405
+ this.setState({
1406
+ riskLabelData: riskLabelList,
1407
+ });
1408
+ }
1409
+ };
1410
+
1411
+ // 获取渠道事件列表
1412
+ getChannelEventList = async () => {
1413
+ const {dispatch, route, t} = this.props;
1414
+ if (dispatch) {
1415
+ let channelEventList = await dispatch({
1416
+ type: 'base/fetchChannelEventList',
1417
+ payload: {
1418
+ organization: this.state.currentGlobalFilter.organization,
1419
+ serviceId: route.routeData.serviceId,
1420
+ },
1421
+ });
1422
+ if (channelEventList && channelEventList.length > 0) {
1423
+ let newOptionData = [{ value: '', name: t('全部渠道') }];
1424
+ let newChannelEventData = _.cloneDeep(this.state.defaultChannelEventData);
1425
+ channelEventList.forEach(item => {
1426
+ newOptionData.push({
1427
+ value: item.channel || !item.eventId ? 'SMCN' + item.channel : 'SMED' + item.eventId,
1428
+ name: item.displayName,
1429
+ });
1430
+ });
1431
+ newChannelEventData.data.selectData.optionData = newOptionData;
1432
+ this.setState({
1433
+ channelEventData: newOptionData,
1434
+ realChannelEventData: newOptionData,
1435
+ defaultChannelEventData: newChannelEventData,
1436
+ });
1437
+ }
1438
+ }
1439
+ };
1440
+
1441
+ // 获取天网事件列表
1442
+ getChannelTWEventList = async () => {
1443
+ const { dispatch } = this.props;
1444
+ if (dispatch) {
1445
+ let channelTWEventList = await dispatch({
1446
+ type: 'base/fetchOpenEvent',
1447
+ payload: {
1448
+ organization: this.state.currentGlobalFilter.organization,
1449
+ serviceId:
1450
+ 'POST_EVENT,ACCOUNT_REGISTER,ACCOUNT_LOGIN,ANTI_ROBOT_MARKETING,ANTI_ROBOT_SMS,SVERIFY_CAPTCHA,VERIFY_CAPTCHA',
1451
+ isGlobalEvent: 0,
1452
+ },
1453
+ });
1454
+ if (channelTWEventList) {
1455
+ let newOptionData = [{ value: '', name: '全部事件' }];
1456
+ let newChannelTWEventData = _.cloneDeep(this.state.defaultChannelTWEventData);
1457
+ if (channelTWEventList.length > 0) {
1458
+ channelTWEventList.forEach(item => {
1459
+ if (item.events.length) {
1460
+ item.events.forEach(itemm => {
1461
+ newOptionData.push({
1462
+ value: itemm.eventId,
1463
+ name: itemm.eventName,
1464
+ });
1465
+ });
1466
+ }
1467
+ });
1468
+ }
1469
+
1470
+ newChannelTWEventData.data.selectData.optionData = newOptionData;
1471
+ this.setState({
1472
+ channelTWEventData: newOptionData,
1473
+ realChannelTWEventData: newOptionData,
1474
+ defaultChannelTWEventData: newChannelTWEventData,
1475
+ });
1476
+ }
1477
+ }
1478
+ };
1479
+ // 获取应用列表
1480
+ getAppList = () => {
1481
+ const {apps, currentUser, t} = this.props;
1482
+ let appData = apps.map(item => {
1483
+ return {
1484
+ name: item.appName,
1485
+ value: item.appId,
1486
+ };
1487
+ });
1488
+ if (currentUser && currentUser.apps && currentUser.apps.isAll === 1) {
1489
+ appData.unshift({
1490
+ name: t('全部'),
1491
+ value: '',
1492
+ });
1493
+ }
1494
+ this.setState({
1495
+ appData,
1496
+ });
1497
+ };
1498
+
1499
+ getSecondVerifySelect = async () => {
1500
+ const { dispatch } = this.props;
1501
+
1502
+ if (dispatch) {
1503
+ const { code, content } = await dispatch({
1504
+ type: 'mingdan/getSecondVerifySelect',
1505
+ });
1506
+ let newOption = [];
1507
+ if (code === HTTP_CODE.SUCCESS) {
1508
+ newOption = _.map(content, item => ({
1509
+ name: item.riskName,
1510
+ value: item.riskLevel,
1511
+ }));
1512
+ };
1513
+ this.setState({
1514
+ secondVerifySelectList: newOption,
1515
+ });
1516
+ };
1517
+ };
1518
+
1519
+ // 获取创建名单的数据列表
1520
+ getCreateMdFormDataList = type => {
1521
+ const { getMdFormDataList } = this.props;
1522
+ const mdFormDataList = getMdFormDataList('create', type);
1523
+ return mdFormDataList;
1524
+ };
1525
+
1526
+ // 获取查询接口参数
1527
+ getSearchParams = () => {
1528
+ const { route } = this.props;
1529
+ const {
1530
+ currentGlobalFilter,
1531
+ queryParams,
1532
+ currentPage,
1533
+ pageSize,
1534
+ listType,
1535
+ subType = '',
1536
+ reuseGlobal = '',
1537
+ } = this.state;
1538
+ const isTw = route.path.includes('tianwang');
1539
+ const { organization, appId } = currentGlobalFilter;
1540
+ const serviceId = !isTw ? this.getProduct() : 'P_TIAN_WANG';
1541
+ let searchParams = {
1542
+ organization: organization,
1543
+ product: serviceId,
1544
+ type: listType,
1545
+ appId: appId,
1546
+ count: pageSize,
1547
+ offset: (currentPage - 1) * pageSize,
1548
+ ...queryParams,
1549
+ };
1550
+
1551
+ // 区分 图片 ocr 黑白
1552
+ if (subType && !isTw) {
1553
+ searchParams.subType = subType;
1554
+ }
1555
+ if (isTw || serviceId === 'POST_NEXUS_MULTIMODAL') {
1556
+ searchParams.subType = '';
1557
+ }
1558
+ // 全局名单 区分全局和公司
1559
+ if (reuseGlobal === '1' && listType === '0') {
1560
+ searchParams.reuseGlobal = reuseGlobal;
1561
+ }
1562
+ // 处理一下searchParams,如果为'' || 'all', 则删除该项
1563
+ let newSearchParams = formatSearchParams(formatMdParams(searchParams));
1564
+ return newSearchParams;
1565
+ };
1566
+
1567
+ // 更新操作权限
1568
+ updateOperationAuth = () => {
1569
+ const { currentUser, stateConfig, route } = this.props;
1570
+ const serviceId = route.routeData.serviceId;
1571
+
1572
+ const { isSMShow, currentGlobalFilter } = this.state;
1573
+ const currentUserOrg = currentUser.organization; // 当前用户公司的org
1574
+ const roleIds = currentUser.roleIds;
1575
+ const organization = currentGlobalFilter.organization;
1576
+ const { isGlobalProduct } = stateConfig;
1577
+ let canCreate = getAuthFunction(AUTH_FUNCTION.CREATE);
1578
+ let canDelete = getAuthFunction(AUTH_FUNCTION.DELETE);
1579
+ let canEdit = getAuthFunction(AUTH_FUNCTION.UPDATE);
1580
+ let canSwitch = getAuthFunction(AUTH_FUNCTION.ENABLE_OR_DISABLE);
1581
+ const canTop = getAuthFunction(AUTH_FUNCTION.TOP);
1582
+ const canView = getAuthFunction(AUTH_FUNCTION.DETAIL);
1583
+ if (currentUserOrg === SM_ACCOUNT && organization === SM_ACCOUNT) {
1584
+ if (!isSMShow || !roleIds.includes(ACCOUNT_ROLE.SM_ROLE)) {
1585
+ canCreate = false;
1586
+ canDelete = false;
1587
+ canEdit = false;
1588
+ canSwitch = false;
1589
+ }
1590
+ }
1591
+ if (currentUserOrg === SM_ACCOUNT && organization === SM_ACCOUNT && !isSMShow) {
1592
+ canSwitch = false;
1593
+ canEdit = false;
1594
+ }
1595
+ if (isGlobalProduct) {
1596
+ canCreate = false;
1597
+ canEdit = false;
1598
+ canDelete = false;
1599
+ canSwitch = false;
1600
+ }
1601
+ if (serviceId === 'POST_ARTICLE') {
1602
+ canCreate = false;
1603
+ canEdit = false;
1604
+ canSwitch = false;
1605
+ }
1606
+ this.setState({
1607
+ authConfig: {
1608
+ // 账号角色权限
1609
+ canCreate,
1610
+ canDelete,
1611
+ canEdit,
1612
+ canSwitch,
1613
+ canTop,
1614
+ canView,
1615
+ },
1616
+ });
1617
+ };
1618
+
1619
+ // 获取搜索菜单
1620
+ getFormData() {
1621
+ const {
1622
+ defaultCreateBlackButtonData,
1623
+ defaultCreateWhiteButtonData,
1624
+ defaultCreateSensitiveButtonData,
1625
+ defaultCreateIgnoreButtonData,
1626
+ defaultOpLogButtonData,
1627
+ defaultRiskLevelData,
1628
+ defaultRiskTypeData,
1629
+ defaultChannelEventData,
1630
+ defaultStatusData,
1631
+ defaultLabelSearchData,
1632
+ defaultChannelTWEventData,
1633
+ authConfig,
1634
+ defaultLanguageData,
1635
+ reuseGlobal,
1636
+ isBlackWhite,
1637
+ defaultDescriptionData,
1638
+ } = this.state;
1639
+ let formData = [];
1640
+ const { route } = this.props;
1641
+ const serviceId = route.routeData.serviceId;
1642
+
1643
+ // const canCreate
1644
+ switch (serviceId) {
1645
+ case 'TIANJING_GLOBAL':
1646
+ if (authConfig.canCreate) {
1647
+ formData.push(defaultCreateBlackButtonData, defaultCreateWhiteButtonData);
1648
+ }
1649
+ formData.push(defaultOpLogButtonData, defaultRiskLevelData, defaultStatusData, defaultLabelSearchData);
1650
+ break;
1651
+ case 'P_TIAN_WANG':
1652
+ if (authConfig.canCreate && reuseGlobal !== '1') {
1653
+ if (isBlackWhite) {
1654
+ formData.push(defaultCreateBlackButtonData, defaultCreateWhiteButtonData);
1655
+ } else {
1656
+ formData.push(defaultCreateSensitiveButtonData, defaultCreateIgnoreButtonData);
1657
+ }
1658
+ }
1659
+ if (isBlackWhite) {
1660
+ formData.push(
1661
+ defaultOpLogButtonData,
1662
+ defaultRiskLevelData,
1663
+ defaultChannelTWEventData,
1664
+ defaultStatusData,
1665
+ defaultLabelSearchData
1666
+ );
1667
+ } else {
1668
+ formData.push(
1669
+ defaultOpLogButtonData,
1670
+ defaultRiskLevelData,
1671
+ defaultRiskTypeData,
1672
+ defaultChannelTWEventData,
1673
+ defaultStatusData,
1674
+ defaultLabelSearchData
1675
+ );
1676
+ }
1677
+ break;
1678
+
1679
+ default:
1680
+ if (authConfig.canCreate && reuseGlobal !== '1') {
1681
+ if (isBlackWhite) {
1682
+ formData.push(defaultCreateBlackButtonData, defaultCreateWhiteButtonData);
1683
+ } else {
1684
+ formData.push(defaultCreateSensitiveButtonData, defaultCreateIgnoreButtonData);
1685
+ }
1686
+ }
1687
+ if (isBlackWhite) {
1688
+ formData.push(
1689
+ defaultOpLogButtonData,
1690
+ defaultRiskLevelData,
1691
+ defaultChannelEventData,
1692
+ defaultStatusData,
1693
+ defaultLabelSearchData
1694
+ );
1695
+ } else {
1696
+ formData.push(
1697
+ defaultOpLogButtonData,
1698
+ defaultRiskLevelData,
1699
+ defaultRiskTypeData,
1700
+ defaultChannelEventData,
1701
+ defaultStatusData,
1702
+ defaultLabelSearchData
1703
+ );
1704
+ if (reuseGlobal !== '1') {
1705
+ const index = formData.indexOf(defaultChannelEventData);
1706
+ if (index !== -1) {
1707
+ formData.splice(index + 1, 0, defaultDescriptionData); // 风险原因筛选项保持在渠道筛选项后面
1708
+ }
1709
+ }
1710
+ }
1711
+ break;
1712
+ }
1713
+ if (this.handleLang()) {
1714
+ formData.splice(-1, 0, defaultLanguageData);
1715
+ }
1716
+ if (!getAuthFunction(AUTH_FUNCTION.OPLOG)) {
1717
+ return _.filter(formData, item => item.name !== 'opLog');
1718
+ }
1719
+ if (serviceId === 'POST_ARTICLE') {
1720
+ return _.filter(formData, item => !(['createSensitive', 'createIgnore', 'opLog'].includes(item.name)));
1721
+ }
1722
+ return formData;
1723
+ }
1724
+
1725
+ // 获取新建/查看/修改的 数据配置
1726
+ /**
1727
+ *
1728
+ * @returns 不清楚之前为什么要用 两个数据源,一个去除正常、白名单,
1729
+ * jira OFFICIAL-1264 提出需要解决这个问题,21/06/01修改
1730
+ */
1731
+ getFormDataConfig() {
1732
+ const {
1733
+ mdFormDataConfig,
1734
+ appData,
1735
+ unNormalRiskTypeData,
1736
+ riskLabelData,
1737
+ channelEventData,
1738
+ channelTWEventData,
1739
+ secondVerifySelectList,
1740
+ } = this.state;
1741
+
1742
+ const { route } = this.props;
1743
+ const isTw = route.path.includes('tianwang');
1744
+ const newMdFormDataConfig = _.cloneDeep(mdFormDataConfig);
1745
+ if (isTw) {
1746
+ newMdFormDataConfig.app = appData;
1747
+ newMdFormDataConfig.riskType = unNormalRiskTypeData;
1748
+ newMdFormDataConfig.riskLabel = riskLabelData;
1749
+ newMdFormDataConfig.channelTWEvent = channelTWEventData;
1750
+ newMdFormDataConfig.secondVerify = secondVerifySelectList;
1751
+ } else {
1752
+ newMdFormDataConfig.app = appData;
1753
+ newMdFormDataConfig.riskType = unNormalRiskTypeData;
1754
+ newMdFormDataConfig.riskLabel = riskLabelData;
1755
+ newMdFormDataConfig.channelEvent = channelEventData;
1756
+ }
1757
+
1758
+ return {
1759
+ formDataConfig: newMdFormDataConfig,
1760
+ };
1761
+ }
1762
+
1763
+ /**
1764
+ * 列表排序更改,切换页码/翻页
1765
+ * @param {*} pagination
1766
+ * @param {*} filters
1767
+ * @param {*} sorter
1768
+ */
1769
+ listOnSearch = pagination => {
1770
+ const { current, pageSize } = pagination;
1771
+ const { queryParams } = this.state;
1772
+ let newQueryParams = _.cloneDeep(queryParams);
1773
+ this.setState(
1774
+ {
1775
+ currentPage: current,
1776
+ pageSize: pageSize,
1777
+ queryParams: newQueryParams,
1778
+ },
1779
+ () => {
1780
+ this.doSearch();
1781
+ }
1782
+ );
1783
+ };
1784
+
1785
+ /**
1786
+ * 搜索筛选项更改
1787
+ * @param {*} name 更改筛选项类型名称
1788
+ * @param {*} value 更改后的值
1789
+ */
1790
+ changeQueryParams(name, value) {
1791
+ const { queryParams, lang } = this.state;
1792
+ let newQueryParams = _.cloneDeep(queryParams);
1793
+ switch (name) {
1794
+ case 'channelEvent':
1795
+ if (value.indexOf('SMCN') > -1) {
1796
+ newQueryParams.channel = value.slice(4);
1797
+ newQueryParams.eventId = '';
1798
+ } else if (value.indexOf('SMED') > -1) {
1799
+ newQueryParams.eventId = value.slice(4);
1800
+ newQueryParams.channel = '';
1801
+ } else if (value === '') {
1802
+ newQueryParams.eventId = '';
1803
+ newQueryParams.channel = '';
1804
+ }
1805
+ break;
1806
+ case 'channelTWEvent':
1807
+ if (value === '') {
1808
+ newQueryParams.eventId = '';
1809
+ newQueryParams.channel = '';
1810
+ } else {
1811
+ newQueryParams.eventId = value;
1812
+ newQueryParams.channel = '';
1813
+ }
1814
+ break;
1815
+ case 'labelSearch':
1816
+ const { searchId, searchText } = value;
1817
+ newQueryParams[searchId] = searchText;
1818
+ break;
1819
+ case 'language':
1820
+ if (lang === LANG_TYPE.OCR) {
1821
+ this.getRiskTypeList(value);
1822
+ this.setState({
1823
+ resetRiskType: !this.state.resetRiskType,
1824
+ });
1825
+ newQueryParams.riskType = '';
1826
+ }
1827
+ newQueryParams.product = value;
1828
+ break;
1829
+ default:
1830
+ newQueryParams[name] = value;
1831
+ }
1832
+ this.setState(
1833
+ {
1834
+ queryParams: newQueryParams,
1835
+ listLoading: true,
1836
+ currentPage: 1,
1837
+ },
1838
+ () => {
1839
+ this.doSearch();
1840
+ }
1841
+ );
1842
+ }
1843
+
1844
+ /**
1845
+ * 按钮点击事件
1846
+ * @param {*} val
1847
+ */
1848
+ onButtonClick(name) {
1849
+ const { subType } = this.state;
1850
+ const {isVideo} = this.props;
1851
+
1852
+ switch (name) {
1853
+ case 'createWhite':
1854
+ this.setState({
1855
+ createMdType: 'white',
1856
+ createMdTitle: '创建白名单',
1857
+ createMdVisible: true,
1858
+ mdFormDataList: this.getCreateMdFormDataList(name),
1859
+ });
1860
+ break;
1861
+ case 'createBlack':
1862
+ this.setState({
1863
+ createMdType: 'black',
1864
+ createMdTitle: '创建黑名单',
1865
+ createMdVisible: true,
1866
+ mdFormDataList: this.getCreateMdFormDataList(name),
1867
+ });
1868
+ break;
1869
+ case 'createSensitive':
1870
+ this.setState({
1871
+ createMdType: 'sensitive',
1872
+ createMdTitle: isVideo ? '创建敏感视频文件名单' : subType === 'img' ? '创建敏感图片名单' : '创建敏感词名单',
1873
+ createMdVisible: true,
1874
+ mdFormDataList: this.getCreateMdFormDataList(name),
1875
+ });
1876
+ break;
1877
+ case 'createIgnore':
1878
+ this.setState({
1879
+ createMdType: 'ignore',
1880
+ createMdTitle: isVideo ? '创建视频文件白名单' : subType === 'img' ? '创建图片白名单' : '创建忽略词名单',
1881
+ createMdVisible: true,
1882
+ mdFormDataList: this.getCreateMdFormDataList(name),
1883
+ });
1884
+ break;
1885
+ case 'opLog':
1886
+ history.push(`${location.pathname}/opLog`);
1887
+ break;
1888
+ }
1889
+ }
1890
+
1891
+ /**
1892
+ * 名单查重
1893
+ */
1894
+ inspectData = async (values, type) => {
1895
+ const {t} = this.props;
1896
+
1897
+ this.setState({
1898
+ sensitiveWordSpin: true,
1899
+ });
1900
+
1901
+ let contents = values.contents ? formatContents(values.contents) : [];
1902
+
1903
+ let result = await this.props.dispatch({
1904
+ type: 'mingdan/inspectData',
1905
+ payload: {
1906
+ organization: this.state.currentGlobalFilter.organization,
1907
+ product: this.getProduct(),
1908
+ contents,
1909
+ ...this.getListConf(values, type),
1910
+ },
1911
+ });
1912
+
1913
+ this.setState({
1914
+ sensitiveWordSpin: false,
1915
+ });
1916
+ if (result) {
1917
+ if (result.text.length) {
1918
+ Storage.set('sm-tj-mingdan-parameter', {
1919
+ organization: this.state.currentGlobalFilter.organization,
1920
+ product: this.getProduct(),
1921
+ action: result.action,
1922
+ });
1923
+ global.modal.show(ModalType.MODAL_ALERT, {
1924
+ width: 576,
1925
+ modalTitle: t('提示'),
1926
+
1927
+ renderChildren: () => {
1928
+ return (
1929
+ <SensitivewordHintModal
1930
+ closeVisible={() => {
1931
+ this.setState({
1932
+ contentModalVisible: false,
1933
+ });
1934
+ }}
1935
+ textList={result.text}
1936
+ action={result.action}
1937
+ onOk={() => {
1938
+ global.modal.pop();
1939
+ this.createMd(values, type);
1940
+ }}
1941
+ onCancel={() => {
1942
+ global.modal.pop();
1943
+ }}
1944
+ onGo={() => {
1945
+ global.modal.pop();
1946
+ let valueList = arryRepetition(contents, result.text);
1947
+ let newValues = JSON.parse(JSON.stringify(values));
1948
+ newValues.contents = valueList.join('\n');
1949
+ this.createMd(newValues, type);
1950
+ }}
1951
+ />
1952
+ );
1953
+ },
1954
+ });
1955
+ } else {
1956
+ this.createMd(values, type);
1957
+ }
1958
+ }
1959
+ };
1960
+
1961
+ // 创建名单提交
1962
+ createSubmit = async (values, type) => {
1963
+ const {t} = this.props;
1964
+ if (values.contents) {
1965
+ const rawInputText = values.contents;
1966
+ const illegalList = getIllegalWordList(rawInputText);
1967
+ // 存在违规词条弹出二次确认
1968
+ if (illegalList.length > 0) {
1969
+ const pass = await new Promise(resolve => {
1970
+ Modal.confirm({
1971
+ title: t('输入存在不推荐词条'),
1972
+ content: `${t('检测到')}${illegalList.length}${t('个违规词条(单字/纯数字/纯符号):')}\n${illegalList.join('、')}\n${t('是否确认继续提交?')}`,
1973
+ okText: t('确认提交'),
1974
+ cancelText: t('取消修改'),
1975
+ onOk: () => resolve(true),
1976
+ onCancel: () => resolve(false),
1977
+ });
1978
+ });
1979
+ if (!pass) {
1980
+ return;
1981
+ }
1982
+ }
1983
+ this.inspectData(values, type);
1984
+ } else {
1985
+ this.setState(
1986
+ {
1987
+ isSubmit: true,
1988
+ },
1989
+ () => {
1990
+ this.createMd(values, type);
1991
+ }
1992
+ );
1993
+ }
1994
+ };
1995
+
1996
+ // 渲染主页面
1997
+ renderIndex() {
1998
+ const {
1999
+ tableColumns,
2000
+ tableDataSource,
2001
+ listLoading,
2002
+ listTotalCount,
2003
+ pageSize,
2004
+ pageSizeOptions,
2005
+ currentPage,
2006
+ buttonGroupConfig,
2007
+ noteInfo,
2008
+ createMdVisible,
2009
+ createMdTitle,
2010
+ createMdType,
2011
+ mdFormDataList,
2012
+ mdUpdateFormDataList,
2013
+ mdUpdateFormType,
2014
+ mdUpdateVisible,
2015
+ initialValues,
2016
+ isSubmit,
2017
+ listType,
2018
+ reuseGlobal,
2019
+ realChannelEventData,
2020
+ currentList,
2021
+ realChannelTWEventData,
2022
+ lang,
2023
+ hideLang,
2024
+ currentGlobalFilter,
2025
+ resetLangCount,
2026
+ resetRiskType,
2027
+ mdRiskType,
2028
+ isTw,
2029
+ subType,
2030
+ } = this.state;
2031
+ const formData = this.getFormData();
2032
+ const {currentUser, route, dispatch, t, isVideo, isText, stateConfig} = this.props;
2033
+ const { formDataConfig } = this.getFormDataConfig();
2034
+ const isGlobalMd = listType === 0 && reuseGlobal === 1;
2035
+ const isOcr = lang === 'ocr';
2036
+ const newTableColumns = getIntlTableColums(tableColumns.filter(item => {
2037
+ if (isText) {
2038
+ return true;
2039
+ }
2040
+ if (!lang) {
2041
+ return item.key !== 'lang';
2042
+ }
2043
+ return true;
2044
+ }), t);
2045
+ const {riskLevel} = initialValues;
2046
+ const {showSegmentStatusForIgnore, autoSegmentStatusByLang} = stateConfig;
2047
+ // 文本类型-公司名单-创建忽略词名单按钮
2048
+ const isTextTypeWhiteList = subType === 'text' && createMdType === 'ignore' && !showSegmentStatusForIgnore;
2049
+ // 文本类型-公司名单-修改处置建议不为拒绝和审核的名单(通过,忽略,放行)
2050
+ const isTextTypeUpdateWhiteList = subType === 'text' && riskLevel !== 'REVIEW' && riskLevel !== 'REJECT'
2051
+ && !showSegmentStatusForIgnore;
2052
+
2053
+ return (
2054
+ <div className={styles['page-content']} style={{ minHeight: createMdVisible ? '1100px' : '' }}>
2055
+ {createMdVisible ? (
2056
+ <CreateMdForm
2057
+ title={createMdTitle}
2058
+ type={createMdType}
2059
+ formDataList={mdFormDataList}
2060
+ isEngOrAlb={this.state.isEngOrAlb}
2061
+ formDataConfig={formDataConfig}
2062
+ serviceId={route.routeData.serviceId}
2063
+ isSubmit={isSubmit}
2064
+ listType={listType}
2065
+ hideLang={hideLang}
2066
+ dispatch={dispatch}
2067
+ isVideoAsrOcr={lang === 'videoAsr' || lang === 'videoOcr'}
2068
+ isOcr={isOcr}
2069
+ isTw={isTw}
2070
+ isVideo={isVideo}
2071
+ mdRiskType={mdRiskType}
2072
+ currentGlobalFilter={currentGlobalFilter}
2073
+ getRiskTypeList={this.getMdRiskType}
2074
+ isTextTypeWhiteList={isTextTypeWhiteList}
2075
+ autoSegmentStatusByLang={autoSegmentStatusByLang}
2076
+ onConfirm={this.createSubmit}
2077
+ onCancel={() => {
2078
+ this.setState({
2079
+ createMdVisible: false,
2080
+ isSubmit: false,
2081
+ });
2082
+ }}
2083
+ />
2084
+ ) : null}
2085
+ <GlobalFilterListener onChange={this.globalFilterChange} />
2086
+ <div className={styles['note-tip']}>
2087
+ <SMNoteTip noteInfo={noteInfo} />
2088
+ </div>
2089
+ <SMSearchForm
2090
+ buttonGroupConfig={buttonGroupConfig}
2091
+ formData={formData}
2092
+ onChange={(name, value) => {
2093
+ this.changeQueryParams(name, value);
2094
+ }}
2095
+ resetLangCount={resetLangCount}
2096
+ resetRiskType={resetRiskType}
2097
+ exportData={callback => this.exportData(callback)}
2098
+ onButtonClick={name => this.onButtonClick(name)}
2099
+ />
2100
+ <div className={styles['table-list']}>
2101
+ <SMTable
2102
+ columns={newTableColumns}
2103
+ dataSource={tableDataSource}
2104
+ loading={listLoading}
2105
+ totalCount={listTotalCount}
2106
+ showTotal={() => `${t('共')}${listTotalCount}${t('条')}`}
2107
+ i18nText={tableText(t)}
2108
+ wrapperStyle={{
2109
+ margin: 0,
2110
+ }}
2111
+ customLoadingUrl={this.props.customLoadingIcon}
2112
+ antdProps={{
2113
+ pagination: {
2114
+ showQuickJumper: true,
2115
+ defaultPageSize: pageSize,
2116
+ pageSizeOptions: pageSizeOptions,
2117
+ total: listTotalCount,
2118
+ current: currentPage,
2119
+ showSizeChanger: true,
2120
+ },
2121
+ onChange: this.listOnSearch,
2122
+ }}
2123
+ />
2124
+ {tableDataSource.length ? <TotalCount count={listTotalCount} /> : null}
2125
+ </div>
2126
+ <UpdateMdModal
2127
+ isGlobalMd={isGlobalMd}
2128
+ visible={mdUpdateVisible}
2129
+ currentUser={currentUser}
2130
+ type={mdUpdateFormType}
2131
+ formDataList={mdUpdateFormDataList}
2132
+ formDataConfig={formDataConfig}
2133
+ initialValues={initialValues}
2134
+ isEngOrAlb={this.state.isEngOrAlb}
2135
+ currentList={currentList}
2136
+ serviceId={route.routeData.serviceId}
2137
+ hideLang={hideLang}
2138
+ listType={listType}
2139
+ isTw={isTw}
2140
+ organization={currentGlobalFilter.organization}
2141
+ isTextTypeUpdateWhiteList={isTextTypeUpdateWhiteList}
2142
+ autoSegmentStatusByLang={autoSegmentStatusByLang}
2143
+ onConfirm={(values, type) => {
2144
+ if (type === 'view') {
2145
+ this.setState({
2146
+ mdUpdateVisible: false,
2147
+ channelEventData: realChannelEventData,
2148
+ channelTWEventData: realChannelTWEventData,
2149
+ });
2150
+ return;
2151
+ }
2152
+ this.updateMd(values);
2153
+ }}
2154
+ onCancel={() => {
2155
+ this.setState({
2156
+ mdUpdateVisible: false,
2157
+ channelEventData: realChannelEventData,
2158
+ channelTWEventData: realChannelTWEventData,
2159
+ });
2160
+ }}
2161
+ />
2162
+ <SensitiveWordSpin visible={this.state.sensitiveWordSpin} />
2163
+ </div>
2164
+ );
2165
+ }
2166
+
2167
+ render() {
2168
+ const { route, children } = this.props;
2169
+ const pathname = location.pathname;
2170
+ return <div>{pathname === route.path ? this.renderIndex() : children}</div>;
2171
+ }
2172
+ }
2173
+
2174
+ export default connect(({ user }) => ({
2175
+ apps: user.apps,
2176
+ currentUser: user.currentUser,
2177
+ }))(withIntlComponents(List));