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.
- package/.editorconfig +11 -0
- package/.env +1 -0
- package/.eslintrc +87 -0
- package/README.md +57 -0
- package/bin/build-private.sh +9 -0
- package/bin/build.sh +9 -0
- package/config/assets_prefix.js +3 -0
- package/config/config.js +170 -0
- package/config/proxy.js +61 -0
- package/config/theme.js +42 -0
- package/jsconfig.json +11 -0
- package/loader/buildEnvLoader.js +15 -0
- package/loader/privateRemoveText.js +20 -0
- package/mock/auditLog.js +26 -0
- package/mock/basics/app.js +98 -0
- package/mock/basics/menu.js +42 -0
- package/mock/basics/user.js +0 -0
- package/mock/bill.js +188 -0
- package/mock/errorCase.js +24 -0
- package/mock/fieldsManage.js +52 -0
- package/mock/history.js +675 -0
- package/mock/listTableList.js +178 -0
- package/mock/notices.js +147 -0
- package/mock/opinion.js +51 -0
- package/mock/qps.js +63 -0
- package/mock/rank.js +172 -0
- package/mock/riskyMember.js +98 -0
- package/mock/route.js +104 -0
- package/mock/tj/check/index.js +0 -0
- package/mock/trend.js +1442 -0
- package/mock/tw/event/trend.js +0 -0
- package/mock/tw/list/list.js +251 -0
- package/mock/tx/history/index.js +81 -0
- package/mock/tx/trend/index.js +94 -0
- package/mock/user.js +194 -0
- package/package.json +154 -0
- package/plugin.js +15 -0
- package/public/CNAME +1 -0
- package/public/favicon.ico +0 -0
- package/public/fengkong.ico +0 -0
- package/public/home_bg.png +0 -0
- package/public/iconfont.js +1 -0
- package/public/icons/icon-128x128.ico +0 -0
- package/public/icons/icon-192x192.ico +0 -0
- package/public/icons/icon-512x512.ico +0 -0
- package/public/index/upload-icon.png +0 -0
- package/public/intlLoading.gif +0 -0
- package/public/loading.gif +0 -0
- package/public/loadingPRIVATE.gif +0 -0
- package/public/pro_icon.svg +5 -0
- package/public/txt/example.txt +2 -0
- package/src/assets/bigLogo.png +0 -0
- package/src/assets/demoImg/fengkong.ico +0 -0
- package/src/assets/demoImg/headerLogo.png +0 -0
- package/src/assets/demoImg/index.js +17 -0
- package/src/assets/demoImg/leftBanner.png +0 -0
- package/src/assets/demoImg/leftLogo.png +0 -0
- package/src/assets/demoImg/systemLogo.png +0 -0
- package/src/assets/logo.svg +1 -0
- package/src/assets/menuLeft.png +0 -0
- package/src/assets/menuLeftHover.png +0 -0
- package/src/assets/noData.png +0 -0
- package/src/assets/notFind.svg +6 -0
- package/src/assets/pdf.svg +20 -0
- package/src/assets/privateSmallLogo.png +0 -0
- package/src/assets/smallLogo.png +0 -0
- package/src/assets/ssoImg/index.js +5 -0
- package/src/assets/ssoImg/leftLogo.png +0 -0
- package/src/assets/tab.png +0 -0
- package/src/assets/zhonghang.png +0 -0
- package/src/components/ApprovalUploader/constants.js +6 -0
- package/src/components/ApprovalUploader/img/default.png +0 -0
- package/src/components/ApprovalUploader/img/downloadIcon.png +0 -0
- package/src/components/ApprovalUploader/img/index.js +15 -0
- package/src/components/ApprovalUploader/img/previewIcon.png +0 -0
- package/src/components/ApprovalUploader/img/remove.png +0 -0
- package/src/components/ApprovalUploader/index.js +181 -0
- package/src/components/ApprovalUploader/index.less +80 -0
- package/src/components/Authorized/Authorized.jsx +21 -0
- package/src/components/Authorized/AuthorizedRoute.jsx +25 -0
- package/src/components/Authorized/CheckPermissions.jsx +72 -0
- package/src/components/Authorized/PromiseRender.jsx +80 -0
- package/src/components/Authorized/Secured.jsx +75 -0
- package/src/components/Authorized/index.jsx +8 -0
- package/src/components/Authorized/renderAuthorize.js +27 -0
- package/src/components/CaseDetail/index.jsx +150 -0
- package/src/components/CaseDetail/index.less +32 -0
- package/src/components/ClusterChanger/index.jsx +110 -0
- package/src/components/CustomMessageContent/index.js +23 -0
- package/src/components/CustomVideo/index.js +77 -0
- package/src/components/ElementDateRangeTime/assets/arrow.svg +11 -0
- package/src/components/ElementDateRangeTime/assets/calendar.svg +13 -0
- package/src/components/ElementDateRangeTime/assets/last-month.svg +11 -0
- package/src/components/ElementDateRangeTime/assets/next-month.svg +11 -0
- package/src/components/ElementDateRangeTime/assets/next-year.svg +14 -0
- package/src/components/ElementDateRangeTime/assets/pre-year.svg +14 -0
- package/src/components/ElementDateRangeTime/constants.js +11 -0
- package/src/components/ElementDateRangeTime/index.jsx +106 -0
- package/src/components/ElementDateRangeTime/index.less +206 -0
- package/src/components/EsExportTaskModal/index.jsx +194 -0
- package/src/components/FieldMessageModal/DraggableBody/index.js +39 -0
- package/src/components/FieldMessageModal/DraggableBody/index.less +0 -0
- package/src/components/FieldMessageModal/index.js +329 -0
- package/src/components/FieldMessageModal/index.less +113 -0
- package/src/components/GlobalFilterListener/index.jsx +92 -0
- package/src/components/GlobalHeader/AppDropdown.jsx +157 -0
- package/src/components/GlobalHeader/AvatarDropdown.jsx +184 -0
- package/src/components/GlobalHeader/BottomContent.jsx +55 -0
- package/src/components/GlobalHeader/Message.jsx +93 -0
- package/src/components/GlobalHeader/NoticeIconView.jsx +153 -0
- package/src/components/GlobalHeader/PayMent.jsx +112 -0
- package/src/components/GlobalHeader/RightContent.jsx +137 -0
- package/src/components/GlobalHeader/index.less +226 -0
- package/src/components/HeaderDropdown/index.jsx +10 -0
- package/src/components/HeaderDropdown/index.less +16 -0
- package/src/components/HeaderFilter/index.jsx +447 -0
- package/src/components/HeaderFilter/index.less +33 -0
- package/src/components/IconLoading/index.jsx +24 -0
- package/src/components/IconLoading/index.less +17 -0
- package/src/components/IconLoading/loading.gif +0 -0
- package/src/components/InputSelect/index.jsx +186 -0
- package/src/components/InputSelect/index.less +6 -0
- package/src/components/NoticeIcon/NoticeList.jsx +95 -0
- package/src/components/NoticeIcon/NoticeList.less +103 -0
- package/src/components/NoticeIcon/index.jsx +112 -0
- package/src/components/NoticeIcon/index.less +35 -0
- package/src/components/PageLoading/index.jsx +37 -0
- package/src/components/PageLoading/index.less +18 -0
- package/src/components/PageLoading/intlLoading.gif +0 -0
- package/src/components/PageLoading/loading.gif +0 -0
- package/src/components/RemindPage/index.jsx +69 -0
- package/src/components/RemindPage/index.less +53 -0
- package/src/components/SMAlert/img/succeed.png +0 -0
- package/src/components/SMAlert/img/warning.png +0 -0
- package/src/components/SMAlert/index.js +169 -0
- package/src/components/SMAlert/index.less +36 -0
- package/src/components/SMAudio/index.jsx +297 -0
- package/src/components/SMAudio/index.less +65 -0
- package/src/components/SMBackTop/index.js +48 -0
- package/src/components/SMBackTop/index.less +35 -0
- package/src/components/SMBreadcrumb/index.js +42 -0
- package/src/components/SMBreadcrumb/index.less +4 -0
- package/src/components/SMCascader/index.jsx +124 -0
- package/src/components/SMCascader/index.less +10 -0
- package/src/components/SMCheckableTag/index.jsx +51 -0
- package/src/components/SMColorRect/img/icon_accomplish.png +0 -0
- package/src/components/SMColorRect/img/icon_activate.png +0 -0
- package/src/components/SMColorRect/img/icon_increase.png +0 -0
- package/src/components/SMColorRect/img/icon_invalid.png +0 -0
- package/src/components/SMColorRect/img/icon_jiaohuliang.png +0 -0
- package/src/components/SMColorRect/img/icon_lanjieliang.png +0 -0
- package/src/components/SMColorRect/img/icon_order_one.png +0 -0
- package/src/components/SMColorRect/img/icon_order_two.png +0 -0
- package/src/components/SMColorRect/img/icon_pass.png +0 -0
- package/src/components/SMColorRect/img/icon_reject.png +0 -0
- package/src/components/SMColorRect/img/icon_reject_total.png +0 -0
- package/src/components/SMColorRect/img/icon_review.png +0 -0
- package/src/components/SMColorRect/img/icon_review_total.png +0 -0
- package/src/components/SMColorRect/img/icon_robot.png +0 -0
- package/src/components/SMColorRect/img/icon_time.png +0 -0
- package/src/components/SMColorRect/img/icon_total.png +0 -0
- package/src/components/SMColorRect/img/icon_verify.png +0 -0
- package/src/components/SMColorRect/img/icon_zhanshiliang.png +0 -0
- package/src/components/SMColorRect/index.jsx +205 -0
- package/src/components/SMColorRect/index.less +135 -0
- package/src/components/SMCopy/index.jsx +33 -0
- package/src/components/SMCount/index.jsx +49 -0
- package/src/components/SMCount/index.less +80 -0
- package/src/components/SMCustomInput/index.jsx +115 -0
- package/src/components/SMCustomInput/index.less +11 -0
- package/src/components/SMDataCard/index.jsx +59 -0
- package/src/components/SMDataCard/index.less +3 -0
- package/src/components/SMDataCount/index.jsx +22 -0
- package/src/components/SMDataCount/index.less +39 -0
- package/src/components/SMDatePicker/assets/arrow.svg +11 -0
- package/src/components/SMDatePicker/assets/calendar.png +0 -0
- package/src/components/SMDatePicker/assets/calendar.svg +13 -0
- package/src/components/SMDatePicker/assets/last-month.svg +11 -0
- package/src/components/SMDatePicker/assets/next-month.svg +11 -0
- package/src/components/SMDatePicker/assets/next-year.svg +14 -0
- package/src/components/SMDatePicker/assets/pre-year.svg +14 -0
- package/src/components/SMDatePicker/assets/time.png +0 -0
- package/src/components/SMDatePicker/constants.js +13 -0
- package/src/components/SMDatePicker/index.jsx +222 -0
- package/src/components/SMDatePicker/index.less +318 -0
- package/src/components/SMDateSearch/index.js +63 -0
- package/src/components/SMElementPicker/index.jsx +38 -0
- package/src/components/SMElementPicker/index.less +22 -0
- package/src/components/SMEmpty/index.jsx +28 -0
- package/src/components/SMEmpty/index.less +9 -0
- package/src/components/SMIcon/index.jsx +25 -0
- package/src/components/SMImage/index.jsx +277 -0
- package/src/components/SMImage/index.less +46 -0
- package/src/components/SMInputSelect/index.jsx +117 -0
- package/src/components/SMInputSelect/index.less +6 -0
- package/src/components/SMLabelSearch/index.jsx +107 -0
- package/src/components/SMLabelSearch/index.less +41 -0
- package/src/components/SMLineChart/index.jsx +369 -0
- package/src/components/SMLineChart/index.less +49 -0
- package/src/components/SMLineChart2/index.jsx +453 -0
- package/src/components/SMLineChart2/index.less +140 -0
- package/src/components/SMLinePieChart/index.jsx +25 -0
- package/src/components/SMLinePieChart/index.less +0 -0
- package/src/components/SMList/index.jsx +153 -0
- package/src/components/SMList/index.less +103 -0
- package/src/components/SMMessageModal/index.jsx +67 -0
- package/src/components/SMMessageModal/index.less +111 -0
- package/src/components/SMMonthPicker/constants.js +91 -0
- package/src/components/SMMonthPicker/img/inputPanel.png +0 -0
- package/src/components/SMMonthPicker/index.jsx +393 -0
- package/src/components/SMMonthPicker/index.less +109 -0
- package/src/components/SMNewPieChart/index.jsx +204 -0
- package/src/components/SMNewPieChart/index.less +21 -0
- package/src/components/SMNewSelect/index.jsx +147 -0
- package/src/components/SMNewSelect/index.less +39 -0
- package/src/components/SMNewText/index.jsx +50 -0
- package/src/components/SMNoteTip/index.jsx +17 -0
- package/src/components/SMNoteTip/index.less +8 -0
- package/src/components/SMPageSize/index.jsx +84 -0
- package/src/components/SMPageSize/index.less +38 -0
- package/src/components/SMPieChart/index.jsx +187 -0
- package/src/components/SMPieChart/index.less +39 -0
- package/src/components/SMPopConfirm/index.jsx +82 -0
- package/src/components/SMPopConfirm/index.less +63 -0
- package/src/components/SMPopConfirm/tip.png +0 -0
- package/src/components/SMReply/constants.jsx +18 -0
- package/src/components/SMReply/img/apply.png +0 -0
- package/src/components/SMReply/img/guide.png +0 -0
- package/src/components/SMReply/img/open.png +0 -0
- package/src/components/SMReply/img/user.png +0 -0
- package/src/components/SMReply/index.jsx +54 -0
- package/src/components/SMReply/index.less +69 -0
- package/src/components/SMRiskLevel/index.jsx +50 -0
- package/src/components/SMSearchForm/index.jsx +501 -0
- package/src/components/SMSearchForm/index.less +88 -0
- package/src/components/SMSelect/index.jsx +170 -0
- package/src/components/SMSelect/index.less +28 -0
- package/src/components/SMTJCascader/index.js +694 -0
- package/src/components/SMTJCascader/index.less +129 -0
- package/src/components/SMText/index.jsx +90 -0
- package/src/components/SMTimeTip/index.jsx +16 -0
- package/src/components/SMTimeTip/index.less +13 -0
- package/src/components/SMTips/index.js +37 -0
- package/src/components/SMTips/index.less +24 -0
- package/src/components/SMUpload/index.js +174 -0
- package/src/components/SMUpload/index.less +200 -0
- package/src/components/SearchFormV2/DatePickerV2/index.less +9 -0
- package/src/components/SearchFormV2/DatePickerV2/index.tsx +73 -0
- package/src/components/SearchFormV2/DatePickerV3/index.jsx +109 -0
- package/src/components/SearchFormV2/DatePickerV3/index.less +9 -0
- package/src/components/SearchFormV2/ExportDom/index.less +6 -0
- package/src/components/SearchFormV2/ExportDom/index.tsx +69 -0
- package/src/components/SearchFormV2/LabelSearchV2/index.less +0 -0
- package/src/components/SearchFormV2/LabelSearchV2/index.tsx +84 -0
- package/src/components/SearchFormV2/getFormItems.tsx +132 -0
- package/src/components/SearchFormV2/index.less +91 -0
- package/src/components/SearchFormV2/index.tsx +73 -0
- package/src/components/SensitiveWordSpin/index.jsx +28 -0
- package/src/components/SensitiveWordSpin/index.less +9 -0
- package/src/components/TotalCount/index.jsx +42 -0
- package/src/components/TrialResult/index.jsx +125 -0
- package/src/components/TrialResult/index.less +128 -0
- package/src/components/TwDatePicker/index.jsx +76 -0
- package/src/components/TwDatePicker/index.less +17 -0
- package/src/components/common.less +13 -0
- package/src/components/iframe/index.jsx +186 -0
- package/src/components/index.js +122 -0
- package/src/components/modal/index.js +9 -0
- package/src/configure/api.js +270 -0
- package/src/configure/configData/feedbackOrgList.js +6 -0
- package/src/configure/configData/lineChartConfig.js +382 -0
- package/src/configure/configData/newPageConfig.js +45 -0
- package/src/configure/defaultSettings.js +19 -0
- package/src/configure/index.js +11 -0
- package/src/configure/oldPage/appDropdownList.js +536 -0
- package/src/configure/oldPage/rankData.js +14 -0
- package/src/configure/oldPage/routeContrastData.js +414 -0
- package/src/configure/oldPage/strategyData.js +13 -0
- package/src/configure/pageType.js +12 -0
- package/src/configure/routes/document/config.js +9 -0
- package/src/configure/routes/heichan/config.js +70 -0
- package/src/configure/routes/index.js +131 -0
- package/src/configure/routes/manage/config.js +426 -0
- package/src/configure/routes/message/config.js +10 -0
- package/src/configure/routes/opinion/index.js +21 -0
- package/src/configure/routes/overview/config.js +14 -0
- package/src/configure/routes/path.js +582 -0
- package/src/configure/routes/payment/config.js +113 -0
- package/src/configure/routes/policy/config.js +43 -0
- package/src/configure/routes/policyOld/config.js +71 -0
- package/src/configure/routes/riskyMember/config.js +28 -0
- package/src/configure/routes/tj/audioAlbRoutes/config.js +635 -0
- package/src/configure/routes/tj/audioBleiRoutes/config.js +372 -0
- package/src/configure/routes/tj/audioEngRoutes/config.js +635 -0
- package/src/configure/routes/tj/audioRoutes/config.js +779 -0
- package/src/configure/routes/tj/audioStreamAlbRoutes/config.js +671 -0
- package/src/configure/routes/tj/audioStreamBleiRoutes/config.js +349 -0
- package/src/configure/routes/tj/audioStreamEngRoutes/config.js +671 -0
- package/src/configure/routes/tj/audioStreamRoutes/config.js +738 -0
- package/src/configure/routes/tj/config.js +257 -0
- package/src/configure/routes/tj/imageRoutes/config.js +1209 -0
- package/src/configure/routes/tj/multiModalRoutes/config.js +92 -0
- package/src/configure/routes/tj/textAlbRoutes/config.js +772 -0
- package/src/configure/routes/tj/textEngRoutes/config.js +780 -0
- package/src/configure/routes/tj/textRoutes/config.js +812 -0
- package/src/configure/routes/tj/videoRoutes/config.js +1705 -0
- package/src/configure/routes/tj/videoStreamAlbRoutes/config.js +1419 -0
- package/src/configure/routes/tj/videoStreamEngRoutes/config.js +1419 -0
- package/src/configure/routes/tj/videoStreamRoutes/config.js +1588 -0
- package/src/configure/routes/tj/webRoutes/config.js +281 -0
- package/src/configure/routes/ts/config.js +942 -0
- package/src/configure/routes/tw/config.js +908 -0
- package/src/configure/routes/twCaptcha/config.js +86 -0
- package/src/configure/routes/twCertifiy/config.js +201 -0
- package/src/configure/routes/twChannel/config.js +125 -0
- package/src/configure/routes/tx/config.js +254 -0
- package/src/contants/account.js +7 -0
- package/src/contants/auth.js +3 -0
- package/src/contants/buildEnv.js +7 -0
- package/src/contants/exportUrl.js +11 -0
- package/src/contants/global.js +78 -0
- package/src/contants/headMenu.jsx +81 -0
- package/src/contants/histroy.js +18 -0
- package/src/contants/i18n.js +24 -0
- package/src/contants/img/bingsheng.png +0 -0
- package/src/contants/img/fengkong.png +0 -0
- package/src/contants/img/index.js +11 -0
- package/src/contants/img/jinjiang.png +0 -0
- package/src/contants/img/xiaodou.png +0 -0
- package/src/contants/imgBlackSimilayOrgs.js +15 -0
- package/src/contants/index.js +673 -0
- package/src/contants/judgeServiceIdType/index.ts +52 -0
- package/src/contants/modelType.js +57 -0
- package/src/contants/operation.js +6 -0
- package/src/contants/organizationMap.js +12 -0
- package/src/contants/pageSize.js +1 -0
- package/src/contants/role.js +5 -0
- package/src/contants/safe.js +8 -0
- package/src/contants/select.js +3 -0
- package/src/contants/serviceId.js +13 -0
- package/src/contants/storage.js +1 -0
- package/src/contants/tokenId.js +25 -0
- package/src/global.jsx +110 -0
- package/src/global.less +237 -0
- package/src/hoc/withIntlComponents.js +30 -0
- package/src/hooks/biz/useColumns.js +273 -0
- package/src/hooks/biz/useColumns.less +14 -0
- package/src/hooks/biz/useDraggable.js +26 -0
- package/src/hooks/biz/useElLanguage.js +22 -0
- package/src/hooks/biz/useHotkeys.js +60 -0
- package/src/hooks/biz/useLanguage.js +44 -0
- package/src/hooks/common/useInterval.js +21 -0
- package/src/hooks/common/useUpload.js +154 -0
- package/src/hooks/common/useUploadClick.js +56 -0
- package/src/hooks/index.js +72 -0
- package/src/hooks/object/useApiCallList.js +87 -0
- package/src/hooks/object/useApiSecretKey.js +88 -0
- package/src/hooks/object/useApp.js +51 -0
- package/src/hooks/object/useAppChannel.js +51 -0
- package/src/hooks/object/useAuthServiceId.ts +52 -0
- package/src/hooks/object/useBill.js +195 -0
- package/src/hooks/object/useChannel.js +121 -0
- package/src/hooks/object/useDataBack.js +165 -0
- package/src/hooks/object/useDetailKeyDown.js +81 -0
- package/src/hooks/object/useDeviceExport.js +57 -0
- package/src/hooks/object/useDeviceTrend.js +97 -0
- package/src/hooks/object/useHistoryExport.js +46 -0
- package/src/hooks/object/useLabel.js +77 -0
- package/src/hooks/object/useMdList.js +251 -0
- package/src/hooks/object/useOpenOrganization.js +34 -0
- package/src/hooks/object/useOpinion.js +27 -0
- package/src/hooks/object/useOrganization.js +47 -0
- package/src/hooks/object/useQueryMethod.js +32 -0
- package/src/hooks/object/useRiskType.js +41 -0
- package/src/hooks/object/useRoleList.js +39 -0
- package/src/hooks/object/useService.js +37 -0
- package/src/hooks/object/useTokenTrend.js +108 -0
- package/src/hooks/object/useTopn.js +0 -0
- package/src/hooks/object/useTwHistory.js +69 -0
- package/src/hooks/object/useUser.js +109 -0
- package/src/layouts/BasicLayout.jsx +155 -0
- package/src/layouts/BlankLayout.jsx +5 -0
- package/src/layouts/CollapsibleMenu.js +196 -0
- package/src/layouts/CollapsibleMenu.less +50 -0
- package/src/layouts/LeftMenu.jsx +264 -0
- package/src/layouts/MenuContext.js +22 -0
- package/src/layouts/SecurityLayout.jsx +329 -0
- package/src/layouts/TabContentLayout.jsx +270 -0
- package/src/layouts/TabContentLayout.less +61 -0
- package/src/layouts/TopMenu.jsx +115 -0
- package/src/layouts/TopSide.jsx +394 -0
- package/src/layouts/TopSide.less +339 -0
- package/src/layouts/TopSideMenuLayout.jsx +203 -0
- package/src/layouts/TopSideMenuLayout.less +81 -0
- package/src/layouts/UserLayout.jsx +59 -0
- package/src/layouts/UserLayout.less +71 -0
- package/src/layouts/constants.js +28 -0
- package/src/locales/basic-US.js +227 -0
- package/src/locales/en-US/component.js +2 -0
- package/src/locales/en-US/globalHeader.js +2 -0
- package/src/locales/en-US/menu.js +2 -0
- package/src/locales/en-US/module/history.js +19 -0
- package/src/locales/en-US/module/md.js +230 -0
- package/src/locales/en-US/product/tw/index.js +33 -0
- package/src/locales/en-US/pwa.js +2 -0
- package/src/locales/en-US/settingDrawer.js +2 -0
- package/src/locales/en-US/settings.js +2 -0
- package/src/locales/en-US.js +762 -0
- package/src/locales/product/md.js +88 -0
- package/src/locales/pt-BR/component.js +5 -0
- package/src/locales/pt-BR/globalHeader.js +18 -0
- package/src/locales/pt-BR/menu.js +52 -0
- package/src/locales/pt-BR/pwa.js +7 -0
- package/src/locales/pt-BR/settingDrawer.js +32 -0
- package/src/locales/pt-BR/settings.js +61 -0
- package/src/locales/pt-BR.js +13 -0
- package/src/locales/request-US.js +28 -0
- package/src/locales/special.js +11 -0
- package/src/locales/tj-US.js +811 -0
- package/src/locales/zh-CN/component.js +2 -0
- package/src/locales/zh-CN/globalHeader.js +2 -0
- package/src/locales/zh-CN/menu.js +2 -0
- package/src/locales/zh-CN/module/history.js +11 -0
- package/src/locales/zh-CN/module/md.js +0 -0
- package/src/locales/zh-CN/product/Information/index.js +2 -0
- package/src/locales/zh-CN/product/celue/index.js +2 -0
- package/src/locales/zh-CN/product/index.js +13 -0
- package/src/locales/zh-CN/product/tj/audio/index.js +2 -0
- package/src/locales/zh-CN/product/tj/audioStream/index.js +2 -0
- package/src/locales/zh-CN/product/tj/image/index.js +2 -0
- package/src/locales/zh-CN/product/tj/index.js +35 -0
- package/src/locales/zh-CN/product/tj/text/index.js +2 -0
- package/src/locales/zh-CN/product/tj/video/index.js +2 -0
- package/src/locales/zh-CN/product/tj/videoStream/index.js +2 -0
- package/src/locales/zh-CN/product/tj/web/index.js +2 -0
- package/src/locales/zh-CN/product/tw/index.js +32 -0
- package/src/locales/zh-CN/product/tx/index.js +2 -0
- package/src/locales/zh-CN/pwa.js +2 -0
- package/src/locales/zh-CN/settingDrawer.js +2 -0
- package/src/locales/zh-CN/settings.js +2 -0
- package/src/locales/zh-CN.js +1493 -0
- package/src/locales/zh-TW/component.js +5 -0
- package/src/locales/zh-TW/globalHeader.js +17 -0
- package/src/locales/zh-TW/menu.js +52 -0
- package/src/locales/zh-TW/pwa.js +6 -0
- package/src/locales/zh-TW/settingDrawer.js +31 -0
- package/src/locales/zh-TW/settings.js +2 -0
- package/src/locales/zh-TW.js +13 -0
- package/src/models/base.js +71 -0
- package/src/models/dataBack.js +51 -0
- package/src/models/global.js +20 -0
- package/src/models/history.js +141 -0
- package/src/models/information.js +27 -0
- package/src/models/login.js +195 -0
- package/src/models/manage.js +214 -0
- package/src/models/mingdan.js +243 -0
- package/src/models/rank.js +25 -0
- package/src/models/riskAccount.js +41 -0
- package/src/models/setting.js +27 -0
- package/src/models/strategy.js +179 -0
- package/src/models/strategyLab.js +84 -0
- package/src/models/trend.js +102 -0
- package/src/models/twChannel.js +50 -0
- package/src/models/user.js +205 -0
- package/src/pages/404.jsx +19 -0
- package/src/pages/Admin.jsx +40 -0
- package/src/pages/IFrame/index.jsx +173 -0
- package/src/pages/Welcome.jsx +48 -0
- package/src/pages/Welcome.less +8 -0
- package/src/pages/account/IntlLogin/index.js +27 -0
- package/src/pages/account/IntlLogin/index.less +26 -0
- package/src/pages/account/components/EmailTwoFactor/index.jsx +94 -0
- package/src/pages/account/components/EmailTwoFactor/index.less +128 -0
- package/src/pages/account/components/Header/index.jsx +66 -0
- package/src/pages/account/components/Header/index.less +62 -0
- package/src/pages/account/components/HeaderList/index.jsx +20 -0
- package/src/pages/account/components/IntlHeader/index.js +43 -0
- package/src/pages/account/components/IntlHeader/index.less +54 -0
- package/src/pages/account/components/IntlLoginLeft/index.jsx +33 -0
- package/src/pages/account/components/IntlLoginLeft/index.less +44 -0
- package/src/pages/account/components/IntlLoginRight/index.js +514 -0
- package/src/pages/account/components/IntlLoginRight/index.less +259 -0
- package/src/pages/account/components/LoginEmail/index.jsx +188 -0
- package/src/pages/account/components/LoginEmail/index.less +105 -0
- package/src/pages/account/components/LoginLeft/index.jsx +73 -0
- package/src/pages/account/components/LoginLeft/index.less +44 -0
- package/src/pages/account/components/LoginModeError/index.js +14 -0
- package/src/pages/account/components/LoginModeError/index.less +14 -0
- package/src/pages/account/components/LoginPhone/index.jsx +230 -0
- package/src/pages/account/components/LoginPhone/index.less +131 -0
- package/src/pages/account/components/LoginRight/index.jsx +560 -0
- package/src/pages/account/components/LoginRight/index.less +172 -0
- package/src/pages/account/components/ResetSuccee/index.jsx +18 -0
- package/src/pages/account/components/ResetSuccee/index.less +29 -0
- package/src/pages/account/components/WscLoginLeft/index.jsx +41 -0
- package/src/pages/account/components/WscLoginLeft/index.less +45 -0
- package/src/pages/account/components/WscLoginRight/index.jsx +252 -0
- package/src/pages/account/components/WscLoginRight/index.less +142 -0
- package/src/pages/account/components/loginLeftList/index.jsx +23 -0
- package/src/pages/account/forgetPwd/index.jsx +111 -0
- package/src/pages/account/forgetPwd/index.less +73 -0
- package/src/pages/account/img/google.png +0 -0
- package/src/pages/account/img/icon-checked.png +0 -0
- package/src/pages/account/img/icon-unchecked.png +0 -0
- package/src/pages/account/img/intl-left-banner.png +0 -0
- package/src/pages/account/img/intlLogo.png +0 -0
- package/src/pages/account/img/intlLogo.svg +14 -0
- package/src/pages/account/img/left-banner-private.png +0 -0
- package/src/pages/account/img/left-banner.png +0 -0
- package/src/pages/account/img/logo.png +0 -0
- package/src/pages/account/img/newLogo.png +0 -0
- package/src/pages/account/index.js +17 -0
- package/src/pages/account/intlForgetPwd/index.js +70 -0
- package/src/pages/account/intlForgetPwd/index.less +87 -0
- package/src/pages/account/intlResetPwd/index.js +212 -0
- package/src/pages/account/intlResetPwd/index.less +122 -0
- package/src/pages/account/login/index.jsx +153 -0
- package/src/pages/account/login/index.less +35 -0
- package/src/pages/account/resetPwd/index.jsx +145 -0
- package/src/pages/account/resetPwd/index.less +109 -0
- package/src/pages/audit/auditLog/fieldsConfig.ts +22 -0
- package/src/pages/audit/auditLog/formatDetailData.ts +46 -0
- package/src/pages/audit/auditLog/index.less +22 -0
- package/src/pages/audit/auditLog/index.tsx +183 -0
- package/src/pages/audit/auditLog/searchFormConfig.tsx +91 -0
- package/src/pages/audit/auditLog/tableConfig.tsx +79 -0
- package/src/pages/audit/components/AuditDetailDrawer/index.less +27 -0
- package/src/pages/audit/components/AuditDetailDrawer/index.tsx +105 -0
- package/src/pages/audit/components/AuditLabelSearch/index.less +11 -0
- package/src/pages/audit/components/AuditLabelSearch/index.tsx +103 -0
- package/src/pages/audit/hooks/useAuditAction.ts +54 -0
- package/src/pages/audit/hooks/useAuditLog.ts +40 -0
- package/src/pages/audit/type.ts +65 -0
- package/src/pages/basic/AccountList/index.js +69 -0
- package/src/pages/basic/AccountList/index.less +37 -0
- package/src/pages/basic/components/BasicTitle/index.jsx +31 -0
- package/src/pages/basic/components/BasicTitle/index.less +16 -0
- package/src/pages/basic/constants.js +731 -0
- package/src/pages/basic/hooks/index.js +21 -0
- package/src/pages/basic/hooks/useAppChannel.js +50 -0
- package/src/pages/basic/hooks/useBasicApiCallList.js +67 -0
- package/src/pages/basic/hooks/useBasicApiSecretKey.js +62 -0
- package/src/pages/basic/hooks/useBasicUser.js +256 -0
- package/src/pages/basic/hooks/useBasicsChannel.js +43 -0
- package/src/pages/basic/hooks/useBasicsObject.js +149 -0
- package/src/pages/basic/list/index.jsx +326 -0
- package/src/pages/basic/list/index.less +62 -0
- package/src/pages/configure/tj/md/list/index.js +612 -0
- package/src/pages/configure/tj/rank/detail/index.js +0 -0
- package/src/pages/configure/tj/rank/list/index.js +1157 -0
- package/src/pages/constants.js +73 -0
- package/src/pages/document.ejs +102 -0
- package/src/pages/historySearch/constants.js +262 -0
- package/src/pages/historySearch/index.jsx +1217 -0
- package/src/pages/historySearch/index.less +0 -0
- package/src/pages/information/constants.js +70 -0
- package/src/pages/information/img/blue.png +0 -0
- package/src/pages/information/img/red.png +0 -0
- package/src/pages/information/img/yellow.png +0 -0
- package/src/pages/information/record/index.jsx +155 -0
- package/src/pages/information/trend/index.jsx +24 -0
- package/src/pages/manage/correctionCallback/index.jsx +440 -0
- package/src/pages/manage/correctionCallback/index.less +22 -0
- package/src/pages/manage/fieldsManage/components/FieldsManage/index.js +148 -0
- package/src/pages/manage/fieldsManage/components/FieldsManage/index.less +13 -0
- package/src/pages/manage/fieldsManage/components/PageTemplate/index.js +149 -0
- package/src/pages/manage/fieldsManage/components/SelectSuffix/index.js +86 -0
- package/src/pages/manage/fieldsManage/components/SelectSuffix/index.less +13 -0
- package/src/pages/manage/fieldsManage/components/TableTitle/index.js +24 -0
- package/src/pages/manage/fieldsManage/components/TableTitle/index.less +22 -0
- package/src/pages/manage/fieldsManage/components/index.js +14 -0
- package/src/pages/manage/fieldsManage/constants/index.js +462 -0
- package/src/pages/manage/fieldsManage/field/add/index.js +171 -0
- package/src/pages/manage/fieldsManage/field/add/index.less +37 -0
- package/src/pages/manage/fieldsManage/field/index.js +66 -0
- package/src/pages/manage/fieldsManage/field/index.less +9 -0
- package/src/pages/manage/fieldsManage/fieldSet/add/index.js +350 -0
- package/src/pages/manage/fieldsManage/fieldSet/add/index.less +42 -0
- package/src/pages/manage/fieldsManage/fieldSet/index.js +187 -0
- package/src/pages/manage/pageSetup/logo/index.js +220 -0
- package/src/pages/manage/pageSetup/logo/index.less +35 -0
- package/src/pages/manage/password/index.jsx +225 -0
- package/src/pages/manage/password/index.less +188 -0
- package/src/pages/manage/qpsError/Trend/getSearchFormConfig.jsx +131 -0
- package/src/pages/manage/qpsError/Trend/index.jsx +226 -0
- package/src/pages/manage/qpsError/Trend/index.less +41 -0
- package/src/pages/manage/qpsError/Trend/useAuthServiceId.js +43 -0
- package/src/pages/manage/qpsError/Trend/useQpsError.js +105 -0
- package/src/pages/manage/qpsError/formatSubmitParams.js +21 -0
- package/src/pages/manage/qpsTrend/formatSearchParams.ts +24 -0
- package/src/pages/manage/qpsTrend/hooks/useQps.ts +117 -0
- package/src/pages/manage/qpsTrend/index.less +0 -0
- package/src/pages/manage/qpsTrend/index.tsx +284 -0
- package/src/pages/manage/qpsTrend/searchFormConfig.ts +117 -0
- package/src/pages/manage/qpsTrend/type.ts +9 -0
- package/src/pages/manage/safe/index.jsx +86 -0
- package/src/pages/manage/safe/index.less +58 -0
- package/src/pages/manage/safe/loginMethod/index.jsx +15 -0
- package/src/pages/manage/safe/loginMethod/index.less +0 -0
- package/src/pages/manage/safe/useSafe.js +143 -0
- package/src/pages/manage/safe/waterMark/index.jsx +15 -0
- package/src/pages/manage/safe/waterMark/index.less +0 -0
- package/src/pages/message/index.jsx +139 -0
- package/src/pages/message/index.less +75 -0
- package/src/pages/opinion/index.jsx +179 -0
- package/src/pages/opinion/index.less +141 -0
- package/src/pages/overview/components/ApplyModal/constants.js +78 -0
- package/src/pages/overview/components/ApplyModal/index.jsx +135 -0
- package/src/pages/overview/components/ApplyModal/index.less +41 -0
- package/src/pages/overview/components/CarouselMap/img/en-aigc.jpg +0 -0
- package/src/pages/overview/components/CarouselMap/img/en-intelligent.jpg +0 -0
- package/src/pages/overview/components/CarouselMap/img/image1.png +0 -0
- package/src/pages/overview/components/CarouselMap/img/image2.jpg +0 -0
- package/src/pages/overview/components/CarouselMap/img/image3.jpg +0 -0
- package/src/pages/overview/components/CarouselMap/img/image4.jpg +0 -0
- package/src/pages/overview/components/CarouselMap/index.jsx +67 -0
- package/src/pages/overview/components/CarouselMap/index.less +11 -0
- package/src/pages/overview/components/DataCard/index.jsx +60 -0
- package/src/pages/overview/components/DataCard/index.less +107 -0
- package/src/pages/overview/components/EmptyLineChart/index.jsx +50 -0
- package/src/pages/overview/components/EmptyLineChart/index.less +29 -0
- package/src/pages/overview/components/IntroduceBox/constants.js +96 -0
- package/src/pages/overview/components/IntroduceBox/img/anti-theft-crawling.svg +19 -0
- package/src/pages/overview/components/IntroduceBox/img/audio.svg +20 -0
- package/src/pages/overview/components/IntroduceBox/img/brush-list-protection.svg +18 -0
- package/src/pages/overview/components/IntroduceBox/img/captcha.svg +14 -0
- package/src/pages/overview/components/IntroduceBox/img/channel-traffic.svg +17 -0
- package/src/pages/overview/components/IntroduceBox/img/device-risk-sdk.svg +16 -0
- package/src/pages/overview/components/IntroduceBox/img/market-activity.svg +20 -0
- package/src/pages/overview/components/IntroduceBox/img/payment-risk-control.svg +17 -0
- package/src/pages/overview/components/IntroduceBox/img/pic.svg +16 -0
- package/src/pages/overview/components/IntroduceBox/img/text.svg +20 -0
- package/src/pages/overview/components/IntroduceBox/img/video.svg +16 -0
- package/src/pages/overview/components/IntroduceBox/img/virtual-user-fission.svg +25 -0
- package/src/pages/overview/components/IntroduceBox/index.jsx +155 -0
- package/src/pages/overview/components/IntroduceBox/index.less +75 -0
- package/src/pages/overview/components/NewUserGuide/img/apply.png +0 -0
- package/src/pages/overview/components/NewUserGuide/img/guide.png +0 -0
- package/src/pages/overview/components/NewUserGuide/img/guideCopy.png +0 -0
- package/src/pages/overview/components/NewUserGuide/img/open.png +0 -0
- package/src/pages/overview/components/NewUserGuide/img/phone.png +0 -0
- package/src/pages/overview/components/NewUserGuide/img/user.png +0 -0
- package/src/pages/overview/components/NewUserGuide/index.jsx +114 -0
- package/src/pages/overview/components/NewUserGuide/index.less +158 -0
- package/src/pages/overview/components/UserInfoBox/img/app-manage-dark.svg +16 -0
- package/src/pages/overview/components/UserInfoBox/img/app-manage-light.svg +16 -0
- package/src/pages/overview/components/UserInfoBox/img/channel-manage-dark.svg +24 -0
- package/src/pages/overview/components/UserInfoBox/img/channel-manage-light.svg +26 -0
- package/src/pages/overview/components/UserInfoBox/img/user-account-dark.svg +30 -0
- package/src/pages/overview/components/UserInfoBox/img/user-account-light.svg +30 -0
- package/src/pages/overview/components/UserInfoBox/img/user-manage-dark.svg +20 -0
- package/src/pages/overview/components/UserInfoBox/img/user-manage-light.svg +20 -0
- package/src/pages/overview/components/UserInfoBox/img/user.svg +43 -0
- package/src/pages/overview/components/UserInfoBox/index.jsx +139 -0
- package/src/pages/overview/components/UserInfoBox/index.less +117 -0
- package/src/pages/overview/img/risk-account.svg +21 -0
- package/src/pages/overview/img/risk-audio.svg +25 -0
- package/src/pages/overview/img/risk-device.svg +24 -0
- package/src/pages/overview/img/risk-event.svg +21 -0
- package/src/pages/overview/img/risk-pic.svg +21 -0
- package/src/pages/overview/img/risk-text.svg +25 -0
- package/src/pages/overview/img/risk-video.svg +29 -0
- package/src/pages/overview/index.jsx +841 -0
- package/src/pages/overview/index.less +107 -0
- package/src/pages/pageComponents/RankPageTwo/constants.js +106 -0
- package/src/pages/pageComponents/RankPageTwo/index.jsx +606 -0
- package/src/pages/pageComponents/RankPageTwo/index.less +30 -0
- package/src/pages/pageComponents/StrategyPage/components/AddRuleMdoal/index.js +81 -0
- package/src/pages/pageComponents/StrategyPage/components/AddRuleMdoal/index.less +4 -0
- package/src/pages/pageComponents/StrategyPage/components/BatchUpdateModal/index.js +48 -0
- package/src/pages/pageComponents/StrategyPage/components/BatchUpdateModal/index.less +0 -0
- package/src/pages/pageComponents/StrategyPage/components/OneKeyLabModal/index.js +303 -0
- package/src/pages/pageComponents/StrategyPage/components/OneKeyLabModal/index.less +46 -0
- package/src/pages/pageComponents/StrategyPage/components/RuleCollapse/index.js +1554 -0
- package/src/pages/pageComponents/StrategyPage/components/RuleCollapse/index.less +56 -0
- package/src/pages/pageComponents/StrategyPage/components/RuleConditions/ConditionContent/index.jsx +60 -0
- package/src/pages/pageComponents/StrategyPage/components/RuleConditions/ConditionItem/index.jsx +189 -0
- package/src/pages/pageComponents/StrategyPage/components/RuleConditions/ConditionItem/index.less +11 -0
- package/src/pages/pageComponents/StrategyPage/components/RuleConditions/index.jsx +67 -0
- package/src/pages/pageComponents/StrategyPage/components/RuleConditions/index.less +71 -0
- package/src/pages/pageComponents/StrategyPage/components/RuleModal/index.js +243 -0
- package/src/pages/pageComponents/StrategyPage/components/RuleModal/index.less +13 -0
- package/src/pages/pageComponents/StrategyPage/components/RuleModalCustomer/index.js +244 -0
- package/src/pages/pageComponents/StrategyPage/components/RuleModalCustomer/index.less +13 -0
- package/src/pages/pageComponents/StrategyPage/components/RuleTable/index.js +15 -0
- package/src/pages/pageComponents/StrategyPage/components/RuleTable/index.less +36 -0
- package/src/pages/pageComponents/StrategyPage/components/customBlackFields/index.less +16 -0
- package/src/pages/pageComponents/StrategyPage/components/customBlackFields/index.tsx +106 -0
- package/src/pages/pageComponents/StrategyPage/contants.js +2000 -0
- package/src/pages/pageComponents/StrategyPage/index.js +864 -0
- package/src/pages/pageComponents/StrategyPage/index.less +95 -0
- package/src/pages/pageComponents/configure/adminApply.js +72 -0
- package/src/pages/pageComponents/configure/index.js +5 -0
- package/src/pages/pageComponents/formatMdListByAppId.js +39 -0
- package/src/pages/pageComponents/historyPage/CaptchaList/index.jsx +1235 -0
- package/src/pages/pageComponents/historyPage/CaptchaList/index.less +43 -0
- package/src/pages/pageComponents/historyPage/ChannelList/index.jsx +1340 -0
- package/src/pages/pageComponents/historyPage/ChannelList/index.less +134 -0
- package/src/pages/pageComponents/historyPage/ChannelRetain/index.jsx +666 -0
- package/src/pages/pageComponents/historyPage/ChannelRetain/index.less +40 -0
- package/src/pages/pageComponents/historyPage/DisposalModal/index.js +46 -0
- package/src/pages/pageComponents/historyPage/DisposalModal/index.less +17 -0
- package/src/pages/pageComponents/historyPage/MultiContentsRender/index.jsx +20 -0
- package/src/pages/pageComponents/historyPage/TwDetail/export.js +233 -0
- package/src/pages/pageComponents/historyPage/TwDetail/export.less +120 -0
- package/src/pages/pageComponents/historyPage/TwDetail/helper.js +794 -0
- package/src/pages/pageComponents/historyPage/TwDetail/index.jsx +427 -0
- package/src/pages/pageComponents/historyPage/TwDetail/index.less +63 -0
- package/src/pages/pageComponents/historyPage/TwNewDetail/export.js +231 -0
- package/src/pages/pageComponents/historyPage/TwNewDetail/export.less +120 -0
- package/src/pages/pageComponents/historyPage/TwNewDetail/helper.js +815 -0
- package/src/pages/pageComponents/historyPage/TwNewDetail/index.jsx +363 -0
- package/src/pages/pageComponents/historyPage/TwNewDetail/index.less +63 -0
- package/src/pages/pageComponents/historyPage/TypeOne/constants.js +195 -0
- package/src/pages/pageComponents/historyPage/TypeOne/index.jsx +2792 -0
- package/src/pages/pageComponents/historyPage/TypeOne/index.less +146 -0
- package/src/pages/pageComponents/historyPage/TypeThree/constants.js +29 -0
- package/src/pages/pageComponents/historyPage/TypeThree/index.jsx +2158 -0
- package/src/pages/pageComponents/historyPage/TypeThree/index.less +192 -0
- package/src/pages/pageComponents/historyPage/TypeTwo/components/Fields/constant.js +11 -0
- package/src/pages/pageComponents/historyPage/TypeTwo/components/Fields/index.jsx +261 -0
- package/src/pages/pageComponents/historyPage/TypeTwo/components/Fields/styles.less +79 -0
- package/src/pages/pageComponents/historyPage/TypeTwo/components/ImgSlider/index.jsx +99 -0
- package/src/pages/pageComponents/historyPage/TypeTwo/components/ImgSlider/styles.less +64 -0
- package/src/pages/pageComponents/historyPage/TypeTwo/components/ImgSliderDetail/index.jsx +113 -0
- package/src/pages/pageComponents/historyPage/TypeTwo/components/ImgSliderDetail/styles.less +14 -0
- package/src/pages/pageComponents/historyPage/TypeTwo/components/ImgTable/index.jsx +197 -0
- package/src/pages/pageComponents/historyPage/TypeTwo/components/ImgTable/styles.less +52 -0
- package/src/pages/pageComponents/historyPage/TypeTwo/constants.js +32 -0
- package/src/pages/pageComponents/historyPage/TypeTwo/index.jsx +2225 -0
- package/src/pages/pageComponents/historyPage/TypeTwo/index.less +237 -0
- package/src/pages/pageComponents/historyPage/components/AddFilterDom/index.jsx +0 -0
- package/src/pages/pageComponents/historyPage/components/AddListModal/index.jsx +148 -0
- package/src/pages/pageComponents/historyPage/components/AddListModal/index.less +54 -0
- package/src/pages/pageComponents/historyPage/components/AddTextMdModal/constants.js +50 -0
- package/src/pages/pageComponents/historyPage/components/AddTextMdModal/index.jsx +233 -0
- package/src/pages/pageComponents/historyPage/components/AddTextMdModal/index.less +64 -0
- package/src/pages/pageComponents/historyPage/components/ExportTask/index.jsx +707 -0
- package/src/pages/pageComponents/historyPage/components/ExportTask/styles.less +120 -0
- package/src/pages/pageComponents/historyPage/components/FeedbackContent/index.jsx +463 -0
- package/src/pages/pageComponents/historyPage/components/FeedbackContent/index.less +47 -0
- package/src/pages/pageComponents/historyPage/components/FeedbackPanel/constants.js +1 -0
- package/src/pages/pageComponents/historyPage/components/FeedbackPanel/index.jsx +135 -0
- package/src/pages/pageComponents/historyPage/components/FeedbackPanel/styles.less +60 -0
- package/src/pages/pageComponents/historyPage/components/GroupFilter/index.js +378 -0
- package/src/pages/pageComponents/historyPage/components/GroupFilter/index.less +178 -0
- package/src/pages/pageComponents/historyPage/components/GroupFilter/type.ts +16 -0
- package/src/pages/pageComponents/historyPage/components/HistoryDetailDrawer/index.jsx +716 -0
- package/src/pages/pageComponents/historyPage/components/HistoryDetailDrawer/index.less +102 -0
- package/src/pages/pageComponents/historyPage/components/HistoryDetailDrawer/rgba.png +0 -0
- package/src/pages/pageComponents/historyPage/components/HistoryExport/export.png +0 -0
- package/src/pages/pageComponents/historyPage/components/HistoryExport/index.jsx +29 -0
- package/src/pages/pageComponents/historyPage/components/HistoryExport/index.less +21 -0
- package/src/pages/pageComponents/historyPage/components/ImgSimilar/index.js +124 -0
- package/src/pages/pageComponents/historyPage/components/ImgSimilar/index.less +130 -0
- package/src/pages/pageComponents/historyPage/components/ImgTextDetail/index.js +164 -0
- package/src/pages/pageComponents/historyPage/components/ImgTextDetail/index.less +75 -0
- package/src/pages/pageComponents/historyPage/components/NewHistoryDetailDrawer/formatSpecialFeature.ts +20 -0
- package/src/pages/pageComponents/historyPage/components/NewHistoryDetailDrawer/index.js +959 -0
- package/src/pages/pageComponents/historyPage/components/NewHistoryDetailDrawer/index.less +61 -0
- package/src/pages/pageComponents/historyPage/components/StreamInfoModal/components/RiskInfo/index.less +26 -0
- package/src/pages/pageComponents/historyPage/components/StreamInfoModal/components/RiskInfo/index.tsx +38 -0
- package/src/pages/pageComponents/historyPage/components/StreamInfoModal/components/renderStreamAudios/index.less +18 -0
- package/src/pages/pageComponents/historyPage/components/StreamInfoModal/components/renderStreamAudios/index.tsx +40 -0
- package/src/pages/pageComponents/historyPage/components/StreamInfoModal/components/renderStreamImages/index.less +21 -0
- package/src/pages/pageComponents/historyPage/components/StreamInfoModal/components/renderStreamImages/index.tsx +48 -0
- package/src/pages/pageComponents/historyPage/components/StreamInfoModal/fieldsConfig.ts +9 -0
- package/src/pages/pageComponents/historyPage/components/StreamInfoModal/hooks/useStreamInfo.ts +49 -0
- package/src/pages/pageComponents/historyPage/components/StreamInfoModal/index.less +11 -0
- package/src/pages/pageComponents/historyPage/components/StreamInfoModal/index.tsx +101 -0
- package/src/pages/pageComponents/historyPage/components/StreamInfoModal/tableColumns.tsx +51 -0
- package/src/pages/pageComponents/historyPage/components/TJExportTask/components/HistoryTaskDetail/index.jsx +41 -0
- package/src/pages/pageComponents/historyPage/components/TJExportTask/components/HistoryTaskDetail/index.less +22 -0
- package/src/pages/pageComponents/historyPage/components/TJExportTask/components/TJExportForm/index.jsx +73 -0
- package/src/pages/pageComponents/historyPage/components/TJExportTask/components/TJExportForm/index.less +0 -0
- package/src/pages/pageComponents/historyPage/components/TJExportTask/constants.js +487 -0
- package/src/pages/pageComponents/historyPage/components/TJExportTask/getExportForm.js +103 -0
- package/src/pages/pageComponents/historyPage/components/TJExportTask/index.jsx +309 -0
- package/src/pages/pageComponents/historyPage/components/TJExportTask/styles.less +142 -0
- package/src/pages/pageComponents/historyPage/components/contentRender/index.jsx +34 -0
- package/src/pages/pageComponents/historyPage/components/index.js +33 -0
- package/src/pages/pageComponents/historyPage/constants.js +611 -0
- package/src/pages/pageComponents/historyPage/help.js +224 -0
- package/src/pages/pageComponents/hooks/index.js +14 -0
- package/src/pages/pageComponents/hooks/index.less +10 -0
- package/src/pages/pageComponents/hooks/useForm.js +113 -0
- package/src/pages/pageComponents/hooks/useGetStorageTime/index.js +24 -0
- package/src/pages/pageComponents/hooks/useTableColumn.js +136 -0
- package/src/pages/pageComponents/mdPage/components/AddMdModal/index.jsx +240 -0
- package/src/pages/pageComponents/mdPage/components/AddMdModal/index.less +25 -0
- package/src/pages/pageComponents/mdPage/components/AddVideoModal/index.jsx +113 -0
- package/src/pages/pageComponents/mdPage/components/AddVideoModal/index.less +33 -0
- package/src/pages/pageComponents/mdPage/components/CreateMdForm/index.jsx +1205 -0
- package/src/pages/pageComponents/mdPage/components/CreateMdForm/index.less +140 -0
- package/src/pages/pageComponents/mdPage/components/ExpansionTable/index.js +150 -0
- package/src/pages/pageComponents/mdPage/components/ExpansionTable/index.less +9 -0
- package/src/pages/pageComponents/mdPage/components/MdContentImportModal/index.jsx +218 -0
- package/src/pages/pageComponents/mdPage/components/MdContentImportModal/index.less +11 -0
- package/src/pages/pageComponents/mdPage/components/MdContentModal/index.jsx +288 -0
- package/src/pages/pageComponents/mdPage/components/MdContentModal/index.less +11 -0
- package/src/pages/pageComponents/mdPage/components/RedTextViewer/index.jsx +33 -0
- package/src/pages/pageComponents/mdPage/components/RedTextViewer/index.less +4 -0
- package/src/pages/pageComponents/mdPage/components/RegexContents/img/example.png +0 -0
- package/src/pages/pageComponents/mdPage/components/RegexContents/index.js +1154 -0
- package/src/pages/pageComponents/mdPage/components/RegexContents/index.less +404 -0
- package/src/pages/pageComponents/mdPage/components/SMAdminForm/index.jsx +165 -0
- package/src/pages/pageComponents/mdPage/components/SMAdminForm/index.less +17 -0
- package/src/pages/pageComponents/mdPage/components/SMDatePicker/index.jsx +173 -0
- package/src/pages/pageComponents/mdPage/components/SMPopConfirm/img/tip.png +0 -0
- package/src/pages/pageComponents/mdPage/components/SMPopConfirm/index.jsx +116 -0
- package/src/pages/pageComponents/mdPage/components/SMPopConfirm/index.less +64 -0
- package/src/pages/pageComponents/mdPage/components/SegmentStatusTag/index.tsx +45 -0
- package/src/pages/pageComponents/mdPage/components/SensitivewordHintList/index.jsx +467 -0
- package/src/pages/pageComponents/mdPage/components/SensitivewordHintList/index.less +65 -0
- package/src/pages/pageComponents/mdPage/components/SensitivewordHintModal/index.jsx +80 -0
- package/src/pages/pageComponents/mdPage/components/SensitivewordHintModal/index.less +38 -0
- package/src/pages/pageComponents/mdPage/components/UpdateMdModal/index.jsx +929 -0
- package/src/pages/pageComponents/mdPage/components/UpdateMdModal/index.less +10 -0
- package/src/pages/pageComponents/mdPage/components/UploadImg/index.jsx +178 -0
- package/src/pages/pageComponents/mdPage/components/UploadImg/index.less +66 -0
- package/src/pages/pageComponents/mdPage/components/UploadVideo/index.jsx +409 -0
- package/src/pages/pageComponents/mdPage/components/UploadVideo/index.less +134 -0
- package/src/pages/pageComponents/mdPage/components/getIllegalWordList.jsx +14 -0
- package/src/pages/pageComponents/mdPage/components/isIllegalWord.jsx +8 -0
- package/src/pages/pageComponents/mdPage/constants.js +770 -0
- package/src/pages/pageComponents/mdPage/list/CommonType/contants.js +114 -0
- package/src/pages/pageComponents/mdPage/list/CommonType/index.jsx +2177 -0
- package/src/pages/pageComponents/mdPage/list/CommonType/index.less +21 -0
- package/src/pages/pageComponents/mdPage/listContent/CommonType/img/tip.png +0 -0
- package/src/pages/pageComponents/mdPage/listContent/CommonType/index.jsx +1584 -0
- package/src/pages/pageComponents/mdPage/listContent/CommonType/index.less +124 -0
- package/src/pages/pageComponents/mdPage/listContent/ImgBlackType/img/tip.png +0 -0
- package/src/pages/pageComponents/mdPage/listContent/ImgBlackType/index.jsx +1053 -0
- package/src/pages/pageComponents/mdPage/listContent/ImgBlackType/index.less +142 -0
- package/src/pages/pageComponents/mdPage/listContent/ImgType/img/tip.png +0 -0
- package/src/pages/pageComponents/mdPage/listContent/ImgType/index.jsx +1185 -0
- package/src/pages/pageComponents/mdPage/listContent/ImgType/index.less +135 -0
- package/src/pages/pageComponents/mdPage/listContent/TextBlackType/img/tip.png +0 -0
- package/src/pages/pageComponents/mdPage/listContent/TextBlackType/index.jsx +1184 -0
- package/src/pages/pageComponents/mdPage/listContent/TextBlackType/index.less +104 -0
- package/src/pages/pageComponents/mdPage/listContentOpLog/CommonType/contants.js +24 -0
- package/src/pages/pageComponents/mdPage/listContentOpLog/CommonType/index.jsx +569 -0
- package/src/pages/pageComponents/mdPage/listContentOpLog/CommonType/index.less +7 -0
- package/src/pages/pageComponents/mdPage/listOpLog/CommonType/index.jsx +897 -0
- package/src/pages/pageComponents/mdPage/listOpLog/CommonType/index.less +11 -0
- package/src/pages/pageComponents/mdPage/listSearch/CommonType/index.jsx +696 -0
- package/src/pages/pageComponents/mdPage/listSearch/CommonType/index.less +16 -0
- package/src/pages/pageComponents/newMdPage/NewList/components/ExtraButton/index.jsx +20 -0
- package/src/pages/pageComponents/newMdPage/NewList/components/ExtraButton/index.less +15 -0
- package/src/pages/pageComponents/newMdPage/NewList/components/MdContentTip/index.jsx +73 -0
- package/src/pages/pageComponents/newMdPage/NewList/components/MdContentTip/index.less +16 -0
- package/src/pages/pageComponents/newMdPage/NewList/components/MdLabel/index.jsx +18 -0
- package/src/pages/pageComponents/newMdPage/NewList/components/MdLabel/index.less +9 -0
- package/src/pages/pageComponents/newMdPage/NewList/components/MdTagSelect/defaultIcon.png +0 -0
- package/src/pages/pageComponents/newMdPage/NewList/components/MdTagSelect/index.jsx +204 -0
- package/src/pages/pageComponents/newMdPage/NewList/components/MdTagSelect/index.less +88 -0
- package/src/pages/pageComponents/newMdPage/NewList/components/MdTagSelect/intlDefaultIcon.png +0 -0
- package/src/pages/pageComponents/newMdPage/NewList/components/MdTimeInput/index.jsx +32 -0
- package/src/pages/pageComponents/newMdPage/NewList/components/MdTimeInput/index.less +13 -0
- package/src/pages/pageComponents/newMdPage/NewList/components/TabsImg/index.jsx +50 -0
- package/src/pages/pageComponents/newMdPage/NewList/components/TabsImg/index.less +11 -0
- package/src/pages/pageComponents/newMdPage/NewList/components/index.js +15 -0
- package/src/pages/pageComponents/newMdPage/NewList/configure.js +179 -0
- package/src/pages/pageComponents/newMdPage/NewList/constants.js +2508 -0
- package/src/pages/pageComponents/newMdPage/NewList/getSubmitOperationSegmentStatus.js +41 -0
- package/src/pages/pageComponents/newMdPage/NewList/getUpdateOperationSegmentStatus.js +26 -0
- package/src/pages/pageComponents/newMdPage/NewList/index.jsx +761 -0
- package/src/pages/pageComponents/newMdPage/NewList/index.less +46 -0
- package/src/pages/pageComponents/newMdPage/components/CreateMdForm/index.jsx +82 -0
- package/src/pages/pageComponents/newMdPage/components/CreateMdForm/index.less +28 -0
- package/src/pages/pageComponents/newMdPage/components/MdFormV2/index.jsx +190 -0
- package/src/pages/pageComponents/newMdPage/components/MdFormV2/index.less +43 -0
- package/src/pages/pageComponents/newMdPage/list/constants.js +18 -0
- package/src/pages/pageComponents/newMdPage/list/index.jsx +465 -0
- package/src/pages/pageComponents/newMdPage/list/index.less +26 -0
- package/src/pages/pageComponents/newMdPage/listContent/index.jsx +0 -0
- package/src/pages/pageComponents/newMdPage/listContent/index.less +0 -0
- package/src/pages/pageComponents/newMdPage/listContentOplog/index.jsx +0 -0
- package/src/pages/pageComponents/newMdPage/listContentOplog/index.less +0 -0
- package/src/pages/pageComponents/newMdPage/listOplog/index.jsx +0 -0
- package/src/pages/pageComponents/newMdPage/listOplog/index.less +0 -0
- package/src/pages/pageComponents/rankPage/SensitiveRank/index.jsx +592 -0
- package/src/pages/pageComponents/rankPage/SensitiveRank/index.less +17 -0
- package/src/pages/pageComponents/riskAccount/img/tip.png +0 -0
- package/src/pages/pageComponents/riskAccount/index.jsx +568 -0
- package/src/pages/pageComponents/riskAccount/index.less +104 -0
- package/src/pages/pageComponents/trendPage/CaptchRisk/index.jsx +564 -0
- package/src/pages/pageComponents/trendPage/CaptchSecond/index.jsx +517 -0
- package/src/pages/pageComponents/trendPage/ChannelRisk/index.jsx +533 -0
- package/src/pages/pageComponents/trendPage/TwNewTrend/configure.js +88 -0
- package/src/pages/pageComponents/trendPage/TwNewTrend/index.jsx +274 -0
- package/src/pages/pageComponents/trendPage/TwNewTrend/index.less +11 -0
- package/src/pages/pageComponents/trendPage/TwTrend/configure.js +128 -0
- package/src/pages/pageComponents/trendPage/TwTrend/index.jsx +130 -0
- package/src/pages/pageComponents/trendPage/TwTrend/index.less +11 -0
- package/src/pages/pageComponents/trendPage/TypeFour/contants.js +119 -0
- package/src/pages/pageComponents/trendPage/TypeFour/index.jsx +527 -0
- package/src/pages/pageComponents/trendPage/TypeOne/index.jsx +1474 -0
- package/src/pages/pageComponents/trendPage/TypeThree/index.jsx +676 -0
- package/src/pages/pageComponents/trendPage/TypeTwo/index.jsx +772 -0
- package/src/pages/pageComponents/trendPage/helper.js +80 -0
- package/src/pages/pageComponents/trendPage/hooks/useLineChart.js +45 -0
- package/src/pages/pageComponents/trendPage/trend.less +28 -0
- package/src/pages/pageComponents/typeErrorCorrection/TypeErrorPage.js +657 -0
- package/src/pages/pageComponents/typeErrorCorrection/constants.js +1017 -0
- package/src/pages/pageComponents/typeErrorCorrection/index.jsx +1090 -0
- package/src/pages/pageComponents/typeErrorCorrection/index.less +76 -0
- package/src/pages/payment/common/index.js +635 -0
- package/src/pages/payment/components/SMBillCard/index.js +102 -0
- package/src/pages/payment/components/SMBillCard/index.less +76 -0
- package/src/pages/payment/components/SMExport/index.js +43 -0
- package/src/pages/payment/components/SMExport/index.less +15 -0
- package/src/pages/payment/components/SMTimeRange/index.js +31 -0
- package/src/pages/payment/components/SMTimeRange/index.less +22 -0
- package/src/pages/payment/components/index.js +14 -0
- package/src/pages/payment/contants.js +107 -0
- package/src/pages/payment/index.less +160 -0
- package/src/pages/payment/manual/index.js +190 -0
- package/src/pages/payment/manual/index.less +11 -0
- package/src/pages/payment/options.js +686 -0
- package/src/pages/riskyMember/three.js +438 -0
- package/src/pages/riskyMember/three.less +80 -0
- package/src/pages/tj/audioStream/errorCorrection/list/index.jsx +8 -0
- package/src/pages/tj/audioStream/errorCorrection/missReason/index.jsx +26 -0
- package/src/pages/tj/audioStream/errorCorrection/trend/index.jsx +19 -0
- package/src/pages/tj/audioStream/history/audioClips/index.jsx +62 -0
- package/src/pages/tj/audioStream/history/audioStream/index.jsx +240 -0
- package/src/pages/tj/audioStream/history/constants.js +401 -0
- package/src/pages/tj/audioStream/list/blackWhite/company/list/contants.js +80 -0
- package/src/pages/tj/audioStream/list/blackWhite/company/list/index.jsx +229 -0
- package/src/pages/tj/audioStream/list/blackWhite/company/listContent/index.jsx +27 -0
- package/src/pages/tj/audioStream/list/blackWhite/company/listContentOpLog/index.jsx +25 -0
- package/src/pages/tj/audioStream/list/blackWhite/company/listOpLog/index.jsx +120 -0
- package/src/pages/tj/audioStream/list/blackWhite/company/listRepetition/index.jsx +20 -0
- package/src/pages/tj/audioStream/list/blackWhite/custom/list/contants.js +66 -0
- package/src/pages/tj/audioStream/list/blackWhite/custom/list/index.jsx +227 -0
- package/src/pages/tj/audioStream/list/blackWhite/custom/listContent/index.jsx +26 -0
- package/src/pages/tj/audioStream/list/blackWhite/custom/listContentOpLog/index.jsx +22 -0
- package/src/pages/tj/audioStream/list/blackWhite/custom/listOpLog/index.jsx +118 -0
- package/src/pages/tj/audioStream/list/blackWhite/custom/listRepetition/index.jsx +19 -0
- package/src/pages/tj/audioStream/list/blackWhite/global/list/contants.js +73 -0
- package/src/pages/tj/audioStream/list/blackWhite/global/list/index.jsx +164 -0
- package/src/pages/tj/audioStream/list/blackWhite/global/listContent/index.jsx +28 -0
- package/src/pages/tj/audioStream/list/blackWhite/global/listContentOpLog/index.jsx +23 -0
- package/src/pages/tj/audioStream/list/blackWhite/global/listOpLog/index.jsx +120 -0
- package/src/pages/tj/audioStream/list/blackWhite/listSearch/index.jsx +19 -0
- package/src/pages/tj/audioStream/list/text/black/listContent/index.jsx +27 -0
- package/src/pages/tj/audioStream/list/text/black/listContentOpLog/index.jsx +26 -0
- package/src/pages/tj/audioStream/list/text/black/listRepetition/index.jsx +16 -0
- package/src/pages/tj/audioStream/list/text/company/list/contants.js +101 -0
- package/src/pages/tj/audioStream/list/text/company/list/index.jsx +403 -0
- package/src/pages/tj/audioStream/list/text/company/listContent/index.jsx +26 -0
- package/src/pages/tj/audioStream/list/text/company/listContent/listRepetition/index.jsx +17 -0
- package/src/pages/tj/audioStream/list/text/company/listContentOpLog/index.jsx +25 -0
- package/src/pages/tj/audioStream/list/text/company/listOpLog/index.jsx +120 -0
- package/src/pages/tj/audioStream/list/text/company/listRepetition/index.jsx +17 -0
- package/src/pages/tj/audioStream/list/text/custom/list/contants.js +87 -0
- package/src/pages/tj/audioStream/list/text/custom/list/index.jsx +323 -0
- package/src/pages/tj/audioStream/list/text/custom/listContent/index.jsx +26 -0
- package/src/pages/tj/audioStream/list/text/custom/listContent/listRepetition/index.jsx +17 -0
- package/src/pages/tj/audioStream/list/text/custom/listContentOpLog/index.jsx +24 -0
- package/src/pages/tj/audioStream/list/text/custom/listOpLog/index.jsx +111 -0
- package/src/pages/tj/audioStream/list/text/custom/listRepetition/index.jsx +17 -0
- package/src/pages/tj/audioStream/list/text/global/list/contants.js +94 -0
- package/src/pages/tj/audioStream/list/text/global/list/index.jsx +301 -0
- package/src/pages/tj/audioStream/list/text/global/listContent/index.jsx +28 -0
- package/src/pages/tj/audioStream/list/text/global/listContentOpLog/index.jsx +25 -0
- package/src/pages/tj/audioStream/list/text/global/listOpLog/index.jsx +109 -0
- package/src/pages/tj/audioStream/list/text/listSearch/index.jsx +19 -0
- package/src/pages/tj/audioStream/rank/audioSensitiveWord/index.jsx +18 -0
- package/src/pages/tj/audioStream/trend/audioClips/index.jsx +59 -0
- package/src/pages/tj/audioStream/trend/audioStream/index.jsx +76 -0
- package/src/pages/tj/blackWhite/contants.js +112 -0
- package/src/pages/tj/blackWhite/list/index.jsx +224 -0
- package/src/pages/tj/blackWhite/listContent/index.jsx +24 -0
- package/src/pages/tj/blackWhite/listContentOpLog/index.jsx +23 -0
- package/src/pages/tj/blackWhite/listOpLog/index.jsx +66 -0
- package/src/pages/tj/blackWhite/listRepetition/index.jsx +15 -0
- package/src/pages/tj/blackWhite/listSearch/index.jsx +19 -0
- package/src/pages/tj/components/BatchDisplay/index.jsx +107 -0
- package/src/pages/tj/components/BatchDisplay/index.less +39 -0
- package/src/pages/tj/components/CheckItemPage/index.jsx +278 -0
- package/src/pages/tj/components/CheckTaskPage/constants.js +98 -0
- package/src/pages/tj/components/CheckTaskPage/img/0.png +0 -0
- package/src/pages/tj/components/CheckTaskPage/img/1.png +0 -0
- package/src/pages/tj/components/CheckTaskPage/img/2.png +0 -0
- package/src/pages/tj/components/CheckTaskPage/img/4.png +0 -0
- package/src/pages/tj/components/CheckTaskPage/img/5.png +0 -0
- package/src/pages/tj/components/CheckTaskPage/img/index.js +13 -0
- package/src/pages/tj/components/CheckTaskPage/index.jsx +627 -0
- package/src/pages/tj/components/CheckTaskPage/index.less +54 -0
- package/src/pages/tj/components/CheckUpload/img/img-close.png +0 -0
- package/src/pages/tj/components/CheckUpload/img/img-open.png +0 -0
- package/src/pages/tj/components/CheckUpload/img/index.js +9 -0
- package/src/pages/tj/components/CheckUpload/img/remove.png +0 -0
- package/src/pages/tj/components/CheckUpload/index.jsx +301 -0
- package/src/pages/tj/components/CheckUpload/index.less +102 -0
- package/src/pages/tj/components/Custom/img/icon-add.png +0 -0
- package/src/pages/tj/components/Custom/index.jsx +400 -0
- package/src/pages/tj/components/Custom/index.less +122 -0
- package/src/pages/tj/components/IconOther/index.jsx +25 -0
- package/src/pages/tj/components/IconOther/index.less +17 -0
- package/src/pages/tj/components/ImgUpload/constants.js +12 -0
- package/src/pages/tj/components/ImgUpload/img/icon-add.png +0 -0
- package/src/pages/tj/components/ImgUpload/index.jsx +146 -0
- package/src/pages/tj/components/ImgUpload/index.less +105 -0
- package/src/pages/tj/components/KnowledgeResult/index.jsx +115 -0
- package/src/pages/tj/components/KnowledgeResult/index.less +103 -0
- package/src/pages/tj/components/MediaUpload/help.js +99 -0
- package/src/pages/tj/components/MediaUpload/img/img-close.png +0 -0
- package/src/pages/tj/components/MediaUpload/img/img-open.png +0 -0
- package/src/pages/tj/components/MediaUpload/img/index.js +9 -0
- package/src/pages/tj/components/MediaUpload/img/remove.png +0 -0
- package/src/pages/tj/components/MediaUpload/index.jsx +182 -0
- package/src/pages/tj/components/MediaUpload/index.less +123 -0
- package/src/pages/tj/components/ShowResult/constants.js +20 -0
- package/src/pages/tj/components/ShowResult/img/index.js +9 -0
- package/src/pages/tj/components/ShowResult/img/pass.png +0 -0
- package/src/pages/tj/components/ShowResult/img/reject.png +0 -0
- package/src/pages/tj/components/ShowResult/img/review.png +0 -0
- package/src/pages/tj/components/ShowResult/index.jsx +156 -0
- package/src/pages/tj/components/ShowResult/index.less +118 -0
- package/src/pages/tj/components/TrialForm/config.js +68 -0
- package/src/pages/tj/components/TrialForm/constants.js +20 -0
- package/src/pages/tj/components/TrialForm/img/img-close.png +0 -0
- package/src/pages/tj/components/TrialForm/img/img-open.png +0 -0
- package/src/pages/tj/components/TrialForm/index.js +302 -0
- package/src/pages/tj/components/TrialForm/index.less +76 -0
- package/src/pages/tj/components/help.js +41 -0
- package/src/pages/tj/components/hooks/constants.js +13 -0
- package/src/pages/tj/components/hooks/index.js +9 -0
- package/src/pages/tj/components/hooks/useAppChannel.js +353 -0
- package/src/pages/tj/components/hooks/useTrialItem.js +611 -0
- package/src/pages/tj/components/img/img-close.png +0 -0
- package/src/pages/tj/components/img/img-open.png +0 -0
- package/src/pages/tj/components/img/index.js +7 -0
- package/src/pages/tj/constants.js +524 -0
- package/src/pages/tj/multiModal/history/constants.js +535 -0
- package/src/pages/tj/multiModal/history/text/buildHistoryTaskDetail.js +134 -0
- package/src/pages/tj/multiModal/history/text/index.jsx +526 -0
- package/src/pages/tj/multiModal/trend/text/index.jsx +8 -0
- package/src/pages/tj/postAudio/errorCorrection/list/index.jsx +8 -0
- package/src/pages/tj/postAudio/errorCorrection/missReason/index.jsx +26 -0
- package/src/pages/tj/postAudio/errorCorrection/trend/index.jsx +19 -0
- package/src/pages/tj/postAudio/history/audioClips/index.jsx +28 -0
- package/src/pages/tj/postAudio/history/constants.js +427 -0
- package/src/pages/tj/postAudio/history/postAudio/index.jsx +28 -0
- package/src/pages/tj/postAudio/list/blackWhite/company/list/contants.js +80 -0
- package/src/pages/tj/postAudio/list/blackWhite/company/list/index.jsx +232 -0
- package/src/pages/tj/postAudio/list/blackWhite/company/listContent/index.jsx +27 -0
- package/src/pages/tj/postAudio/list/blackWhite/company/listContentOpLog/index.jsx +24 -0
- package/src/pages/tj/postAudio/list/blackWhite/company/listOpLog/index.jsx +113 -0
- package/src/pages/tj/postAudio/list/blackWhite/company/listRepetition/index.jsx +19 -0
- package/src/pages/tj/postAudio/list/blackWhite/custom/list/contants.js +66 -0
- package/src/pages/tj/postAudio/list/blackWhite/custom/list/index.jsx +221 -0
- package/src/pages/tj/postAudio/list/blackWhite/custom/listContent/index.jsx +27 -0
- package/src/pages/tj/postAudio/list/blackWhite/custom/listContentOpLog/index.jsx +22 -0
- package/src/pages/tj/postAudio/list/blackWhite/custom/listOpLog/index.jsx +112 -0
- package/src/pages/tj/postAudio/list/blackWhite/custom/listRepetition/index.jsx +19 -0
- package/src/pages/tj/postAudio/list/blackWhite/global/list/contants.js +73 -0
- package/src/pages/tj/postAudio/list/blackWhite/global/list/index.jsx +147 -0
- package/src/pages/tj/postAudio/list/blackWhite/global/listContent/index.jsx +27 -0
- package/src/pages/tj/postAudio/list/blackWhite/global/listContentOpLog/index.jsx +22 -0
- package/src/pages/tj/postAudio/list/blackWhite/global/listOpLog/index.jsx +113 -0
- package/src/pages/tj/postAudio/list/blackWhite/listSearch/index.jsx +19 -0
- package/src/pages/tj/postAudio/list/text/black/listContent/index.jsx +27 -0
- package/src/pages/tj/postAudio/list/text/black/listContentOpLog/index.jsx +26 -0
- package/src/pages/tj/postAudio/list/text/black/listRepetition/index.jsx +16 -0
- package/src/pages/tj/postAudio/list/text/company/list/contants.js +101 -0
- package/src/pages/tj/postAudio/list/text/company/list/index.jsx +411 -0
- package/src/pages/tj/postAudio/list/text/company/listContent/index.jsx +26 -0
- package/src/pages/tj/postAudio/list/text/company/listContent/listRepetition/index.jsx +16 -0
- package/src/pages/tj/postAudio/list/text/company/listContentOpLog/index.jsx +24 -0
- package/src/pages/tj/postAudio/list/text/company/listOpLog/index.jsx +119 -0
- package/src/pages/tj/postAudio/list/text/company/listRepetition/index.jsx +16 -0
- package/src/pages/tj/postAudio/list/text/custom/list/contants.js +87 -0
- package/src/pages/tj/postAudio/list/text/custom/list/index.jsx +322 -0
- package/src/pages/tj/postAudio/list/text/custom/listContent/index.jsx +28 -0
- package/src/pages/tj/postAudio/list/text/custom/listContent/listRepetition/index.jsx +16 -0
- package/src/pages/tj/postAudio/list/text/custom/listContentOpLog/index.jsx +24 -0
- package/src/pages/tj/postAudio/list/text/custom/listOpLog/index.jsx +111 -0
- package/src/pages/tj/postAudio/list/text/custom/listRepetition/index.jsx +16 -0
- package/src/pages/tj/postAudio/list/text/global/list/contants.js +94 -0
- package/src/pages/tj/postAudio/list/text/global/list/index.jsx +290 -0
- package/src/pages/tj/postAudio/list/text/global/listContent/index.jsx +28 -0
- package/src/pages/tj/postAudio/list/text/global/listContentOpLog/index.jsx +24 -0
- package/src/pages/tj/postAudio/list/text/global/listOpLog/index.jsx +108 -0
- package/src/pages/tj/postAudio/list/text/listSearch/index.jsx +19 -0
- package/src/pages/tj/postAudio/rank/audioSensitiveWord/index.jsx +18 -0
- package/src/pages/tj/postAudio/trend/audioClips/index.jsx +57 -0
- package/src/pages/tj/postAudio/trend/postAudio/index.jsx +8 -0
- package/src/pages/tj/postImg/errorCorrection/list/index.jsx +35 -0
- package/src/pages/tj/postImg/errorCorrection/list/index.less +0 -0
- package/src/pages/tj/postImg/errorCorrection/missReason/index.jsx +26 -0
- package/src/pages/tj/postImg/errorCorrection/trend/index.jsx +19 -0
- package/src/pages/tj/postImg/history/constants.js +112 -0
- package/src/pages/tj/postImg/history/postImg/buildHistoryTaskDetail.js +129 -0
- package/src/pages/tj/postImg/history/postImg/index.jsx +190 -0
- package/src/pages/tj/postImg/list/blackWhite/company/list/contants.js +90 -0
- package/src/pages/tj/postImg/list/blackWhite/company/list/index.jsx +233 -0
- package/src/pages/tj/postImg/list/blackWhite/company/listContent/index.jsx +19 -0
- package/src/pages/tj/postImg/list/blackWhite/company/listContentOpLog/index.jsx +17 -0
- package/src/pages/tj/postImg/list/blackWhite/company/listOpLog/index.jsx +100 -0
- package/src/pages/tj/postImg/list/blackWhite/company/listRepetition/index.jsx +17 -0
- package/src/pages/tj/postImg/list/blackWhite/custom/list/contants.js +66 -0
- package/src/pages/tj/postImg/list/blackWhite/custom/list/index.jsx +217 -0
- package/src/pages/tj/postImg/list/blackWhite/custom/listContent/index.jsx +25 -0
- package/src/pages/tj/postImg/list/blackWhite/custom/listContentOpLog/index.jsx +21 -0
- package/src/pages/tj/postImg/list/blackWhite/custom/listOpLog/index.jsx +99 -0
- package/src/pages/tj/postImg/list/blackWhite/custom/listRepetition/index.jsx +17 -0
- package/src/pages/tj/postImg/list/blackWhite/global/list/contants.js +73 -0
- package/src/pages/tj/postImg/list/blackWhite/global/list/index.jsx +147 -0
- package/src/pages/tj/postImg/list/blackWhite/global/listContent/index.jsx +26 -0
- package/src/pages/tj/postImg/list/blackWhite/global/listContentOpLog/index.jsx +21 -0
- package/src/pages/tj/postImg/list/blackWhite/global/listOpLog/index.jsx +100 -0
- package/src/pages/tj/postImg/list/blackWhite/listSearch/index.jsx +19 -0
- package/src/pages/tj/postImg/list/components/DatePickerV2/index.less +0 -0
- package/src/pages/tj/postImg/list/components/DatePickerV2/index.tsx +34 -0
- package/src/pages/tj/postImg/list/components/ExportDom/index.less +6 -0
- package/src/pages/tj/postImg/list/components/ExportDom/index.tsx +63 -0
- package/src/pages/tj/postImg/list/components/LabelSearchV2/index.less +0 -0
- package/src/pages/tj/postImg/list/components/LabelSearchV2/index.tsx +84 -0
- package/src/pages/tj/postImg/list/components/SearchFormV2/getFormItems.tsx +121 -0
- package/src/pages/tj/postImg/list/components/SearchFormV2/index.less +91 -0
- package/src/pages/tj/postImg/list/components/SearchFormV2/index.tsx +73 -0
- package/src/pages/tj/postImg/list/formatAppIdOrChannelRender.js +52 -0
- package/src/pages/tj/postImg/list/formatSubmitParams.js +32 -0
- package/src/pages/tj/postImg/list/laboratory/blackImgSimilar/detail/components/BreadCrumbSimilar/index.less +4 -0
- package/src/pages/tj/postImg/list/laboratory/blackImgSimilar/detail/components/BreadCrumbSimilar/index.tsx +57 -0
- package/src/pages/tj/postImg/list/laboratory/blackImgSimilar/detail/components/SimilarImage/index.less +30 -0
- package/src/pages/tj/postImg/list/laboratory/blackImgSimilar/detail/components/SimilarImage/index.tsx +135 -0
- package/src/pages/tj/postImg/list/laboratory/blackImgSimilar/detail/getSearchFormConfig.ts +71 -0
- package/src/pages/tj/postImg/list/laboratory/blackImgSimilar/detail/index.less +24 -0
- package/src/pages/tj/postImg/list/laboratory/blackImgSimilar/detail/index.tsx +151 -0
- package/src/pages/tj/postImg/list/laboratory/blackImgSimilar/list/formatSubmitParams.ts +18 -0
- package/src/pages/tj/postImg/list/laboratory/blackImgSimilar/list/getLabColumns.tsx +135 -0
- package/src/pages/tj/postImg/list/laboratory/blackImgSimilar/list/getSearchFormConfig.ts +81 -0
- package/src/pages/tj/postImg/list/laboratory/blackImgSimilar/list/index.less +63 -0
- package/src/pages/tj/postImg/list/laboratory/blackImgSimilar/list/index.tsx +271 -0
- package/src/pages/tj/postImg/list/laboratory/formatQueryParams.ts +5 -0
- package/src/pages/tj/postImg/list/laboratory/hooks/useMdLab.ts +67 -0
- package/src/pages/tj/postImg/list/laboratory/hooks/useMdLabHit.ts +39 -0
- package/src/pages/tj/postImg/list/laboratory/type.d.ts +23 -0
- package/src/pages/tj/postImg/list/laboratory/whiteImgSimilar/detail/index.tsx +9 -0
- package/src/pages/tj/postImg/list/laboratory/whiteImgSimilar/index.tsx +9 -0
- package/src/pages/tj/postImg/list/laboratory/whiteImgSimilar/list/index.tsx +9 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/List/components/ListUpdateForm/index.tsx +92 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/List/getImgListColumns.tsx +173 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/List/getSearchFormConfig.ts +49 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/List/hooks/useImgSimilarList.tsx +142 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/List/index.less +25 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/List/index.tsx +237 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContent/components/BatchForm/BatchUpload.tsx +49 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContent/components/BatchForm/index.less +11 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContent/components/BatchForm/index.tsx +113 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContent/components/CreateForm/index.less +0 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContent/components/CreateForm/index.tsx +72 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContent/getImgListColumns.tsx +72 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContent/getSearchFormConfig.ts +41 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContent/getSelectionExtraDom.tsx +34 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContent/hooks/useImgSimilarListContent.tsx +118 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContent/index.less +74 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContent/index.tsx +301 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContentRecord/getImgListColumns.tsx +80 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContentRecord/getSearchFormConfig.ts +69 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContentRecord/hooks/useSimilarListRecord.ts +41 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContentRecord/index.less +20 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListContentRecord/index.tsx +145 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListCreate/index.less +15 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListCreate/index.tsx +172 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListRecord/getImgListColumns.tsx +68 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListRecord/getSearchFormConfig.ts +87 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListRecord/hooks/useSimilarListRecord.ts +41 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListRecord/index.less +19 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/ListRecord/index.tsx +158 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/components/ImgSimilarForm/index.tsx +120 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/components/MultiSelect/index.less +0 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/components/MultiSelect/index.tsx +118 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/components/SimilarUpload/checkImageExist.ts +36 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/components/SimilarUpload/constants.ts +25 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/components/SimilarUpload/getBase64.ts +9 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/components/SimilarUpload/icon-add.png +0 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/components/SimilarUpload/index.less +306 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/components/SimilarUpload/index.tsx +238 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/components/SimilarUpload/uploadIcon.svg +14 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/components/SingleSelect/index.less +0 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/components/SingleSelect/index.tsx +28 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/constants.js +29 -0
- package/src/pages/tj/postImg/list/postImg/ImgSimilar/index.tsx +40 -0
- package/src/pages/tj/postImg/list/postImg/black/listContent/index.jsx +24 -0
- package/src/pages/tj/postImg/list/postImg/black/listContentOpLog/index.jsx +23 -0
- package/src/pages/tj/postImg/list/postImg/company/list/contants.js +94 -0
- package/src/pages/tj/postImg/list/postImg/company/list/index.jsx +254 -0
- package/src/pages/tj/postImg/list/postImg/company/listContent/index.jsx +29 -0
- package/src/pages/tj/postImg/list/postImg/company/listContentOpLog/index.jsx +28 -0
- package/src/pages/tj/postImg/list/postImg/company/listOpLog/index.jsx +86 -0
- package/src/pages/tj/postImg/list/postImg/company/listRepetition/index.jsx +17 -0
- package/src/pages/tj/postImg/list/postImg/custom/list/contants.js +73 -0
- package/src/pages/tj/postImg/list/postImg/custom/list/index.jsx +247 -0
- package/src/pages/tj/postImg/list/postImg/custom/listContent/index.jsx +34 -0
- package/src/pages/tj/postImg/list/postImg/custom/listContentOpLog/index.jsx +27 -0
- package/src/pages/tj/postImg/list/postImg/custom/listOpLog/index.jsx +86 -0
- package/src/pages/tj/postImg/list/postImg/custom/listRepetition/index.jsx +17 -0
- package/src/pages/tj/postImg/list/postImg/global/list/contants.js +87 -0
- package/src/pages/tj/postImg/list/postImg/global/list/index.jsx +196 -0
- package/src/pages/tj/postImg/list/postImg/global/listContent/index.jsx +27 -0
- package/src/pages/tj/postImg/list/postImg/global/listContentOpLog/index.jsx +24 -0
- package/src/pages/tj/postImg/list/postImg/global/listOpLog/index.jsx +82 -0
- package/src/pages/tj/postImg/list/postImg/listSearch/index.jsx +20 -0
- package/src/pages/tj/postImg/list/postImg/similarBlack/listContent/index.jsx +27 -0
- package/src/pages/tj/postImg/list/postImg/similarBlack/listContentOpLog/index.jsx +24 -0
- package/src/pages/tj/postImg/list/postImg/tabContentLayoutImage/index.jsx +64 -0
- package/src/pages/tj/postImg/list/text/black/listContent/index.jsx +24 -0
- package/src/pages/tj/postImg/list/text/black/listContentOpLog/index.jsx +22 -0
- package/src/pages/tj/postImg/list/text/black/listRepetition/index.jsx +15 -0
- package/src/pages/tj/postImg/list/text/company/list/contants.js +101 -0
- package/src/pages/tj/postImg/list/text/company/list/index.jsx +368 -0
- package/src/pages/tj/postImg/list/text/company/listContent/index.jsx +24 -0
- package/src/pages/tj/postImg/list/text/company/listContent/listRepetition/index.jsx +15 -0
- package/src/pages/tj/postImg/list/text/company/listContentOpLog/index.jsx +23 -0
- package/src/pages/tj/postImg/list/text/company/listOpLog/index.jsx +109 -0
- package/src/pages/tj/postImg/list/text/company/listRepetition/index.jsx +15 -0
- package/src/pages/tj/postImg/list/text/custom/list/contants.js +87 -0
- package/src/pages/tj/postImg/list/text/custom/list/index.jsx +318 -0
- package/src/pages/tj/postImg/list/text/custom/listContent/index.jsx +32 -0
- package/src/pages/tj/postImg/list/text/custom/listContent/listRepetition/index.jsx +15 -0
- package/src/pages/tj/postImg/list/text/custom/listContentOpLog/index.jsx +26 -0
- package/src/pages/tj/postImg/list/text/custom/listOpLog/index.jsx +110 -0
- package/src/pages/tj/postImg/list/text/custom/listRepetition/index.jsx +15 -0
- package/src/pages/tj/postImg/list/text/global/list/contants.js +94 -0
- package/src/pages/tj/postImg/list/text/global/list/index.jsx +289 -0
- package/src/pages/tj/postImg/list/text/global/listContent/index.jsx +26 -0
- package/src/pages/tj/postImg/list/text/global/listContentOpLog/index.jsx +23 -0
- package/src/pages/tj/postImg/list/text/global/listOpLog/index.jsx +99 -0
- package/src/pages/tj/postImg/list/text/listSearch/index.jsx +19 -0
- package/src/pages/tj/postImg/trend/postImg/index.jsx +50 -0
- package/src/pages/tj/postVideo/errorCorrection/audioList/index.jsx +8 -0
- package/src/pages/tj/postVideo/errorCorrection/audioMissReason/index.jsx +26 -0
- package/src/pages/tj/postVideo/errorCorrection/constants.js +490 -0
- package/src/pages/tj/postVideo/errorCorrection/imgList/index.jsx +8 -0
- package/src/pages/tj/postVideo/errorCorrection/imgMissReason/index.jsx +26 -0
- package/src/pages/tj/postVideo/errorCorrection/trend/index.jsx +19 -0
- package/src/pages/tj/postVideo/history/audioClips/index.jsx +27 -0
- package/src/pages/tj/postVideo/history/constants.js +590 -0
- package/src/pages/tj/postVideo/history/imgClips/index.jsx +64 -0
- package/src/pages/tj/postVideo/history/videoFile/index.jsx +25 -0
- package/src/pages/tj/postVideo/list/audioBlackWhite/company/list/contants.js +80 -0
- package/src/pages/tj/postVideo/list/audioBlackWhite/company/list/index.jsx +228 -0
- package/src/pages/tj/postVideo/list/audioBlackWhite/company/listContent/index.jsx +25 -0
- package/src/pages/tj/postVideo/list/audioBlackWhite/company/listContentOpLog/index.jsx +23 -0
- package/src/pages/tj/postVideo/list/audioBlackWhite/company/listOpLog/index.jsx +112 -0
- package/src/pages/tj/postVideo/list/audioBlackWhite/company/listRepetition/index.jsx +17 -0
- package/src/pages/tj/postVideo/list/audioBlackWhite/custom/list/contants.js +66 -0
- package/src/pages/tj/postVideo/list/audioBlackWhite/custom/list/index.jsx +203 -0
- package/src/pages/tj/postVideo/list/audioBlackWhite/custom/listContent/index.jsx +25 -0
- package/src/pages/tj/postVideo/list/audioBlackWhite/custom/listContentOpLog/index.jsx +21 -0
- package/src/pages/tj/postVideo/list/audioBlackWhite/custom/listOpLog/index.jsx +111 -0
- package/src/pages/tj/postVideo/list/audioBlackWhite/custom/listRepetition/index.jsx +17 -0
- package/src/pages/tj/postVideo/list/audioBlackWhite/global/list/contants.js +73 -0
- package/src/pages/tj/postVideo/list/audioBlackWhite/global/list/index.jsx +148 -0
- package/src/pages/tj/postVideo/list/audioBlackWhite/global/listContent/index.jsx +26 -0
- package/src/pages/tj/postVideo/list/audioBlackWhite/global/listContentOpLog/index.jsx +21 -0
- package/src/pages/tj/postVideo/list/audioBlackWhite/global/listOpLog/index.jsx +112 -0
- package/src/pages/tj/postVideo/list/audioBlackWhite/listSearch/index.jsx +19 -0
- package/src/pages/tj/postVideo/list/audioText/black/listContent/index.jsx +24 -0
- package/src/pages/tj/postVideo/list/audioText/black/listContentOpLog/index.jsx +22 -0
- package/src/pages/tj/postVideo/list/audioText/black/listRepetition/index.jsx +15 -0
- package/src/pages/tj/postVideo/list/audioText/company/list/contants.js +101 -0
- package/src/pages/tj/postVideo/list/audioText/company/list/index.jsx +397 -0
- package/src/pages/tj/postVideo/list/audioText/company/listContent/index.jsx +24 -0
- package/src/pages/tj/postVideo/list/audioText/company/listContent/listRepetition/index.jsx +15 -0
- package/src/pages/tj/postVideo/list/audioText/company/listContentOpLog/index.jsx +23 -0
- package/src/pages/tj/postVideo/list/audioText/company/listOpLog/index.jsx +118 -0
- package/src/pages/tj/postVideo/list/audioText/company/listRepetition/index.jsx +15 -0
- package/src/pages/tj/postVideo/list/audioText/custom/list/contants.js +87 -0
- package/src/pages/tj/postVideo/list/audioText/custom/list/index.jsx +304 -0
- package/src/pages/tj/postVideo/list/audioText/custom/listContent/index.jsx +24 -0
- package/src/pages/tj/postVideo/list/audioText/custom/listContent/listRepetition/index.jsx +15 -0
- package/src/pages/tj/postVideo/list/audioText/custom/listContentOpLog/index.jsx +23 -0
- package/src/pages/tj/postVideo/list/audioText/custom/listOpLog/index.jsx +112 -0
- package/src/pages/tj/postVideo/list/audioText/custom/listRepetition/index.jsx +15 -0
- package/src/pages/tj/postVideo/list/audioText/global/list/contants.js +94 -0
- package/src/pages/tj/postVideo/list/audioText/global/list/index.jsx +297 -0
- package/src/pages/tj/postVideo/list/audioText/global/listContent/index.jsx +26 -0
- package/src/pages/tj/postVideo/list/audioText/global/listContentOpLog/index.jsx +23 -0
- package/src/pages/tj/postVideo/list/audioText/global/listOpLog/index.jsx +108 -0
- package/src/pages/tj/postVideo/list/audioText/listSearch/index.jsx +19 -0
- package/src/pages/tj/postVideo/list/imgBlackWhite/company/list/contants.js +80 -0
- package/src/pages/tj/postVideo/list/imgBlackWhite/company/list/index.jsx +229 -0
- package/src/pages/tj/postVideo/list/imgBlackWhite/company/listContent/index.jsx +25 -0
- package/src/pages/tj/postVideo/list/imgBlackWhite/company/listContentOpLog/index.jsx +23 -0
- package/src/pages/tj/postVideo/list/imgBlackWhite/company/listOpLog/index.jsx +100 -0
- package/src/pages/tj/postVideo/list/imgBlackWhite/company/listRepetition/index.jsx +17 -0
- package/src/pages/tj/postVideo/list/imgBlackWhite/custom/list/contants.js +66 -0
- package/src/pages/tj/postVideo/list/imgBlackWhite/custom/list/index.jsx +217 -0
- package/src/pages/tj/postVideo/list/imgBlackWhite/custom/listContent/index.jsx +25 -0
- package/src/pages/tj/postVideo/list/imgBlackWhite/custom/listContentOpLog/index.jsx +21 -0
- package/src/pages/tj/postVideo/list/imgBlackWhite/custom/listOpLog/index.jsx +99 -0
- package/src/pages/tj/postVideo/list/imgBlackWhite/custom/listRepetition/index.jsx +17 -0
- package/src/pages/tj/postVideo/list/imgBlackWhite/global/list/contants.js +73 -0
- package/src/pages/tj/postVideo/list/imgBlackWhite/global/list/index.jsx +146 -0
- package/src/pages/tj/postVideo/list/imgBlackWhite/global/listContent/index.jsx +26 -0
- package/src/pages/tj/postVideo/list/imgBlackWhite/global/listContentOpLog/index.jsx +21 -0
- package/src/pages/tj/postVideo/list/imgBlackWhite/global/listOpLog/index.jsx +100 -0
- package/src/pages/tj/postVideo/list/imgBlackWhite/listSearch/index.jsx +19 -0
- package/src/pages/tj/postVideo/list/imgText/black/listContent/index.jsx +24 -0
- package/src/pages/tj/postVideo/list/imgText/black/listContentOpLog/index.jsx +22 -0
- package/src/pages/tj/postVideo/list/imgText/black/listRepetition/index.jsx +15 -0
- package/src/pages/tj/postVideo/list/imgText/company/list/contants.js +101 -0
- package/src/pages/tj/postVideo/list/imgText/company/list/index.jsx +363 -0
- package/src/pages/tj/postVideo/list/imgText/company/listContent/index.jsx +24 -0
- package/src/pages/tj/postVideo/list/imgText/company/listContent/listRepetition/index.jsx +15 -0
- package/src/pages/tj/postVideo/list/imgText/company/listContentOpLog/index.jsx +23 -0
- package/src/pages/tj/postVideo/list/imgText/company/listOpLog/index.jsx +110 -0
- package/src/pages/tj/postVideo/list/imgText/company/listRepetition/index.jsx +15 -0
- package/src/pages/tj/postVideo/list/imgText/custom/list/contants.js +87 -0
- package/src/pages/tj/postVideo/list/imgText/custom/list/index.jsx +310 -0
- package/src/pages/tj/postVideo/list/imgText/custom/listContent/index.jsx +24 -0
- package/src/pages/tj/postVideo/list/imgText/custom/listContent/listRepetition/index.jsx +15 -0
- package/src/pages/tj/postVideo/list/imgText/custom/listContentOpLog/index.jsx +23 -0
- package/src/pages/tj/postVideo/list/imgText/custom/listOpLog/index.jsx +104 -0
- package/src/pages/tj/postVideo/list/imgText/custom/listRepetition/index.jsx +15 -0
- package/src/pages/tj/postVideo/list/imgText/global/list/contants.js +94 -0
- package/src/pages/tj/postVideo/list/imgText/global/list/index.jsx +293 -0
- package/src/pages/tj/postVideo/list/imgText/global/listContent/index.jsx +26 -0
- package/src/pages/tj/postVideo/list/imgText/global/listContentOpLog/index.jsx +23 -0
- package/src/pages/tj/postVideo/list/imgText/global/listOpLog/index.jsx +100 -0
- package/src/pages/tj/postVideo/list/imgText/listSearch/index.jsx +19 -0
- package/src/pages/tj/postVideo/list/postImg/black/listContent/index.jsx +24 -0
- package/src/pages/tj/postVideo/list/postImg/black/listContentOpLog/index.jsx +23 -0
- package/src/pages/tj/postVideo/list/postImg/company/list/contants.js +94 -0
- package/src/pages/tj/postVideo/list/postImg/company/list/index.jsx +245 -0
- package/src/pages/tj/postVideo/list/postImg/company/listContent/index.jsx +26 -0
- package/src/pages/tj/postVideo/list/postImg/company/listContentOpLog/index.jsx +26 -0
- package/src/pages/tj/postVideo/list/postImg/company/listOpLog/index.jsx +84 -0
- package/src/pages/tj/postVideo/list/postImg/company/listRepetition/index.jsx +17 -0
- package/src/pages/tj/postVideo/list/postImg/custom/list/contants.js +73 -0
- package/src/pages/tj/postVideo/list/postImg/custom/list/index.jsx +233 -0
- package/src/pages/tj/postVideo/list/postImg/custom/listContent/index.jsx +27 -0
- package/src/pages/tj/postVideo/list/postImg/custom/listContentOpLog/index.jsx +24 -0
- package/src/pages/tj/postVideo/list/postImg/custom/listOpLog/index.jsx +80 -0
- package/src/pages/tj/postVideo/list/postImg/custom/listRepetition/index.jsx +17 -0
- package/src/pages/tj/postVideo/list/postImg/global/list/contants.js +87 -0
- package/src/pages/tj/postVideo/list/postImg/global/list/index.jsx +196 -0
- package/src/pages/tj/postVideo/list/postImg/global/listContent/index.jsx +27 -0
- package/src/pages/tj/postVideo/list/postImg/global/listContentOpLog/index.jsx +24 -0
- package/src/pages/tj/postVideo/list/postImg/global/listOpLog/index.jsx +82 -0
- package/src/pages/tj/postVideo/list/postImg/listSearch/index.jsx +21 -0
- package/src/pages/tj/postVideo/rank/audioSensitiveWord/index.jsx +18 -0
- package/src/pages/tj/postVideo/rank/imgSensitiveWord/index.jsx +18 -0
- package/src/pages/tj/postVideo/trend/audioClips/index.jsx +50 -0
- package/src/pages/tj/postVideo/trend/imgClips/index.jsx +50 -0
- package/src/pages/tj/postVideo/trend/videoFile/index.jsx +50 -0
- package/src/pages/tj/risk/account/index.jsx +18 -0
- package/src/pages/tj/sensitive/list/contants.js +24 -0
- package/src/pages/tj/sensitive/list/index.jsx +20 -0
- package/src/pages/tj/sensitive/listContent/index.jsx +29 -0
- package/src/pages/tj/sensitive/listContent/listRepetition/index.jsx +17 -0
- package/src/pages/tj/sensitive/listContentOpLog/index.jsx +26 -0
- package/src/pages/tj/sensitive/listOpLog/index.jsx +121 -0
- package/src/pages/tj/text/check/batch/index.jsx +24 -0
- package/src/pages/tj/text/check/constants.js +1696 -0
- package/src/pages/tj/text/check/item/index.jsx +26 -0
- package/src/pages/tj/text/errorCorrection/list/index.jsx +52 -0
- package/src/pages/tj/text/errorCorrection/missReason/index.jsx +26 -0
- package/src/pages/tj/text/errorCorrection/trend/index.jsx +19 -0
- package/src/pages/tj/text/history/constants.js +535 -0
- package/src/pages/tj/text/history/text/buildHistoryTaskDetail.js +134 -0
- package/src/pages/tj/text/history/text/index.jsx +526 -0
- package/src/pages/tj/text/list/blackWhite/company/list/contants.js +98 -0
- package/src/pages/tj/text/list/blackWhite/company/list/index.jsx +230 -0
- package/src/pages/tj/text/list/blackWhite/company/listContent/index.jsx +25 -0
- package/src/pages/tj/text/list/blackWhite/company/listContent/listRepetition/index.jsx +15 -0
- package/src/pages/tj/text/list/blackWhite/company/listContentOpLog/index.jsx +24 -0
- package/src/pages/tj/text/list/blackWhite/company/listOpLog/index.jsx +120 -0
- package/src/pages/tj/text/list/blackWhite/company/listRepetition/index.jsx +19 -0
- package/src/pages/tj/text/list/blackWhite/custom/list/contants.js +82 -0
- package/src/pages/tj/text/list/blackWhite/custom/list/index.jsx +219 -0
- package/src/pages/tj/text/list/blackWhite/custom/listContent/index.jsx +25 -0
- package/src/pages/tj/text/list/blackWhite/custom/listContentOpLog/index.jsx +22 -0
- package/src/pages/tj/text/list/blackWhite/custom/listOpLog/index.jsx +117 -0
- package/src/pages/tj/text/list/blackWhite/custom/listRepetition/index.jsx +19 -0
- package/src/pages/tj/text/list/blackWhite/global/list/contants.js +73 -0
- package/src/pages/tj/text/list/blackWhite/global/list/index.jsx +145 -0
- package/src/pages/tj/text/list/blackWhite/global/listContent/index.jsx +26 -0
- package/src/pages/tj/text/list/blackWhite/global/listContentOpLog/index.jsx +22 -0
- package/src/pages/tj/text/list/blackWhite/global/listOpLog/index.jsx +113 -0
- package/src/pages/tj/text/list/blackWhite/listSearch/index.jsx +19 -0
- package/src/pages/tj/text/list/text/black/listContent/index.jsx +25 -0
- package/src/pages/tj/text/list/text/black/listContentOpLog/index.jsx +26 -0
- package/src/pages/tj/text/list/text/black/listRepetition/index.jsx +16 -0
- package/src/pages/tj/text/list/text/company/list/contants.js +114 -0
- package/src/pages/tj/text/list/text/company/list/index.jsx +422 -0
- package/src/pages/tj/text/list/text/company/listContent/index.jsx +32 -0
- package/src/pages/tj/text/list/text/company/listContent/listRepetition/index.jsx +16 -0
- package/src/pages/tj/text/list/text/company/listContentOpLog/index.jsx +29 -0
- package/src/pages/tj/text/list/text/company/listOpLog/index.jsx +129 -0
- package/src/pages/tj/text/list/text/company/listRepetition/index.jsx +17 -0
- package/src/pages/tj/text/list/text/custom/list/contants.js +743 -0
- package/src/pages/tj/text/list/text/custom/list/index.jsx +36 -0
- package/src/pages/tj/text/list/text/custom/listContent/index.jsx +36 -0
- package/src/pages/tj/text/list/text/custom/listContent/listRepetition/index.jsx +15 -0
- package/src/pages/tj/text/list/text/custom/listContentOpLog/index.jsx +27 -0
- package/src/pages/tj/text/list/text/custom/listOpLog/index.jsx +124 -0
- package/src/pages/tj/text/list/text/custom/listRepetition/index.jsx +15 -0
- package/src/pages/tj/text/list/text/global/list/contants.js +94 -0
- package/src/pages/tj/text/list/text/global/list/index.jsx +326 -0
- package/src/pages/tj/text/list/text/global/listContent/index.jsx +27 -0
- package/src/pages/tj/text/list/text/global/listContentOpLog/index.jsx +24 -0
- package/src/pages/tj/text/list/text/global/listOpLog/index.jsx +111 -0
- package/src/pages/tj/text/list/text/lab/contants.js +346 -0
- package/src/pages/tj/text/list/text/lab/hooks/useHitListExport.js +38 -0
- package/src/pages/tj/text/list/text/lab/index.jsx +479 -0
- package/src/pages/tj/text/list/text/lab/index.less +29 -0
- package/src/pages/tj/text/list/text/lab/viewHit/index.jsx +231 -0
- package/src/pages/tj/text/list/text/lab/viewHit/index.less +43 -0
- package/src/pages/tj/text/list/text/listSearch/index.jsx +19 -0
- package/src/pages/tj/text/rank/constants.js +10 -0
- package/src/pages/tj/text/rank/index.js +36 -0
- package/src/pages/tj/text/trend/text/index.jsx +8 -0
- package/src/pages/tj/videoStream/errorCorrection/audioList/index.jsx +8 -0
- package/src/pages/tj/videoStream/errorCorrection/audioMissReason/index.jsx +26 -0
- package/src/pages/tj/videoStream/errorCorrection/imgList/index.jsx +8 -0
- package/src/pages/tj/videoStream/errorCorrection/imgMissReason/index.jsx +26 -0
- package/src/pages/tj/videoStream/errorCorrection/trend/index.jsx +19 -0
- package/src/pages/tj/videoStream/history/audioClips/index.jsx +160 -0
- package/src/pages/tj/videoStream/history/constants.js +394 -0
- package/src/pages/tj/videoStream/history/imgClips/index.jsx +58 -0
- package/src/pages/tj/videoStream/history/videoStream/index.jsx +120 -0
- package/src/pages/tj/videoStream/list/audioBlackWhite/company/list/contants.js +80 -0
- package/src/pages/tj/videoStream/list/audioBlackWhite/company/list/index.jsx +217 -0
- package/src/pages/tj/videoStream/list/audioBlackWhite/company/listContent/index.jsx +25 -0
- package/src/pages/tj/videoStream/list/audioBlackWhite/company/listContentOpLog/index.jsx +23 -0
- package/src/pages/tj/videoStream/list/audioBlackWhite/company/listOpLog/index.jsx +116 -0
- package/src/pages/tj/videoStream/list/audioBlackWhite/company/listRepetition/index.jsx +19 -0
- package/src/pages/tj/videoStream/list/audioBlackWhite/custom/list/contants.js +66 -0
- package/src/pages/tj/videoStream/list/audioBlackWhite/custom/list/index.jsx +205 -0
- package/src/pages/tj/videoStream/list/audioBlackWhite/custom/listContent/index.jsx +26 -0
- package/src/pages/tj/videoStream/list/audioBlackWhite/custom/listContentOpLog/index.jsx +22 -0
- package/src/pages/tj/videoStream/list/audioBlackWhite/custom/listOpLog/index.jsx +115 -0
- package/src/pages/tj/videoStream/list/audioBlackWhite/custom/listRepetition/index.jsx +19 -0
- package/src/pages/tj/videoStream/list/audioBlackWhite/global/list/contants.js +73 -0
- package/src/pages/tj/videoStream/list/audioBlackWhite/global/list/index.jsx +149 -0
- package/src/pages/tj/videoStream/list/audioBlackWhite/global/listContent/index.jsx +27 -0
- package/src/pages/tj/videoStream/list/audioBlackWhite/global/listContentOpLog/index.jsx +22 -0
- package/src/pages/tj/videoStream/list/audioBlackWhite/global/listOpLog/index.jsx +116 -0
- package/src/pages/tj/videoStream/list/audioBlackWhite/listSearch/index.jsx +19 -0
- package/src/pages/tj/videoStream/list/audioText/black/listContent/index.jsx +24 -0
- package/src/pages/tj/videoStream/list/audioText/black/listContentOpLog/index.jsx +26 -0
- package/src/pages/tj/videoStream/list/audioText/black/listRepetition/index.jsx +16 -0
- package/src/pages/tj/videoStream/list/audioText/company/list/contants.js +94 -0
- package/src/pages/tj/videoStream/list/audioText/company/list/index.jsx +395 -0
- package/src/pages/tj/videoStream/list/audioText/company/listContent/index.jsx +25 -0
- package/src/pages/tj/videoStream/list/audioText/company/listContent/listRepetition/index.jsx +16 -0
- package/src/pages/tj/videoStream/list/audioText/company/listContentOpLog/index.jsx +24 -0
- package/src/pages/tj/videoStream/list/audioText/company/listOpLog/index.jsx +120 -0
- package/src/pages/tj/videoStream/list/audioText/company/listRepetition/index.jsx +16 -0
- package/src/pages/tj/videoStream/list/audioText/custom/list/contants.js +80 -0
- package/src/pages/tj/videoStream/list/audioText/custom/list/index.jsx +312 -0
- package/src/pages/tj/videoStream/list/audioText/custom/listContent/index.jsx +26 -0
- package/src/pages/tj/videoStream/list/audioText/custom/listContent/listRepetition/index.jsx +17 -0
- package/src/pages/tj/videoStream/list/audioText/custom/listContentOpLog/index.jsx +24 -0
- package/src/pages/tj/videoStream/list/audioText/custom/listOpLog/index.jsx +114 -0
- package/src/pages/tj/videoStream/list/audioText/custom/listRepetition/index.jsx +16 -0
- package/src/pages/tj/videoStream/list/audioText/global/list/contants.js +87 -0
- package/src/pages/tj/videoStream/list/audioText/global/list/index.jsx +306 -0
- package/src/pages/tj/videoStream/list/audioText/global/listContent/index.jsx +27 -0
- package/src/pages/tj/videoStream/list/audioText/global/listContentOpLog/index.jsx +24 -0
- package/src/pages/tj/videoStream/list/audioText/global/listOpLog/index.jsx +110 -0
- package/src/pages/tj/videoStream/list/audioText/listSearch/index.jsx +19 -0
- package/src/pages/tj/videoStream/list/imgBlackWhite/company/list/contants.js +80 -0
- package/src/pages/tj/videoStream/list/imgBlackWhite/company/list/index.jsx +231 -0
- package/src/pages/tj/videoStream/list/imgBlackWhite/company/listContent/index.jsx +26 -0
- package/src/pages/tj/videoStream/list/imgBlackWhite/company/listContentOpLog/index.jsx +24 -0
- package/src/pages/tj/videoStream/list/imgBlackWhite/company/listOpLog/index.jsx +104 -0
- package/src/pages/tj/videoStream/list/imgBlackWhite/company/listRepetition/index.jsx +19 -0
- package/src/pages/tj/videoStream/list/imgBlackWhite/custom/list/contants.js +66 -0
- package/src/pages/tj/videoStream/list/imgBlackWhite/custom/list/index.jsx +220 -0
- package/src/pages/tj/videoStream/list/imgBlackWhite/custom/listContent/index.jsx +26 -0
- package/src/pages/tj/videoStream/list/imgBlackWhite/custom/listContentOpLog/index.jsx +22 -0
- package/src/pages/tj/videoStream/list/imgBlackWhite/custom/listOpLog/index.jsx +103 -0
- package/src/pages/tj/videoStream/list/imgBlackWhite/custom/listRepetition/index.jsx +19 -0
- package/src/pages/tj/videoStream/list/imgBlackWhite/global/list/contants.js +73 -0
- package/src/pages/tj/videoStream/list/imgBlackWhite/global/list/index.jsx +149 -0
- package/src/pages/tj/videoStream/list/imgBlackWhite/global/listContent/index.jsx +27 -0
- package/src/pages/tj/videoStream/list/imgBlackWhite/global/listContentOpLog/index.jsx +22 -0
- package/src/pages/tj/videoStream/list/imgBlackWhite/global/listOpLog/index.jsx +104 -0
- package/src/pages/tj/videoStream/list/imgBlackWhite/listSearch/index.jsx +19 -0
- package/src/pages/tj/videoStream/list/imgText/black/listContent/index.jsx +24 -0
- package/src/pages/tj/videoStream/list/imgText/black/listContentOpLog/index.jsx +23 -0
- package/src/pages/tj/videoStream/list/imgText/black/listRepetition/index.jsx +17 -0
- package/src/pages/tj/videoStream/list/imgText/company/list/contants.js +94 -0
- package/src/pages/tj/videoStream/list/imgText/company/list/index.jsx +357 -0
- package/src/pages/tj/videoStream/list/imgText/company/listContent/index.jsx +25 -0
- package/src/pages/tj/videoStream/list/imgText/company/listContent/listRepetition/index.jsx +17 -0
- package/src/pages/tj/videoStream/list/imgText/company/listContentOpLog/index.jsx +24 -0
- package/src/pages/tj/videoStream/list/imgText/company/listOpLog/index.jsx +112 -0
- package/src/pages/tj/videoStream/list/imgText/company/listRepetition/index.jsx +17 -0
- package/src/pages/tj/videoStream/list/imgText/custom/list/contants.js +80 -0
- package/src/pages/tj/videoStream/list/imgText/custom/list/index.jsx +305 -0
- package/src/pages/tj/videoStream/list/imgText/custom/listContent/index.jsx +26 -0
- package/src/pages/tj/videoStream/list/imgText/custom/listContent/listRepetition/index.jsx +17 -0
- package/src/pages/tj/videoStream/list/imgText/custom/listContentOpLog/index.jsx +24 -0
- package/src/pages/tj/videoStream/list/imgText/custom/listOpLog/index.jsx +106 -0
- package/src/pages/tj/videoStream/list/imgText/custom/listRepetition/index.jsx +17 -0
- package/src/pages/tj/videoStream/list/imgText/global/list/contants.js +87 -0
- package/src/pages/tj/videoStream/list/imgText/global/list/index.jsx +276 -0
- package/src/pages/tj/videoStream/list/imgText/global/listContent/index.jsx +27 -0
- package/src/pages/tj/videoStream/list/imgText/global/listContentOpLog/index.jsx +24 -0
- package/src/pages/tj/videoStream/list/imgText/global/listOpLog/index.jsx +102 -0
- package/src/pages/tj/videoStream/list/imgText/listSearch/index.jsx +19 -0
- package/src/pages/tj/videoStream/list/postImg/black/listContent/index.jsx +24 -0
- package/src/pages/tj/videoStream/list/postImg/black/listContentOpLog/index.jsx +24 -0
- package/src/pages/tj/videoStream/list/postImg/company/list/contants.js +94 -0
- package/src/pages/tj/videoStream/list/postImg/company/list/index.jsx +250 -0
- package/src/pages/tj/videoStream/list/postImg/company/listContent/index.jsx +26 -0
- package/src/pages/tj/videoStream/list/postImg/company/listContentOpLog/index.jsx +25 -0
- package/src/pages/tj/videoStream/list/postImg/company/listOpLog/index.jsx +86 -0
- package/src/pages/tj/videoStream/list/postImg/company/listRepetition/index.jsx +19 -0
- package/src/pages/tj/videoStream/list/postImg/custom/list/contants.js +73 -0
- package/src/pages/tj/videoStream/list/postImg/custom/list/index.jsx +249 -0
- package/src/pages/tj/videoStream/list/postImg/custom/listContent/index.jsx +26 -0
- package/src/pages/tj/videoStream/list/postImg/custom/listContentOpLog/index.jsx +25 -0
- package/src/pages/tj/videoStream/list/postImg/custom/listOpLog/index.jsx +84 -0
- package/src/pages/tj/videoStream/list/postImg/custom/listRepetition/index.jsx +19 -0
- package/src/pages/tj/videoStream/list/postImg/global/list/contants.js +87 -0
- package/src/pages/tj/videoStream/list/postImg/global/list/index.jsx +176 -0
- package/src/pages/tj/videoStream/list/postImg/global/listContent/index.jsx +27 -0
- package/src/pages/tj/videoStream/list/postImg/global/listContentOpLog/index.jsx +25 -0
- package/src/pages/tj/videoStream/list/postImg/global/listOpLog/index.jsx +86 -0
- package/src/pages/tj/videoStream/list/postImg/listSearch/index.jsx +21 -0
- package/src/pages/tj/videoStream/rank/audioSensitiveWord/index.jsx +18 -0
- package/src/pages/tj/videoStream/rank/imgSensitiveWord/index.jsx +18 -0
- package/src/pages/tj/videoStream/trend/audioClips/index.jsx +50 -0
- package/src/pages/tj/videoStream/trend/imgClips/index.jsx +49 -0
- package/src/pages/tj/videoStream/trend/videoStream/index.jsx +76 -0
- package/src/pages/tj/web/history/web/buildHistoryTaskDetail.js +240 -0
- package/src/pages/tj/web/history/web/index.jsx +26 -0
- package/src/pages/tj/web/list/web/company/list/contants.js +114 -0
- package/src/pages/tj/web/list/web/company/list/index.jsx +400 -0
- package/src/pages/tj/web/list/web/company/listContent/index.jsx +24 -0
- package/src/pages/tj/web/list/web/company/listContent/listRepetition/index.jsx +16 -0
- package/src/pages/tj/web/list/web/company/listContentOpLog/index.jsx +24 -0
- package/src/pages/tj/web/list/web/company/listOpLog/index.jsx +126 -0
- package/src/pages/tj/web/list/web/company/listRepetition/index.jsx +17 -0
- package/src/pages/tj/web/trend/web/index.jsx +8 -0
- package/src/pages/tw/activity/components/ActivityOverviewCard/index.jsx +109 -0
- package/src/pages/tw/activity/components/ActivityOverviewCard/index.less +36 -0
- package/src/pages/tw/activity/components/riskFilter.js +180 -0
- package/src/pages/tw/activity/components/riskFilter.less +32 -0
- package/src/pages/tw/activity/index.less +77 -0
- package/src/pages/tw/activity/ranking/index.jsx +532 -0
- package/src/pages/tw/activity/trend/index.jsx +296 -0
- package/src/pages/tw/activity/user/index.jsx +112 -0
- package/src/pages/tw/antiRobotSms/history/constants.js +299 -0
- package/src/pages/tw/antiRobotSms/history/exportConfig.js +159 -0
- package/src/pages/tw/antiRobotSms/history/index.jsx +303 -0
- package/src/pages/tw/antiRobotSms/trend/index.jsx +13 -0
- package/src/pages/tw/blackWhite/company/list/contants.js +80 -0
- package/src/pages/tw/blackWhite/company/list/index.jsx +270 -0
- package/src/pages/tw/blackWhite/company/listContent/index.jsx +25 -0
- package/src/pages/tw/blackWhite/company/listContentOpLog/index.jsx +22 -0
- package/src/pages/tw/blackWhite/company/listOpLog/index.jsx +119 -0
- package/src/pages/tw/blackWhite/company/listRepetition/index.jsx +17 -0
- package/src/pages/tw/blackWhite/constants.js +3 -0
- package/src/pages/tw/blackWhite/custom/list/contants.js +82 -0
- package/src/pages/tw/blackWhite/custom/list/index.jsx +260 -0
- package/src/pages/tw/blackWhite/custom/listContent/index.jsx +19 -0
- package/src/pages/tw/blackWhite/custom/listContentOpLog/index.jsx +15 -0
- package/src/pages/tw/blackWhite/custom/listOpLog/index.jsx +117 -0
- package/src/pages/tw/blackWhite/custom/listRepetition/index.jsx +17 -0
- package/src/pages/tw/blackWhite/global/list/contants.js +82 -0
- package/src/pages/tw/blackWhite/global/list/index.jsx +155 -0
- package/src/pages/tw/blackWhite/global/listContent/index.jsx +20 -0
- package/src/pages/tw/blackWhite/global/listContentOpLog/index.jsx +15 -0
- package/src/pages/tw/blackWhite/global/listOpLog/index.jsx +118 -0
- package/src/pages/tw/blackWhite/listSearch/index.jsx +19 -0
- package/src/pages/tw/components/exportConfig.js +330 -0
- package/src/pages/tw/constants.js +87 -0
- package/src/pages/tw/event/dataUpload/index.jsx +405 -0
- package/src/pages/tw/event/dataUpload/index.less +73 -0
- package/src/pages/tw/event/disposal/constants.js +71 -0
- package/src/pages/tw/event/disposal/getSearchForm.js +158 -0
- package/src/pages/tw/event/disposal/getTableColumns.js +99 -0
- package/src/pages/tw/event/disposal/index.jsx +86 -0
- package/src/pages/tw/event/disposal/index.less +13 -0
- package/src/pages/tw/event/history/constants.js +700 -0
- package/src/pages/tw/event/history/exportConfig.js +170 -0
- package/src/pages/tw/event/history/index.jsx +795 -0
- package/src/pages/tw/event/occupyRate/index.jsx +53 -0
- package/src/pages/tw/event/queryOrder/index.jsx +102 -0
- package/src/pages/tw/event/trend/index.jsx +78 -0
- package/src/pages/tw/login/history/constants.js +484 -0
- package/src/pages/tw/login/history/exportConfig.js +158 -0
- package/src/pages/tw/login/history/index.jsx +406 -0
- package/src/pages/tw/login/trend/index.jsx +78 -0
- package/src/pages/tw/marketing/history/constants.js +407 -0
- package/src/pages/tw/marketing/history/exportConfig.js +159 -0
- package/src/pages/tw/marketing/history/index.jsx +384 -0
- package/src/pages/tw/marketing/trend/index.jsx +11 -0
- package/src/pages/tw/register/history/constants.js +503 -0
- package/src/pages/tw/register/history/exportConfig.js +158 -0
- package/src/pages/tw/register/history/index.jsx +414 -0
- package/src/pages/tw/register/trend/index.jsx +78 -0
- package/src/pages/tw/risk/account/index.jsx +17 -0
- package/src/pages/tw/riskQueryCenter/components/AccountPage.js +711 -0
- package/src/pages/tw/riskQueryCenter/components/ColorLegend/index.js +25 -0
- package/src/pages/tw/riskQueryCenter/components/ColorLegend/index.less +20 -0
- package/src/pages/tw/riskQueryCenter/components/DeviceId.js +300 -0
- package/src/pages/tw/riskQueryCenter/components/PhonePage.js +330 -0
- package/src/pages/tw/riskQueryCenter/components/RiskFilter.js +411 -0
- package/src/pages/tw/riskQueryCenter/components/detailDrawer.js +399 -0
- package/src/pages/tw/riskQueryCenter/components/detailDrawer.less +101 -0
- package/src/pages/tw/riskQueryCenter/components/index.less +316 -0
- package/src/pages/tw/riskQueryCenter/components/riskFilter.less +27 -0
- package/src/pages/tw/riskQueryCenter/configure.js +958 -0
- package/src/pages/tw/riskQueryCenter/index.jsx +40 -0
- package/src/pages/tw/riskQueryCenter/index.less +0 -0
- package/src/pages/tw/strategy/components/StrategyNoPermission/index.jsx +20 -0
- package/src/pages/tw/strategy/components/StrategyNoPermission/index.less +32 -0
- package/src/pages/tw/strategy/experiment/components/ExperimentRuleTable/index.jsx +1219 -0
- package/src/pages/tw/strategy/experiment/components/ExperimentRuleTable/index.less +40 -0
- package/src/pages/tw/strategy/experiment/components/RuleDiffModal/index.jsx +149 -0
- package/src/pages/tw/strategy/experiment/components/RuleEventModal/index.jsx +203 -0
- package/src/pages/tw/strategy/experiment/components/RuleGroupCopyModal/index.jsx +132 -0
- package/src/pages/tw/strategy/experiment/components/RuleOnlineModal/index.jsx +226 -0
- package/src/pages/tw/strategy/experiment/index.jsx +545 -0
- package/src/pages/tw/strategy/experiment/index.less +15 -0
- package/src/pages/tw/strategy/experimentLog/components/CreateEvaluationTask/index.jsx +69 -0
- package/src/pages/tw/strategy/experimentLog/components/CreateEvaluationTask/index.less +3 -0
- package/src/pages/tw/strategy/experimentLog/components/LabStatistic/index.jsx +16 -0
- package/src/pages/tw/strategy/experimentLog/components/LabStatistic/index.less +38 -0
- package/src/pages/tw/strategy/experimentLog/index.jsx +944 -0
- package/src/pages/tw/strategy/experimentLog/index.less +18 -0
- package/src/pages/tw/strategy/hooks/useStrategyOpenStatus.js +64 -0
- package/src/pages/tw/strategy/labRecord/index.jsx +136 -0
- package/src/pages/tw/strategy/labRecord/index.less +8 -0
- package/src/pages/tw/strategy/policy/index.jsx +14 -0
- package/src/pages/tw/strategy/ruleLog/index.jsx +257 -0
- package/src/pages/tw/strategy/ruleLog/index.less +16 -0
- package/src/pages/twCaptcha/constants.js +158 -0
- package/src/pages/twCaptcha/risk/history/index.jsx +57 -0
- package/src/pages/twCaptcha/risk/trend/index.jsx +8 -0
- package/src/pages/twCaptcha/secondCheck/history/index.jsx +189 -0
- package/src/pages/twCaptcha/secondCheck/trend/index.jsx +8 -0
- package/src/pages/twCertifiy/constants.js +118 -0
- package/src/pages/twCertifiy/machine/history/index.jsx +52 -0
- package/src/pages/twCertifiy/machine/trend/index.jsx +19 -0
- package/src/pages/twCertifiy/oneKeyLogin/history/index.jsx +53 -0
- package/src/pages/twCertifiy/oneKeyLogin/trend/index.jsx +34 -0
- package/src/pages/twChannel/activeHistory/index.jsx +182 -0
- package/src/pages/twChannel/constants.js +499 -0
- package/src/pages/twChannel/retain/index.jsx +117 -0
- package/src/pages/twChannel/risk/activate/index.jsx +46 -0
- package/src/pages/twChannel/risk/channel/index.jsx +77 -0
- package/src/pages/twChannel/risk/trend/index.jsx +8 -0
- package/src/pages/tw_history_trend_ts_backup/hooks/useChannelEventList.ts +76 -0
- package/src/pages/tw_history_trend_ts_backup/hooks/useDefaultRangeTimeData.ts +65 -0
- package/src/pages/tw_history_trend_ts_backup/hooks/useDefaultServiceDataAndServiceIdMap.ts +66 -0
- package/src/pages/tw_history_trend_ts_backup/hooks/useEventList.ts +65 -0
- package/src/pages/tw_history_trend_ts_backup/hooks/useGlobalFilterListener.ts +169 -0
- package/src/pages/tw_history_trend_ts_backup/hooks/useHistoryList.ts +116 -0
- package/src/pages/tw_history_trend_ts_backup/hooks/useQueryParams.ts +178 -0
- package/src/pages/tw_history_trend_ts_backup/hooks/useRiskLevelList.ts +103 -0
- package/src/pages/tw_history_trend_ts_backup/hooks/useRiskReasonList.ts +57 -0
- package/src/pages/tw_history_trend_ts_backup/hooks/useTableExtraDom.tsx +194 -0
- package/src/pages/tw_history_trend_ts_backup/index.tsx +659 -0
- package/src/pages/tw_history_trend_ts_backup/tableMethods/tableColumnRenders.tsx +119 -0
- package/src/pages/tw_history_trend_ts_backup/tableMethods/tableExportData.ts +65 -0
- package/src/pages/tw_history_trend_ts_backup/tableMethods/tableFormatColumn.ts +76 -0
- package/src/pages/tw_history_trend_ts_backup/tableMethods/tableSaveColumns.ts +31 -0
- package/src/pages/tw_history_trend_ts_backup/utils/getFormData.ts +64 -0
- package/src/pages/tw_history_trend_ts_backup/utils/getSearchParams.ts +55 -0
- package/src/pages/tw_history_trend_ts_backup/utils/hasFilterValue.ts +21 -0
- package/src/pages/tw_history_trend_ts_backup/utils/setDefaultSearchParams.ts +96 -0
- package/src/pages/tx/components/TxExport/index.jsx +70 -0
- package/src/pages/tx/components/TxExport/index.less +0 -0
- package/src/pages/tx/device/history/index.jsx +341 -0
- package/src/pages/tx/device/history/index.less +11 -0
- package/src/pages/tx/device/history/searchFormConfig.js +43 -0
- package/src/pages/tx/device/history/tableConfig.js +107 -0
- package/src/pages/tx/device/trend/index.jsx +204 -0
- package/src/pages/tx/helper/formatHistoryParams.js +34 -0
- package/src/pages/tx/helper/formatTrendParams.js +101 -0
- package/src/pages/tx/hooks/useTxHistory.ts +72 -0
- package/src/pages/tx/hooks/useTxRiskLabel.ts +53 -0
- package/src/pages/tx/hooks/useTxTrend.ts +109 -0
- package/src/pages/tx/ip/history/index.jsx +250 -0
- package/src/pages/tx/ip/history/index.less +11 -0
- package/src/pages/tx/ip/history/searchFormConfig.js +43 -0
- package/src/pages/tx/ip/history/tableConfig.js +85 -0
- package/src/pages/tx/ip/trend/index.jsx +204 -0
- package/src/pages/tx/phoneNum/history/index.jsx +307 -0
- package/src/pages/tx/phoneNum/history/index.less +11 -0
- package/src/pages/tx/phoneNum/history/searchFormConfig.js +43 -0
- package/src/pages/tx/phoneNum/history/tableConfig.js +111 -0
- package/src/pages/tx/phoneNum/trend/index.jsx +204 -0
- package/src/pages/tx/tokenId/history/index.jsx +248 -0
- package/src/pages/tx/tokenId/history/index.less +11 -0
- package/src/pages/tx/tokenId/history/searchFormConfig.js +43 -0
- package/src/pages/tx/tokenId/history/tableConfig.js +85 -0
- package/src/pages/tx/tokenId/trend/index.jsx +203 -0
- package/src/privateCustomConfig/WeiLai/Header/index.js +23 -0
- package/src/privateCustomConfig/WeiLai/Header/index.less +28 -0
- package/src/privateCustomConfig/WeiLai/LoginLeft/index.jsx +35 -0
- package/src/privateCustomConfig/WeiLai/LoginLeft/index.less +53 -0
- package/src/privateCustomConfig/WeiLai/img/favicon.png +0 -0
- package/src/privateCustomConfig/WeiLai/img/left-banner.png +0 -0
- package/src/privateCustomConfig/WeiLai/img/login.png +0 -0
- package/src/privateCustomConfig/WeiLai/index.jsx +7 -0
- package/src/privateCustomConfig/WeiLai/index.less +53 -0
- package/src/privateCustomConfig/ZhongYiHuLian/Header/index.js +23 -0
- package/src/privateCustomConfig/ZhongYiHuLian/Header/index.less +28 -0
- package/src/privateCustomConfig/ZhongYiHuLian/LoginLeft/index.jsx +33 -0
- package/src/privateCustomConfig/ZhongYiHuLian/LoginLeft/index.less +55 -0
- package/src/privateCustomConfig/ZhongYiHuLian/img/favicon.png +0 -0
- package/src/privateCustomConfig/ZhongYiHuLian/index.jsx +7 -0
- package/src/privateCustomConfig/ZhongYiHuLian/index.less +53 -0
- package/src/services/activity.js +44 -0
- package/src/services/base.js +66 -0
- package/src/services/bill.js +50 -0
- package/src/services/dataBack.js +45 -0
- package/src/services/dataUpload.js +26 -0
- package/src/services/helper.js +22 -0
- package/src/services/history.js +99 -0
- package/src/services/information.js +8 -0
- package/src/services/login.js +178 -0
- package/src/services/manage.js +203 -0
- package/src/services/mingdan.js +265 -0
- package/src/services/opinion.js +13 -0
- package/src/services/qps.ts +20 -0
- package/src/services/rank.js +26 -0
- package/src/services/riskAccount.js +25 -0
- package/src/services/strategy.js +269 -0
- package/src/services/strategyLab.js +31 -0
- package/src/services/streamInfo.ts +11 -0
- package/src/services/system.js +17 -0
- package/src/services/trend.js +154 -0
- package/src/services/twChannel.js +211 -0
- package/src/services/tx.js +24 -0
- package/src/services/user.js +127 -0
- package/src/type/index.ts +3 -0
- package/src/type.ts +32 -0
- package/src/utils/AuthorityManage.js +197 -0
- package/src/utils/Authorized.js +18 -0
- package/src/utils/adal.js +1936 -0
- package/src/utils/authority.js +36 -0
- package/src/utils/formatPrefixLink.ts +17 -0
- package/src/utils/getRejectRatio.js +18 -0
- package/src/utils/getTimeName.js +31 -0
- package/src/utils/getUniqueColor.ts +136 -0
- package/src/utils/helpers.js +168 -0
- package/src/utils/md5.js +206 -0
- package/src/utils/newRequest.js +139 -0
- package/src/utils/removeExportBtnOfForm.js +12 -0
- package/src/utils/request.js +139 -0
- package/src/utils/tableHelper.js +23 -0
- package/src/utils/translateSMImageTable.js +42 -0
- package/src/utils/utils.js +1521 -0
- package/src/wrappers/auth/ApplyNaModal/index.js +61 -0
- package/src/wrappers/auth/constants.js +114 -0
- package/src/wrappers/auth/img/account.png +0 -0
- package/src/wrappers/auth/img/article.png +0 -0
- package/src/wrappers/auth/img/audio.png +0 -0
- package/src/wrappers/auth/img/audioStream.png +0 -0
- package/src/wrappers/auth/img/blackWhite.png +0 -0
- package/src/wrappers/auth/img/captchaSverify.png +0 -0
- package/src/wrappers/auth/img/captchaVerify.png +0 -0
- package/src/wrappers/auth/img/channelAnticheat.png +0 -0
- package/src/wrappers/auth/img/channelHistory.png +0 -0
- package/src/wrappers/auth/img/channelRetain.png +0 -0
- package/src/wrappers/auth/img/device.png +0 -0
- package/src/wrappers/auth/img/event.png +0 -0
- package/src/wrappers/auth/img/login.png +0 -0
- package/src/wrappers/auth/img/noApplyAuth.png +0 -0
- package/src/wrappers/auth/img/pic.png +0 -0
- package/src/wrappers/auth/img/policy.png +0 -0
- package/src/wrappers/auth/img/register.png +0 -0
- package/src/wrappers/auth/img/success.png +0 -0
- package/src/wrappers/auth/img/team.png +0 -0
- package/src/wrappers/auth/img/text.png +0 -0
- package/src/wrappers/auth/img/video.png +0 -0
- package/src/wrappers/auth/img/videoStream.png +0 -0
- package/src/wrappers/auth/index.jsx +218 -0
- package/src/wrappers/auth/index.less +42 -0
|
@@ -0,0 +1,2158 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 天网历史记录(登录、注册、事件、短信通道、羊毛党)
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import React, { Component } from 'react';
|
|
6
|
+
import { connect } from 'umi';
|
|
7
|
+
import moment from 'moment';
|
|
8
|
+
import _ from 'lodash';
|
|
9
|
+
import {SMTable, SMModal} from 'sm-antd';
|
|
10
|
+
import {
|
|
11
|
+
Tooltip,
|
|
12
|
+
message,
|
|
13
|
+
Button,
|
|
14
|
+
Spin,
|
|
15
|
+
Select,
|
|
16
|
+
Popconfirm,
|
|
17
|
+
} from 'antd';
|
|
18
|
+
import { CopyToClipboard } from 'react-copy-to-clipboard';
|
|
19
|
+
|
|
20
|
+
import {
|
|
21
|
+
formatSearchParams,
|
|
22
|
+
exportFile,
|
|
23
|
+
getUrlParams,
|
|
24
|
+
backTop,
|
|
25
|
+
getDisabledDate,
|
|
26
|
+
Storage,
|
|
27
|
+
isPrivate,
|
|
28
|
+
formatArrayParams,
|
|
29
|
+
formatAppList,
|
|
30
|
+
arrayMove,
|
|
31
|
+
formatDataToString,
|
|
32
|
+
} from '@/utils/utils';
|
|
33
|
+
import { PAGE_SIZE } from '@/contants/pageSize';
|
|
34
|
+
import {
|
|
35
|
+
FieldMessageModal,
|
|
36
|
+
SMSearchForm,
|
|
37
|
+
TotalCount,
|
|
38
|
+
GlobalFilterListener,
|
|
39
|
+
SMText,
|
|
40
|
+
SMRiskLevel,
|
|
41
|
+
SMIcon,
|
|
42
|
+
SMBackTop,
|
|
43
|
+
SMImage,
|
|
44
|
+
} from '@/components';
|
|
45
|
+
import {
|
|
46
|
+
MODEL_TYPE,
|
|
47
|
+
HISTORY_COLUMN,
|
|
48
|
+
FIELD_SOURCE_TYPE,
|
|
49
|
+
SM_FIELD_SORT,
|
|
50
|
+
SERVICEID_LIST,
|
|
51
|
+
FILED_SET_DETAIL,
|
|
52
|
+
DEFAULT_SCREEN,
|
|
53
|
+
SM_ACCOUNT,
|
|
54
|
+
KEYBOARD_CODER,
|
|
55
|
+
AUTH_FUNCTION,
|
|
56
|
+
tableText,
|
|
57
|
+
STORAGE_LIST_NAME,
|
|
58
|
+
} from '@/contants';
|
|
59
|
+
import {getIntlTableColums} from '@/utils/helpers';
|
|
60
|
+
import withIntlComponents from '@/hoc/withIntlComponents';
|
|
61
|
+
|
|
62
|
+
import { getAuthFunction } from '@/utils/AuthorityManage';
|
|
63
|
+
|
|
64
|
+
import {AddListModal, ExportTask, GroupFilter, NewHistoryDetailDrawer} from '../components';
|
|
65
|
+
import {
|
|
66
|
+
HIDDEN_SERVICES,
|
|
67
|
+
TOKENID_SERVICES,
|
|
68
|
+
TOKENID_DATA,
|
|
69
|
+
DEFAULT_DATA,
|
|
70
|
+
} from './constants';
|
|
71
|
+
import {
|
|
72
|
+
RENDER_TYPE,
|
|
73
|
+
FIELD_NAME_LIST,
|
|
74
|
+
FILTER_MAX_NUMBER,
|
|
75
|
+
SEARCH_METHOD,
|
|
76
|
+
METHOD_TYPE,
|
|
77
|
+
FILTRATE_LIST,
|
|
78
|
+
HINT_TEXT,
|
|
79
|
+
} from '../constants';
|
|
80
|
+
import formatSpecialFeature from '../components/NewHistoryDetailDrawer/formatSpecialFeature';
|
|
81
|
+
|
|
82
|
+
import styles from './index.less';
|
|
83
|
+
import { SHOW_DISPOSAL_ACCOUNT } from '@/contants/account';
|
|
84
|
+
import DisposalModal from '../DisposalModal';
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
const {ModalType} = SMModal;
|
|
88
|
+
const Option = Select.Option;
|
|
89
|
+
const OPERATION = '操作';
|
|
90
|
+
const VERIFY = 'VERIFY'; // 二次验证
|
|
91
|
+
const ALL = 'all';
|
|
92
|
+
// 快速导出 正常1W;全局:5000;
|
|
93
|
+
const DOWNLOAD_NUMBER = {
|
|
94
|
+
NORMAL: 10000,
|
|
95
|
+
GLOBAL: 5000,
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
class History extends Component {
|
|
99
|
+
constructor(props) {
|
|
100
|
+
super(props);
|
|
101
|
+
this.state = {
|
|
102
|
+
...FILTRATE_LIST,
|
|
103
|
+
defaultRiskLevelData: {
|
|
104
|
+
type: 'cascader',
|
|
105
|
+
name: 'riskLevel',
|
|
106
|
+
data: {
|
|
107
|
+
selectData: {
|
|
108
|
+
optionData: [],
|
|
109
|
+
title: '识别结果',
|
|
110
|
+
labelId: 'riskLevel',
|
|
111
|
+
defaultValue: ['all'],
|
|
112
|
+
allowClear: false,
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
defaultEventData: {
|
|
117
|
+
type: 'select',
|
|
118
|
+
name: 'eventId',
|
|
119
|
+
data: {
|
|
120
|
+
selectData: {
|
|
121
|
+
optionData: [],
|
|
122
|
+
title: '事件',
|
|
123
|
+
labelId: 'eventId',
|
|
124
|
+
isAddAll: true,
|
|
125
|
+
defaultValue: 'all',
|
|
126
|
+
},
|
|
127
|
+
},
|
|
128
|
+
},
|
|
129
|
+
defaultChannelEventData: {
|
|
130
|
+
type: 'newSelect',
|
|
131
|
+
name: 'channel',
|
|
132
|
+
data: {
|
|
133
|
+
selectData: {
|
|
134
|
+
optionData: [],
|
|
135
|
+
title: '渠道',
|
|
136
|
+
labelId: 'channel',
|
|
137
|
+
mode: 'multiple',
|
|
138
|
+
isAddAll: true,
|
|
139
|
+
isAllowClear: true,
|
|
140
|
+
isMaxTagCount: 3,
|
|
141
|
+
style: {'min-width': 150},
|
|
142
|
+
},
|
|
143
|
+
},
|
|
144
|
+
},
|
|
145
|
+
defaultRiskReasonData: {
|
|
146
|
+
type: 'newSelect',
|
|
147
|
+
name: 'reason',
|
|
148
|
+
data: {
|
|
149
|
+
selectData: {
|
|
150
|
+
optionData: [],
|
|
151
|
+
title: '风险原因',
|
|
152
|
+
labelId: 'reason',
|
|
153
|
+
mode: 'multiple',
|
|
154
|
+
isAddAll: true,
|
|
155
|
+
isAllowClear: true,
|
|
156
|
+
isMaxTagCount: 3,
|
|
157
|
+
style: {'min-width': 150},
|
|
158
|
+
},
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
queryParams: {
|
|
162
|
+
startTime: Number(moment().startOf('day').format('x')),
|
|
163
|
+
endTime: Number(moment().endOf('day').format('x')),
|
|
164
|
+
},
|
|
165
|
+
orgAppChange: false,
|
|
166
|
+
resetValue: 0,
|
|
167
|
+
globalExportParams: {},
|
|
168
|
+
isDisabled: true,
|
|
169
|
+
isGlobalSearch: location.pathname.includes('new/manage'),
|
|
170
|
+
tableDataSource: [],
|
|
171
|
+
tableColumns: [],
|
|
172
|
+
detailData: {}, // 当前详情数据
|
|
173
|
+
detailVisible: false,
|
|
174
|
+
detailIndex: 0, // 当前详情数据的index
|
|
175
|
+
listLoading: true,
|
|
176
|
+
listData: [], // 历史记录列表数据
|
|
177
|
+
listTotalCount: 0,
|
|
178
|
+
listRealTotalCount: 0,
|
|
179
|
+
isFirstLoading: true,
|
|
180
|
+
currentPage: 1,
|
|
181
|
+
pageSize: 20,
|
|
182
|
+
pageSizeOptions: PAGE_SIZE,
|
|
183
|
+
currentGlobalFilter: {
|
|
184
|
+
organization: '',
|
|
185
|
+
appId: '',
|
|
186
|
+
clusterId: '',
|
|
187
|
+
},
|
|
188
|
+
channelMap: {},
|
|
189
|
+
eventIdMap: {},
|
|
190
|
+
serviceIdMap: {},
|
|
191
|
+
riskLevelMap: {}, // 识别结果
|
|
192
|
+
verifyTypeMap: {}, // 二次验证下的验证方式
|
|
193
|
+
exportTaskVisible: false, // 控制导出历史任务弹窗的显隐
|
|
194
|
+
tokenIdBlackList: [], // 账号黑名单列表
|
|
195
|
+
ipBlackList: [], // ip黑名单列表
|
|
196
|
+
phoneBlackList: [], // 手机号黑名单列表
|
|
197
|
+
phoneMd5BlackList: [], // 加密手机号黑名单列表
|
|
198
|
+
deviceIdBlackList: [], // 设备标识黑名单列表
|
|
199
|
+
ignoreList: [], // 忽略词名单
|
|
200
|
+
sensitiveList: [], // 敏感词名单
|
|
201
|
+
currentListData: [], // 当前选择名单列表
|
|
202
|
+
listModalVisible: false, // 展示选择名单弹窗
|
|
203
|
+
currentListValue: '', // 当前要加名单的值
|
|
204
|
+
resetCount: 0,
|
|
205
|
+
serviceIdChangeCount: 0,
|
|
206
|
+
modelText: '',
|
|
207
|
+
headerData: {}, // 字段配置表头
|
|
208
|
+
disabledDate: {}, // 限制选择时间
|
|
209
|
+
exportLoading: false,
|
|
210
|
+
filterData: [], // 高级筛选项
|
|
211
|
+
searchList: [], // 筛选
|
|
212
|
+
};
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
UNSAFE_componentWillMount() {
|
|
216
|
+
const { stateConfig } = this.props;
|
|
217
|
+
const {defaultServiceData} = this.state;
|
|
218
|
+
const newDefaultServiceData = _.cloneDeep(defaultServiceData);
|
|
219
|
+
newDefaultServiceData.data.selectData.doSearch = this.reDoSearch;
|
|
220
|
+
this.setState({
|
|
221
|
+
defaultServiceData: newDefaultServiceData,
|
|
222
|
+
});
|
|
223
|
+
if (stateConfig) {
|
|
224
|
+
this.setState({...stateConfig});
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
componentDidMount() {
|
|
229
|
+
window.addEventListener('keydown', this.changeDetailData);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
componentWillUnmount() {
|
|
233
|
+
window.removeEventListener('keydown', this.changeDetailData);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
shouldComponentUpdate = (nextProps, nextState) => nextState.isrRefresh === this.state.isrRefresh;
|
|
237
|
+
|
|
238
|
+
// 设置url携带的默认参数(筛选/排行榜跳转)
|
|
239
|
+
setDefaultSearchParams = () => {
|
|
240
|
+
const url = location.href;
|
|
241
|
+
const urlParams = getUrlParams(url);
|
|
242
|
+
const {
|
|
243
|
+
defaultLabelSearchData,
|
|
244
|
+
defaultRiskLevelData,
|
|
245
|
+
defaultChannelEventData,
|
|
246
|
+
defaultRangeTimeData,
|
|
247
|
+
defaultRiskReasonData,
|
|
248
|
+
queryParams,
|
|
249
|
+
searchList,
|
|
250
|
+
filterData,
|
|
251
|
+
isGlobalSearch,
|
|
252
|
+
defaultEventData,
|
|
253
|
+
} = this.state;
|
|
254
|
+
const newLabelSearchData = _.cloneDeep(defaultLabelSearchData);
|
|
255
|
+
const newRiskLevelData = _.cloneDeep(defaultRiskLevelData);
|
|
256
|
+
const newChannelEventData = _.cloneDeep(defaultChannelEventData);
|
|
257
|
+
const newRiskReasonData = _.cloneDeep(defaultRiskReasonData);
|
|
258
|
+
const newRangeTimeData = _.cloneDeep(defaultRangeTimeData);
|
|
259
|
+
const newQueryParams = _.cloneDeep(queryParams);
|
|
260
|
+
const newFilterData = _.cloneDeep(filterData);
|
|
261
|
+
const newSearchList = _.cloneDeep(searchList);
|
|
262
|
+
const newEventData = _.cloneDeep(defaultEventData);
|
|
263
|
+
if (urlParams.startTime && urlParams.endTime) {
|
|
264
|
+
let dateRange = [];
|
|
265
|
+
dateRange = [
|
|
266
|
+
moment.unix(urlParams.startTime / 1000).toDate(),
|
|
267
|
+
moment.unix(urlParams.endTime / 1000).toDate(),
|
|
268
|
+
];
|
|
269
|
+
newRangeTimeData.data.defaultDateRange = dateRange;
|
|
270
|
+
newQueryParams.startTime = Number(urlParams.startTime);
|
|
271
|
+
newQueryParams.endTime = Number(urlParams.endTime);
|
|
272
|
+
}
|
|
273
|
+
if (urlParams.eventId) {
|
|
274
|
+
newEventData.data.selectData.defaultValue = urlParams.eventId;
|
|
275
|
+
newQueryParams.eventId = urlParams.eventId;
|
|
276
|
+
}
|
|
277
|
+
if (urlParams.searchKey) {
|
|
278
|
+
try {
|
|
279
|
+
newSearchList.map(item => {
|
|
280
|
+
let methodIndex = 0;
|
|
281
|
+
if (item.fieldTag === urlParams.searchKey) {
|
|
282
|
+
const obj = {
|
|
283
|
+
fieldTag: urlParams.searchKey,
|
|
284
|
+
method: item.method[methodIndex]?.key,
|
|
285
|
+
type: item.method[methodIndex]?.type,
|
|
286
|
+
enum: item.method[methodIndex]?.enum,
|
|
287
|
+
value: item.method[methodIndex] === METHOD_TYPE
|
|
288
|
+
? [decodeURIComponent(urlParams.searchContent)]
|
|
289
|
+
: decodeURIComponent(urlParams.searchContent),
|
|
290
|
+
};
|
|
291
|
+
newFilterData.push(obj);
|
|
292
|
+
}
|
|
293
|
+
});
|
|
294
|
+
} catch (error) {
|
|
295
|
+
console.error(error);
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
else {
|
|
299
|
+
newSearchList.map(item => {
|
|
300
|
+
if (item.fieldTag === HISTORY_COLUMN.TOKENID) {
|
|
301
|
+
newFilterData.push({
|
|
302
|
+
fieldTag: item.fieldTag,
|
|
303
|
+
method: item.method[0]?.key,
|
|
304
|
+
type: item.method[0]?.type,
|
|
305
|
+
value: undefined,
|
|
306
|
+
enum: item.enum || [],
|
|
307
|
+
});
|
|
308
|
+
}
|
|
309
|
+
});
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
this.setState({
|
|
313
|
+
defaultRangeTimeData: newRangeTimeData,
|
|
314
|
+
defaultLabelSearchData: newLabelSearchData,
|
|
315
|
+
defaultRiskLevelData: newRiskLevelData,
|
|
316
|
+
defaultRiskReasonData: newRiskReasonData,
|
|
317
|
+
defaultChannelEventData: newChannelEventData,
|
|
318
|
+
defaultEventData: newEventData,
|
|
319
|
+
queryParams: newQueryParams,
|
|
320
|
+
filterData: newFilterData,
|
|
321
|
+
resetCount: _.random(100000),
|
|
322
|
+
}, () => {
|
|
323
|
+
if (!isGlobalSearch) {
|
|
324
|
+
this.doSearch();
|
|
325
|
+
}
|
|
326
|
+
});
|
|
327
|
+
};
|
|
328
|
+
|
|
329
|
+
// 获取名单列表
|
|
330
|
+
getMDList = async () => {
|
|
331
|
+
const { route, dispatch } = this.props;
|
|
332
|
+
const { currentGlobalFilter } = this.state;
|
|
333
|
+
let { organization, appId } = currentGlobalFilter;
|
|
334
|
+
let listContent = [];
|
|
335
|
+
if (appId === 'all') {
|
|
336
|
+
appId = '';
|
|
337
|
+
}
|
|
338
|
+
listContent = await dispatch({
|
|
339
|
+
type: 'history/fetchListService',
|
|
340
|
+
payload: {
|
|
341
|
+
organization,
|
|
342
|
+
appId,
|
|
343
|
+
product: 'P_TIAN_WANG',
|
|
344
|
+
type: 1,
|
|
345
|
+
offset: 0,
|
|
346
|
+
count: 1000,
|
|
347
|
+
},
|
|
348
|
+
});
|
|
349
|
+
let tokenIdBlackList = [];
|
|
350
|
+
let ignoreList = [];
|
|
351
|
+
let sensitiveList = [];
|
|
352
|
+
let ipBlackList = [];
|
|
353
|
+
let deviceIdBlackList = [];
|
|
354
|
+
let phoneMd5BlackList = [];
|
|
355
|
+
let phoneBlackList = [];
|
|
356
|
+
listContent.forEach(item => {
|
|
357
|
+
let config = item.config;
|
|
358
|
+
|
|
359
|
+
if (config.checkItems.includes('tokenId')) {
|
|
360
|
+
if (config.action === 'REJECT') {
|
|
361
|
+
tokenIdBlackList.push({
|
|
362
|
+
name: item.name,
|
|
363
|
+
value: item.listId,
|
|
364
|
+
});
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
if (config.checkItems.includes('ip')) {
|
|
368
|
+
if (config.action === 'REJECT') {
|
|
369
|
+
ipBlackList.push({
|
|
370
|
+
name: item.name,
|
|
371
|
+
value: item.listId,
|
|
372
|
+
});
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
if (config.checkItems.includes('phone')) {
|
|
376
|
+
if (config.action === 'REJECT') {
|
|
377
|
+
phoneBlackList.push({
|
|
378
|
+
name: item.name,
|
|
379
|
+
value: item.listId,
|
|
380
|
+
});
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
if (config.checkItems.includes('smid')) {
|
|
384
|
+
if (config.action === 'REJECT') {
|
|
385
|
+
deviceIdBlackList.push({
|
|
386
|
+
name: item.name,
|
|
387
|
+
value: item.listId,
|
|
388
|
+
});
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
if (config.checkItems.includes('phoneMd5')) {
|
|
392
|
+
if (config.action === 'REJECT') {
|
|
393
|
+
phoneMd5BlackList.push({
|
|
394
|
+
name: item.name,
|
|
395
|
+
value: item.listId,
|
|
396
|
+
});
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
if (
|
|
400
|
+
config.checkItems.includes('text')
|
|
401
|
+
&& config.checkItems.length === 1
|
|
402
|
+
) {
|
|
403
|
+
if (config.action === 'IGNORE') {
|
|
404
|
+
ignoreList.push({
|
|
405
|
+
name: item.name,
|
|
406
|
+
value: item.listId,
|
|
407
|
+
});
|
|
408
|
+
} else if (config.action === 'REJECT') {
|
|
409
|
+
sensitiveList.push({
|
|
410
|
+
name: item.name,
|
|
411
|
+
value: item.listId,
|
|
412
|
+
});
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
});
|
|
416
|
+
this.setState({
|
|
417
|
+
tokenIdBlackList,
|
|
418
|
+
ipBlackList,
|
|
419
|
+
deviceIdBlackList,
|
|
420
|
+
phoneMd5BlackList,
|
|
421
|
+
ignoreList,
|
|
422
|
+
sensitiveList,
|
|
423
|
+
phoneBlackList,
|
|
424
|
+
});
|
|
425
|
+
};
|
|
426
|
+
getCurrentOrgServiceId = async () => {
|
|
427
|
+
const { dispatch } = this.props;
|
|
428
|
+
const { organization } = this.state.currentGlobalFilter;
|
|
429
|
+
let serviceList = await dispatch({
|
|
430
|
+
type: 'history/fetchOrgService',
|
|
431
|
+
payload: {
|
|
432
|
+
organization: organization,
|
|
433
|
+
},
|
|
434
|
+
});
|
|
435
|
+
const newServiceData = _.cloneDeep(this.state.defaultServiceData);
|
|
436
|
+
let newOptionData = [];
|
|
437
|
+
let serviceIdMap = {};
|
|
438
|
+
if (serviceList && serviceList.length) {
|
|
439
|
+
serviceList.map(item =>
|
|
440
|
+
newOptionData.push({
|
|
441
|
+
value: item.serviceId,
|
|
442
|
+
name: item.name,
|
|
443
|
+
})
|
|
444
|
+
);
|
|
445
|
+
}
|
|
446
|
+
serviceIdMap = newOptionData;
|
|
447
|
+
let newArr = [];
|
|
448
|
+
serviceIdMap.map(item => {
|
|
449
|
+
newArr.push({
|
|
450
|
+
[item.value]: item.name,
|
|
451
|
+
});
|
|
452
|
+
});
|
|
453
|
+
newServiceData.data.selectData.optionData = newOptionData;
|
|
454
|
+
this.setState({
|
|
455
|
+
defaultServiceData: newServiceData,
|
|
456
|
+
serviceIdMap: newArr,
|
|
457
|
+
});
|
|
458
|
+
};
|
|
459
|
+
globalFilterChange = obj => {
|
|
460
|
+
const { isGlobalSearch, queryParams, orgAppChange } = this.state;
|
|
461
|
+
const {
|
|
462
|
+
orgChange,
|
|
463
|
+
appIdChange,
|
|
464
|
+
clusterIdChange,
|
|
465
|
+
currentGlobalFilter,
|
|
466
|
+
} = obj;
|
|
467
|
+
this.setState(
|
|
468
|
+
{
|
|
469
|
+
currentGlobalFilter,
|
|
470
|
+
listLoading: true,
|
|
471
|
+
},
|
|
472
|
+
async () => {
|
|
473
|
+
if (orgChange) {
|
|
474
|
+
const { route } = this.props;
|
|
475
|
+
const serviceId = isGlobalSearch
|
|
476
|
+
? 'globalServiceId'
|
|
477
|
+
: route.routeData.serviceId;
|
|
478
|
+
switch (serviceId) {
|
|
479
|
+
case 'globalServiceId':
|
|
480
|
+
this.getRiskLevelList();
|
|
481
|
+
this.getCurrentOrgServiceId();
|
|
482
|
+
this.getOpenOrganization();
|
|
483
|
+
break;
|
|
484
|
+
case 'POST_EVENT':
|
|
485
|
+
// 获取事件列表
|
|
486
|
+
this.getEventList();
|
|
487
|
+
// 获取识别结果列表
|
|
488
|
+
this.getRiskLevelList();
|
|
489
|
+
await this.getOpenOrganization();
|
|
490
|
+
break;
|
|
491
|
+
case 'ANTI_ROBOT_SMS':
|
|
492
|
+
// 获取识别结果列表
|
|
493
|
+
this.getRiskLevelList();
|
|
494
|
+
// 获取风险原因列表
|
|
495
|
+
this.getRiskReasonList();
|
|
496
|
+
await this.getOpenOrganization();
|
|
497
|
+
break;
|
|
498
|
+
case 'ANTI_ROBOT_MARKETING':
|
|
499
|
+
// 获取识别结果列表
|
|
500
|
+
this.getRiskLevelList();
|
|
501
|
+
// 获取渠道列表
|
|
502
|
+
this.getChannelEventList();
|
|
503
|
+
await this.getOpenOrganization();
|
|
504
|
+
break;
|
|
505
|
+
case 'ACCOUNT_REGISTER':
|
|
506
|
+
case 'ACCOUNT_LOGIN':
|
|
507
|
+
this.getRiskLevelList();
|
|
508
|
+
this.getOpenOrganization();
|
|
509
|
+
break;
|
|
510
|
+
default:
|
|
511
|
+
// 获取识别结果列表
|
|
512
|
+
this.getRiskLevelList();
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
this.getMDList();
|
|
516
|
+
if (isGlobalSearch) {
|
|
517
|
+
this.setState({
|
|
518
|
+
currentPage: 1,
|
|
519
|
+
listLoading: true,
|
|
520
|
+
});
|
|
521
|
+
setTimeout(() => {
|
|
522
|
+
this.setState({
|
|
523
|
+
listLoading: false,
|
|
524
|
+
});
|
|
525
|
+
}, 500);
|
|
526
|
+
}
|
|
527
|
+
// 不是第一次搜索
|
|
528
|
+
if (!this.state.isFirstLoading) {
|
|
529
|
+
// 公司改变 重置搜索筛选项
|
|
530
|
+
const { queryParams, resetCount } = this.state;
|
|
531
|
+
const newQueryParams = _.cloneDeep(queryParams);
|
|
532
|
+
newQueryParams.eventId = '';
|
|
533
|
+
newQueryParams.channel = '';
|
|
534
|
+
if (isGlobalSearch) {
|
|
535
|
+
newQueryParams.tokenId = '';
|
|
536
|
+
newQueryParams.ip = '';
|
|
537
|
+
newQueryParams.deviceId = '';
|
|
538
|
+
newQueryParams.requestId = '';
|
|
539
|
+
newQueryParams.serviceId = '';
|
|
540
|
+
this.setState({
|
|
541
|
+
orgAppChange: true,
|
|
542
|
+
isDisabled: true,
|
|
543
|
+
queryParams: newQueryParams,
|
|
544
|
+
currentPage: 1,
|
|
545
|
+
resetCount: resetCount + 1,
|
|
546
|
+
});
|
|
547
|
+
return;
|
|
548
|
+
}
|
|
549
|
+
this.setState(
|
|
550
|
+
{
|
|
551
|
+
queryParams: newQueryParams,
|
|
552
|
+
filterData: [],
|
|
553
|
+
currentPage: 1,
|
|
554
|
+
},
|
|
555
|
+
() => {
|
|
556
|
+
this.getFieldSetHeader(true);
|
|
557
|
+
}
|
|
558
|
+
);
|
|
559
|
+
} else {
|
|
560
|
+
this.setState(
|
|
561
|
+
{
|
|
562
|
+
isFirstLoading: false,
|
|
563
|
+
},
|
|
564
|
+
() => {
|
|
565
|
+
this.getFieldSetHeader();
|
|
566
|
+
}
|
|
567
|
+
);
|
|
568
|
+
}
|
|
569
|
+
} else if (appIdChange) {
|
|
570
|
+
const { route } = this.props;
|
|
571
|
+
const serviceId = route.routeData.serviceId;
|
|
572
|
+
switch (serviceId) {
|
|
573
|
+
case 'ANTI_ROBOT_SMS':
|
|
574
|
+
// 获取风险原因列表
|
|
575
|
+
this.getRiskReasonList();
|
|
576
|
+
break;
|
|
577
|
+
}
|
|
578
|
+
if (isGlobalSearch) {
|
|
579
|
+
this.setState({
|
|
580
|
+
orgAppChange: true,
|
|
581
|
+
filterData: [],
|
|
582
|
+
currentPage: 1,
|
|
583
|
+
});
|
|
584
|
+
setTimeout(() => {
|
|
585
|
+
this.setState({
|
|
586
|
+
listLoading: false,
|
|
587
|
+
});
|
|
588
|
+
}, 500);
|
|
589
|
+
return;
|
|
590
|
+
}
|
|
591
|
+
this.setState(
|
|
592
|
+
{
|
|
593
|
+
currentPage: 1,
|
|
594
|
+
filterData: [],
|
|
595
|
+
},
|
|
596
|
+
() => {
|
|
597
|
+
this.getFieldSetHeader(true);
|
|
598
|
+
}
|
|
599
|
+
);
|
|
600
|
+
} else {
|
|
601
|
+
this.setState(
|
|
602
|
+
{
|
|
603
|
+
currentPage: 1,
|
|
604
|
+
},
|
|
605
|
+
() => {
|
|
606
|
+
this.getFieldSetHeader();
|
|
607
|
+
}
|
|
608
|
+
);
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
);
|
|
612
|
+
};
|
|
613
|
+
resetParams = () => {
|
|
614
|
+
const {
|
|
615
|
+
queryParams,
|
|
616
|
+
resetCount,
|
|
617
|
+
defaultChannelEventData,
|
|
618
|
+
defaultEventData,
|
|
619
|
+
defaultLabelSearchData,
|
|
620
|
+
} = this.state;
|
|
621
|
+
const newQueryParams = _.cloneDeep(queryParams);
|
|
622
|
+
const newChannelEventData = _.cloneDeep(defaultChannelEventData);
|
|
623
|
+
const newEventData = _.cloneDeep(defaultEventData);
|
|
624
|
+
const newDefaultLabelSearchData = _.cloneDeep(defaultLabelSearchData);
|
|
625
|
+
newDefaultLabelSearchData.data.optionData = DEFAULT_DATA;
|
|
626
|
+
newChannelEventData.data.selectData.optionData = [];
|
|
627
|
+
newEventData.data.selectData.optionData = [];
|
|
628
|
+
newQueryParams.channel = '';
|
|
629
|
+
newQueryParams.eventId = '';
|
|
630
|
+
newQueryParams.serviceId = '';
|
|
631
|
+
newQueryParams.tokenId = '';
|
|
632
|
+
newQueryParams.deviceId = '';
|
|
633
|
+
newQueryParams.requestId = '';
|
|
634
|
+
newQueryParams.ip = '';
|
|
635
|
+
this.setState({
|
|
636
|
+
queryParams: newQueryParams,
|
|
637
|
+
currentPage: 1,
|
|
638
|
+
resetCount: resetCount + 1,
|
|
639
|
+
defaultChannelEventData: newChannelEventData,
|
|
640
|
+
defaultEventData: newEventData,
|
|
641
|
+
defaultLabelSearchData: newDefaultLabelSearchData,
|
|
642
|
+
});
|
|
643
|
+
};
|
|
644
|
+
serviceIdChangeParams = value => {
|
|
645
|
+
const { serviceIdChangeCount, defaultLabelSearchData, resetValue } = this.state;
|
|
646
|
+
const newDefaultLabelSearchData = _.cloneDeep(defaultLabelSearchData);
|
|
647
|
+
newDefaultLabelSearchData.data.optionData = TOKENID_SERVICES.includes(value) ? TOKENID_DATA : DEFAULT_DATA;
|
|
648
|
+
this.setState({
|
|
649
|
+
serviceIdChangeCount: serviceIdChangeCount + 1,
|
|
650
|
+
resetValue: resetValue + 1,
|
|
651
|
+
defaultLabelSearchData: newDefaultLabelSearchData,
|
|
652
|
+
});
|
|
653
|
+
};
|
|
654
|
+
|
|
655
|
+
imgRender = (text, record, index) => {
|
|
656
|
+
if (text) {
|
|
657
|
+
return <SMImage url={text} width={100} height={100} />;
|
|
658
|
+
}
|
|
659
|
+
return '-';
|
|
660
|
+
};
|
|
661
|
+
|
|
662
|
+
// 格式化表头渲染方式
|
|
663
|
+
formatTableColumn = (dataSource = []) => {
|
|
664
|
+
const newData = [
|
|
665
|
+
...dataSource,
|
|
666
|
+
{
|
|
667
|
+
name: HISTORY_COLUMN.OPERATION,
|
|
668
|
+
uuid: moment().format('x'),
|
|
669
|
+
key: OPERATION,
|
|
670
|
+
[RENDER_TYPE.DETAIL]: true,
|
|
671
|
+
},
|
|
672
|
+
];
|
|
673
|
+
const tableColumns = newData.map(item => {
|
|
674
|
+
item.title = item.name || item.title;
|
|
675
|
+
item.key = item.fieldTag || item.key;
|
|
676
|
+
item.dataIndex = item.fieldTag || item.key;
|
|
677
|
+
item.width = item.width || 100;
|
|
678
|
+
item.ellipsis = true;
|
|
679
|
+
switch (item.dataIndex) {
|
|
680
|
+
case HISTORY_COLUMN.TEXT:
|
|
681
|
+
case HISTORY_COLUMN.AUDIO_TEXT:
|
|
682
|
+
item.width = item.width || 200;
|
|
683
|
+
item.render = this.newHighLightRender;
|
|
684
|
+
break;
|
|
685
|
+
case HISTORY_COLUMN.RISK_LEVEL:
|
|
686
|
+
item.render = this.riskLevelRender;
|
|
687
|
+
break;
|
|
688
|
+
case HISTORY_COLUMN.OPERATION:
|
|
689
|
+
item.render = this.detailRender;
|
|
690
|
+
item.fixed = 'right';
|
|
691
|
+
break;
|
|
692
|
+
case HISTORY_COLUMN.FEEDBACK:
|
|
693
|
+
item.render = this.feedbackRender;
|
|
694
|
+
item.width = item.width || 200;
|
|
695
|
+
break;
|
|
696
|
+
case HISTORY_COLUMN.REQUESTID:
|
|
697
|
+
case HISTORY_COLUMN.TIMESTAMP:
|
|
698
|
+
case HISTORY_COLUMN.TOKENID:
|
|
699
|
+
item.render = this.textRender;
|
|
700
|
+
item.width = item.width || 150;
|
|
701
|
+
break;
|
|
702
|
+
case HISTORY_COLUMN.AUDIO_URL:
|
|
703
|
+
item.render = this.audioRender;
|
|
704
|
+
item.width = item.width || 150;
|
|
705
|
+
break;
|
|
706
|
+
case HISTORY_COLUMN.PHONE_RISK:
|
|
707
|
+
case HISTORY_COLUMN.DEVICE_RISK:
|
|
708
|
+
item.render = (text, record, index) => this.textRender(formatSpecialFeature(text), record, index);
|
|
709
|
+
break;
|
|
710
|
+
case HISTORY_COLUMN.IMG_URL:
|
|
711
|
+
item.render = this.imgRender;
|
|
712
|
+
break;
|
|
713
|
+
default:
|
|
714
|
+
item.render = this.textRender;
|
|
715
|
+
break;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
return item;
|
|
719
|
+
});
|
|
720
|
+
|
|
721
|
+
return tableColumns;
|
|
722
|
+
};
|
|
723
|
+
|
|
724
|
+
// 获取表头
|
|
725
|
+
getFieldSetHeader = async isRest => {
|
|
726
|
+
const {dispatch, route, currentUser, specialServiceId} = this.props;
|
|
727
|
+
const serviceId = specialServiceId || route.routeData.serviceId;
|
|
728
|
+
const contents = await dispatch({
|
|
729
|
+
type: 'manage/queryFieldSetPage',
|
|
730
|
+
payload: {
|
|
731
|
+
organization: this.state.currentGlobalFilter.organization,
|
|
732
|
+
serviceId,
|
|
733
|
+
pageCategory: FIELD_SOURCE_TYPE.HISTORY_DETAIL,
|
|
734
|
+
},
|
|
735
|
+
});
|
|
736
|
+
const account = currentUser.account;
|
|
737
|
+
// 音频、音频流serviceId 和其他地方不一致
|
|
738
|
+
const fieldSort = Storage.get(`${SM_FIELD_SORT}_${serviceId}_${account}`);
|
|
739
|
+
const list = [];
|
|
740
|
+
const detailData = {}; // 详情中的数据
|
|
741
|
+
const tableColumnList = []; // 表头数据
|
|
742
|
+
const searchList = []; // 筛选条件
|
|
743
|
+
const newFilterData = []; // 默认高级模式
|
|
744
|
+
let isFirst = false;
|
|
745
|
+
const fieldList = await this.getFieldList();
|
|
746
|
+
if (_.isArray(fieldSort)) {
|
|
747
|
+
fieldSort.forEach(item => {
|
|
748
|
+
const key = item.key || item.name;
|
|
749
|
+
fieldList.forEach(cItem => {
|
|
750
|
+
if (key === cItem.fieldTag || key === cItem.uuid) {
|
|
751
|
+
item.uuid = cItem.uuid;
|
|
752
|
+
item.fieldTag = cItem.fieldTag;
|
|
753
|
+
item.name = cItem.name;
|
|
754
|
+
list.push(item);
|
|
755
|
+
}
|
|
756
|
+
});
|
|
757
|
+
});
|
|
758
|
+
Storage.set(`${SM_FIELD_SORT}_${serviceId}_${account}`, list);// 更新缓存,缓存中数据和接口请求数据保持一致
|
|
759
|
+
}
|
|
760
|
+
contents.map(item => {
|
|
761
|
+
switch (item.name) {
|
|
762
|
+
case FILED_SET_DETAIL.LIST:
|
|
763
|
+
item.value.forEach(item => {
|
|
764
|
+
if (item.fieldTag === FIELD_NAME_LIST.REQUESTID) {
|
|
765
|
+
tableColumnList.unshift(item);
|
|
766
|
+
}
|
|
767
|
+
else {
|
|
768
|
+
tableColumnList.push(item);
|
|
769
|
+
}
|
|
770
|
+
});
|
|
771
|
+
break;
|
|
772
|
+
case FILED_SET_DETAIL.INPUT:
|
|
773
|
+
case FILED_SET_DETAIL.OUTPUT:
|
|
774
|
+
detailData[item.name] = item.value;
|
|
775
|
+
break;
|
|
776
|
+
case FILED_SET_DETAIL.SEARCH:
|
|
777
|
+
const value = [];
|
|
778
|
+
item.value.map(item => {
|
|
779
|
+
if (HISTORY_COLUMN.TOKENID === item.fieldTag) {
|
|
780
|
+
value.unshift(item);
|
|
781
|
+
}
|
|
782
|
+
else {
|
|
783
|
+
value.push(item);
|
|
784
|
+
}
|
|
785
|
+
});
|
|
786
|
+
arrayMove(value, 'fieldTag', HISTORY_COLUMN.REQUESTID, 1).map(item => {
|
|
787
|
+
// 过滤默认字段
|
|
788
|
+
if (!DEFAULT_SCREEN.includes(item.fieldTag)) {
|
|
789
|
+
item.value = item.fieldTag;
|
|
790
|
+
searchList.push(item);
|
|
791
|
+
// 默认新增一个筛选,并保留已有的条件
|
|
792
|
+
if (!isFirst && isRest) {
|
|
793
|
+
newFilterData.push({
|
|
794
|
+
fieldTag: item.fieldTag,
|
|
795
|
+
method: item.method[0]?.key,
|
|
796
|
+
type: item.method[0]?.type,
|
|
797
|
+
value: undefined,
|
|
798
|
+
});
|
|
799
|
+
isFirst = true;
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
});
|
|
803
|
+
break;
|
|
804
|
+
case FILED_SET_DETAIL.FEATURE:
|
|
805
|
+
detailData[item.name] = item.value;
|
|
806
|
+
break;
|
|
807
|
+
default:
|
|
808
|
+
break;
|
|
809
|
+
}
|
|
810
|
+
});
|
|
811
|
+
const tableColumns = this.formatTableColumn((fieldSort && fieldSort.length) ? list : tableColumnList);
|
|
812
|
+
this.setState({
|
|
813
|
+
headerData: detailData,
|
|
814
|
+
tableColumns,
|
|
815
|
+
searchList,
|
|
816
|
+
filterData: newFilterData,
|
|
817
|
+
listLoading: false,
|
|
818
|
+
}, () => {
|
|
819
|
+
// 切换公司、应用顶部搜索不需要带上url上面的条件查询
|
|
820
|
+
if (isRest) {
|
|
821
|
+
this.doSearch();
|
|
822
|
+
}
|
|
823
|
+
else {
|
|
824
|
+
this.setDefaultSearchParams();
|
|
825
|
+
}
|
|
826
|
+
});
|
|
827
|
+
};
|
|
828
|
+
|
|
829
|
+
// 获取所有字段
|
|
830
|
+
getFieldList = async () => {
|
|
831
|
+
const {currentGlobalFilter} = this.state;
|
|
832
|
+
const {dispatch} = this.props;
|
|
833
|
+
let fieldList = [];
|
|
834
|
+
const result = await dispatch({
|
|
835
|
+
type: MODEL_TYPE.FIELD_URL_LIST.FIELD_SET_ADD_LIST,
|
|
836
|
+
payload: {organization: currentGlobalFilter.organization},
|
|
837
|
+
});
|
|
838
|
+
if (result && result.length) {
|
|
839
|
+
result.forEach(item => {
|
|
840
|
+
fieldList.push(...item.value);
|
|
841
|
+
});
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
return fieldList;
|
|
845
|
+
};
|
|
846
|
+
|
|
847
|
+
// 保持字段设置
|
|
848
|
+
formatField = data => {
|
|
849
|
+
const {route, specialServiceId, t} = this.props;
|
|
850
|
+
const serviceId = specialServiceId || route.routeData.serviceId;
|
|
851
|
+
const acccount = this.props.currentUser.account;
|
|
852
|
+
const storageName = `${SM_FIELD_SORT}_${serviceId}_${acccount}`;
|
|
853
|
+
Storage.set(storageName, data);
|
|
854
|
+
message.success(t('字段顺序调整已保存在浏览器缓存中,清除缓存会以系统默认顺序展示。'));
|
|
855
|
+
this.setState({
|
|
856
|
+
tableColumns: this.formatTableColumn(data) || [],
|
|
857
|
+
}, () => global.modal.pop());
|
|
858
|
+
};
|
|
859
|
+
|
|
860
|
+
// 添加信息字段
|
|
861
|
+
detailField = () => {
|
|
862
|
+
const {organization} = this.state.currentGlobalFilter;
|
|
863
|
+
const {route, currentUser, specialServiceId, t} = this.props;
|
|
864
|
+
const serviceId = specialServiceId || route.routeData.serviceId;
|
|
865
|
+
const acccount = currentUser.account;
|
|
866
|
+
const data = _.cloneDeep(this.state.tableColumns);
|
|
867
|
+
const storageName = `${SM_FIELD_SORT}_${serviceId}_${acccount}`;
|
|
868
|
+
const newData = [];
|
|
869
|
+
data.filter(item => {
|
|
870
|
+
if (![HISTORY_COLUMN.OPERATION, HISTORY_COLUMN.AUDIO_URL].includes(item.key)) {
|
|
871
|
+
newData.push({
|
|
872
|
+
name: item.name,
|
|
873
|
+
key: item.key,
|
|
874
|
+
uuid: item.uuid,
|
|
875
|
+
title: `${item.name}(${item.key})`,
|
|
876
|
+
});
|
|
877
|
+
}
|
|
878
|
+
});
|
|
879
|
+
global.modal.show(ModalType.MODAL_ALERT, {
|
|
880
|
+
width: 676,
|
|
881
|
+
modalTitle: t('设置列表字段'),
|
|
882
|
+
renderChildren: () => {
|
|
883
|
+
return (
|
|
884
|
+
<div className={styles.hint}>
|
|
885
|
+
<FieldMessageModal
|
|
886
|
+
{...this.props}
|
|
887
|
+
serviceId={serviceId}
|
|
888
|
+
organization={organization}
|
|
889
|
+
storageName={storageName}
|
|
890
|
+
dataSource={newData}
|
|
891
|
+
source={FIELD_SOURCE_TYPE.HISTORY_DETAIL}
|
|
892
|
+
handleSubmit={this.formatField}
|
|
893
|
+
/>
|
|
894
|
+
</div>
|
|
895
|
+
);
|
|
896
|
+
},
|
|
897
|
+
});
|
|
898
|
+
};
|
|
899
|
+
|
|
900
|
+
|
|
901
|
+
// 请求搜索
|
|
902
|
+
doSearch = () => {
|
|
903
|
+
backTop();
|
|
904
|
+
this.setState({
|
|
905
|
+
listLoading: true,
|
|
906
|
+
}, () => {
|
|
907
|
+
this.getHistoryList();
|
|
908
|
+
});
|
|
909
|
+
};
|
|
910
|
+
|
|
911
|
+
setNewTableColumns = () => {
|
|
912
|
+
const { getOtherColumns } = this.props;
|
|
913
|
+
const { tableDataSource, tableColumns } = this.state;
|
|
914
|
+
if (tableColumns) {
|
|
915
|
+
let newArr = [];
|
|
916
|
+
if (tableDataSource.length > 0 && getOtherColumns) {
|
|
917
|
+
tableDataSource.map(item => item = item.currentData)
|
|
918
|
+
.map(item => item = getOtherColumns(item))
|
|
919
|
+
.map(item => item.map(key => newArr.push(key)));
|
|
920
|
+
newArr = _.uniqWith(newArr, _.isEqual);
|
|
921
|
+
newArr.map(item => item.render = this.textRender);
|
|
922
|
+
this.setState({
|
|
923
|
+
tableColumns: _.unionWith(tableColumns, newArr, _.isEqual),
|
|
924
|
+
});
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
};
|
|
928
|
+
|
|
929
|
+
// 列表导出
|
|
930
|
+
exportData = callback => {
|
|
931
|
+
const {route, t} = this.props;
|
|
932
|
+
const {isGlobalSearch, tableColumns} = this.state;
|
|
933
|
+
this.setState({
|
|
934
|
+
exportLoading: true,
|
|
935
|
+
});
|
|
936
|
+
let newSearchParams = this.getSearchParams();
|
|
937
|
+
newSearchParams.count = isGlobalSearch ? DOWNLOAD_NUMBER.GLOBAL : DOWNLOAD_NUMBER.NORMAL;
|
|
938
|
+
newSearchParams.fieldSet = tableColumns.filter(item => item.name !== HISTORY_COLUMN.OPERATION)
|
|
939
|
+
.map(item => item.uuid);
|
|
940
|
+
const titleMap = {
|
|
941
|
+
ACCOUNT_REGISTER: '注册风险趋势',
|
|
942
|
+
ACCOUNT_LOGIN: '登录风险趋势',
|
|
943
|
+
POST_EVENT: '事件风险趋势',
|
|
944
|
+
ANTI_ROBOT_MARKETING: '羊毛党防刷',
|
|
945
|
+
ANTI_ROBOT_SMS: '短信通道保护',
|
|
946
|
+
};
|
|
947
|
+
let downloadTitle = t(titleMap[route.routeData.serviceId]);
|
|
948
|
+
let downloadUrl = '/webapi/v2/history/download';
|
|
949
|
+
|
|
950
|
+
let title = isGlobalSearch
|
|
951
|
+
? `${t('全局检索')}-${t('历史记录表')}`
|
|
952
|
+
: `${t('天网')}-${t(downloadTitle)}-${t('历史记录表')}.xlsx`;
|
|
953
|
+
|
|
954
|
+
exportFile(downloadUrl, title, newSearchParams).then(() => {
|
|
955
|
+
this.setState({
|
|
956
|
+
exportLoading: false,
|
|
957
|
+
});
|
|
958
|
+
});
|
|
959
|
+
};
|
|
960
|
+
|
|
961
|
+
timeRender = (text, record, index) => {
|
|
962
|
+
const contentText = text.slice(5);
|
|
963
|
+
const toolTipTitle = <span className={styles.tooltip}>{text}</span>;
|
|
964
|
+
return (
|
|
965
|
+
<Tooltip title={toolTipTitle} placement="left">
|
|
966
|
+
<span className={styles.text}>{contentText}</span>
|
|
967
|
+
</Tooltip>
|
|
968
|
+
);
|
|
969
|
+
};
|
|
970
|
+
|
|
971
|
+
textRender = (text, record, index) => {
|
|
972
|
+
text = formatDataToString(text);
|
|
973
|
+
const toolTipTitle = <span className={styles.tooltip}>{text}</span>;
|
|
974
|
+
return (
|
|
975
|
+
<Tooltip title={toolTipTitle} placement="left">
|
|
976
|
+
<CopyToClipboard
|
|
977
|
+
className={styles.copy}
|
|
978
|
+
text={text || '-'}
|
|
979
|
+
onCopy={() => message.success('复制成功')}
|
|
980
|
+
>
|
|
981
|
+
<span>{_.isNil(text) ? '-' : text}</span>
|
|
982
|
+
</CopyToClipboard>
|
|
983
|
+
</Tooltip>
|
|
984
|
+
);
|
|
985
|
+
};
|
|
986
|
+
|
|
987
|
+
riskLevelRender = (text, record, index) => {
|
|
988
|
+
const riskLevelStr = text;
|
|
989
|
+
const riskLevel = record.rawValue?.riskLevel;
|
|
990
|
+
return (
|
|
991
|
+
<SMRiskLevel riskLevel={riskLevel} riskLevelStr={riskLevelStr} />
|
|
992
|
+
);
|
|
993
|
+
};
|
|
994
|
+
|
|
995
|
+
detailRender = (text, record, index) => {
|
|
996
|
+
const {t, currentUser} = this.props;
|
|
997
|
+
const account = currentUser?.account;
|
|
998
|
+
// 特殊账号展示处置按钮
|
|
999
|
+
const showDisposalButton = SHOW_DISPOSAL_ACCOUNT.includes(account);
|
|
1000
|
+
// 全局历史记录 有一部分服务不显示详情
|
|
1001
|
+
const isHidden = HIDDEN_SERVICES.includes(record.rawValue?.serviceId || ALL);
|
|
1002
|
+
/* 2025-01-20 旧代码 */
|
|
1003
|
+
return getAuthFunction(AUTH_FUNCTION.DETAIL) && (
|
|
1004
|
+
isHidden ? (
|
|
1005
|
+
<span>-</span>
|
|
1006
|
+
) : (
|
|
1007
|
+
<span
|
|
1008
|
+
className={styles.action}
|
|
1009
|
+
onClick={() => {
|
|
1010
|
+
this.clickDetail(index);
|
|
1011
|
+
}}
|
|
1012
|
+
>
|
|
1013
|
+
{t(record.detail || '详情')}
|
|
1014
|
+
</span>
|
|
1015
|
+
)
|
|
1016
|
+
);
|
|
1017
|
+
/* 2025-01-20 旧代码 */
|
|
1018
|
+
|
|
1019
|
+
/* 2025-01-20 新代码 */
|
|
1020
|
+
// return (
|
|
1021
|
+
// <span>
|
|
1022
|
+
// {
|
|
1023
|
+
// getAuthFunction(AUTH_FUNCTION.DETAIL) && (
|
|
1024
|
+
// isHidden ? (
|
|
1025
|
+
// <span>-</span>
|
|
1026
|
+
// ) : (
|
|
1027
|
+
// <span
|
|
1028
|
+
// className={styles.action}
|
|
1029
|
+
// onClick={() => {
|
|
1030
|
+
// this.clickDetail(index);
|
|
1031
|
+
// }}
|
|
1032
|
+
// >
|
|
1033
|
+
// {t(record.detail || '详情')}
|
|
1034
|
+
// </span>
|
|
1035
|
+
// )
|
|
1036
|
+
// )
|
|
1037
|
+
// }
|
|
1038
|
+
// {showDisposalButton && (
|
|
1039
|
+
// <DisposalModal
|
|
1040
|
+
// style={{marginLeft: 15}}
|
|
1041
|
+
// >
|
|
1042
|
+
// <span
|
|
1043
|
+
// className={styles.action}
|
|
1044
|
+
// >
|
|
1045
|
+
// {t('处置')}
|
|
1046
|
+
// </span>
|
|
1047
|
+
// </DisposalModal>
|
|
1048
|
+
// )}
|
|
1049
|
+
// </span>
|
|
1050
|
+
// );
|
|
1051
|
+
/* 2025-01-20 新代码 */
|
|
1052
|
+
};
|
|
1053
|
+
|
|
1054
|
+
// 文本飘红
|
|
1055
|
+
newHighLightRender = (text, record, index) => {
|
|
1056
|
+
const keywords = record[HISTORY_COLUMN.MATCHED_ITEM];
|
|
1057
|
+
const {t} = this.props;
|
|
1058
|
+
const toolTipTitle = (
|
|
1059
|
+
<span className={styles.tooltip}>
|
|
1060
|
+
<SMText content={text} keywords={keywords} />
|
|
1061
|
+
</span>
|
|
1062
|
+
);
|
|
1063
|
+
|
|
1064
|
+
return (
|
|
1065
|
+
<Tooltip title={toolTipTitle} placement="left">
|
|
1066
|
+
<CopyToClipboard
|
|
1067
|
+
onCopy={() => message.success(t('复制成功'))}
|
|
1068
|
+
text={text}
|
|
1069
|
+
className={styles.copy}
|
|
1070
|
+
>
|
|
1071
|
+
<span>
|
|
1072
|
+
<SMText
|
|
1073
|
+
content={text}
|
|
1074
|
+
keywords={keywords}
|
|
1075
|
+
ellipsis
|
|
1076
|
+
/>
|
|
1077
|
+
</span>
|
|
1078
|
+
</CopyToClipboard>
|
|
1079
|
+
|
|
1080
|
+
</Tooltip>
|
|
1081
|
+
);
|
|
1082
|
+
};
|
|
1083
|
+
|
|
1084
|
+
highLightRender = (text, record, index) => {
|
|
1085
|
+
const matchedItem = record.currentData.output.matchedItem || '';
|
|
1086
|
+
const toolTipTitle = (
|
|
1087
|
+
<span className={styles.tooltip}>
|
|
1088
|
+
<SMText content={text} keywords={matchedItem} />
|
|
1089
|
+
</span>
|
|
1090
|
+
);
|
|
1091
|
+
return (
|
|
1092
|
+
<Tooltip title={toolTipTitle} placement="left">
|
|
1093
|
+
<span>
|
|
1094
|
+
<SMText content={text} keywords={matchedItem} ellipsis />
|
|
1095
|
+
</span>
|
|
1096
|
+
</Tooltip>
|
|
1097
|
+
);
|
|
1098
|
+
};
|
|
1099
|
+
|
|
1100
|
+
feedbackRender = (text, record, index) => {
|
|
1101
|
+
const {t} = this.props;
|
|
1102
|
+
const feedback = record.feedback;
|
|
1103
|
+
const errorDisabled
|
|
1104
|
+
= feedback || record.rawValue.riskLevel === 'PASS';
|
|
1105
|
+
const missDisabled
|
|
1106
|
+
= feedback || record.rawValue.riskLevel === 'REJECT';
|
|
1107
|
+
|
|
1108
|
+
return getAuthFunction(AUTH_FUNCTION.FEEDBACK) && (
|
|
1109
|
+
<div>
|
|
1110
|
+
<Popconfirm
|
|
1111
|
+
title="当前操作会将账号加入白名单,是否确认提交?"
|
|
1112
|
+
onConfirm={() => {
|
|
1113
|
+
if (!errorDisabled) {
|
|
1114
|
+
this.errorFeedback(record, index);
|
|
1115
|
+
}
|
|
1116
|
+
}}
|
|
1117
|
+
>
|
|
1118
|
+
<span
|
|
1119
|
+
className={[styles.action, errorDisabled ? styles.disabled : ''].join(' ')}
|
|
1120
|
+
style={{ marginRight: '5px' }}
|
|
1121
|
+
>
|
|
1122
|
+
{t('误杀')}
|
|
1123
|
+
</span>
|
|
1124
|
+
</Popconfirm>
|
|
1125
|
+
<Popconfirm
|
|
1126
|
+
title="当前操作会将账号加入黑名单,是否确认提交?"
|
|
1127
|
+
onConfirm={() => {
|
|
1128
|
+
if (!missDisabled) {
|
|
1129
|
+
this.missFeedback(record, index);
|
|
1130
|
+
}
|
|
1131
|
+
}}
|
|
1132
|
+
>
|
|
1133
|
+
<span
|
|
1134
|
+
className={[styles.action, missDisabled ? styles.disabled : ''].join(' ')}
|
|
1135
|
+
>
|
|
1136
|
+
{t('漏杀')}
|
|
1137
|
+
</span>
|
|
1138
|
+
</Popconfirm>
|
|
1139
|
+
|
|
1140
|
+
</div>
|
|
1141
|
+
);
|
|
1142
|
+
};
|
|
1143
|
+
|
|
1144
|
+
/**
|
|
1145
|
+
* 误杀
|
|
1146
|
+
* @param {*} currentData 当前项数据
|
|
1147
|
+
* @param {*} index 当前数据在列表中的index
|
|
1148
|
+
*/
|
|
1149
|
+
errorFeedback = async (currentData, index) => {
|
|
1150
|
+
const {dispatch, route, formatData, t} = this.props;
|
|
1151
|
+
const { organization } = this.state.currentGlobalFilter;
|
|
1152
|
+
let result = await dispatch({
|
|
1153
|
+
type: 'history/fetchCorrection',
|
|
1154
|
+
payload: {
|
|
1155
|
+
organization: organization,
|
|
1156
|
+
serviceId: route.routeData.serviceId,
|
|
1157
|
+
riskLevel: 'PASS',
|
|
1158
|
+
type: 'error',
|
|
1159
|
+
tokenId: currentData.tokenId,
|
|
1160
|
+
eventId: currentData.rawValue.eventId,
|
|
1161
|
+
requestId: currentData.requestId,
|
|
1162
|
+
timestamp: currentData.rawValue.timestamp,
|
|
1163
|
+
},
|
|
1164
|
+
});
|
|
1165
|
+
if (result === 1100) {
|
|
1166
|
+
const { listData, channelMap } = this.state;
|
|
1167
|
+
const newListData = _.cloneDeep(listData);
|
|
1168
|
+
newListData[index].feedback = 1;
|
|
1169
|
+
this.setState(
|
|
1170
|
+
{
|
|
1171
|
+
listData: newListData,
|
|
1172
|
+
tableDataSource: newListData,
|
|
1173
|
+
},
|
|
1174
|
+
() => {
|
|
1175
|
+
message.success(t('提交成功'));
|
|
1176
|
+
}
|
|
1177
|
+
);
|
|
1178
|
+
}
|
|
1179
|
+
};
|
|
1180
|
+
|
|
1181
|
+
/**
|
|
1182
|
+
* 漏杀
|
|
1183
|
+
* @param {*} currentData 当前项数据
|
|
1184
|
+
* @param {*} index 当前数据在列表中的index
|
|
1185
|
+
*/
|
|
1186
|
+
missFeedback = async (currentData, index) => {
|
|
1187
|
+
const {dispatch, route, formatData, t} = this.props;
|
|
1188
|
+
const { organization } = this.state.currentGlobalFilter;
|
|
1189
|
+
let result = await dispatch({
|
|
1190
|
+
type: 'history/fetchCorrection',
|
|
1191
|
+
payload: {
|
|
1192
|
+
organization: organization,
|
|
1193
|
+
serviceId: route.routeData.serviceId,
|
|
1194
|
+
riskLevel: 'REJECT',
|
|
1195
|
+
type: 'miss',
|
|
1196
|
+
tokenId: currentData.tokenId,
|
|
1197
|
+
eventId: currentData.rawValue.eventId,
|
|
1198
|
+
requestId: currentData.requestId,
|
|
1199
|
+
timestamp: currentData.rawValue.timestamp,
|
|
1200
|
+
},
|
|
1201
|
+
});
|
|
1202
|
+
if (result === 1100) {
|
|
1203
|
+
const { listData, channelMap } = this.state;
|
|
1204
|
+
let newListData = _.cloneDeep(listData);
|
|
1205
|
+
newListData[index].feedback = 1;
|
|
1206
|
+
this.setState(
|
|
1207
|
+
{
|
|
1208
|
+
listData: newListData,
|
|
1209
|
+
tableDataSource: newListData,
|
|
1210
|
+
},
|
|
1211
|
+
() => {
|
|
1212
|
+
message.success(t('提交成功'));
|
|
1213
|
+
}
|
|
1214
|
+
);
|
|
1215
|
+
}
|
|
1216
|
+
};
|
|
1217
|
+
|
|
1218
|
+
changeDetailData = e => {
|
|
1219
|
+
// 没有打开详情时 不做处理
|
|
1220
|
+
if (!this.state.detailVisible) {
|
|
1221
|
+
return;
|
|
1222
|
+
}
|
|
1223
|
+
const {
|
|
1224
|
+
detailIndex,
|
|
1225
|
+
listData,
|
|
1226
|
+
currentPage,
|
|
1227
|
+
pageSize,
|
|
1228
|
+
listTotalCount,
|
|
1229
|
+
} = this.state;
|
|
1230
|
+
const {t} = this.props;
|
|
1231
|
+
let newIndex = 0;
|
|
1232
|
+
let newDetailData = {};
|
|
1233
|
+
if (e && e.keyCode === 37) {
|
|
1234
|
+
if (currentPage === 1 && detailIndex === 0) {
|
|
1235
|
+
message.info(t('已经是第一条数据了'));
|
|
1236
|
+
return;
|
|
1237
|
+
} else if (detailIndex === 0) {
|
|
1238
|
+
this.setState(
|
|
1239
|
+
{
|
|
1240
|
+
currentPage: currentPage - 1,
|
|
1241
|
+
detailIndex: pageSize - 1,
|
|
1242
|
+
},
|
|
1243
|
+
() => {
|
|
1244
|
+
this.doSearch();
|
|
1245
|
+
}
|
|
1246
|
+
);
|
|
1247
|
+
} else {
|
|
1248
|
+
newIndex = detailIndex - 1;
|
|
1249
|
+
newDetailData = listData[newIndex];
|
|
1250
|
+
this.setState({
|
|
1251
|
+
detailIndex: newIndex,
|
|
1252
|
+
detailData: newDetailData,
|
|
1253
|
+
});
|
|
1254
|
+
}
|
|
1255
|
+
} else if (e && e.keyCode === 39) {
|
|
1256
|
+
if (
|
|
1257
|
+
(currentPage - 1) * pageSize + detailIndex + 1
|
|
1258
|
+
=== listTotalCount
|
|
1259
|
+
) {
|
|
1260
|
+
message.info(t('已经是最后一条数据了'));
|
|
1261
|
+
return;
|
|
1262
|
+
} else if (detailIndex === pageSize - 1) {
|
|
1263
|
+
this.setState(
|
|
1264
|
+
{
|
|
1265
|
+
currentPage: currentPage + 1,
|
|
1266
|
+
detailIndex: 0,
|
|
1267
|
+
},
|
|
1268
|
+
() => {
|
|
1269
|
+
this.doSearch();
|
|
1270
|
+
}
|
|
1271
|
+
);
|
|
1272
|
+
} else {
|
|
1273
|
+
newIndex = detailIndex + 1;
|
|
1274
|
+
newDetailData = listData[newIndex];
|
|
1275
|
+
this.setState({
|
|
1276
|
+
detailIndex: newIndex,
|
|
1277
|
+
detailData: newDetailData,
|
|
1278
|
+
});
|
|
1279
|
+
}
|
|
1280
|
+
}
|
|
1281
|
+
};
|
|
1282
|
+
|
|
1283
|
+
clickDetail = index => {
|
|
1284
|
+
const {
|
|
1285
|
+
listData,
|
|
1286
|
+
currentPage,
|
|
1287
|
+
isGlobalSearch,
|
|
1288
|
+
pageSize,
|
|
1289
|
+
} = this.state;
|
|
1290
|
+
|
|
1291
|
+
const newIndex = index + (currentPage - 1) * pageSize;
|
|
1292
|
+
const currentData = isGlobalSearch ? listData[newIndex] : listData[index];
|
|
1293
|
+
// 格式化 详情数据
|
|
1294
|
+
this.setState({
|
|
1295
|
+
detailIndex: index,
|
|
1296
|
+
detailData: currentData,
|
|
1297
|
+
detailVisible: true,
|
|
1298
|
+
});
|
|
1299
|
+
};
|
|
1300
|
+
|
|
1301
|
+
closeDetail = () => {
|
|
1302
|
+
this.setState({
|
|
1303
|
+
detailVisible: false,
|
|
1304
|
+
detailIndex: 0,
|
|
1305
|
+
});
|
|
1306
|
+
};
|
|
1307
|
+
|
|
1308
|
+
// 获取策略解释窗口信息
|
|
1309
|
+
strategyModel = async model => {
|
|
1310
|
+
const {route} = this.props;
|
|
1311
|
+
const {listData, detailIndex} = this.state;
|
|
1312
|
+
const activityData = listData[detailIndex];
|
|
1313
|
+
this.setState({ // 体验优化,接口未返回数据时候先清空文本内容;
|
|
1314
|
+
modelText: ' ',
|
|
1315
|
+
});
|
|
1316
|
+
const content = await this.props.dispatch({
|
|
1317
|
+
type: 'strategy/getRuleDetail',
|
|
1318
|
+
payload: {
|
|
1319
|
+
clientEventId: activityData.rawValue?.eventId,
|
|
1320
|
+
ruleId: model,
|
|
1321
|
+
serviceId: route.routeData.serviceId,
|
|
1322
|
+
},
|
|
1323
|
+
}) || {};
|
|
1324
|
+
this.setState({
|
|
1325
|
+
modelText: content?.marker,
|
|
1326
|
+
});
|
|
1327
|
+
};
|
|
1328
|
+
|
|
1329
|
+
/**
|
|
1330
|
+
* 详情抽屉中的 点击事件(筛选,重置画像之类的)
|
|
1331
|
+
* @param {*} actionType 行为类型
|
|
1332
|
+
* @param {*} key 字段名
|
|
1333
|
+
* @param {*} value 对应字段的值
|
|
1334
|
+
* @param {*} otherData 其余data对象
|
|
1335
|
+
*/
|
|
1336
|
+
onActionClick = async (actionType, key, value, otherData) => {
|
|
1337
|
+
const {t} = this.props;
|
|
1338
|
+
switch (actionType) {
|
|
1339
|
+
case 'screen':
|
|
1340
|
+
const { queryParams } = this.state;
|
|
1341
|
+
// const { startTime, endTime, riskType = '', description = '', riskLevel = '' } = queryParams;
|
|
1342
|
+
const encodeValue = encodeURIComponent(value);
|
|
1343
|
+
let searchQuery = `isScreen=true&searchKey=${key}&searchContent=${encodeValue}`;
|
|
1344
|
+
for (let i in queryParams) {
|
|
1345
|
+
searchQuery += `&${i}=${queryParams[i]}`;
|
|
1346
|
+
}
|
|
1347
|
+
// 从配置中读取要跳转的路由
|
|
1348
|
+
let searchPath = otherData.path;
|
|
1349
|
+
let newUrl = encodeURI(`${searchPath}?${searchQuery}`);
|
|
1350
|
+
window.open(__ASSETS_PREFIX__ + newUrl);
|
|
1351
|
+
break;
|
|
1352
|
+
case 'resetPortrait':
|
|
1353
|
+
const { currentGlobalFilter } = this.state;
|
|
1354
|
+
const { organization } = currentGlobalFilter;
|
|
1355
|
+
const { dispatch, route } = this.props;
|
|
1356
|
+
let code = await dispatch({
|
|
1357
|
+
type: 'history/fetchResetProfile',
|
|
1358
|
+
payload: {
|
|
1359
|
+
organization,
|
|
1360
|
+
key: `${organization}_${value}`,
|
|
1361
|
+
type: otherData.type,
|
|
1362
|
+
serviceId: route.routeData.serviceId,
|
|
1363
|
+
},
|
|
1364
|
+
});
|
|
1365
|
+
if (code === 1100) {
|
|
1366
|
+
message.success(t('重置画像成功'));
|
|
1367
|
+
} else {
|
|
1368
|
+
message.error(t('重置画像失败,请重试'));
|
|
1369
|
+
}
|
|
1370
|
+
break;
|
|
1371
|
+
case 'addList':
|
|
1372
|
+
const { type } = otherData;
|
|
1373
|
+
const {
|
|
1374
|
+
ignoreList,
|
|
1375
|
+
sensitiveList,
|
|
1376
|
+
tokenIdBlackList,
|
|
1377
|
+
ipBlackList,
|
|
1378
|
+
deviceIdBlackList,
|
|
1379
|
+
phoneBlackList,
|
|
1380
|
+
phoneMd5BlackList,
|
|
1381
|
+
} = this.state;
|
|
1382
|
+
let newCurrentListData = [];
|
|
1383
|
+
switch (type) {
|
|
1384
|
+
case 'ignore':
|
|
1385
|
+
newCurrentListData = ignoreList;
|
|
1386
|
+
break;
|
|
1387
|
+
case 'sensitive':
|
|
1388
|
+
newCurrentListData = sensitiveList;
|
|
1389
|
+
break;
|
|
1390
|
+
case 'tokenId':
|
|
1391
|
+
newCurrentListData = tokenIdBlackList;
|
|
1392
|
+
break;
|
|
1393
|
+
case 'ip':
|
|
1394
|
+
newCurrentListData = ipBlackList;
|
|
1395
|
+
break;
|
|
1396
|
+
case 'deviceId':
|
|
1397
|
+
case 'smid':
|
|
1398
|
+
newCurrentListData = deviceIdBlackList;
|
|
1399
|
+
break;
|
|
1400
|
+
case 'phone':
|
|
1401
|
+
newCurrentListData = phoneBlackList;
|
|
1402
|
+
break;
|
|
1403
|
+
case 'phoneMd5':
|
|
1404
|
+
newCurrentListData = phoneMd5BlackList;
|
|
1405
|
+
break;
|
|
1406
|
+
}
|
|
1407
|
+
this.setState({
|
|
1408
|
+
currentListData: newCurrentListData,
|
|
1409
|
+
listModalVisible: true,
|
|
1410
|
+
currentListValue: value,
|
|
1411
|
+
});
|
|
1412
|
+
break;
|
|
1413
|
+
case 'model':
|
|
1414
|
+
this.strategyModel(value);
|
|
1415
|
+
break;
|
|
1416
|
+
}
|
|
1417
|
+
};
|
|
1418
|
+
|
|
1419
|
+
listOnSearch = (pagination, filters, sorter) => {
|
|
1420
|
+
const { isGlobalSearch } = this.state;
|
|
1421
|
+
const { current, pageSize } = pagination;
|
|
1422
|
+
let { order } = sorter;
|
|
1423
|
+
order = order === 'ascend' ? 'asc' : 'desc';
|
|
1424
|
+
const { queryParams } = this.state;
|
|
1425
|
+
const newQueryParams = _.cloneDeep(queryParams);
|
|
1426
|
+
newQueryParams.sort = order;
|
|
1427
|
+
this.setState(
|
|
1428
|
+
{
|
|
1429
|
+
currentPage: current,
|
|
1430
|
+
pageSize: pageSize,
|
|
1431
|
+
queryParams: newQueryParams,
|
|
1432
|
+
detailIndex: 0,
|
|
1433
|
+
},
|
|
1434
|
+
() => {
|
|
1435
|
+
if (!isGlobalSearch) {
|
|
1436
|
+
this.doSearch();
|
|
1437
|
+
}
|
|
1438
|
+
}
|
|
1439
|
+
);
|
|
1440
|
+
};
|
|
1441
|
+
|
|
1442
|
+
// 通过字段配置的方式获取数据
|
|
1443
|
+
getFieldSetList = async parameter => {
|
|
1444
|
+
const {dispatch} = this.props;
|
|
1445
|
+
return await dispatch({
|
|
1446
|
+
type: MODEL_TYPE.HISTORY_LIST.TEXT_LIST,
|
|
1447
|
+
payload: parameter,
|
|
1448
|
+
});
|
|
1449
|
+
};
|
|
1450
|
+
|
|
1451
|
+
// 获取历史记录列表数据
|
|
1452
|
+
getHistoryList = async () => {
|
|
1453
|
+
const newParams = this.getSearchParams();
|
|
1454
|
+
const {listData, totalCount, realTotalCount} = await this.getFieldSetList(newParams);
|
|
1455
|
+
this.setState({
|
|
1456
|
+
orgAppChange: false,
|
|
1457
|
+
listLoading: false,
|
|
1458
|
+
tableDataSource: listData,
|
|
1459
|
+
listData,
|
|
1460
|
+
listTotalCount: totalCount,
|
|
1461
|
+
listRealTotalCount: _.isNil(realTotalCount) ? undefined : realTotalCount,
|
|
1462
|
+
detailData: listData[this.state.detailIndex],
|
|
1463
|
+
});
|
|
1464
|
+
};
|
|
1465
|
+
|
|
1466
|
+
// 获取查询接口参数
|
|
1467
|
+
getSearchParams = () => {
|
|
1468
|
+
const { route, specialServiceId = '' } = this.props;
|
|
1469
|
+
const {
|
|
1470
|
+
currentGlobalFilter,
|
|
1471
|
+
isGlobalSearch,
|
|
1472
|
+
queryParams,
|
|
1473
|
+
currentPage,
|
|
1474
|
+
pageSize,
|
|
1475
|
+
filterData,
|
|
1476
|
+
} = this.state;
|
|
1477
|
+
const { organization, appId } = currentGlobalFilter;
|
|
1478
|
+
|
|
1479
|
+
const serviceId = specialServiceId || route.routeData.serviceId;
|
|
1480
|
+
const search = _.cloneDeep(filterData).filter(item => item.value && item.value.length).map(item => {
|
|
1481
|
+
delete item.enum;
|
|
1482
|
+
return item;
|
|
1483
|
+
}) || [];
|
|
1484
|
+
let searchParams = {
|
|
1485
|
+
organization: organization,
|
|
1486
|
+
appId: appId,
|
|
1487
|
+
count: isGlobalSearch ? 5000 : pageSize,
|
|
1488
|
+
offset: (currentPage - 1) * pageSize,
|
|
1489
|
+
isAll: isGlobalSearch ? 1 : 0,
|
|
1490
|
+
search,
|
|
1491
|
+
...queryParams,
|
|
1492
|
+
// 全局历史记录检索 如果没有选择服务,serviceId 传GLOBAL
|
|
1493
|
+
serviceId: isGlobalSearch
|
|
1494
|
+
? queryParams.serviceId && !(queryParams.serviceId === ALL)
|
|
1495
|
+
? queryParams.serviceId
|
|
1496
|
+
: SM_ACCOUNT
|
|
1497
|
+
: serviceId,
|
|
1498
|
+
};
|
|
1499
|
+
// 处理一下searchParams,如果为'' || 'all', 则删除该项
|
|
1500
|
+
let newSearchParams = formatArrayParams(formatSearchParams(searchParams));
|
|
1501
|
+
return newSearchParams;
|
|
1502
|
+
};
|
|
1503
|
+
|
|
1504
|
+
// 获取渠道事件列表
|
|
1505
|
+
getChannelEventList = async value => {
|
|
1506
|
+
const { isGlobalSearch } = this.state;
|
|
1507
|
+
const { dispatch, route } = this.props;
|
|
1508
|
+
if (dispatch) {
|
|
1509
|
+
let channelEventList = await dispatch({
|
|
1510
|
+
type: 'base/fetchChannelEventList',
|
|
1511
|
+
payload: {
|
|
1512
|
+
organization: this.state.currentGlobalFilter.organization,
|
|
1513
|
+
serviceId: isGlobalSearch
|
|
1514
|
+
? value
|
|
1515
|
+
: route.routeData.serviceId,
|
|
1516
|
+
},
|
|
1517
|
+
});
|
|
1518
|
+
if (channelEventList) {
|
|
1519
|
+
this.setState({
|
|
1520
|
+
channelEventList,
|
|
1521
|
+
});
|
|
1522
|
+
let channelMap = {};
|
|
1523
|
+
let newOptionData = [];
|
|
1524
|
+
const channels = [];
|
|
1525
|
+
const newChannelEventData = _.cloneDeep(
|
|
1526
|
+
this.state.defaultChannelEventData
|
|
1527
|
+
);
|
|
1528
|
+
channelEventList.forEach(item => {
|
|
1529
|
+
newOptionData.push({
|
|
1530
|
+
value: `${item.channel}`,
|
|
1531
|
+
name: item.displayName,
|
|
1532
|
+
});
|
|
1533
|
+
if (item.channel !== '') {
|
|
1534
|
+
channelMap[item.channel] = item.channelName;
|
|
1535
|
+
}
|
|
1536
|
+
channels.push(item.channel);
|
|
1537
|
+
});
|
|
1538
|
+
newChannelEventData.data.selectData.optionData = newOptionData;
|
|
1539
|
+
newChannelEventData.data.selectData.doSearch = this.doSearch;
|
|
1540
|
+
this.setState({
|
|
1541
|
+
defaultChannelEventData: newChannelEventData,
|
|
1542
|
+
channelMap,
|
|
1543
|
+
});
|
|
1544
|
+
}
|
|
1545
|
+
}
|
|
1546
|
+
};
|
|
1547
|
+
|
|
1548
|
+
// 获取事件列表
|
|
1549
|
+
getEventList = async value => {
|
|
1550
|
+
const { isGlobalSearch, queryParams } = this.state;
|
|
1551
|
+
const { dispatch, route } = this.props;
|
|
1552
|
+
let eventList = await dispatch({
|
|
1553
|
+
type: 'base/fetchOpenEvent',
|
|
1554
|
+
payload: {
|
|
1555
|
+
organization: this.state.currentGlobalFilter.organization,
|
|
1556
|
+
serviceId: isGlobalSearch ? value : route.routeData.serviceId,
|
|
1557
|
+
isGlobalEvent: 0,
|
|
1558
|
+
},
|
|
1559
|
+
});
|
|
1560
|
+
const newEventData = _.cloneDeep(this.state.defaultEventData);
|
|
1561
|
+
let newOptionData = [];
|
|
1562
|
+
let eventIdMap = {};
|
|
1563
|
+
if (eventList.length) {
|
|
1564
|
+
eventList[0].events.forEach(item => {
|
|
1565
|
+
newOptionData.push({
|
|
1566
|
+
value: item.clientEventId,
|
|
1567
|
+
name: item.eventName,
|
|
1568
|
+
});
|
|
1569
|
+
if (item.eventId !== '') {
|
|
1570
|
+
eventIdMap[item.clientEventId] = item.eventName;
|
|
1571
|
+
}
|
|
1572
|
+
});
|
|
1573
|
+
}
|
|
1574
|
+
newEventData.data.selectData.optionData = newOptionData;
|
|
1575
|
+
newEventData.data.selectData.doSearch = this.doSearch;
|
|
1576
|
+
this.setState({
|
|
1577
|
+
defaultEventData: newEventData,
|
|
1578
|
+
eventIdMap,
|
|
1579
|
+
});
|
|
1580
|
+
};
|
|
1581
|
+
|
|
1582
|
+
// 获取识别结果列表
|
|
1583
|
+
getRiskLevelList = async () => {
|
|
1584
|
+
const { dispatch, route } = this.props;
|
|
1585
|
+
if (dispatch) {
|
|
1586
|
+
let riskLevelList = await dispatch({
|
|
1587
|
+
type: 'base/fetchRiskLevelList',
|
|
1588
|
+
payload: {
|
|
1589
|
+
organization: this.state.currentGlobalFilter.organization,
|
|
1590
|
+
serviceId: route.routeData.serviceId,
|
|
1591
|
+
},
|
|
1592
|
+
});
|
|
1593
|
+
const newRiskLevelData = _.cloneDeep(
|
|
1594
|
+
this.state.defaultRiskLevelData
|
|
1595
|
+
);
|
|
1596
|
+
let newOptionData = [{
|
|
1597
|
+
value: 'all',
|
|
1598
|
+
label: '全部',
|
|
1599
|
+
}];
|
|
1600
|
+
let riskLevelMap = {};
|
|
1601
|
+
let verifyTypeMap = {};
|
|
1602
|
+
if (riskLevelList) {
|
|
1603
|
+
riskLevelList.forEach(item => {
|
|
1604
|
+
let children
|
|
1605
|
+
= item.son
|
|
1606
|
+
&& item.son.map(data => {
|
|
1607
|
+
verifyTypeMap[data.risk_level]
|
|
1608
|
+
= data.risk_level_name;
|
|
1609
|
+
return {
|
|
1610
|
+
value: data.risk_level,
|
|
1611
|
+
label: data.risk_level_name,
|
|
1612
|
+
};
|
|
1613
|
+
});
|
|
1614
|
+
let itemOption = {
|
|
1615
|
+
value: item.risk_level,
|
|
1616
|
+
label: item.risk_level_name,
|
|
1617
|
+
};
|
|
1618
|
+
|
|
1619
|
+
riskLevelMap[item.risk_level] = item.risk_level_name;
|
|
1620
|
+
|
|
1621
|
+
if (children && children.length) {
|
|
1622
|
+
children.unshift({
|
|
1623
|
+
value: '',
|
|
1624
|
+
label: '全部',
|
|
1625
|
+
});
|
|
1626
|
+
itemOption.children = children;
|
|
1627
|
+
}
|
|
1628
|
+
newOptionData.push(itemOption);
|
|
1629
|
+
});
|
|
1630
|
+
}
|
|
1631
|
+
newRiskLevelData.data.selectData.optionData = newOptionData;
|
|
1632
|
+
newRiskLevelData.data.selectData.doSearch = this.reDoSearch;
|
|
1633
|
+
this.setState({
|
|
1634
|
+
defaultRiskLevelData: newRiskLevelData,
|
|
1635
|
+
riskLevelMap,
|
|
1636
|
+
verifyTypeMap,
|
|
1637
|
+
});
|
|
1638
|
+
}
|
|
1639
|
+
};
|
|
1640
|
+
// 获取当前公司是否开通30天以上的数据
|
|
1641
|
+
getOpenOrganization = async () => {
|
|
1642
|
+
const {dispatch, route, specialServiceId} = this.props;
|
|
1643
|
+
const serviceId = specialServiceId || route.routeData.serviceId;
|
|
1644
|
+
const newRangeTimeData = _.cloneDeep(this.state.defaultRangeTimeData);
|
|
1645
|
+
if (dispatch) {
|
|
1646
|
+
let {storageTime} = await dispatch({
|
|
1647
|
+
type: 'history/getOpenOrganization',
|
|
1648
|
+
payload: {
|
|
1649
|
+
organization: this.state.currentGlobalFilter.organization,
|
|
1650
|
+
serviceId,
|
|
1651
|
+
},
|
|
1652
|
+
});
|
|
1653
|
+
// 全局只能查30天
|
|
1654
|
+
storageTime = serviceId === SM_ACCOUNT ? 30 : storageTime;
|
|
1655
|
+
const {disabledDateEnd} = getDisabledDate(storageTime);
|
|
1656
|
+
newRangeTimeData.data.disabledDateFeedback = disabledDateEnd;
|
|
1657
|
+
this.setState({
|
|
1658
|
+
defaultRangeTimeData: newRangeTimeData,
|
|
1659
|
+
storageTime,
|
|
1660
|
+
});
|
|
1661
|
+
}
|
|
1662
|
+
};
|
|
1663
|
+
// 获取风险原因列表
|
|
1664
|
+
getRiskReasonList = async () => {
|
|
1665
|
+
const { dispatch, route } = this.props;
|
|
1666
|
+
let riskReasonList = await dispatch({
|
|
1667
|
+
type: 'base/fetchRiskReasonList',
|
|
1668
|
+
payload: {
|
|
1669
|
+
organization: this.state.currentGlobalFilter.organization,
|
|
1670
|
+
serviceId: route.routeData.serviceId,
|
|
1671
|
+
appId: this.state.currentGlobalFilter.appId,
|
|
1672
|
+
eventId: 'sms',
|
|
1673
|
+
},
|
|
1674
|
+
});
|
|
1675
|
+
const riskAllList = [];
|
|
1676
|
+
const newRiskReasonData = _.cloneDeep(
|
|
1677
|
+
this.state.defaultRiskReasonData
|
|
1678
|
+
);
|
|
1679
|
+
let newOptionData = [];
|
|
1680
|
+
if (riskReasonList.length) {
|
|
1681
|
+
riskReasonList.forEach(item => {
|
|
1682
|
+
newOptionData.push({
|
|
1683
|
+
value: item,
|
|
1684
|
+
name: item,
|
|
1685
|
+
});
|
|
1686
|
+
riskAllList.push(item);
|
|
1687
|
+
});
|
|
1688
|
+
}
|
|
1689
|
+
newRiskReasonData.data.selectData.optionData = newOptionData;
|
|
1690
|
+
newRiskReasonData.data.selectData.doSearch = this.doSearch;
|
|
1691
|
+
this.setState({
|
|
1692
|
+
defaultRiskReasonData: newRiskReasonData,
|
|
1693
|
+
riskList: riskAllList,
|
|
1694
|
+
});
|
|
1695
|
+
};
|
|
1696
|
+
|
|
1697
|
+
// 获取搜索菜单
|
|
1698
|
+
getFormData() {
|
|
1699
|
+
let formData = [];
|
|
1700
|
+
const {
|
|
1701
|
+
defaultRangeTimeData,
|
|
1702
|
+
defaultRiskLevelData,
|
|
1703
|
+
defaultEventData,
|
|
1704
|
+
defaultChannelEventData,
|
|
1705
|
+
defaultRiskReasonData,
|
|
1706
|
+
defaultServiceData,
|
|
1707
|
+
} = this.state;
|
|
1708
|
+
|
|
1709
|
+
const {route} = this.props;
|
|
1710
|
+
const serviceId = route.routeData.serviceId;
|
|
1711
|
+
switch (serviceId) {
|
|
1712
|
+
case 'ACCOUNT_REGISTER':
|
|
1713
|
+
formData.push(
|
|
1714
|
+
defaultRangeTimeData,
|
|
1715
|
+
defaultRiskLevelData
|
|
1716
|
+
);
|
|
1717
|
+
break;
|
|
1718
|
+
case 'ACCOUNT_LOGIN':
|
|
1719
|
+
formData.push(
|
|
1720
|
+
defaultRangeTimeData,
|
|
1721
|
+
defaultRiskLevelData
|
|
1722
|
+
);
|
|
1723
|
+
break;
|
|
1724
|
+
case 'POST_EVENT':
|
|
1725
|
+
formData.push(
|
|
1726
|
+
defaultRangeTimeData,
|
|
1727
|
+
defaultRiskLevelData,
|
|
1728
|
+
defaultEventData
|
|
1729
|
+
);
|
|
1730
|
+
break;
|
|
1731
|
+
case 'ANTI_ROBOT_MARKETING':
|
|
1732
|
+
formData.push(
|
|
1733
|
+
defaultRangeTimeData,
|
|
1734
|
+
defaultRiskLevelData,
|
|
1735
|
+
defaultChannelEventData
|
|
1736
|
+
);
|
|
1737
|
+
break;
|
|
1738
|
+
case 'ANTI_ROBOT_SMS':
|
|
1739
|
+
formData.push(
|
|
1740
|
+
defaultRangeTimeData,
|
|
1741
|
+
defaultRiskLevelData,
|
|
1742
|
+
defaultRiskReasonData
|
|
1743
|
+
);
|
|
1744
|
+
break;
|
|
1745
|
+
case SM_ACCOUNT:
|
|
1746
|
+
formData.push(
|
|
1747
|
+
defaultRangeTimeData,
|
|
1748
|
+
defaultServiceData,
|
|
1749
|
+
defaultEventData,
|
|
1750
|
+
defaultRiskLevelData,
|
|
1751
|
+
defaultChannelEventData
|
|
1752
|
+
);
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1755
|
+
return formData;
|
|
1756
|
+
}
|
|
1757
|
+
|
|
1758
|
+
|
|
1759
|
+
/**
|
|
1760
|
+
* 搜索筛选项更改
|
|
1761
|
+
* @param {*} name 更改筛选项类型名称
|
|
1762
|
+
* @param {*} value 更改后的值
|
|
1763
|
+
*/
|
|
1764
|
+
changeQueryParams(name, value) {
|
|
1765
|
+
const {
|
|
1766
|
+
queryParams,
|
|
1767
|
+
isGlobalSearch,
|
|
1768
|
+
channelMap,
|
|
1769
|
+
riskList = [],
|
|
1770
|
+
} = this.state;
|
|
1771
|
+
const {defaultRiskLevelData} = this.state;
|
|
1772
|
+
const newRiskLevelData = _.cloneDeep(defaultRiskLevelData);
|
|
1773
|
+
const newQueryParams = _.cloneDeep(queryParams);
|
|
1774
|
+
switch (name) {
|
|
1775
|
+
case 'serviceId':
|
|
1776
|
+
newQueryParams.serviceId = value;
|
|
1777
|
+
this.getEventList(value);
|
|
1778
|
+
this.getChannelEventList(value);
|
|
1779
|
+
this.serviceIdChangeParams(value);
|
|
1780
|
+
newQueryParams.channel = '';
|
|
1781
|
+
newQueryParams.eventId = '';
|
|
1782
|
+
newQueryParams.tokenId = '';
|
|
1783
|
+
newQueryParams.ip = '';
|
|
1784
|
+
newQueryParams.deviceId = '';
|
|
1785
|
+
newQueryParams.requestId = '';
|
|
1786
|
+
break;
|
|
1787
|
+
case 'time':
|
|
1788
|
+
let startTime = Number(value[0].format('x'));
|
|
1789
|
+
let endTime = Number(value[1].format('x'));
|
|
1790
|
+
newQueryParams.startTime = startTime;
|
|
1791
|
+
newQueryParams.endTime = endTime;
|
|
1792
|
+
break;
|
|
1793
|
+
case 'riskLevel':
|
|
1794
|
+
const newValue = value || [];
|
|
1795
|
+
newQueryParams.riskLevel = newQueryParams.riskLevel = !newValue[0] || newValue[0] === ALL
|
|
1796
|
+
? ''
|
|
1797
|
+
: [newValue[0]];
|
|
1798
|
+
newQueryParams.verifyType = newValue[1] || '';
|
|
1799
|
+
newRiskLevelData.data.selectData.defaultValue = newValue;
|
|
1800
|
+
break;
|
|
1801
|
+
case 'eventId':
|
|
1802
|
+
newQueryParams.eventId = value;
|
|
1803
|
+
break;
|
|
1804
|
+
case 'labelSearch':
|
|
1805
|
+
const { defaultLabelSearchData } = this.state;
|
|
1806
|
+
defaultLabelSearchData.data.optionData.forEach(item => {
|
|
1807
|
+
newQueryParams[item.value] = '';
|
|
1808
|
+
});
|
|
1809
|
+
newQueryParams[value.searchId] = value.searchText || '';
|
|
1810
|
+
break;
|
|
1811
|
+
default:
|
|
1812
|
+
newQueryParams[name] = value;
|
|
1813
|
+
}
|
|
1814
|
+
this.setState(
|
|
1815
|
+
{
|
|
1816
|
+
queryParams: newQueryParams,
|
|
1817
|
+
defaultRiskLevelData: newRiskLevelData,
|
|
1818
|
+
currentPage: 1,
|
|
1819
|
+
detailIndex: 0,
|
|
1820
|
+
},
|
|
1821
|
+
() => {
|
|
1822
|
+
if (isGlobalSearch) {
|
|
1823
|
+
this.handleGlobalSearchDisable();
|
|
1824
|
+
}
|
|
1825
|
+
}
|
|
1826
|
+
);
|
|
1827
|
+
}
|
|
1828
|
+
|
|
1829
|
+
// 全局历史记录必须有值 查询按钮才能用
|
|
1830
|
+
handleGlobalSearchDisable() {
|
|
1831
|
+
const {queryParams} = this.state;
|
|
1832
|
+
const {serviceId} = queryParams;
|
|
1833
|
+
if (serviceId && serviceId !== 'all') {
|
|
1834
|
+
this.setState({
|
|
1835
|
+
isDisabled: false,
|
|
1836
|
+
});
|
|
1837
|
+
}
|
|
1838
|
+
else if (this.isFilterValue()) {
|
|
1839
|
+
this.setState({
|
|
1840
|
+
isDisabled: false,
|
|
1841
|
+
});
|
|
1842
|
+
}
|
|
1843
|
+
else {
|
|
1844
|
+
this.setState({
|
|
1845
|
+
isDisabled: true,
|
|
1846
|
+
});
|
|
1847
|
+
}
|
|
1848
|
+
}
|
|
1849
|
+
|
|
1850
|
+
/**
|
|
1851
|
+
* 组合查询是否输入已查询的值
|
|
1852
|
+
*/
|
|
1853
|
+
isFilterValue = () => {
|
|
1854
|
+
const {filterData, isGlobalSearch} = this.state;
|
|
1855
|
+
// 历史数据全局检索 组合查询如果有值查询按钮 取消禁止状态
|
|
1856
|
+
let isValue = false;
|
|
1857
|
+
filterData.forEach(item => {
|
|
1858
|
+
if (
|
|
1859
|
+
isGlobalSearch
|
|
1860
|
+
&& ((_.isArray(item.value) && item.value.length) || (_.isString(item.value) && item.value))
|
|
1861
|
+
) {
|
|
1862
|
+
isValue = true;
|
|
1863
|
+
}
|
|
1864
|
+
});
|
|
1865
|
+
return isValue;
|
|
1866
|
+
};
|
|
1867
|
+
|
|
1868
|
+
/**
|
|
1869
|
+
* 按钮点击事件
|
|
1870
|
+
* @param {*} val
|
|
1871
|
+
*/
|
|
1872
|
+
onButtonClick(name) {
|
|
1873
|
+
switch (name) {
|
|
1874
|
+
case 'exportHistory': // 历史数据提取
|
|
1875
|
+
this.setState({
|
|
1876
|
+
exportTaskVisible: true,
|
|
1877
|
+
});
|
|
1878
|
+
break;
|
|
1879
|
+
case 'historySearch':
|
|
1880
|
+
this.setState(
|
|
1881
|
+
{
|
|
1882
|
+
orgAppChange: false,
|
|
1883
|
+
listLoading: true,
|
|
1884
|
+
},
|
|
1885
|
+
() => {
|
|
1886
|
+
this.doSearch();
|
|
1887
|
+
}
|
|
1888
|
+
);
|
|
1889
|
+
break;
|
|
1890
|
+
case 'historyReset':
|
|
1891
|
+
this.resetParams();
|
|
1892
|
+
break;
|
|
1893
|
+
}
|
|
1894
|
+
}
|
|
1895
|
+
|
|
1896
|
+
// 输入框绑定按钮事件
|
|
1897
|
+
onFilterKeyDown = e => {
|
|
1898
|
+
if (e && e.key === KEYBOARD_CODER.ENTER) {
|
|
1899
|
+
this.setState({currentPage: 1}, () => this.doSearch());
|
|
1900
|
+
}
|
|
1901
|
+
};
|
|
1902
|
+
|
|
1903
|
+
// 组合查询赋值
|
|
1904
|
+
filterSetState = (stateList, isrRefresh) => {
|
|
1905
|
+
const {isGlobalSearch} = this.state;
|
|
1906
|
+
const stateObj = {};
|
|
1907
|
+
_.forEach(stateList, item => {
|
|
1908
|
+
stateObj[item.key] = item.value;
|
|
1909
|
+
});
|
|
1910
|
+
this.setState({...stateObj, isrRefresh: isrRefresh || this.state.isrRefresh}, () => {
|
|
1911
|
+
// zhangzhe 2022-12-14 全局搜索组合查询修改后 也随之检查查询按钮禁用状态,否则查询按钮不能点亮
|
|
1912
|
+
if (isGlobalSearch) {
|
|
1913
|
+
this.handleGlobalSearchDisable();
|
|
1914
|
+
}
|
|
1915
|
+
});
|
|
1916
|
+
};
|
|
1917
|
+
|
|
1918
|
+
// table 表头自定义dom
|
|
1919
|
+
showExtraDom = () => {
|
|
1920
|
+
const {route, t, isIntl} = this.props;
|
|
1921
|
+
const {isGlobalSearch, isDisabled} = this.state;
|
|
1922
|
+
const serviceId = route.routeData.serviceId;
|
|
1923
|
+
const domData = [];
|
|
1924
|
+
const exportList = [
|
|
1925
|
+
SERVICEID_LIST.ACCOUNT_REGISTER,
|
|
1926
|
+
SERVICEID_LIST.ACCOUNT_LOGIN,
|
|
1927
|
+
SERVICEID_LIST.POST_EVENT,
|
|
1928
|
+
SERVICEID_LIST.ANTI_ROBOT_SMS,
|
|
1929
|
+
];// 注册、登录、事件、短信 显示历史数据导出按钮
|
|
1930
|
+
if (
|
|
1931
|
+
exportList.includes(serviceId)
|
|
1932
|
+
&& !isPrivate()
|
|
1933
|
+
&& getAuthFunction(AUTH_FUNCTION.EXPORT_HISTORY)
|
|
1934
|
+
&& !isIntl
|
|
1935
|
+
) {
|
|
1936
|
+
domData.push(
|
|
1937
|
+
<Button
|
|
1938
|
+
onClick={() => this.setState({exportTaskVisible: true})}
|
|
1939
|
+
>
|
|
1940
|
+
{t('历史数据导出')}
|
|
1941
|
+
</Button>);
|
|
1942
|
+
}
|
|
1943
|
+
if (getAuthFunction(AUTH_FUNCTION.EXPORT)) {
|
|
1944
|
+
domData.push(
|
|
1945
|
+
<Spin
|
|
1946
|
+
spinning={this.state.exportLoading}
|
|
1947
|
+
>
|
|
1948
|
+
<SMIcon
|
|
1949
|
+
type="icon-daochu"
|
|
1950
|
+
onClick={() => {
|
|
1951
|
+
if (!(isGlobalSearch && isDisabled)) {
|
|
1952
|
+
this.exportData();
|
|
1953
|
+
}
|
|
1954
|
+
else {
|
|
1955
|
+
message.warning(t('请选择条件'));
|
|
1956
|
+
}
|
|
1957
|
+
}}
|
|
1958
|
+
/>
|
|
1959
|
+
</Spin>
|
|
1960
|
+
);
|
|
1961
|
+
}
|
|
1962
|
+
return (
|
|
1963
|
+
<div className={styles['extra-dom']}>
|
|
1964
|
+
{domData}
|
|
1965
|
+
<SMIcon type="icon-yingyongguanlilanse" onClick={this.detailField} />
|
|
1966
|
+
</div>
|
|
1967
|
+
);
|
|
1968
|
+
};
|
|
1969
|
+
|
|
1970
|
+
// 返回第一页并且重写查询
|
|
1971
|
+
reDoSearch = () => {
|
|
1972
|
+
this.setState({currentPage: 1}, () => this.doSearch());
|
|
1973
|
+
};
|
|
1974
|
+
|
|
1975
|
+
// 保存操作列
|
|
1976
|
+
saveColumns = _.debounce(column => {
|
|
1977
|
+
const {route, currentUser, specialServiceId} = this.props;
|
|
1978
|
+
const serviceId = specialServiceId || route.routeData.serviceId;
|
|
1979
|
+
const acccount = currentUser.account;
|
|
1980
|
+
Storage.set(`${SM_FIELD_SORT}_${serviceId}_${acccount}`, column);// 更新缓存,缓存中数据和接口请求数据保持一致
|
|
1981
|
+
this.setState({tableColumns: column});
|
|
1982
|
+
}, 1000);
|
|
1983
|
+
|
|
1984
|
+
render() {
|
|
1985
|
+
const {t} = this.props;
|
|
1986
|
+
const formData = this.getFormData();
|
|
1987
|
+
const {
|
|
1988
|
+
listLoading,
|
|
1989
|
+
tableDataSource,
|
|
1990
|
+
tableColumns,
|
|
1991
|
+
detailData,
|
|
1992
|
+
detailVisible,
|
|
1993
|
+
listTotalCount,
|
|
1994
|
+
listRealTotalCount,
|
|
1995
|
+
currentPage,
|
|
1996
|
+
pageSize,
|
|
1997
|
+
pageSizeOptions,
|
|
1998
|
+
currentListData,
|
|
1999
|
+
currentListValue,
|
|
2000
|
+
listModalVisible,
|
|
2001
|
+
currentGlobalFilter,
|
|
2002
|
+
exportTaskVisible,
|
|
2003
|
+
defaultChannelEventData,
|
|
2004
|
+
defaultRiskLevelData,
|
|
2005
|
+
defaultEventData,
|
|
2006
|
+
defaultRiskReasonData,
|
|
2007
|
+
channelMap,
|
|
2008
|
+
eventIdMap,
|
|
2009
|
+
riskLevelMap,
|
|
2010
|
+
verifyTypeMap,
|
|
2011
|
+
defaultAppIdData,
|
|
2012
|
+
resetCount,
|
|
2013
|
+
isGlobalSearch,
|
|
2014
|
+
isDisabled,
|
|
2015
|
+
serviceIdMap,
|
|
2016
|
+
orgAppChange,
|
|
2017
|
+
storageTime,
|
|
2018
|
+
modelText,
|
|
2019
|
+
filterData,
|
|
2020
|
+
headerData,
|
|
2021
|
+
serviceIdChangeCount,
|
|
2022
|
+
searchList,
|
|
2023
|
+
} = this.state;
|
|
2024
|
+
defaultAppIdData.data.selectData.optionData = formatAppList();
|
|
2025
|
+
const {
|
|
2026
|
+
route,
|
|
2027
|
+
formatHistoryTaskFormColumns = () => {},
|
|
2028
|
+
buildHistoryTaskDetail = () => {},
|
|
2029
|
+
currentUser,
|
|
2030
|
+
} = this.props;
|
|
2031
|
+
const serviceId = route.routeData.serviceId;
|
|
2032
|
+
const { appId, organization } = currentGlobalFilter;
|
|
2033
|
+
const newTableColumns = tableColumns.filter(item => {
|
|
2034
|
+
if (organization === SM_ACCOUNT) {
|
|
2035
|
+
return item.key !== 'feedback';
|
|
2036
|
+
}
|
|
2037
|
+
return true;
|
|
2038
|
+
});
|
|
2039
|
+
return (
|
|
2040
|
+
<div>
|
|
2041
|
+
<GlobalFilterListener onChange={this.globalFilterChange} />
|
|
2042
|
+
<SMBackTop />
|
|
2043
|
+
<div className={styles['content-top']}>
|
|
2044
|
+
<SMSearchForm
|
|
2045
|
+
formData={formData}
|
|
2046
|
+
resetCount={resetCount}
|
|
2047
|
+
serviceIdChangeCount={serviceIdChangeCount}
|
|
2048
|
+
onChange={(name, value) => {
|
|
2049
|
+
this.changeQueryParams(name, value);
|
|
2050
|
+
}}
|
|
2051
|
+
/>
|
|
2052
|
+
<GroupFilter
|
|
2053
|
+
filterData={filterData} // 新增的筛选条件
|
|
2054
|
+
searchList={searchList} // 接口返回的 可以筛选的字段
|
|
2055
|
+
doSearch={this.reDoSearch} // 查询
|
|
2056
|
+
setState={this.filterSetState} // 查询条件赋值
|
|
2057
|
+
isQueryDisabled={isGlobalSearch && isDisabled} // 查询按钮是否禁止
|
|
2058
|
+
onFilterKeyDown={this.onFilterKeyDown} // 按下回车
|
|
2059
|
+
/>
|
|
2060
|
+
</div>
|
|
2061
|
+
<div className={styles['table-list']}>
|
|
2062
|
+
<SMTable
|
|
2063
|
+
columns={getIntlTableColums(newTableColumns, t)}
|
|
2064
|
+
isDrag
|
|
2065
|
+
getNewTableColumn={this.saveColumns}
|
|
2066
|
+
extraDom={this.showExtraDom()}
|
|
2067
|
+
dataSource={!orgAppChange ? tableDataSource : []}
|
|
2068
|
+
loading={listLoading}
|
|
2069
|
+
totalCount={!orgAppChange ? listTotalCount : 0}
|
|
2070
|
+
wrapperStyle={{
|
|
2071
|
+
margin: 0,
|
|
2072
|
+
}}
|
|
2073
|
+
scroll={{ x: 300, y: 'auto' }}
|
|
2074
|
+
popoverStyle={{ width: 250 }}
|
|
2075
|
+
showTotal={() => `${t('共')}${listTotalCount}${t('条')}`}
|
|
2076
|
+
i18nText={tableText(t)}
|
|
2077
|
+
setLocalTable
|
|
2078
|
+
customLoadingUrl={this.props.customLoadingIcon}
|
|
2079
|
+
antdProps={{
|
|
2080
|
+
pagination: {
|
|
2081
|
+
showQuickJumper: true,
|
|
2082
|
+
defaultPageSize: pageSize,
|
|
2083
|
+
pageSizeOptions: pageSizeOptions,
|
|
2084
|
+
total: !orgAppChange ? listTotalCount : 0,
|
|
2085
|
+
current: currentPage,
|
|
2086
|
+
showSizeChanger: true,
|
|
2087
|
+
},
|
|
2088
|
+
onChange: this.listOnSearch,
|
|
2089
|
+
}}
|
|
2090
|
+
/>
|
|
2091
|
+
</div>
|
|
2092
|
+
{tableDataSource.length && !orgAppChange ? (
|
|
2093
|
+
<TotalCount
|
|
2094
|
+
count={listRealTotalCount ?? listTotalCount}
|
|
2095
|
+
isShowRealTotalCount={!!listRealTotalCount}
|
|
2096
|
+
/>
|
|
2097
|
+
) : null}
|
|
2098
|
+
<NewHistoryDetailDrawer
|
|
2099
|
+
visible={detailVisible}
|
|
2100
|
+
headerData={headerData}
|
|
2101
|
+
detailData={detailData}
|
|
2102
|
+
serviceId={serviceId}
|
|
2103
|
+
modelText={modelText}
|
|
2104
|
+
onClose={() => this.setState({detailVisible: false})}
|
|
2105
|
+
onActionClick={this.onActionClick}
|
|
2106
|
+
/>
|
|
2107
|
+
<AddListModal
|
|
2108
|
+
visible={listModalVisible}
|
|
2109
|
+
listData={currentListData}
|
|
2110
|
+
serviceId={serviceId}
|
|
2111
|
+
organization={organization}
|
|
2112
|
+
currentValue={currentListValue}
|
|
2113
|
+
onCancel={() =>
|
|
2114
|
+
this.setState({
|
|
2115
|
+
listModalVisible: false,
|
|
2116
|
+
})
|
|
2117
|
+
}
|
|
2118
|
+
/>
|
|
2119
|
+
|
|
2120
|
+
<ExportTask
|
|
2121
|
+
formatHistoryTaskFormColumns={formatHistoryTaskFormColumns}
|
|
2122
|
+
buildHistoryTaskDetail={buildHistoryTaskDetail}
|
|
2123
|
+
organization={organization}
|
|
2124
|
+
serviceId={serviceId}
|
|
2125
|
+
currentUser={currentUser}
|
|
2126
|
+
appId={appId}
|
|
2127
|
+
title={t('历史数据导出')}
|
|
2128
|
+
visible={exportTaskVisible}
|
|
2129
|
+
storageTime={storageTime}
|
|
2130
|
+
selectListMap={{
|
|
2131
|
+
defaultRiskLevelData,
|
|
2132
|
+
defaultChannelEventData,
|
|
2133
|
+
defaultEventData,
|
|
2134
|
+
defaultRiskReasonData,
|
|
2135
|
+
defaultAppIdData,
|
|
2136
|
+
}}
|
|
2137
|
+
exportDetailMap={{
|
|
2138
|
+
channelMap,
|
|
2139
|
+
eventIdMap,
|
|
2140
|
+
riskLevelMap,
|
|
2141
|
+
verifyTypeMap,
|
|
2142
|
+
serviceIdMap,
|
|
2143
|
+
}}
|
|
2144
|
+
onCancel={() => {
|
|
2145
|
+
this.setState({
|
|
2146
|
+
exportTaskVisible: false,
|
|
2147
|
+
});
|
|
2148
|
+
}}
|
|
2149
|
+
/>
|
|
2150
|
+
</div>
|
|
2151
|
+
);
|
|
2152
|
+
}
|
|
2153
|
+
}
|
|
2154
|
+
|
|
2155
|
+
export default connect(({ user, login }) => ({
|
|
2156
|
+
currentUser: user.currentUser,
|
|
2157
|
+
isIntl: login?.loginModeObj?.isIntl,
|
|
2158
|
+
}))(withIntlComponents(History));
|