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,2225 @@
|
|
|
1
|
+
/* eslint-disable max-len */
|
|
2
|
+
import React, { Component } from 'react';
|
|
3
|
+
import { connect, getLocale } from 'umi';
|
|
4
|
+
import {
|
|
5
|
+
message,
|
|
6
|
+
Pagination,
|
|
7
|
+
Image,
|
|
8
|
+
Modal,
|
|
9
|
+
Spin,
|
|
10
|
+
Select,
|
|
11
|
+
Checkbox,
|
|
12
|
+
} from 'antd';
|
|
13
|
+
import moment from 'moment';
|
|
14
|
+
import _ from 'lodash';
|
|
15
|
+
import {SMTable, SMModal} from 'sm-antd';
|
|
16
|
+
|
|
17
|
+
import {getAuthFunction} from '@/utils/AuthorityManage';
|
|
18
|
+
import GlobalFilterListener from '@/components/GlobalFilterListener';
|
|
19
|
+
import {
|
|
20
|
+
exportFile,
|
|
21
|
+
formatSearchParams,
|
|
22
|
+
getUrlParams,
|
|
23
|
+
backTop,
|
|
24
|
+
Storage,
|
|
25
|
+
getDisabledDate,
|
|
26
|
+
formatArrayParams,
|
|
27
|
+
isJson,
|
|
28
|
+
handleSearchUrl,
|
|
29
|
+
getFinalDescription,
|
|
30
|
+
arrayMove,
|
|
31
|
+
isPrivate,
|
|
32
|
+
formatAppList,
|
|
33
|
+
findAllThirdLevelLabels,
|
|
34
|
+
findAllThirdLevelLabelsArray,
|
|
35
|
+
} from '@/utils/utils';
|
|
36
|
+
import {
|
|
37
|
+
SMIcon,
|
|
38
|
+
IconLoading,
|
|
39
|
+
TotalCount,
|
|
40
|
+
SMSearchForm,
|
|
41
|
+
FieldMessageModal,
|
|
42
|
+
SMNoteTip,
|
|
43
|
+
SMBackTop,
|
|
44
|
+
} from '@/components';
|
|
45
|
+
import { PAGE_SIZE } from '@/contants/pageSize';
|
|
46
|
+
import {
|
|
47
|
+
MODEL_TYPE,
|
|
48
|
+
HISTORY_COLUMN,
|
|
49
|
+
FIELD_SOURCE_TYPE,
|
|
50
|
+
SM_FIELD_SORT,
|
|
51
|
+
SERVICEID_LIST,
|
|
52
|
+
FILED_SET_DETAIL,
|
|
53
|
+
DEFAULT_SCREEN,
|
|
54
|
+
SM_ACCOUNT,
|
|
55
|
+
KEYBOARD_CODER,
|
|
56
|
+
AUTH_FUNCTION,
|
|
57
|
+
STORAGE_LIST_NAME,
|
|
58
|
+
} from '@/contants';
|
|
59
|
+
import withIntlComponents from '@/hoc/withIntlComponents';
|
|
60
|
+
import {judgeServiceIdType} from '@/contants/judgeServiceIdType';
|
|
61
|
+
import SMDetailDrawer from '../components/HistoryDetailDrawer';
|
|
62
|
+
import {
|
|
63
|
+
FeedbackPanel,
|
|
64
|
+
NewHistoryDetailDrawer,
|
|
65
|
+
AddListModal,
|
|
66
|
+
ExportTask,
|
|
67
|
+
GroupFilter,
|
|
68
|
+
FeedbackContent,
|
|
69
|
+
TJExportTask,
|
|
70
|
+
ImgSimilar,
|
|
71
|
+
} from '../components';
|
|
72
|
+
import ImgTable from './components/ImgTable';
|
|
73
|
+
import {
|
|
74
|
+
TABLE_COLUMN_RENDER,
|
|
75
|
+
FIELD_NAME_LIST,
|
|
76
|
+
METHOD_TYPE,
|
|
77
|
+
WILDCARD_PREFIX,
|
|
78
|
+
SEARCH_TYPE,
|
|
79
|
+
NOTE_TIP_TXT,
|
|
80
|
+
MAX_QUERY_NUMBER,
|
|
81
|
+
FEEDBACK_TYPE,
|
|
82
|
+
} from '../constants';
|
|
83
|
+
import {
|
|
84
|
+
handleLabelAll,
|
|
85
|
+
getLabelConfig,
|
|
86
|
+
} from '../help';
|
|
87
|
+
|
|
88
|
+
import styles from './index.less';
|
|
89
|
+
|
|
90
|
+
const PASS = 'PASS';
|
|
91
|
+
const REJECT = 'REJECT';
|
|
92
|
+
const PASS_CN = '通过';
|
|
93
|
+
const REJECT_CN = '拒绝';
|
|
94
|
+
|
|
95
|
+
const { ModalType } = SMModal;
|
|
96
|
+
const SHOW_FIELDS = [
|
|
97
|
+
SERVICEID_LIST.POST_IMG,
|
|
98
|
+
SERVICEID_LIST.POST_VIDEO_IMG,
|
|
99
|
+
SERVICEID_LIST.POST_VIDEOSTREAM_IMG,
|
|
100
|
+
SERVICEID_LIST.POST_VIDEOSTREAM_IMG_EN,
|
|
101
|
+
SERVICEID_LIST.POST_VIDEOSTREAM_IMG_AR,
|
|
102
|
+
];
|
|
103
|
+
const LangServiceId = [
|
|
104
|
+
SERVICEID_LIST.POST_VIDEOSTREAM_AR,
|
|
105
|
+
SERVICEID_LIST.POST_VIDEOSTREAM_EN,
|
|
106
|
+
SERVICEID_LIST.POST_VIDEOSTREAM_IMG_EN,
|
|
107
|
+
SERVICEID_LIST.POST_VIDEOSTREAM_IMG_AR,
|
|
108
|
+
];
|
|
109
|
+
const IMG_EXPORT = ['input', 'output'];// 字段配置 图片导出取input、output
|
|
110
|
+
const FIELD_MAX_NUMBER = 13; // 图片最多能显示13个字段
|
|
111
|
+
const {Option} = Select;
|
|
112
|
+
const ALL = 'all';
|
|
113
|
+
const FEEDBACK = '反馈';
|
|
114
|
+
|
|
115
|
+
class History extends Component {
|
|
116
|
+
constructor(props) {
|
|
117
|
+
super(props);
|
|
118
|
+
const {t} = this.props;
|
|
119
|
+
const appIdList = Storage.get('sm_appId_list')?.map(item => {
|
|
120
|
+
// 对缓存的 appid list 进行处理,对选项 all 的 appName 进行国际化处理
|
|
121
|
+
if (item.appId === 'all') {
|
|
122
|
+
return {
|
|
123
|
+
appName: t('全部'),
|
|
124
|
+
appId: item.appId,
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
return item;
|
|
128
|
+
}) || [];
|
|
129
|
+
let newAppIdList = [];
|
|
130
|
+
try {
|
|
131
|
+
appIdList.forEach(item => {
|
|
132
|
+
newAppIdList.push({
|
|
133
|
+
value: item.appId,
|
|
134
|
+
name: item.appName,
|
|
135
|
+
});
|
|
136
|
+
});
|
|
137
|
+
} catch (event) {
|
|
138
|
+
console.err(event);
|
|
139
|
+
}
|
|
140
|
+
this.state = {
|
|
141
|
+
defaultRangeTimeData: {
|
|
142
|
+
type: 'datePicker',
|
|
143
|
+
name: 'time',
|
|
144
|
+
data: {
|
|
145
|
+
dateSelectArr: [
|
|
146
|
+
{
|
|
147
|
+
name: '今天',
|
|
148
|
+
value: 1,
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
name: '近7天',
|
|
152
|
+
value: 7,
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
name: '近30天',
|
|
156
|
+
value: 30,
|
|
157
|
+
},
|
|
158
|
+
],
|
|
159
|
+
dateFormat: 'YYYY-MM-DD HH:mm:ss',
|
|
160
|
+
showTime: true,
|
|
161
|
+
},
|
|
162
|
+
},
|
|
163
|
+
defaultChannelEventData: {
|
|
164
|
+
type: 'descriptionCascader',
|
|
165
|
+
name: 'channelEvent',
|
|
166
|
+
isInlineBlock: true,
|
|
167
|
+
data: {
|
|
168
|
+
selectData: {
|
|
169
|
+
optionData: [],
|
|
170
|
+
title: '渠道',
|
|
171
|
+
defaultValue: [],
|
|
172
|
+
isAddAll: false,
|
|
173
|
+
isAddEle: true,
|
|
174
|
+
originValueName: 'label',
|
|
175
|
+
valueName: 'label_value',
|
|
176
|
+
labelName: 'label_name',
|
|
177
|
+
childrenName: 'son',
|
|
178
|
+
popupClassName: 'description-cascader',
|
|
179
|
+
isChannel: true,
|
|
180
|
+
},
|
|
181
|
+
},
|
|
182
|
+
},
|
|
183
|
+
defaultRiskLevelData: {
|
|
184
|
+
type: 'newSelect',
|
|
185
|
+
name: 'riskLevel',
|
|
186
|
+
data: {
|
|
187
|
+
selectData: {
|
|
188
|
+
optionData: [],
|
|
189
|
+
title: '识别结果',
|
|
190
|
+
labelId: 'riskLevel',
|
|
191
|
+
mode: 'multiple',
|
|
192
|
+
isAddAll: true,
|
|
193
|
+
isAllowClear: true,
|
|
194
|
+
isMaxTagCount: 3,
|
|
195
|
+
style: {'min-width': 150},
|
|
196
|
+
},
|
|
197
|
+
},
|
|
198
|
+
},
|
|
199
|
+
defaultRiskTypeData: {
|
|
200
|
+
type: 'newSelect',
|
|
201
|
+
name: 'riskType',
|
|
202
|
+
data: {
|
|
203
|
+
selectData: {
|
|
204
|
+
optionData: [],
|
|
205
|
+
title: '风险类型',
|
|
206
|
+
labelId: 'riskType',
|
|
207
|
+
mode: 'multiple',
|
|
208
|
+
isAddAll: true,
|
|
209
|
+
isAllowClear: true,
|
|
210
|
+
isMaxTagCount: 3,
|
|
211
|
+
style: {'min-width': 150},
|
|
212
|
+
},
|
|
213
|
+
},
|
|
214
|
+
},
|
|
215
|
+
defaultDescriptionData: {
|
|
216
|
+
type: 'descriptionCascader',
|
|
217
|
+
name: 'description',
|
|
218
|
+
data: {
|
|
219
|
+
selectData: {
|
|
220
|
+
optionData: [],
|
|
221
|
+
title: '风险原因',
|
|
222
|
+
defaultValue: [],
|
|
223
|
+
isAddAll: false,
|
|
224
|
+
isAddEle: true,
|
|
225
|
+
originValueName: 'label',
|
|
226
|
+
valueName: 'label_value',
|
|
227
|
+
labelName: 'label_name',
|
|
228
|
+
childrenName: 'son',
|
|
229
|
+
popupClassName: 'description-cascader',
|
|
230
|
+
},
|
|
231
|
+
},
|
|
232
|
+
},
|
|
233
|
+
defaultNewDescriptionData: {
|
|
234
|
+
type: 'NewInputSelect',
|
|
235
|
+
name: 'description',
|
|
236
|
+
data: {
|
|
237
|
+
selectData: {
|
|
238
|
+
selectData: [
|
|
239
|
+
{
|
|
240
|
+
value: '一号领导',
|
|
241
|
+
name: '一号领导',
|
|
242
|
+
},
|
|
243
|
+
],
|
|
244
|
+
isAddAll: true,
|
|
245
|
+
defaultValue: 'all',
|
|
246
|
+
},
|
|
247
|
+
},
|
|
248
|
+
},
|
|
249
|
+
defaultLabelSearchData: {
|
|
250
|
+
type: 'labelSearch',
|
|
251
|
+
name: 'labelSearch',
|
|
252
|
+
data: {
|
|
253
|
+
placeholder: '请输入搜索内容',
|
|
254
|
+
optionData: [
|
|
255
|
+
{
|
|
256
|
+
value: 'requestId',
|
|
257
|
+
name: '流水号',
|
|
258
|
+
},
|
|
259
|
+
],
|
|
260
|
+
},
|
|
261
|
+
},
|
|
262
|
+
defaultAppIdData: {
|
|
263
|
+
type: 'select',
|
|
264
|
+
name: 'appName',
|
|
265
|
+
data: {
|
|
266
|
+
selectData: {
|
|
267
|
+
optionData: newAppIdList,
|
|
268
|
+
title: '应用',
|
|
269
|
+
labelId: 'appId',
|
|
270
|
+
labelName: 'appName',
|
|
271
|
+
isAddAll: true,
|
|
272
|
+
defaultValue: 'all',
|
|
273
|
+
},
|
|
274
|
+
},
|
|
275
|
+
},
|
|
276
|
+
defaultExportButtonData: {
|
|
277
|
+
type: 'button',
|
|
278
|
+
name: 'exportHistory',
|
|
279
|
+
data: {
|
|
280
|
+
title: '历史数据导出',
|
|
281
|
+
},
|
|
282
|
+
},
|
|
283
|
+
queryParams: {
|
|
284
|
+
startTime: Number(moment().startOf('day').format('x')),
|
|
285
|
+
endTime: Number(moment().endOf('day').format('x')),
|
|
286
|
+
},
|
|
287
|
+
listData: [], // 历史记录列表数据
|
|
288
|
+
detailData: {}, // 当前详情数据
|
|
289
|
+
requestHeader: {},
|
|
290
|
+
totalCount: 0,
|
|
291
|
+
listRealTotalCount: 0,
|
|
292
|
+
detailVisible: false,
|
|
293
|
+
detailIndex: 0, // 当前详情数据的index
|
|
294
|
+
currentData: {}, // 单条数据详情
|
|
295
|
+
isFirstLoading: true,
|
|
296
|
+
labelList: [],
|
|
297
|
+
imgTableItemColumns: [],
|
|
298
|
+
listLoading: true,
|
|
299
|
+
channelEventList: [],
|
|
300
|
+
eventIdMap: {},
|
|
301
|
+
channelMap: {},
|
|
302
|
+
riskTypeMap: {}, // 用来对应riskType的 value 和name
|
|
303
|
+
currentItemData: {},
|
|
304
|
+
currentPage: 1,
|
|
305
|
+
pageSize: 20,
|
|
306
|
+
tableDataSource: [],
|
|
307
|
+
channelEvent: 'all', // 当前渠道事件拼接的字符串
|
|
308
|
+
currentGlobalFilter: {
|
|
309
|
+
organization: '',
|
|
310
|
+
appId: '',
|
|
311
|
+
clusterId: '',
|
|
312
|
+
},
|
|
313
|
+
tokenIdBlackList: [], // 账号黑名单列表
|
|
314
|
+
ignoreList: [], // 忽略词名单
|
|
315
|
+
sensitiveList: [], // 敏感词名单
|
|
316
|
+
currentListData: [], // 当前选择名单列表
|
|
317
|
+
listModalVisible: false, // 展示选择名单弹窗
|
|
318
|
+
currentListValue: '', // 当前要加名单的值
|
|
319
|
+
exportTaskVisible: false, // 历史数据导出
|
|
320
|
+
hitList: [],
|
|
321
|
+
type: '',
|
|
322
|
+
fieledConfig: false, // 是否用字段管理配置
|
|
323
|
+
headerData: {}, // 字段配置表头
|
|
324
|
+
newDetailVisible: false,
|
|
325
|
+
exportLoading: false,
|
|
326
|
+
filterData: [], // 高级筛选项
|
|
327
|
+
searchList: [], // 筛选
|
|
328
|
+
riskLabelList: [],
|
|
329
|
+
riskLabelOption: [],
|
|
330
|
+
maxQueryNumber: 0,
|
|
331
|
+
isSimilarOpen: false,
|
|
332
|
+
selectedContents: [], // 历史记录选中项
|
|
333
|
+
isRandomSampling: false, // 是否随机抽取
|
|
334
|
+
};
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
UNSAFE_componentWillMount() {
|
|
338
|
+
const { stateConfig, route } = this.props;
|
|
339
|
+
const serviceId = route.routeData.serviceId;
|
|
340
|
+
// 给风险原因、风险类型绑定查询数据函数,当光标焦点在文本框、下拉框中按下Enter调用该接口
|
|
341
|
+
const {defaultDescriptionData, defaultNewDescriptionData} = this.state;
|
|
342
|
+
const newDefaultDescriptionData = _.cloneDeep(defaultDescriptionData);
|
|
343
|
+
const newDefaultNewDescriptionData = _.cloneDeep(defaultNewDescriptionData);
|
|
344
|
+
newDefaultDescriptionData.data.selectData.doSearch = this.reDoSearch;
|
|
345
|
+
newDefaultNewDescriptionData.data.selectData.doSearch = this.reDoSearch;
|
|
346
|
+
this.setState({
|
|
347
|
+
defaultDescriptionData: newDefaultDescriptionData,
|
|
348
|
+
defaultNewDescriptionData: newDefaultNewDescriptionData,
|
|
349
|
+
});
|
|
350
|
+
if (stateConfig) {
|
|
351
|
+
this.setState({...stateConfig, fieledConfig: SHOW_FIELDS.includes(serviceId)});
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
componentDidMount() {
|
|
356
|
+
window.addEventListener('keydown', this.changeDetailData);
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
componentWillUnmount() {
|
|
360
|
+
window.removeEventListener('keydown', this.changeDetailData);
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
shouldComponentUpdate = (nextProps, nextState) => nextState.isrRefresh === this.state.isrRefresh;
|
|
364
|
+
|
|
365
|
+
// 设置url携带的默认参数(筛选/排行榜跳转)
|
|
366
|
+
setDefaultSearchParams = () => {
|
|
367
|
+
const url = location.href;
|
|
368
|
+
const {serviceId} = this.props.route.routeData;
|
|
369
|
+
const urlParams = getUrlParams(url);
|
|
370
|
+
const {
|
|
371
|
+
defaultRiskTypeData,
|
|
372
|
+
defaultLabelSearchData,
|
|
373
|
+
defaultRiskLevelData,
|
|
374
|
+
defaultChannelEventData,
|
|
375
|
+
defaultRangeTimeData,
|
|
376
|
+
queryParams,
|
|
377
|
+
searchList,
|
|
378
|
+
filterData,
|
|
379
|
+
defaultDescriptionData,
|
|
380
|
+
riskLabelList,
|
|
381
|
+
} = this.state;
|
|
382
|
+
const {t} = this.props;
|
|
383
|
+
const newLabelSearchData = _.cloneDeep(defaultLabelSearchData);
|
|
384
|
+
const newRiskTypeData = _.cloneDeep(defaultRiskTypeData);
|
|
385
|
+
const newRiskLevelData = _.cloneDeep(defaultRiskLevelData);
|
|
386
|
+
const newChannelEventData = _.cloneDeep(defaultChannelEventData);
|
|
387
|
+
const newRangeTimeData = _.cloneDeep(defaultRangeTimeData);
|
|
388
|
+
const newSearchList = _.cloneDeep(searchList);
|
|
389
|
+
const newFilterData = _.cloneDeep(filterData);
|
|
390
|
+
const newDescriptionData = _.cloneDeep(defaultDescriptionData);
|
|
391
|
+
let newChannelEvent = '';
|
|
392
|
+
const newQueryParams = _.cloneDeep(queryParams);
|
|
393
|
+
const isEncode = serviceId === SERVICEID_LIST.POST_VIDEO_IMG
|
|
394
|
+
|| serviceId === SERVICEID_LIST.POST_VIDEO_AUDIO || serviceId === SERVICEID_LIST.POST_VIDEOSTREAM_IMG;
|
|
395
|
+
|
|
396
|
+
if (urlParams.startTime && urlParams.endTime) {
|
|
397
|
+
let dateRange = [];
|
|
398
|
+
let startTime = Number(urlParams.startTime) || Number(moment(urlParams.startTime).format('x'));
|
|
399
|
+
let endTime = Number(urlParams.endTime) || Number(moment(urlParams.endTime).format('x'));
|
|
400
|
+
if (urlParams.isScreen) {
|
|
401
|
+
// 筛选
|
|
402
|
+
dateRange = [
|
|
403
|
+
moment.unix(urlParams.startTime / 1000).toDate(),
|
|
404
|
+
moment.unix(urlParams.endTime / 1000).toDate(),
|
|
405
|
+
];
|
|
406
|
+
newRangeTimeData.data.defaultDateRange = dateRange;
|
|
407
|
+
newQueryParams.startTime = Number(urlParams.startTime);
|
|
408
|
+
newQueryParams.endTime = Number(urlParams.endTime);
|
|
409
|
+
} else {
|
|
410
|
+
// 从排行榜跳转
|
|
411
|
+
dateRange = [
|
|
412
|
+
moment(startTime).toDate(),
|
|
413
|
+
moment(endTime).toDate(),
|
|
414
|
+
];
|
|
415
|
+
newRangeTimeData.data.defaultDateRange = dateRange;
|
|
416
|
+
newQueryParams.startTime = startTime;
|
|
417
|
+
newQueryParams.endTime = endTime;
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
// 历史记录跳转
|
|
421
|
+
if (urlParams.description) {
|
|
422
|
+
newRiskTypeData.data.selectData.defaultValue = urlParams.riskType;
|
|
423
|
+
newQueryParams.description = urlParams.description;
|
|
424
|
+
newQueryParams.riskType = urlParams.riskType;
|
|
425
|
+
}
|
|
426
|
+
// 排行榜跳转
|
|
427
|
+
if (urlParams.riskLevel && urlParams.riskLevel !== ALL) {
|
|
428
|
+
newRiskLevelData.data.selectData.defaultValue = [urlParams.riskLevel];
|
|
429
|
+
newQueryParams.riskLevel = [urlParams.riskLevel];
|
|
430
|
+
}
|
|
431
|
+
if (urlParams.channel && !['all|all', '|'].includes(urlParams.channel)) {
|
|
432
|
+
const [statChannel, statEventId] = urlParams.channel.split('|');
|
|
433
|
+
// 音频流、视频流排行榜渠道跳转渠道传参 channel=all 或者 channel=all|undefined
|
|
434
|
+
if (statChannel !== ALL && statEventId !== ALL) {
|
|
435
|
+
newChannelEventData.data.selectData.defaultValue = [[statChannel || statEventId]];
|
|
436
|
+
newQueryParams.channel = [statChannel || statEventId];
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
// 趋势饼图跳转过来
|
|
440
|
+
if (urlParams.sourcePage === 'trend') {
|
|
441
|
+
if (urlParams.channel) {
|
|
442
|
+
try {
|
|
443
|
+
newChannelEventData.data.selectData.defaultValue = urlParams.channel.split('|').map(item => [item]);
|
|
444
|
+
newQueryParams.channel = urlParams.channel.split('|');
|
|
445
|
+
} catch (error) {}
|
|
446
|
+
}
|
|
447
|
+
if (urlParams.isWarning === 'true') {
|
|
448
|
+
message.warning(t('所选范围超过30天,默认为您拉取近30天数据'));
|
|
449
|
+
}
|
|
450
|
+
if (urlParams.newDescription) {
|
|
451
|
+
const allThirdLevelLabels = findAllThirdLevelLabels(riskLabelList, urlParams.newDescription);
|
|
452
|
+
if (allThirdLevelLabels.length > 0) {
|
|
453
|
+
newDescriptionData.data.selectData.defaultValue = allThirdLevelLabels;
|
|
454
|
+
newQueryParams.description = allThirdLevelLabels;
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
if (urlParams?.riskTag) {
|
|
459
|
+
const description = urlParams?.riskTag.split('|');
|
|
460
|
+
const allThirdLevelLabels = findAllThirdLevelLabelsArray(riskLabelList, description);
|
|
461
|
+
if (allThirdLevelLabels.length > 0) {
|
|
462
|
+
newDescriptionData.data.selectData.defaultValue = allThirdLevelLabels;
|
|
463
|
+
newQueryParams.description = allThirdLevelLabels;
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
if (urlParams.text) {
|
|
467
|
+
const serviceId = this.props.route.routeData.serviceId;
|
|
468
|
+
switch (serviceId) {
|
|
469
|
+
case 'POST_TEXT':
|
|
470
|
+
newLabelSearchData.data.defaultValue = 'matchedItem';
|
|
471
|
+
newQueryParams.matchedItem = urlParams.text;
|
|
472
|
+
break;
|
|
473
|
+
case 'POST_IMG':
|
|
474
|
+
newLabelSearchData.data.defaultValue = 'matchedItem';
|
|
475
|
+
newQueryParams.matchedItem = urlParams.text;
|
|
476
|
+
break;
|
|
477
|
+
default:
|
|
478
|
+
newLabelSearchData.data.defaultValue = 'audioText';
|
|
479
|
+
newQueryParams.audioText = urlParams.text;
|
|
480
|
+
break;
|
|
481
|
+
}
|
|
482
|
+
newLabelSearchData.data.defaultContent = urlParams.text;
|
|
483
|
+
}
|
|
484
|
+
if (urlParams.searchKey) {
|
|
485
|
+
const isVideo = [
|
|
486
|
+
SERVICEID_LIST.POST_VIDEO_IMG,
|
|
487
|
+
SERVICEID_LIST.POST_VIDEOSTREAM_IMG,
|
|
488
|
+
SERVICEID_LIST.POST_VIDEOSTREAM_IMG_EN,
|
|
489
|
+
SERVICEID_LIST.POST_VIDEOSTREAM_IMG_AR,
|
|
490
|
+
].includes(serviceId);
|
|
491
|
+
const isRequestId = [HISTORY_COLUMN.REQUESTID].includes(urlParams.searchKey); // 视频流、视频文件流水号走模糊匹配
|
|
492
|
+
try {
|
|
493
|
+
newSearchList.map(item => {
|
|
494
|
+
// multipleSearch === '1'时 代表开启组合筛选(多选)
|
|
495
|
+
if (urlParams.multipleSearch === SEARCH_TYPE.MULTIPLE) {
|
|
496
|
+
const {searchKey, searchKeyType, searchContent} = urlParams;
|
|
497
|
+
handleSearchUrl({
|
|
498
|
+
item,
|
|
499
|
+
searchKey,
|
|
500
|
+
searchKeyType,
|
|
501
|
+
searchContent,
|
|
502
|
+
newFilterData,
|
|
503
|
+
});
|
|
504
|
+
} else if (item.fieldTag === urlParams.searchKey) {
|
|
505
|
+
let methodIndex = 0;
|
|
506
|
+
if (isVideo && isRequestId) {
|
|
507
|
+
item.method.forEach((item, index) => {
|
|
508
|
+
if (item.key === WILDCARD_PREFIX) {
|
|
509
|
+
methodIndex = index;
|
|
510
|
+
}
|
|
511
|
+
});
|
|
512
|
+
}
|
|
513
|
+
const obj = {
|
|
514
|
+
fieldTag: urlParams.searchKey,
|
|
515
|
+
method: item.method[methodIndex]?.key,
|
|
516
|
+
type: item.method[methodIndex]?.type,
|
|
517
|
+
enum: item.method[methodIndex]?.enum,
|
|
518
|
+
value: item.method[methodIndex] === METHOD_TYPE
|
|
519
|
+
? [decodeURIComponent(urlParams.searchContent)]
|
|
520
|
+
: decodeURIComponent(urlParams.searchContent),
|
|
521
|
+
};
|
|
522
|
+
newFilterData.push(obj);
|
|
523
|
+
}
|
|
524
|
+
});
|
|
525
|
+
} catch (error) {}
|
|
526
|
+
}
|
|
527
|
+
else {
|
|
528
|
+
newSearchList.map(item => {
|
|
529
|
+
if (item.fieldTag === HISTORY_COLUMN.TOKENID) {
|
|
530
|
+
newFilterData.push({
|
|
531
|
+
fieldTag: item.fieldTag,
|
|
532
|
+
method: item.method[0]?.key,
|
|
533
|
+
type: item.method[0]?.type,
|
|
534
|
+
value: undefined,
|
|
535
|
+
enum: item.enum || [],
|
|
536
|
+
});
|
|
537
|
+
}
|
|
538
|
+
});
|
|
539
|
+
}
|
|
540
|
+
// 检测storage中的 风险原因,如果存在则赋值
|
|
541
|
+
const defaultDescription = Storage.get(STORAGE_LIST_NAME.DESCRIPTION);
|
|
542
|
+
if (defaultDescription) {
|
|
543
|
+
newQueryParams.description = defaultDescription;
|
|
544
|
+
Storage.remove(STORAGE_LIST_NAME.DESCRIPTION);
|
|
545
|
+
}
|
|
546
|
+
this.setState({
|
|
547
|
+
defaultRangeTimeData: newRangeTimeData,
|
|
548
|
+
// defaultRiskTypeData: newRiskTypeData, 取消风险原因筛选 http://jira.ishumei.com/browse/SJZCZX-143?filter=-1
|
|
549
|
+
filterData: newFilterData,
|
|
550
|
+
defaultRiskLevelData: newRiskLevelData,
|
|
551
|
+
defaultChannelEventData: newChannelEventData,
|
|
552
|
+
queryParams: newQueryParams,
|
|
553
|
+
channelEvent: newChannelEvent,
|
|
554
|
+
defaultDescriptionData: newDescriptionData,
|
|
555
|
+
}, () => this.doSearch());
|
|
556
|
+
};
|
|
557
|
+
|
|
558
|
+
// 获取名单列表
|
|
559
|
+
getMDList = async () => {
|
|
560
|
+
const { route, dispatch } = this.props;
|
|
561
|
+
const { serviceId } = route.routeData;
|
|
562
|
+
const { currentGlobalFilter } = this.state;
|
|
563
|
+
let { organization, appId } = currentGlobalFilter;
|
|
564
|
+
let listContent = [];
|
|
565
|
+
let listContent1 = [];
|
|
566
|
+
let listContent2 = [];
|
|
567
|
+
if (appId === 'all') {
|
|
568
|
+
appId = '';
|
|
569
|
+
}
|
|
570
|
+
listContent1 = await dispatch({
|
|
571
|
+
type: 'history/fetchListService',
|
|
572
|
+
payload: {
|
|
573
|
+
organization,
|
|
574
|
+
appId,
|
|
575
|
+
product: serviceId,
|
|
576
|
+
type: 1,
|
|
577
|
+
offset: 0,
|
|
578
|
+
count: 1000,
|
|
579
|
+
},
|
|
580
|
+
});
|
|
581
|
+
|
|
582
|
+
if (serviceId === 'POST_IMG') {
|
|
583
|
+
listContent2 = await dispatch({
|
|
584
|
+
type: 'history/fetchListService',
|
|
585
|
+
payload: {
|
|
586
|
+
organization,
|
|
587
|
+
appId,
|
|
588
|
+
product: serviceId,
|
|
589
|
+
type: 4,
|
|
590
|
+
offset: 0,
|
|
591
|
+
count: 1000,
|
|
592
|
+
},
|
|
593
|
+
});
|
|
594
|
+
}
|
|
595
|
+
listContent = listContent1.concat(listContent2);
|
|
596
|
+
let tokenIdBlackList = [];
|
|
597
|
+
let ignoreList = [];
|
|
598
|
+
let sensitiveList = [];
|
|
599
|
+
listContent.forEach(item => {
|
|
600
|
+
let config = item.config;
|
|
601
|
+
if (config.checkItems.includes('tokenId')) {
|
|
602
|
+
if (config.action === 'REJECT') {
|
|
603
|
+
tokenIdBlackList.push({
|
|
604
|
+
name: item.name,
|
|
605
|
+
value: item.listId,
|
|
606
|
+
});
|
|
607
|
+
}
|
|
608
|
+
}
|
|
609
|
+
if (
|
|
610
|
+
config.checkItems.includes('text')
|
|
611
|
+
&& config.checkItems.length === 1
|
|
612
|
+
) {
|
|
613
|
+
if (config.action === 'IGNORE') {
|
|
614
|
+
ignoreList.push({
|
|
615
|
+
name: item.name,
|
|
616
|
+
value: item.listId,
|
|
617
|
+
});
|
|
618
|
+
} else if (config.action === 'REJECT') {
|
|
619
|
+
sensitiveList.push({
|
|
620
|
+
name: item.name,
|
|
621
|
+
value: item.listId,
|
|
622
|
+
});
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
});
|
|
626
|
+
|
|
627
|
+
this.setState({
|
|
628
|
+
tokenIdBlackList,
|
|
629
|
+
ignoreList,
|
|
630
|
+
sensitiveList,
|
|
631
|
+
hitList: listContent,
|
|
632
|
+
});
|
|
633
|
+
};
|
|
634
|
+
|
|
635
|
+
// 获取风险标签
|
|
636
|
+
getNewRiskLabelList = async () => {
|
|
637
|
+
const { dispatch, route } = this.props;
|
|
638
|
+
const newDescriptionList = _.cloneDeep(this.state.defaultDescriptionData);
|
|
639
|
+
if (dispatch) {
|
|
640
|
+
const labelConfig = getLabelConfig(route.routeData.serviceId);
|
|
641
|
+
const riskLabelList = await dispatch({
|
|
642
|
+
type: labelConfig.action,
|
|
643
|
+
payload: {
|
|
644
|
+
product: labelConfig.product,
|
|
645
|
+
category: 'rule',
|
|
646
|
+
},
|
|
647
|
+
});
|
|
648
|
+
const newRiskLabelList = handleLabelAll(riskLabelList, newDescriptionList.data.selectData);
|
|
649
|
+
newDescriptionList.data.selectData.optionData = newRiskLabelList;
|
|
650
|
+
// 风险排行榜带过来风险原因默认参数
|
|
651
|
+
const defaultDescription = Storage.get(STORAGE_LIST_NAME.DESCRIPTION);
|
|
652
|
+
if (defaultDescription) {
|
|
653
|
+
newDescriptionList.data.selectData.defaultValue = defaultDescription;
|
|
654
|
+
}
|
|
655
|
+
this.setState({
|
|
656
|
+
defaultDescriptionData: newDescriptionList,
|
|
657
|
+
riskLabelList,
|
|
658
|
+
riskLabelOption: newRiskLabelList,
|
|
659
|
+
});
|
|
660
|
+
}
|
|
661
|
+
};
|
|
662
|
+
|
|
663
|
+
globalFilterChange = obj => {
|
|
664
|
+
const {defaultRangeTimeData} = this.state;
|
|
665
|
+
const {
|
|
666
|
+
orgChange,
|
|
667
|
+
appIdChange,
|
|
668
|
+
clusterIdChange,
|
|
669
|
+
currentGlobalFilter,
|
|
670
|
+
} = obj;
|
|
671
|
+
this.setState(
|
|
672
|
+
{
|
|
673
|
+
currentGlobalFilter,
|
|
674
|
+
},
|
|
675
|
+
async () => {
|
|
676
|
+
if (orgChange) {
|
|
677
|
+
this.getRiskTypeList();
|
|
678
|
+
this.getRiskLevelList();
|
|
679
|
+
this.getNewRiskLabelList();
|
|
680
|
+
await this.getOpenOrganization();
|
|
681
|
+
// 列表展示需要渠道事件列表对应中文
|
|
682
|
+
await this.getChannelEventList();
|
|
683
|
+
this.getMDList();
|
|
684
|
+
// 不是第一次搜索
|
|
685
|
+
if (!this.state.isFirstLoading) {
|
|
686
|
+
// 公司改变 重置搜索筛选项
|
|
687
|
+
const { queryParams } = this.state;
|
|
688
|
+
let newQueryParams = _.cloneDeep(queryParams);
|
|
689
|
+
const newRangeTimeData = _.cloneDeep(defaultRangeTimeData);
|
|
690
|
+
newQueryParams.eventId = '';
|
|
691
|
+
newQueryParams.channel = '';
|
|
692
|
+
newQueryParams.riskLevel = '';
|
|
693
|
+
newQueryParams.riskType = '';
|
|
694
|
+
newQueryParams.startTime = Number(moment().startOf('day').format('x'));
|
|
695
|
+
newQueryParams.endTime = Number(moment().endOf('day').format('x'));
|
|
696
|
+
newQueryParams.description = ['all'];
|
|
697
|
+
newRangeTimeData.data.defaultDateRange = [
|
|
698
|
+
moment().startOf('day').toDate(),
|
|
699
|
+
moment().endOf('day').toDate(),
|
|
700
|
+
];
|
|
701
|
+
this.setState(
|
|
702
|
+
{
|
|
703
|
+
queryParams: newQueryParams,
|
|
704
|
+
currentPage: 1,
|
|
705
|
+
maxQueryNumber: 0,
|
|
706
|
+
resetCount: _.random(100000),
|
|
707
|
+
defaultRangeTimeData: newRangeTimeData,
|
|
708
|
+
filterData: [],
|
|
709
|
+
},
|
|
710
|
+
() => {
|
|
711
|
+
this.getFieldSetHearder(true);
|
|
712
|
+
}
|
|
713
|
+
);
|
|
714
|
+
} else {
|
|
715
|
+
this.setState(
|
|
716
|
+
{
|
|
717
|
+
isFirstLoading: false,
|
|
718
|
+
},
|
|
719
|
+
() => {
|
|
720
|
+
this.getFieldSetHearder();
|
|
721
|
+
}
|
|
722
|
+
);
|
|
723
|
+
}
|
|
724
|
+
} else {
|
|
725
|
+
const {queryParams} = this.state;
|
|
726
|
+
let newQueryParams = _.cloneDeep(queryParams);
|
|
727
|
+
this.getMDList();
|
|
728
|
+
await this.getChannelEventList();
|
|
729
|
+
this.setState(
|
|
730
|
+
{
|
|
731
|
+
currentPage: 1,
|
|
732
|
+
queryParams: {
|
|
733
|
+
...newQueryParams,
|
|
734
|
+
channel: '',
|
|
735
|
+
},
|
|
736
|
+
resetCount: _.random(100000),
|
|
737
|
+
filterData: [],
|
|
738
|
+
},
|
|
739
|
+
() => {
|
|
740
|
+
this.getFieldSetHearder(true);
|
|
741
|
+
}
|
|
742
|
+
);
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
);
|
|
746
|
+
};
|
|
747
|
+
|
|
748
|
+
// 请求搜索
|
|
749
|
+
doSearch = () => {
|
|
750
|
+
const {t = t => t} = this.props;
|
|
751
|
+
if (this.state.maxQueryNumber > MAX_QUERY_NUMBER) {
|
|
752
|
+
message.warning(t('风险原因已超查询上限,单次查询请控制在10个以内!'));
|
|
753
|
+
return;
|
|
754
|
+
}
|
|
755
|
+
// 返回顶部
|
|
756
|
+
backTop(document.getElementById('top-left-layout-content'));
|
|
757
|
+
this.setState({
|
|
758
|
+
listLoading: true,
|
|
759
|
+
});
|
|
760
|
+
this.getHistoryList();
|
|
761
|
+
};
|
|
762
|
+
|
|
763
|
+
// 获取历史记录列表数据
|
|
764
|
+
getHistoryList = () => {
|
|
765
|
+
const {dispatch} = this.props;
|
|
766
|
+
const newParams = this.getSearchParams();
|
|
767
|
+
this.getFieldSetList(newParams, dispatch);
|
|
768
|
+
};
|
|
769
|
+
|
|
770
|
+
exportData = (value = {}) => {
|
|
771
|
+
const {route, t} = this.props;
|
|
772
|
+
const {imgTableItemColumns, isRandomSampling} = this.state;
|
|
773
|
+
let newSearchParams = this.getSearchParams();
|
|
774
|
+
const type = value?.type || 'csv';
|
|
775
|
+
newSearchParams.count = 10000;
|
|
776
|
+
newSearchParams.isRandomSampling = isRandomSampling;
|
|
777
|
+
if (value?.count) {
|
|
778
|
+
newSearchParams.count = value.count;
|
|
779
|
+
}
|
|
780
|
+
this.setState({
|
|
781
|
+
exportLoading: true,
|
|
782
|
+
exportTaskVisible: false,
|
|
783
|
+
});
|
|
784
|
+
const titleMap = {
|
|
785
|
+
POST_TEXT: '文本历史记录',
|
|
786
|
+
POST_IMG: '图片历史记录',
|
|
787
|
+
POST_ARTICLE: '网页历史记录',
|
|
788
|
+
POST_AUDIO: '音频文件片段历史记录',
|
|
789
|
+
POST_AUDIOSTREAM: '音频流片段历史记录',
|
|
790
|
+
POST_VIDEO: '视频文件历史记录',
|
|
791
|
+
POST_VIDEO_IMG: '视频文件截帧图片历史记录',
|
|
792
|
+
POST_VIDEO_AUDIO: '视频文件音频片段历史记录',
|
|
793
|
+
POST_VIDEOSTREAM: '视频流历史记录',
|
|
794
|
+
POST_VIDEOSTREAM_AUDIO: '视频流音频片段历史记录',
|
|
795
|
+
POST_VIDEOSTREAM_IMG: '视频流截帧图片历史记录',
|
|
796
|
+
POST_VIDEOSTREAM_IMG_EN: '视频流截帧图片(英文)历史记录',
|
|
797
|
+
POST_VIDEOSTREAM_IMG_AR: '视频流截帧图片(英文)历史记录',
|
|
798
|
+
};
|
|
799
|
+
let downloadTitle = t(titleMap[route.routeData.serviceId]);
|
|
800
|
+
let downloadUrl = '/webapi/history/download';
|
|
801
|
+
downloadUrl = MODEL_TYPE.HISTORY_LIST.DOWNLOAD;
|
|
802
|
+
newSearchParams.fieldSet = imgTableItemColumns.filter(item => item.name !== HISTORY_COLUMN.OPERATION).map(item => item.uuid);
|
|
803
|
+
newSearchParams.fileExtension = type;
|
|
804
|
+
let title = `${t('天净')}-${t(downloadTitle)}-${t('历史记录表')}.${type}`;
|
|
805
|
+
|
|
806
|
+
exportFile(downloadUrl, title, newSearchParams).then(() => {
|
|
807
|
+
this.setState({
|
|
808
|
+
exportLoading: false,
|
|
809
|
+
exportTaskVisible: false,
|
|
810
|
+
isRandomSampling: false,
|
|
811
|
+
});
|
|
812
|
+
});
|
|
813
|
+
};
|
|
814
|
+
|
|
815
|
+
// 获取查询接口参数
|
|
816
|
+
getSearchParams = () => {
|
|
817
|
+
const { route, specialServiceId = '' } = this.props;
|
|
818
|
+
const {
|
|
819
|
+
currentGlobalFilter,
|
|
820
|
+
queryParams,
|
|
821
|
+
pageSize,
|
|
822
|
+
currentPage,
|
|
823
|
+
filterData,
|
|
824
|
+
channelEventList,
|
|
825
|
+
riskLevelList,
|
|
826
|
+
riskTypeMap,
|
|
827
|
+
riskLabelList,
|
|
828
|
+
} = this.state;
|
|
829
|
+
const { organization, appId } = currentGlobalFilter;
|
|
830
|
+
const serviceId = specialServiceId || route.routeData.serviceId;
|
|
831
|
+
const search = _.cloneDeep(filterData).filter(item => item.value && item.value.length).map(item => {
|
|
832
|
+
delete item.enum;
|
|
833
|
+
return item;
|
|
834
|
+
}) || [];
|
|
835
|
+
const channelList = channelEventList.map(item => item.channel);
|
|
836
|
+
const serviceIds = [
|
|
837
|
+
SERVICEID_LIST.POST_AUDIO,
|
|
838
|
+
SERVICEID_LIST.POST_AUDIO_EN,
|
|
839
|
+
SERVICEID_LIST.POST_AUDIO_AR,
|
|
840
|
+
SERVICEID_LIST.POST_AUDIOSTREAM,
|
|
841
|
+
SERVICEID_LIST.POST_AUDIOSTREAM_EN,
|
|
842
|
+
SERVICEID_LIST.POST_AUDIOSTREAM_AR,
|
|
843
|
+
SERVICEID_LIST.POST_VIDEO,
|
|
844
|
+
SERVICEID_LIST.POST_VIDEOSTREAM_EN,
|
|
845
|
+
SERVICEID_LIST.POST_VIDEOSTREAM_AR,
|
|
846
|
+
SERVICEID_LIST.POST_VIDEOSTREAM,
|
|
847
|
+
];
|
|
848
|
+
let searchParams = {
|
|
849
|
+
organization: organization,
|
|
850
|
+
serviceId: serviceId,
|
|
851
|
+
appId: appId,
|
|
852
|
+
count: pageSize,
|
|
853
|
+
offset: (currentPage - 1) * pageSize,
|
|
854
|
+
search,
|
|
855
|
+
...queryParams,
|
|
856
|
+
};
|
|
857
|
+
if (_.isEqual(_.sortBy(channelList), _.sortBy(queryParams.channel))) {
|
|
858
|
+
delete searchParams.channel;
|
|
859
|
+
}
|
|
860
|
+
if (_.isEqual(_.sortBy(riskLevelList), _.sortBy(queryParams.riskLevel))) {
|
|
861
|
+
delete searchParams.riskLevel;
|
|
862
|
+
}
|
|
863
|
+
if (searchParams.description && _.isArray(searchParams.description)) {
|
|
864
|
+
if (searchParams.description.includes('all')) {
|
|
865
|
+
delete searchParams.description;
|
|
866
|
+
}
|
|
867
|
+
else {
|
|
868
|
+
try {
|
|
869
|
+
const finalLabel = getFinalDescription(searchParams.description, riskLabelList);
|
|
870
|
+
const formatFinalLabel = _.map(finalLabel, ele => {
|
|
871
|
+
return _.map(ele, item => {
|
|
872
|
+
return item.split('|')[0];
|
|
873
|
+
}).join(getLocale() === 'zh-CN' ? ':' : ':'); // 架构设计不合理,导致风险类型分隔符和语种有关,前端需要兼容
|
|
874
|
+
});
|
|
875
|
+
searchParams.description = formatFinalLabel;
|
|
876
|
+
} catch (error) {}
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
// 音频文件、音频流、视频文件、视频流风险类型 riskType 传参改成riskDescription;
|
|
881
|
+
if (serviceIds.includes(serviceId)) {
|
|
882
|
+
if (_.isArray(searchParams.riskType)) {
|
|
883
|
+
searchParams.riskDescription = searchParams.riskType.map(item => riskTypeMap[item]);
|
|
884
|
+
}
|
|
885
|
+
else {
|
|
886
|
+
searchParams.riskDescription = riskTypeMap[searchParams.riskType];
|
|
887
|
+
}
|
|
888
|
+
delete searchParams.riskType;
|
|
889
|
+
}
|
|
890
|
+
// riskType 值为json 特殊处理
|
|
891
|
+
if (_.isArray(searchParams.riskType)
|
|
892
|
+
&& searchParams.riskType.length
|
|
893
|
+
&& searchParams.riskType.every(item => isJson(item))) {
|
|
894
|
+
let riskTypeList = [];
|
|
895
|
+
searchParams.riskType.forEach(item => {
|
|
896
|
+
riskTypeList = riskTypeList.concat(JSON.parse(item));
|
|
897
|
+
});
|
|
898
|
+
searchParams.riskType = JSON.stringify(riskTypeList);
|
|
899
|
+
};
|
|
900
|
+
// 处理一下searchParams,如果为'' || 'all', 则删除该项
|
|
901
|
+
let newSearchParams = formatArrayParams(formatSearchParams(searchParams));
|
|
902
|
+
|
|
903
|
+
return newSearchParams;
|
|
904
|
+
};
|
|
905
|
+
|
|
906
|
+
// 获取渠道事件列表
|
|
907
|
+
getChannelEventList = async () => {
|
|
908
|
+
const { dispatch, route } = this.props;
|
|
909
|
+
const { appId, organization } = this?.state?.currentGlobalFilter || {};
|
|
910
|
+
const params = {
|
|
911
|
+
organization,
|
|
912
|
+
serviceId: route.routeData.serviceId,
|
|
913
|
+
onlyChannel: true,
|
|
914
|
+
};
|
|
915
|
+
if (appId !== 'all') {
|
|
916
|
+
params.appId = appId;
|
|
917
|
+
}
|
|
918
|
+
if (dispatch) {
|
|
919
|
+
let channelEventList = await dispatch({
|
|
920
|
+
type: 'base/fetchChannelEventList',
|
|
921
|
+
payload: params,
|
|
922
|
+
});
|
|
923
|
+
if (channelEventList) {
|
|
924
|
+
this.setState({
|
|
925
|
+
channelEventList,
|
|
926
|
+
});
|
|
927
|
+
let channelMap = {};
|
|
928
|
+
let eventIdMap = {};
|
|
929
|
+
let newOptionData = [];
|
|
930
|
+
const channels = [];
|
|
931
|
+
let newChannelEventData = _.cloneDeep(
|
|
932
|
+
this.state.defaultChannelEventData
|
|
933
|
+
);
|
|
934
|
+
channelEventList.forEach(item => {
|
|
935
|
+
newOptionData.push({
|
|
936
|
+
label_value: item.channel,
|
|
937
|
+
label_name: item.displayName,
|
|
938
|
+
});
|
|
939
|
+
if (item.channel !== '') {
|
|
940
|
+
channelMap[item.channel] = item.channelName;
|
|
941
|
+
}
|
|
942
|
+
if (item.clientEventId !== '') {
|
|
943
|
+
eventIdMap[item.clientEventId] = item.eventName;
|
|
944
|
+
}
|
|
945
|
+
channels.push(item.channel);
|
|
946
|
+
});
|
|
947
|
+
newChannelEventData.data.selectData.optionData = newOptionData;
|
|
948
|
+
newChannelEventData.data.selectData.doSearch = this.doSearch;
|
|
949
|
+
this.setState({
|
|
950
|
+
defaultChannelEventData: newChannelEventData,
|
|
951
|
+
channelMap,
|
|
952
|
+
eventIdMap,
|
|
953
|
+
resetCount: _.random(100000),
|
|
954
|
+
});
|
|
955
|
+
}
|
|
956
|
+
}
|
|
957
|
+
};
|
|
958
|
+
|
|
959
|
+
// 获取风险类型列表
|
|
960
|
+
getRiskTypeList = async () => {
|
|
961
|
+
const { dispatch, route } = this.props;
|
|
962
|
+
if (dispatch) {
|
|
963
|
+
let riskTypeList = await dispatch({
|
|
964
|
+
type: 'base/fetchRiskTypeList',
|
|
965
|
+
payload: {
|
|
966
|
+
organization: this.state.currentGlobalFilter.organization,
|
|
967
|
+
serviceId: route.routeData.serviceId,
|
|
968
|
+
},
|
|
969
|
+
});
|
|
970
|
+
let newRiskTypeData = _.cloneDeep(
|
|
971
|
+
this.state.defaultRiskTypeData
|
|
972
|
+
);
|
|
973
|
+
let newOptionData = [];
|
|
974
|
+
let newRiskTypeMap = {};
|
|
975
|
+
if (riskTypeList) {
|
|
976
|
+
riskTypeList.forEach(item => {
|
|
977
|
+
newOptionData.push({
|
|
978
|
+
value: item.riskType,
|
|
979
|
+
name: item.riskTypeName,
|
|
980
|
+
});
|
|
981
|
+
newRiskTypeMap[item.riskType] = item.riskTypeName;
|
|
982
|
+
});
|
|
983
|
+
}
|
|
984
|
+
newRiskTypeData.data.selectData.optionData = newOptionData;
|
|
985
|
+
newRiskTypeData.data.selectData.doSearch = this.reDoSearch;
|
|
986
|
+
this.setState({
|
|
987
|
+
defaultRiskTypeData: newRiskTypeData,
|
|
988
|
+
riskTypeMap: newRiskTypeMap,
|
|
989
|
+
riskTypeList: riskTypeList,
|
|
990
|
+
});
|
|
991
|
+
}
|
|
992
|
+
};
|
|
993
|
+
|
|
994
|
+
// 获取识别结果列表
|
|
995
|
+
getRiskLevelList = async () => {
|
|
996
|
+
const { dispatch, route } = this.props;
|
|
997
|
+
if (dispatch) {
|
|
998
|
+
let riskLevelList = await dispatch({
|
|
999
|
+
type: 'base/fetchRiskLevelList',
|
|
1000
|
+
payload: {
|
|
1001
|
+
organization: this.state.currentGlobalFilter.organization,
|
|
1002
|
+
serviceId: route.routeData.serviceId,
|
|
1003
|
+
},
|
|
1004
|
+
});
|
|
1005
|
+
let newRiskLevelData = _.cloneDeep(
|
|
1006
|
+
this.state.defaultRiskLevelData
|
|
1007
|
+
);
|
|
1008
|
+
let newOptionData = [];
|
|
1009
|
+
const riskLevels = [];
|
|
1010
|
+
if (riskLevelList) {
|
|
1011
|
+
riskLevelList.forEach(item => {
|
|
1012
|
+
// 天净不需要二次验证筛选项
|
|
1013
|
+
if (item.risk_level !== 'VERIFY') {
|
|
1014
|
+
newOptionData.push({
|
|
1015
|
+
value: item.risk_level,
|
|
1016
|
+
name: item.risk_level_name,
|
|
1017
|
+
});
|
|
1018
|
+
riskLevels.push(item.risk_level);
|
|
1019
|
+
}
|
|
1020
|
+
});
|
|
1021
|
+
}
|
|
1022
|
+
newRiskLevelData.data.selectData.optionData = newOptionData;
|
|
1023
|
+
newRiskLevelData.data.selectData.doSearch = this.reDoSearch;
|
|
1024
|
+
this.setState({
|
|
1025
|
+
defaultRiskLevelData: newRiskLevelData,
|
|
1026
|
+
riskLevelList: riskLevels,
|
|
1027
|
+
});
|
|
1028
|
+
}
|
|
1029
|
+
};
|
|
1030
|
+
// 查询当前公司是否开通30天服务
|
|
1031
|
+
getOpenOrganization = async () => {
|
|
1032
|
+
const {dispatch, route, specialServiceId} = this.props;
|
|
1033
|
+
const serviceId = specialServiceId || route.routeData.serviceId;
|
|
1034
|
+
const newRangeTimeData = _.cloneDeep(this.state.defaultRangeTimeData);
|
|
1035
|
+
if (dispatch) {
|
|
1036
|
+
const {storageTime} = await dispatch({
|
|
1037
|
+
type: 'history/getOpenOrganization',
|
|
1038
|
+
payload: {
|
|
1039
|
+
organization: this.state.currentGlobalFilter.organization,
|
|
1040
|
+
serviceId,
|
|
1041
|
+
},
|
|
1042
|
+
});
|
|
1043
|
+
const {disabledDateEnd} = getDisabledDate(storageTime);
|
|
1044
|
+
newRangeTimeData.data.disabledDateFeedback = disabledDateEnd;
|
|
1045
|
+
this.setState({
|
|
1046
|
+
defaultRangeTimeData: newRangeTimeData,
|
|
1047
|
+
storageTime,
|
|
1048
|
+
});
|
|
1049
|
+
}
|
|
1050
|
+
};
|
|
1051
|
+
// 获取搜索菜单
|
|
1052
|
+
getFormData() {
|
|
1053
|
+
let formData = [];
|
|
1054
|
+
const {
|
|
1055
|
+
defaultRangeTimeData,
|
|
1056
|
+
defaultChannelEventData,
|
|
1057
|
+
defaultRiskLevelData,
|
|
1058
|
+
defaultRiskTypeData,
|
|
1059
|
+
defaultNewDescriptionData,
|
|
1060
|
+
defaultDescriptionData,
|
|
1061
|
+
} = this.state;
|
|
1062
|
+
const {route} = this.props;
|
|
1063
|
+
formData.push(
|
|
1064
|
+
defaultRangeTimeData,
|
|
1065
|
+
defaultChannelEventData,
|
|
1066
|
+
defaultRiskLevelData,
|
|
1067
|
+
defaultDescriptionData
|
|
1068
|
+
);
|
|
1069
|
+
return formData;
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
/**
|
|
1073
|
+
* 搜索筛选项更改
|
|
1074
|
+
* @param {*} name 更改筛选项类型名称
|
|
1075
|
+
* @param {*} value 更改后的值
|
|
1076
|
+
*/
|
|
1077
|
+
changeQueryParams = (name, value, isAll, number) => {
|
|
1078
|
+
const {serviceId} = this.props.route.routeData;
|
|
1079
|
+
const {queryParams} = this.state;
|
|
1080
|
+
let newQueryParams = _.cloneDeep(queryParams);
|
|
1081
|
+
let isOk = true;
|
|
1082
|
+
switch (name) {
|
|
1083
|
+
case 'channelEvent':
|
|
1084
|
+
newQueryParams.channel = _.isArray(value) ? _.flattenDeep(value) : value;
|
|
1085
|
+
break;
|
|
1086
|
+
case 'time':
|
|
1087
|
+
let startTime = Number(value[0].format('x'));
|
|
1088
|
+
let endTime = Number(value[1].format('x'));
|
|
1089
|
+
newQueryParams.startTime = startTime;
|
|
1090
|
+
newQueryParams.endTime = endTime;
|
|
1091
|
+
break;
|
|
1092
|
+
case 'labelSearch':
|
|
1093
|
+
const { defaultLabelSearchData } = this.state;
|
|
1094
|
+
defaultLabelSearchData.data.optionData.forEach(item => {
|
|
1095
|
+
newQueryParams[item.value] = '';
|
|
1096
|
+
});
|
|
1097
|
+
newQueryParams[value.searchId] = value.searchText;
|
|
1098
|
+
break;
|
|
1099
|
+
case 'description':
|
|
1100
|
+
if (isAll) {
|
|
1101
|
+
newQueryParams[name] = ['all'];
|
|
1102
|
+
}
|
|
1103
|
+
else {
|
|
1104
|
+
newQueryParams[name] = value;
|
|
1105
|
+
}
|
|
1106
|
+
this.setState({
|
|
1107
|
+
maxQueryNumber: number,
|
|
1108
|
+
});
|
|
1109
|
+
break;
|
|
1110
|
+
default:
|
|
1111
|
+
newQueryParams[name] = value;
|
|
1112
|
+
break;
|
|
1113
|
+
}
|
|
1114
|
+
if (!isOk) {
|
|
1115
|
+
return;
|
|
1116
|
+
}
|
|
1117
|
+
this.setState({ queryParams: newQueryParams});
|
|
1118
|
+
};
|
|
1119
|
+
|
|
1120
|
+
/**
|
|
1121
|
+
* 页码改变
|
|
1122
|
+
* @param {*} page
|
|
1123
|
+
* @param {*} pageSize
|
|
1124
|
+
*/
|
|
1125
|
+
paginationOnchange = (page, pageSize) => {
|
|
1126
|
+
const oldPageSize = this.state.pageSize;
|
|
1127
|
+
this.setState(
|
|
1128
|
+
{
|
|
1129
|
+
listLoading: true,
|
|
1130
|
+
currentPage: oldPageSize === pageSize ? page : 1,
|
|
1131
|
+
pageSize: pageSize,
|
|
1132
|
+
},
|
|
1133
|
+
() => {
|
|
1134
|
+
this.doSearch();
|
|
1135
|
+
}
|
|
1136
|
+
);
|
|
1137
|
+
};
|
|
1138
|
+
|
|
1139
|
+
|
|
1140
|
+
changeVisible(key, value) {
|
|
1141
|
+
this.setState({
|
|
1142
|
+
[key]: value,
|
|
1143
|
+
});
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
changeDetailData = e => {
|
|
1147
|
+
// 没有打开详情时 不做处理
|
|
1148
|
+
if (!this.state.detailVisible && !this.state.newDetailVisible) {
|
|
1149
|
+
return;
|
|
1150
|
+
}
|
|
1151
|
+
const {
|
|
1152
|
+
detailIndex,
|
|
1153
|
+
listData,
|
|
1154
|
+
eventIdMap,
|
|
1155
|
+
channelMap,
|
|
1156
|
+
tokenIdBlackList,
|
|
1157
|
+
ignoreList,
|
|
1158
|
+
sensitiveList,
|
|
1159
|
+
currentPage,
|
|
1160
|
+
pageSize,
|
|
1161
|
+
totalCount,
|
|
1162
|
+
fieledConfig,
|
|
1163
|
+
} = this.state;
|
|
1164
|
+
const {formatDetailData, t} = this.props;
|
|
1165
|
+
let newIndex = 0;
|
|
1166
|
+
let newDetailData = {};
|
|
1167
|
+
let mdData = {
|
|
1168
|
+
tokenIdBlackList,
|
|
1169
|
+
ignoreList,
|
|
1170
|
+
sensitiveList,
|
|
1171
|
+
};
|
|
1172
|
+
if (e && e.keyCode === 37) {
|
|
1173
|
+
if (currentPage === 1 && detailIndex === 0) {
|
|
1174
|
+
message.info(t('已经是第一条数据了'));
|
|
1175
|
+
return;
|
|
1176
|
+
} else if (detailIndex === 0) {
|
|
1177
|
+
this.setState(
|
|
1178
|
+
{
|
|
1179
|
+
currentPage: currentPage - 1,
|
|
1180
|
+
detailIndex: pageSize - 1,
|
|
1181
|
+
},
|
|
1182
|
+
() => {
|
|
1183
|
+
this.doSearch();
|
|
1184
|
+
}
|
|
1185
|
+
);
|
|
1186
|
+
} else {
|
|
1187
|
+
newIndex = detailIndex - 1;
|
|
1188
|
+
if (fieledConfig) {
|
|
1189
|
+
newDetailData = listData[newIndex];
|
|
1190
|
+
}
|
|
1191
|
+
else {
|
|
1192
|
+
newDetailData = formatDetailData(
|
|
1193
|
+
listData[newIndex],
|
|
1194
|
+
eventIdMap,
|
|
1195
|
+
channelMap,
|
|
1196
|
+
mdData
|
|
1197
|
+
);
|
|
1198
|
+
}
|
|
1199
|
+
this.setState({
|
|
1200
|
+
detailIndex: newIndex,
|
|
1201
|
+
detailData: newDetailData,
|
|
1202
|
+
});
|
|
1203
|
+
}
|
|
1204
|
+
} else if (e && e.keyCode === 39) {
|
|
1205
|
+
if ((currentPage - 1) * pageSize + detailIndex + 1 === totalCount) {
|
|
1206
|
+
message.info(t('已经是最后一条数据了'));
|
|
1207
|
+
return;
|
|
1208
|
+
} else if (detailIndex === pageSize - 1) {
|
|
1209
|
+
this.setState(
|
|
1210
|
+
{
|
|
1211
|
+
currentPage: currentPage + 1,
|
|
1212
|
+
detailIndex: 0,
|
|
1213
|
+
},
|
|
1214
|
+
() => {
|
|
1215
|
+
this.doSearch();
|
|
1216
|
+
}
|
|
1217
|
+
);
|
|
1218
|
+
} else {
|
|
1219
|
+
newIndex = detailIndex + 1;
|
|
1220
|
+
if (fieledConfig) {
|
|
1221
|
+
newDetailData = listData[newIndex] || [];
|
|
1222
|
+
}
|
|
1223
|
+
else {
|
|
1224
|
+
newDetailData = formatDetailData(
|
|
1225
|
+
listData[newIndex],
|
|
1226
|
+
eventIdMap,
|
|
1227
|
+
channelMap,
|
|
1228
|
+
mdData
|
|
1229
|
+
);
|
|
1230
|
+
}
|
|
1231
|
+
this.setState({
|
|
1232
|
+
detailIndex: newIndex,
|
|
1233
|
+
detailData: newDetailData,
|
|
1234
|
+
});
|
|
1235
|
+
}
|
|
1236
|
+
}
|
|
1237
|
+
};
|
|
1238
|
+
|
|
1239
|
+
clickDetail = index => {
|
|
1240
|
+
const { formatDetailData } = this.props;
|
|
1241
|
+
const {
|
|
1242
|
+
listData,
|
|
1243
|
+
eventIdMap,
|
|
1244
|
+
channelMap,
|
|
1245
|
+
tokenIdBlackList,
|
|
1246
|
+
ignoreList,
|
|
1247
|
+
sensitiveList,
|
|
1248
|
+
} = this.state;
|
|
1249
|
+
const mdData = {
|
|
1250
|
+
tokenIdBlackList,
|
|
1251
|
+
ignoreList,
|
|
1252
|
+
sensitiveList,
|
|
1253
|
+
};
|
|
1254
|
+
const currentData = listData[index];
|
|
1255
|
+
if (this.state.fieledConfig) {
|
|
1256
|
+
this.setState({
|
|
1257
|
+
newDetailVisible: true,
|
|
1258
|
+
detailData: currentData,
|
|
1259
|
+
detailIndex: index,
|
|
1260
|
+
});
|
|
1261
|
+
|
|
1262
|
+
return;
|
|
1263
|
+
}
|
|
1264
|
+
// 格式化 详情数据
|
|
1265
|
+
const detailData = formatDetailData(
|
|
1266
|
+
currentData,
|
|
1267
|
+
eventIdMap,
|
|
1268
|
+
channelMap,
|
|
1269
|
+
mdData
|
|
1270
|
+
);
|
|
1271
|
+
this.setState({
|
|
1272
|
+
detailIndex: index,
|
|
1273
|
+
detailData: detailData,
|
|
1274
|
+
detailVisible: true,
|
|
1275
|
+
currentData,
|
|
1276
|
+
});
|
|
1277
|
+
};
|
|
1278
|
+
|
|
1279
|
+
closeDetail = () => {
|
|
1280
|
+
this.setState({
|
|
1281
|
+
detailVisible: false,
|
|
1282
|
+
detailIndex: 0,
|
|
1283
|
+
});
|
|
1284
|
+
};
|
|
1285
|
+
|
|
1286
|
+
/**
|
|
1287
|
+
* 详情抽屉中的 点击事件(筛选,重置画像之类的)
|
|
1288
|
+
* @param {*} actionType 行为类型
|
|
1289
|
+
* @param {*} key 字段名
|
|
1290
|
+
* @param {*} value 对应字段的值
|
|
1291
|
+
* @param {*} otherData 其余data对象
|
|
1292
|
+
*/
|
|
1293
|
+
onActionClick = async (actionType, key, value, otherData) => {
|
|
1294
|
+
const {t} = this.props;
|
|
1295
|
+
switch (actionType) {
|
|
1296
|
+
case 'screen':
|
|
1297
|
+
const {queryParams} = this.state;
|
|
1298
|
+
const {
|
|
1299
|
+
startTime,
|
|
1300
|
+
endTime,
|
|
1301
|
+
} = queryParams;
|
|
1302
|
+
const encodeValue = encodeURIComponent(value);
|
|
1303
|
+
let searchQuery = `isScreen=true&startTime=${startTime}&endTime=${endTime}`
|
|
1304
|
+
+ `&searchKey=${key}&searchContent=${encodeValue}`;
|
|
1305
|
+
// 从配置中读取要跳转的路由
|
|
1306
|
+
let searchPath = otherData.path;
|
|
1307
|
+
let newUrl = encodeURI(`${searchPath}?${searchQuery}`);
|
|
1308
|
+
window.open(__ASSETS_PREFIX__ + newUrl);
|
|
1309
|
+
break;
|
|
1310
|
+
case 'resetPortrait':
|
|
1311
|
+
const { currentGlobalFilter } = this.state;
|
|
1312
|
+
const { organization } = currentGlobalFilter;
|
|
1313
|
+
const { dispatch, route } = this.props;
|
|
1314
|
+
let code = await dispatch({
|
|
1315
|
+
type: 'history/fetchResetProfile',
|
|
1316
|
+
payload: {
|
|
1317
|
+
organization,
|
|
1318
|
+
key: `${organization}_${value}`,
|
|
1319
|
+
type: otherData.type,
|
|
1320
|
+
serviceId: route.routeData.serviceId,
|
|
1321
|
+
},
|
|
1322
|
+
});
|
|
1323
|
+
if (code === 1100) {
|
|
1324
|
+
message.success(t('重置画像成功'));
|
|
1325
|
+
} else {
|
|
1326
|
+
message.error(t('重置画像失败,请重试'));
|
|
1327
|
+
}
|
|
1328
|
+
break;
|
|
1329
|
+
case 'addList':
|
|
1330
|
+
const { type } = otherData;
|
|
1331
|
+
const {
|
|
1332
|
+
ignoreList,
|
|
1333
|
+
sensitiveList,
|
|
1334
|
+
tokenIdBlackList,
|
|
1335
|
+
} = this.state;
|
|
1336
|
+
let newCurrentListData = [];
|
|
1337
|
+
switch (type) {
|
|
1338
|
+
case 'ignore':
|
|
1339
|
+
newCurrentListData = ignoreList;
|
|
1340
|
+
break;
|
|
1341
|
+
case 'sensitive':
|
|
1342
|
+
newCurrentListData = sensitiveList;
|
|
1343
|
+
break;
|
|
1344
|
+
case 'tokenId':
|
|
1345
|
+
newCurrentListData = tokenIdBlackList;
|
|
1346
|
+
break;
|
|
1347
|
+
}
|
|
1348
|
+
this.setState({
|
|
1349
|
+
currentListData: newCurrentListData,
|
|
1350
|
+
listModalVisible: true,
|
|
1351
|
+
currentListValue: value,
|
|
1352
|
+
});
|
|
1353
|
+
break;
|
|
1354
|
+
case 'viewImg':
|
|
1355
|
+
this.getImgUrl(otherData.matchedItem);
|
|
1356
|
+
break;
|
|
1357
|
+
case 'deleteImg':
|
|
1358
|
+
this.deleteMdContent(otherData.matchedItem);
|
|
1359
|
+
break;
|
|
1360
|
+
}
|
|
1361
|
+
};
|
|
1362
|
+
|
|
1363
|
+
async deleteMdContent(matchedItem) {
|
|
1364
|
+
const { dispatch, route } = this.props;
|
|
1365
|
+
const {currentData, currentGlobalFilter } = this.state;
|
|
1366
|
+
const { organization } = currentGlobalFilter;
|
|
1367
|
+
const { serviceId } = route.routeData;
|
|
1368
|
+
|
|
1369
|
+
const result = await dispatch({
|
|
1370
|
+
type: 'mingdan/getImgUrl',
|
|
1371
|
+
payload: {
|
|
1372
|
+
organization,
|
|
1373
|
+
serviceId,
|
|
1374
|
+
value: matchedItem,
|
|
1375
|
+
listName: currentData.output && currentData.output.matchedList,
|
|
1376
|
+
},
|
|
1377
|
+
});
|
|
1378
|
+
|
|
1379
|
+
if (result.code === 1100) {
|
|
1380
|
+
if (result.content.listId) {
|
|
1381
|
+
const deleteResult = await dispatch({
|
|
1382
|
+
type: 'mingdan/deleteMdContent',
|
|
1383
|
+
payload: {
|
|
1384
|
+
organization,
|
|
1385
|
+
product: serviceId,
|
|
1386
|
+
listId: result.content.listId,
|
|
1387
|
+
contents: result.content.imgUrl ? [result.content.imgUrl] : [],
|
|
1388
|
+
},
|
|
1389
|
+
});
|
|
1390
|
+
|
|
1391
|
+
if (deleteResult.code === 1100) {
|
|
1392
|
+
message.success('操作成功!');
|
|
1393
|
+
}
|
|
1394
|
+
} else {
|
|
1395
|
+
message.error('名单不存在!');
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1402
|
+
// 输入框绑定按钮事件
|
|
1403
|
+
onFilterKeyDown = e => {
|
|
1404
|
+
if (e && e.key === KEYBOARD_CODER.ENTER) {
|
|
1405
|
+
setTimeout(() => { // 按下enter 先让change事件setState
|
|
1406
|
+
this.setState({currentPage: 1}, () => this.doSearch());
|
|
1407
|
+
}, 50);
|
|
1408
|
+
}
|
|
1409
|
+
};
|
|
1410
|
+
|
|
1411
|
+
/**
|
|
1412
|
+
* 获取命中名单图片url(图片,视频文件/视频流截帧)
|
|
1413
|
+
* @param {*} matchedItem 命中图片的 哈希值
|
|
1414
|
+
*/
|
|
1415
|
+
async getImgUrl(matchedItem) {
|
|
1416
|
+
const { route, dispatch } = this.props;
|
|
1417
|
+
const { serviceId } = route.routeData;
|
|
1418
|
+
const { currentGlobalFilter, currentData } = this.state;
|
|
1419
|
+
const { organization } = currentGlobalFilter;
|
|
1420
|
+
let { content, code } = await dispatch({
|
|
1421
|
+
type: 'mingdan/getImgUrl',
|
|
1422
|
+
payload: {
|
|
1423
|
+
organization,
|
|
1424
|
+
serviceId,
|
|
1425
|
+
value: matchedItem,
|
|
1426
|
+
listName: currentData.output && currentData.output.matchedList,
|
|
1427
|
+
},
|
|
1428
|
+
});
|
|
1429
|
+
if (code === 1100) {
|
|
1430
|
+
Modal.info({
|
|
1431
|
+
icon: null,
|
|
1432
|
+
okText: '确认',
|
|
1433
|
+
centered: true,
|
|
1434
|
+
closable: true,
|
|
1435
|
+
content: (
|
|
1436
|
+
<div>
|
|
1437
|
+
{content.imgUrl ? (
|
|
1438
|
+
<Image
|
|
1439
|
+
width={'100%'}
|
|
1440
|
+
height={200}
|
|
1441
|
+
src={content.imgUrl}
|
|
1442
|
+
/>
|
|
1443
|
+
) : (
|
|
1444
|
+
<span
|
|
1445
|
+
style={{ fontSize: '16px', color: '#394b66' }}
|
|
1446
|
+
>
|
|
1447
|
+
未找到当前命中图片!
|
|
1448
|
+
</span>
|
|
1449
|
+
)}
|
|
1450
|
+
</div>
|
|
1451
|
+
),
|
|
1452
|
+
});
|
|
1453
|
+
} else {
|
|
1454
|
+
message.error('获取图片失败,请稍后重试');
|
|
1455
|
+
}
|
|
1456
|
+
}
|
|
1457
|
+
|
|
1458
|
+
setCurrentData(data) {
|
|
1459
|
+
this.setState({
|
|
1460
|
+
currentItemData: data,
|
|
1461
|
+
});
|
|
1462
|
+
}
|
|
1463
|
+
// 格式化数据
|
|
1464
|
+
formatTableColumn = dataSource => {
|
|
1465
|
+
const newData = _.cloneDeep(dataSource);
|
|
1466
|
+
const tableColumns = newData.map(item => {
|
|
1467
|
+
const key = item.fieldTag || item.key;
|
|
1468
|
+
item.title = item.name;
|
|
1469
|
+
item.key = key;
|
|
1470
|
+
item.dataIndex = key;
|
|
1471
|
+
item.type = TABLE_COLUMN_RENDER[key] || 'text';
|
|
1472
|
+
|
|
1473
|
+
return item;
|
|
1474
|
+
});
|
|
1475
|
+
return tableColumns;
|
|
1476
|
+
};
|
|
1477
|
+
// 获取所有字段
|
|
1478
|
+
getFieldList = async () => {
|
|
1479
|
+
const { currentGlobalFilter } = this.state;
|
|
1480
|
+
const { dispatch } = this.props;
|
|
1481
|
+
let list = [];
|
|
1482
|
+
const result = await dispatch({
|
|
1483
|
+
type: MODEL_TYPE.FIELD_URL_LIST.FIELD_SET_ADD_LIST,
|
|
1484
|
+
payload: {organization: currentGlobalFilter.organization},
|
|
1485
|
+
});
|
|
1486
|
+
if (result && result.length) {
|
|
1487
|
+
result.forEach(item => {
|
|
1488
|
+
list = list.concat(item.value);
|
|
1489
|
+
});
|
|
1490
|
+
}
|
|
1491
|
+
|
|
1492
|
+
return list;
|
|
1493
|
+
};
|
|
1494
|
+
// 通过字段配置的方式获取数据
|
|
1495
|
+
getFieldSetList = async (parameter, dispatch) => {
|
|
1496
|
+
const {route} = this.props;
|
|
1497
|
+
const serviceId = route.routeData.serviceId;
|
|
1498
|
+
const result = await dispatch({
|
|
1499
|
+
type: MODEL_TYPE.HISTORY_LIST.TEXT_LIST,
|
|
1500
|
+
payload: parameter,
|
|
1501
|
+
});
|
|
1502
|
+
const { listData, totalCount, realTotalCount, requestHeader = {} } = result;
|
|
1503
|
+
this.setState({
|
|
1504
|
+
listLoading: false,
|
|
1505
|
+
selectedContents: [], // 刷新数据后清空选中值
|
|
1506
|
+
tableDataSource: listData,
|
|
1507
|
+
listData,
|
|
1508
|
+
totalCount: totalCount,
|
|
1509
|
+
listRealTotalCount: _.isNil(realTotalCount) ? undefined : realTotalCount,
|
|
1510
|
+
requestHeader: requestHeader,
|
|
1511
|
+
detailData: listData[this.state.detailIndex],
|
|
1512
|
+
});
|
|
1513
|
+
};
|
|
1514
|
+
// 获取表头
|
|
1515
|
+
getFieldSetHearder = async isRest => {
|
|
1516
|
+
const {dispatch, route, currentUser} = this.props;
|
|
1517
|
+
const serviceId = route.routeData.serviceId;
|
|
1518
|
+
const {filterData} = this.state;
|
|
1519
|
+
const contents = await dispatch({
|
|
1520
|
+
type: 'manage/queryFieldSetPage',
|
|
1521
|
+
payload: {
|
|
1522
|
+
organization: this.state.currentGlobalFilter.organization,
|
|
1523
|
+
serviceId,
|
|
1524
|
+
pageCategory: FIELD_SOURCE_TYPE.HISTORY_DETAIL,
|
|
1525
|
+
},
|
|
1526
|
+
}) || [];
|
|
1527
|
+
const acccount = currentUser.account;
|
|
1528
|
+
const fieldSort = Storage.get(`${SM_FIELD_SORT}_${serviceId}_${acccount}`);
|
|
1529
|
+
const list = [];
|
|
1530
|
+
const detailData = {}; // 详情中的数据
|
|
1531
|
+
const tableCloumnList = []; // 表头数据
|
|
1532
|
+
const searchList = []; // 筛选条件
|
|
1533
|
+
const newFilterData = []; // 默认高级模式
|
|
1534
|
+
let isFirst = false;
|
|
1535
|
+
const fieldList = await this.getFieldList();
|
|
1536
|
+
if (_.isArray(fieldSort)) {
|
|
1537
|
+
fieldSort.forEach(item => {
|
|
1538
|
+
const key = item.key || item.name;
|
|
1539
|
+
fieldList.forEach(cItem => {
|
|
1540
|
+
if (key === cItem.fieldTag) {
|
|
1541
|
+
item.uuid = cItem.uuid;
|
|
1542
|
+
list.push(item);
|
|
1543
|
+
}
|
|
1544
|
+
});
|
|
1545
|
+
});
|
|
1546
|
+
Storage.set(`${SM_FIELD_SORT}_${serviceId}_${acccount}`, list);// 更新缓存,缓存中数据和接口请求数据保持一致
|
|
1547
|
+
}
|
|
1548
|
+
contents.map(item => {
|
|
1549
|
+
switch (item.name) {
|
|
1550
|
+
case FILED_SET_DETAIL.LIST:
|
|
1551
|
+
item.value.forEach(item => {
|
|
1552
|
+
if (item.fieldTag === FIELD_NAME_LIST.REQUESTID) {
|
|
1553
|
+
tableCloumnList.unshift(item);
|
|
1554
|
+
}
|
|
1555
|
+
else {
|
|
1556
|
+
tableCloumnList.push(item);
|
|
1557
|
+
}
|
|
1558
|
+
});
|
|
1559
|
+
break;
|
|
1560
|
+
case FILED_SET_DETAIL.INPUT:
|
|
1561
|
+
case FILED_SET_DETAIL.OUTPUT:
|
|
1562
|
+
detailData[item.name] = item.value;
|
|
1563
|
+
break;
|
|
1564
|
+
case FILED_SET_DETAIL.SEARCH:
|
|
1565
|
+
const value = [];
|
|
1566
|
+
item.value.map(item => {
|
|
1567
|
+
if (HISTORY_COLUMN.TOKENID === item.fieldTag) {
|
|
1568
|
+
value.unshift(item);
|
|
1569
|
+
}
|
|
1570
|
+
else {
|
|
1571
|
+
value.push(item);
|
|
1572
|
+
}
|
|
1573
|
+
});
|
|
1574
|
+
arrayMove(value, 'fieldTag', HISTORY_COLUMN.REQUESTID, 1).map(item => {
|
|
1575
|
+
// 过滤默认字段
|
|
1576
|
+
if (!DEFAULT_SCREEN.includes(item.fieldTag)) {
|
|
1577
|
+
item.value = item.fieldTag;
|
|
1578
|
+
searchList.push(item);
|
|
1579
|
+
if (!isFirst && isRest) {
|
|
1580
|
+
newFilterData.push({
|
|
1581
|
+
fieldTag: item.fieldTag,
|
|
1582
|
+
method: item.method[0]?.key,
|
|
1583
|
+
type: item.method[0]?.type,
|
|
1584
|
+
value: undefined,
|
|
1585
|
+
});
|
|
1586
|
+
isFirst = true;
|
|
1587
|
+
}
|
|
1588
|
+
}
|
|
1589
|
+
});
|
|
1590
|
+
break;
|
|
1591
|
+
case FILED_SET_DETAIL.FEATURE:
|
|
1592
|
+
detailData[item.name] = item.value;
|
|
1593
|
+
break;
|
|
1594
|
+
default:
|
|
1595
|
+
break;
|
|
1596
|
+
}
|
|
1597
|
+
});
|
|
1598
|
+
const tableColumns = this.formatTableColumn(fieldSort ? fieldSort : tableCloumnList);
|
|
1599
|
+
this.setState({
|
|
1600
|
+
headerData: detailData,
|
|
1601
|
+
imgTableItemColumns: tableColumns,
|
|
1602
|
+
searchList,
|
|
1603
|
+
filterData: newFilterData,
|
|
1604
|
+
}, () => {
|
|
1605
|
+
// 切换公司、应用顶部搜索不需要带上url上面的条件查询
|
|
1606
|
+
if (isRest) {
|
|
1607
|
+
this.doSearch();
|
|
1608
|
+
}
|
|
1609
|
+
else {
|
|
1610
|
+
this.setDefaultSearchParams();
|
|
1611
|
+
}
|
|
1612
|
+
});
|
|
1613
|
+
|
|
1614
|
+
return;
|
|
1615
|
+
};
|
|
1616
|
+
// 字段配置提交
|
|
1617
|
+
formatField = data => {
|
|
1618
|
+
const {route, specialServiceId, t} = this.props;
|
|
1619
|
+
const serviceId = specialServiceId || route.routeData.serviceId;
|
|
1620
|
+
const acccount = this.props.currentUser.account;
|
|
1621
|
+
const storageName = `${SM_FIELD_SORT}_${serviceId}_${acccount}`;
|
|
1622
|
+
Storage.set(storageName, data);
|
|
1623
|
+
message.success(t('字段顺序调整已保存在浏览器缓存中,清除缓存会以系统默认顺序展示。'));
|
|
1624
|
+
this.setState({
|
|
1625
|
+
imgTableItemColumns: this.formatTableColumn(data) || [],
|
|
1626
|
+
}, () => global.modal.pop());
|
|
1627
|
+
};
|
|
1628
|
+
// 添加信息字段
|
|
1629
|
+
detailField = () => {
|
|
1630
|
+
const { organization } = this.state.currentGlobalFilter;
|
|
1631
|
+
const {route, currentUser, specialServiceId, t} = this.props;
|
|
1632
|
+
const serviceId = specialServiceId || route.routeData.serviceId;
|
|
1633
|
+
const acccount = currentUser.account;
|
|
1634
|
+
const data = _.cloneDeep(this.state.imgTableItemColumns);
|
|
1635
|
+
const storageName = `${SM_FIELD_SORT}_${serviceId}_${acccount}`;
|
|
1636
|
+
const newData = [];
|
|
1637
|
+
data.filter(item => {
|
|
1638
|
+
const value = item.name || item.title;
|
|
1639
|
+
if (value !== HISTORY_COLUMN.OPERATION) {
|
|
1640
|
+
newData.push({
|
|
1641
|
+
name: item.name,
|
|
1642
|
+
key: item.key,
|
|
1643
|
+
uuid: item.uuid,
|
|
1644
|
+
title: `${item.name}(${item.key})`,
|
|
1645
|
+
});
|
|
1646
|
+
}
|
|
1647
|
+
});
|
|
1648
|
+
global.modal.show(ModalType.MODAL_ALERT, {
|
|
1649
|
+
width: 676,
|
|
1650
|
+
modalTitle: t('设置列表字段'),
|
|
1651
|
+
renderChildren: () => {
|
|
1652
|
+
return (
|
|
1653
|
+
<div className={styles.hint}>
|
|
1654
|
+
<FieldMessageModal
|
|
1655
|
+
{...this.props}
|
|
1656
|
+
serviceId={route.routeData.serviceId}
|
|
1657
|
+
organization={organization}
|
|
1658
|
+
storageName={storageName}
|
|
1659
|
+
dataSource={newData}
|
|
1660
|
+
isShowHint
|
|
1661
|
+
source={FIELD_SOURCE_TYPE.HISTORY_DETAIL}
|
|
1662
|
+
FIELD_MAX_NUMBER={FIELD_MAX_NUMBER}
|
|
1663
|
+
handleSubmit={this.formatField}
|
|
1664
|
+
/>
|
|
1665
|
+
</div>
|
|
1666
|
+
);
|
|
1667
|
+
},
|
|
1668
|
+
});
|
|
1669
|
+
};
|
|
1670
|
+
|
|
1671
|
+
// 反馈成功后的回调
|
|
1672
|
+
onFeedbackSubmitSuccess = record => {
|
|
1673
|
+
const {tableDataSource} = this.state;
|
|
1674
|
+
global.modal.pop();
|
|
1675
|
+
const list = [];
|
|
1676
|
+
const newData = _.map(tableDataSource, item => {
|
|
1677
|
+
if (item.requestId === record.requestId) {
|
|
1678
|
+
item.feedback = 1;
|
|
1679
|
+
list.push(item);
|
|
1680
|
+
}
|
|
1681
|
+
return item;
|
|
1682
|
+
});
|
|
1683
|
+
this.setState({
|
|
1684
|
+
tableDataSource: _.cloneDeep(newData),
|
|
1685
|
+
selectedContents: [],
|
|
1686
|
+
});
|
|
1687
|
+
};
|
|
1688
|
+
|
|
1689
|
+
// 批量反馈成功后的回调
|
|
1690
|
+
onFeedbackBatchSubmitSuccess = records => {
|
|
1691
|
+
const {tableDataSource} = this.state;
|
|
1692
|
+
global.modal.pop();
|
|
1693
|
+
const newData = _.map(tableDataSource, item => {
|
|
1694
|
+
if (records?.includes(item.requestId)) {
|
|
1695
|
+
item.feedback = 1;
|
|
1696
|
+
}
|
|
1697
|
+
return item;
|
|
1698
|
+
});
|
|
1699
|
+
this.setState({
|
|
1700
|
+
tableDataSource: _.cloneDeep(newData),
|
|
1701
|
+
selectedContents: [],
|
|
1702
|
+
});
|
|
1703
|
+
};
|
|
1704
|
+
|
|
1705
|
+
// 反馈按钮
|
|
1706
|
+
handleFeedback = (record, type) => {
|
|
1707
|
+
const {channelEventList, currentGlobalFilter, riskTypeList} = this.state;
|
|
1708
|
+
const {specialServiceId, route, t} = this.props;
|
|
1709
|
+
const {organization} = currentGlobalFilter;
|
|
1710
|
+
const serviceId = specialServiceId || route.routeData.serviceId;
|
|
1711
|
+
const title = type === FEEDBACK_TYPE.ERROR ? '误杀反馈' : '漏杀反馈';
|
|
1712
|
+
global.modal.show(ModalType.MODAL_ALERT, {
|
|
1713
|
+
width: 800,
|
|
1714
|
+
modalTitle: t(title),
|
|
1715
|
+
renderChildren: () => {
|
|
1716
|
+
return (
|
|
1717
|
+
<div className={styles.hint}>
|
|
1718
|
+
<FeedbackContent
|
|
1719
|
+
riskTypeList={riskTypeList}
|
|
1720
|
+
channelEventList={channelEventList}
|
|
1721
|
+
serviceId={serviceId}
|
|
1722
|
+
record={{...record, type, organization}}
|
|
1723
|
+
onSubmitSuccess={() => this.onFeedbackSubmitSuccess(record)}
|
|
1724
|
+
onCancel={() => global.modal.pop()}
|
|
1725
|
+
/>
|
|
1726
|
+
</div>
|
|
1727
|
+
);
|
|
1728
|
+
},
|
|
1729
|
+
});
|
|
1730
|
+
};
|
|
1731
|
+
|
|
1732
|
+
// 获取单条记录的反馈按钮选中的禁用状态
|
|
1733
|
+
getRecordFeedbackDisabled = record => {
|
|
1734
|
+
let errorDisabled = false; // 误杀禁用
|
|
1735
|
+
let missDisabled = false; // 漏杀禁用
|
|
1736
|
+
|
|
1737
|
+
// 此处逻辑和单条的判断逻辑保持一致
|
|
1738
|
+
if (record.feedback === 1 || record.riskLevel === PASS || record.riskLevel === PASS_CN) {
|
|
1739
|
+
errorDisabled = true;
|
|
1740
|
+
}
|
|
1741
|
+
if (record.feedback === 1 || record.riskLevel === REJECT || record.riskLevel === REJECT_CN) {
|
|
1742
|
+
missDisabled = true;
|
|
1743
|
+
}
|
|
1744
|
+
return {
|
|
1745
|
+
errorDisabled,
|
|
1746
|
+
missDisabled,
|
|
1747
|
+
isAllDisabled: errorDisabled && missDisabled, // 全部禁用
|
|
1748
|
+
};
|
|
1749
|
+
};
|
|
1750
|
+
|
|
1751
|
+
// 处理批量反馈
|
|
1752
|
+
handleBatchFeedback = type => {
|
|
1753
|
+
const {specialServiceId, route, t} = this.props;
|
|
1754
|
+
|
|
1755
|
+
const {
|
|
1756
|
+
channelEventList,
|
|
1757
|
+
currentGlobalFilter,
|
|
1758
|
+
riskTypeList,
|
|
1759
|
+
tableDataSource,
|
|
1760
|
+
selectedContents,
|
|
1761
|
+
} = this.state;
|
|
1762
|
+
|
|
1763
|
+
const {organization} = currentGlobalFilter;
|
|
1764
|
+
const serviceId = specialServiceId || route.routeData.serviceId;
|
|
1765
|
+
const records = tableDataSource?.filter(item => selectedContents.includes(item.requestId));
|
|
1766
|
+
const recordsLevels = _.uniq(records?.map(item => item.riskLevel));
|
|
1767
|
+
const title = type === FEEDBACK_TYPE.ERROR ? '误杀反馈' : '漏杀反馈';
|
|
1768
|
+
|
|
1769
|
+
if (selectedContents?.length > 300) {
|
|
1770
|
+
message.warn(t('最多选择300条'));
|
|
1771
|
+
return;
|
|
1772
|
+
}
|
|
1773
|
+
if (recordsLevels?.length > 1) {
|
|
1774
|
+
message.warn(t('只能选择相同的识别结果'));
|
|
1775
|
+
return;
|
|
1776
|
+
}
|
|
1777
|
+
|
|
1778
|
+
const {errorDisabled, missDisabled} = this.getRecordFeedbackDisabled(records?.[0]);
|
|
1779
|
+
|
|
1780
|
+
if (errorDisabled && type === FEEDBACK_TYPE.ERROR) {
|
|
1781
|
+
message.warn(t('请选择批量反馈漏杀'));
|
|
1782
|
+
return;
|
|
1783
|
+
}
|
|
1784
|
+
if (missDisabled && type === FEEDBACK_TYPE.MISS) {
|
|
1785
|
+
message.warn(t('请选择批量反馈误杀'));
|
|
1786
|
+
return;
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1789
|
+
global.modal.show(ModalType.MODAL_ALERT, {
|
|
1790
|
+
width: 800,
|
|
1791
|
+
modalTitle: t(title),
|
|
1792
|
+
renderChildren: () => {
|
|
1793
|
+
return (
|
|
1794
|
+
<div className={styles.hint}>
|
|
1795
|
+
<FeedbackContent
|
|
1796
|
+
riskTypeList={riskTypeList}
|
|
1797
|
+
channelEventList={channelEventList}
|
|
1798
|
+
serviceId={serviceId}
|
|
1799
|
+
record={{...records?.[0], type, organization}}
|
|
1800
|
+
batchConfig={{
|
|
1801
|
+
isBatch: true,
|
|
1802
|
+
records,
|
|
1803
|
+
}}
|
|
1804
|
+
onSubmitSuccess={() => this.onFeedbackBatchSubmitSuccess(records?.map(item => item.requestId))}
|
|
1805
|
+
onCancel={() => global.modal.pop()}
|
|
1806
|
+
/>
|
|
1807
|
+
</div>
|
|
1808
|
+
);
|
|
1809
|
+
},
|
|
1810
|
+
});
|
|
1811
|
+
};
|
|
1812
|
+
|
|
1813
|
+
// 获取批量反馈的权限配置
|
|
1814
|
+
getFeedbackBatchAuthConfig = organization => {
|
|
1815
|
+
const {specialServiceId, route} = this.props;
|
|
1816
|
+
|
|
1817
|
+
const {selectedContents} = this.state;
|
|
1818
|
+
|
|
1819
|
+
const serviceId = route.routeData.serviceId;
|
|
1820
|
+
const hasFeedback = getAuthFunction(AUTH_FUNCTION.FEEDBACK);
|
|
1821
|
+
const {isTextServiceId, isImageClassServiceId} = judgeServiceIdType(specialServiceId || serviceId);
|
|
1822
|
+
|
|
1823
|
+
let showSelectCheckbox = false; // 展示选中勾选框
|
|
1824
|
+
let showSelectOperator = false; // 展示顶部选中的操作栏
|
|
1825
|
+
|
|
1826
|
+
// 有反馈权限 & 文本和图片类服务 & 公司不等于SM
|
|
1827
|
+
if (hasFeedback && (isTextServiceId || isImageClassServiceId) && organization !== SM_ACCOUNT) {
|
|
1828
|
+
// 选中内容大于0 则展示 选中的操作栏
|
|
1829
|
+
if (selectedContents?.length > 0) {
|
|
1830
|
+
showSelectOperator = true;
|
|
1831
|
+
}
|
|
1832
|
+
showSelectCheckbox = true;
|
|
1833
|
+
}
|
|
1834
|
+
return {
|
|
1835
|
+
showSelectCheckbox,
|
|
1836
|
+
showSelectOperator,
|
|
1837
|
+
};
|
|
1838
|
+
};
|
|
1839
|
+
|
|
1840
|
+
// 显示多选操作栏
|
|
1841
|
+
showSelectionExtraDom = () => {
|
|
1842
|
+
const {t} = this.props;
|
|
1843
|
+
|
|
1844
|
+
const {totalCount, selectedContents, tableDataSource} = this.state;
|
|
1845
|
+
|
|
1846
|
+
return (
|
|
1847
|
+
<div className={styles['operator-wrapper-select']}>
|
|
1848
|
+
<div className={styles['operator-wrapper-select-show']}>
|
|
1849
|
+
{t('已选择')}
|
|
1850
|
+
<span>
|
|
1851
|
+
{selectedContents?.length}
|
|
1852
|
+
</span>
|
|
1853
|
+
{t('项')} {t('总计')} {totalCount} {t('项')}
|
|
1854
|
+
<span
|
|
1855
|
+
className={styles['operation-content']}
|
|
1856
|
+
onClick={() => {
|
|
1857
|
+
const newSelectContents = tableDataSource?.filter(item => item.feedback !== 1)?.map(item => item.requestId);
|
|
1858
|
+
this.setState({
|
|
1859
|
+
selectedContents: newSelectContents,
|
|
1860
|
+
});
|
|
1861
|
+
}}
|
|
1862
|
+
>
|
|
1863
|
+
{t('选中当页')}
|
|
1864
|
+
</span>
|
|
1865
|
+
<span
|
|
1866
|
+
className={styles['operation-content']}
|
|
1867
|
+
onClick={() => this.setState({selectedContents: []})}
|
|
1868
|
+
>
|
|
1869
|
+
{t('取消选中')}
|
|
1870
|
+
</span>
|
|
1871
|
+
</div>
|
|
1872
|
+
<div>
|
|
1873
|
+
<span
|
|
1874
|
+
className={styles['operation-content']}
|
|
1875
|
+
onClick={() => this.handleBatchFeedback(FEEDBACK_TYPE.ERROR)}
|
|
1876
|
+
>
|
|
1877
|
+
{t('批量反馈误杀')}
|
|
1878
|
+
</span>
|
|
1879
|
+
<span
|
|
1880
|
+
className={styles['operation-content']}
|
|
1881
|
+
onClick={() => this.handleBatchFeedback(FEEDBACK_TYPE.MISS)}
|
|
1882
|
+
>
|
|
1883
|
+
{t('批量反馈漏杀')}
|
|
1884
|
+
</span>
|
|
1885
|
+
</div>
|
|
1886
|
+
</div>
|
|
1887
|
+
);
|
|
1888
|
+
};
|
|
1889
|
+
|
|
1890
|
+
// 图片的选中框
|
|
1891
|
+
extraImageCheckbox = item => {
|
|
1892
|
+
const isChecked = this.state.selectedContents?.includes(item.requestId);
|
|
1893
|
+
return (
|
|
1894
|
+
<div
|
|
1895
|
+
style={{
|
|
1896
|
+
position: 'absolute',
|
|
1897
|
+
zIndex: 8,
|
|
1898
|
+
}}
|
|
1899
|
+
>
|
|
1900
|
+
<Checkbox
|
|
1901
|
+
disabled={this.getRecordFeedbackDisabled(item).isAllDisabled}
|
|
1902
|
+
checked={this.state.selectedContents?.includes(item.requestId)}
|
|
1903
|
+
onChange={() => {
|
|
1904
|
+
const newSelectContents = _.cloneDeep(this.state.selectedContents);
|
|
1905
|
+
if (!isChecked) {
|
|
1906
|
+
newSelectContents.push(item.requestId);
|
|
1907
|
+
} else {
|
|
1908
|
+
_.remove(newSelectContents, selectItem => selectItem === item.requestId);
|
|
1909
|
+
}
|
|
1910
|
+
this.setState({
|
|
1911
|
+
selectedContents: newSelectContents,
|
|
1912
|
+
});
|
|
1913
|
+
}}
|
|
1914
|
+
/>
|
|
1915
|
+
</div>
|
|
1916
|
+
);
|
|
1917
|
+
};
|
|
1918
|
+
|
|
1919
|
+
// 组合查询赋值
|
|
1920
|
+
filterSetState = (stateList, isrRefresh) => {
|
|
1921
|
+
const stateObj = {};
|
|
1922
|
+
_.forEach(stateList, item => {
|
|
1923
|
+
stateObj[item.key] = item.value;
|
|
1924
|
+
});
|
|
1925
|
+
this.setState({...stateObj, isrRefresh: isrRefresh || this.state.isrRefresh});
|
|
1926
|
+
};
|
|
1927
|
+
|
|
1928
|
+
// 返回第一页并且重写查询
|
|
1929
|
+
reDoSearch = () => {
|
|
1930
|
+
this.setState({currentPage: 1}, () => this.doSearch());
|
|
1931
|
+
};
|
|
1932
|
+
|
|
1933
|
+
/**
|
|
1934
|
+
* @param {*} list 列表选择的字段
|
|
1935
|
+
* @param {*} organization 公司
|
|
1936
|
+
* @returns 处理后的列表字段
|
|
1937
|
+
* 1: SM公司下面不显示反馈字段
|
|
1938
|
+
* 2: 最多只展示13个字段
|
|
1939
|
+
* 3: 非SM公司反馈永远展示最下面
|
|
1940
|
+
*/
|
|
1941
|
+
getTableColumns = (list, organization) => {
|
|
1942
|
+
const newList = [];
|
|
1943
|
+
_.forEach(list, item => {
|
|
1944
|
+
if (newList.length < FIELD_MAX_NUMBER - 1 && item.key !== HISTORY_COLUMN.FEEDBACK) {
|
|
1945
|
+
newList.push(item);
|
|
1946
|
+
}
|
|
1947
|
+
});
|
|
1948
|
+
if (organization !== SM_ACCOUNT) {
|
|
1949
|
+
newList.push({
|
|
1950
|
+
dataIndex: 'feedback',
|
|
1951
|
+
key: 'feedback',
|
|
1952
|
+
name: '反馈',
|
|
1953
|
+
title: '反馈',
|
|
1954
|
+
type: 'feedback',
|
|
1955
|
+
uuid: '679151cbe31b15512639a4d9b6c47986',
|
|
1956
|
+
});
|
|
1957
|
+
}
|
|
1958
|
+
return newList;
|
|
1959
|
+
};
|
|
1960
|
+
|
|
1961
|
+
handleSimilar = () => {
|
|
1962
|
+
const {isSimilarOpen} = this.state;
|
|
1963
|
+
this.setState({isSimilarOpen: !isSimilarOpen});
|
|
1964
|
+
};
|
|
1965
|
+
|
|
1966
|
+
render() {
|
|
1967
|
+
const formData = this.getFormData();
|
|
1968
|
+
const newParams = this.getSearchParams();
|
|
1969
|
+
const {
|
|
1970
|
+
listLoading,
|
|
1971
|
+
tableDataSource,
|
|
1972
|
+
detailData,
|
|
1973
|
+
detailVisible,
|
|
1974
|
+
imgTableItemColumns,
|
|
1975
|
+
totalCount,
|
|
1976
|
+
listRealTotalCount,
|
|
1977
|
+
currentPage,
|
|
1978
|
+
pageSize,
|
|
1979
|
+
listModalVisible,
|
|
1980
|
+
currentListData,
|
|
1981
|
+
currentListValue,
|
|
1982
|
+
currentGlobalFilter,
|
|
1983
|
+
eventIdMap,
|
|
1984
|
+
channelMap,
|
|
1985
|
+
riskLevelMap,
|
|
1986
|
+
riskTypeMap,
|
|
1987
|
+
defaultRiskLevelData,
|
|
1988
|
+
defaultChannelEventData,
|
|
1989
|
+
defaultRiskTypeData,
|
|
1990
|
+
defaultAppIdData,
|
|
1991
|
+
hitList,
|
|
1992
|
+
exportTaskVisible,
|
|
1993
|
+
newDetailVisible,
|
|
1994
|
+
headerData,
|
|
1995
|
+
fieledConfig,
|
|
1996
|
+
storageTime,
|
|
1997
|
+
exportLoading,
|
|
1998
|
+
filterData,
|
|
1999
|
+
resetCount,
|
|
2000
|
+
requestHeader,
|
|
2001
|
+
searchList,
|
|
2002
|
+
queryParams,
|
|
2003
|
+
riskLabelList,
|
|
2004
|
+
riskLabelOption,
|
|
2005
|
+
defaultRangeTimeData,
|
|
2006
|
+
isSimilarOpen,
|
|
2007
|
+
} = this.state;
|
|
2008
|
+
defaultAppIdData.data.selectData.optionData = formatAppList();
|
|
2009
|
+
const {
|
|
2010
|
+
route,
|
|
2011
|
+
formatHistoryTaskFormColumns = () => {},
|
|
2012
|
+
buildHistoryTaskDetail = () => {},
|
|
2013
|
+
currentUser,
|
|
2014
|
+
t,
|
|
2015
|
+
specialServiceId,
|
|
2016
|
+
isIntl,
|
|
2017
|
+
} = this.props;
|
|
2018
|
+
const {organization, appId} = currentGlobalFilter;
|
|
2019
|
+
const serviceId = route.routeData.serviceId;
|
|
2020
|
+
const exportDetailMap = {
|
|
2021
|
+
eventIdMap,
|
|
2022
|
+
channelMap,
|
|
2023
|
+
riskTypeMap,
|
|
2024
|
+
riskLevelMap,
|
|
2025
|
+
};
|
|
2026
|
+
const selectListMap = {
|
|
2027
|
+
defaultRiskLevelData,
|
|
2028
|
+
defaultChannelEventData,
|
|
2029
|
+
defaultRiskTypeData,
|
|
2030
|
+
defaultAppIdData,
|
|
2031
|
+
hitList,
|
|
2032
|
+
};
|
|
2033
|
+
const isShowGlobal = location.pathname.includes('history/text')
|
|
2034
|
+
|| location.pathname.includes('history/image')
|
|
2035
|
+
|| location.pathname.includes('history/img');
|
|
2036
|
+
|
|
2037
|
+
const exportTaskConfig = {
|
|
2038
|
+
formatHistoryTaskFormColumns,
|
|
2039
|
+
buildHistoryTaskDetail,
|
|
2040
|
+
organization,
|
|
2041
|
+
serviceId: specialServiceId || serviceId,
|
|
2042
|
+
appId,
|
|
2043
|
+
exportDetailMap,
|
|
2044
|
+
title: t('历史数据导出'),
|
|
2045
|
+
selectListMap,
|
|
2046
|
+
currentUser,
|
|
2047
|
+
visible: exportTaskVisible,
|
|
2048
|
+
storageTime,
|
|
2049
|
+
tableColumns: _.cloneDeep(this.state.imgTableItemColumns),
|
|
2050
|
+
initialValues: {
|
|
2051
|
+
appId: _.size(appId) === 0 ? 'all' : appId,
|
|
2052
|
+
organization,
|
|
2053
|
+
channel: _.size(queryParams.channel) > 0 ? queryParams.channel : ['all'],
|
|
2054
|
+
riskLevel: _.size(queryParams.riskLevel) > 0 ? queryParams.riskLevel : ['all'],
|
|
2055
|
+
riskType: _.size(queryParams.riskType) > 0 ? queryParams.riskType : ['all'],
|
|
2056
|
+
description: _.size(queryParams.description) > 0 ? queryParams.description : ['all'],
|
|
2057
|
+
dateRange: [moment(queryParams.startTime), moment(queryParams.endTime)],
|
|
2058
|
+
},
|
|
2059
|
+
exportFormOption: {
|
|
2060
|
+
appIdList: _.get(_.cloneDeep(defaultAppIdData), 'data.selectData.optionData'),
|
|
2061
|
+
channelList: _.get(_.cloneDeep(defaultChannelEventData), 'data.selectData.optionData'),
|
|
2062
|
+
riskLevelList: _.get(_.cloneDeep(defaultRiskLevelData), 'data.selectData.optionData'),
|
|
2063
|
+
riskTypeList: _.get(_.cloneDeep(defaultRiskTypeData), 'data.selectData.optionData'),
|
|
2064
|
+
disabledDate: _.get(_.cloneDeep(defaultRangeTimeData), 'data.disabledDateFeedback'),
|
|
2065
|
+
groupFilter: {
|
|
2066
|
+
searchList: _.cloneDeep(searchList),
|
|
2067
|
+
filterData: _.cloneDeep(filterData),
|
|
2068
|
+
},
|
|
2069
|
+
riskLabelOption: _.cloneDeep(riskLabelOption),
|
|
2070
|
+
riskLabelList: _.cloneDeep(riskLabelList),
|
|
2071
|
+
},
|
|
2072
|
+
exportLoading,
|
|
2073
|
+
hasExport: getAuthFunction(AUTH_FUNCTION.EXPORT),
|
|
2074
|
+
hasExportHistory: getAuthFunction(AUTH_FUNCTION.EXPORT_HISTORY) && !isIntl && !isPrivate(),
|
|
2075
|
+
onCancel: () => {
|
|
2076
|
+
this.setState({
|
|
2077
|
+
exportTaskVisible: false,
|
|
2078
|
+
isRandomSampling: false,
|
|
2079
|
+
});
|
|
2080
|
+
},
|
|
2081
|
+
setIsRandomSampling: value => this.setState({isRandomSampling: value}),
|
|
2082
|
+
onExport: value => this.exportData(value),
|
|
2083
|
+
};
|
|
2084
|
+
const pagination = {
|
|
2085
|
+
defaultCurrent: 1,
|
|
2086
|
+
total: totalCount,
|
|
2087
|
+
defaultPageSize: pageSize,
|
|
2088
|
+
current: currentPage,
|
|
2089
|
+
pageSizeOptions: PAGE_SIZE,
|
|
2090
|
+
onChange: (page, pageSize) => {
|
|
2091
|
+
this.paginationOnchange(page, pageSize);
|
|
2092
|
+
},
|
|
2093
|
+
showQuickJumper: true,
|
|
2094
|
+
};
|
|
2095
|
+
const {showSelectCheckbox, showSelectOperator} = this.getFeedbackBatchAuthConfig(organization);
|
|
2096
|
+
const tableConfig = {
|
|
2097
|
+
dataSource: tableDataSource,
|
|
2098
|
+
columns: this.getTableColumns(imgTableItemColumns, organization),
|
|
2099
|
+
isShowGlobal,
|
|
2100
|
+
requestHeader,
|
|
2101
|
+
serviceId,
|
|
2102
|
+
handleFeedback: this.handleFeedback,
|
|
2103
|
+
errorFeedback: (currentData, index) => {
|
|
2104
|
+
this.errorFeedback(currentData, index);
|
|
2105
|
+
},
|
|
2106
|
+
clickDetail: index => {
|
|
2107
|
+
this.clickDetail(index);
|
|
2108
|
+
},
|
|
2109
|
+
changeFeedbackVisible: (val, type) => {
|
|
2110
|
+
this.changeFeedbackVisible(val, type);
|
|
2111
|
+
},
|
|
2112
|
+
setCurrentData: data => {
|
|
2113
|
+
this.setCurrentData(data);
|
|
2114
|
+
},
|
|
2115
|
+
showSetIcon: fieledConfig,
|
|
2116
|
+
detailField: this.detailField,
|
|
2117
|
+
exportLoading,
|
|
2118
|
+
exportTaskVisible: () => this.setState({exportTaskVisible: true}),
|
|
2119
|
+
exportData: this.exportData,
|
|
2120
|
+
isIntl,
|
|
2121
|
+
...(showSelectCheckbox ? {extraImageCheckbox: this.extraImageCheckbox} : {}),
|
|
2122
|
+
...(showSelectOperator ? {showSelectionExtraDom: this.showSelectionExtraDom} : {}),
|
|
2123
|
+
|
|
2124
|
+
};
|
|
2125
|
+
const isSimilarImg = _.get(Storage.get(STORAGE_LIST_NAME.SM_SAAS_INFO), 'orgInfo.similar_img');
|
|
2126
|
+
|
|
2127
|
+
return (
|
|
2128
|
+
<div>
|
|
2129
|
+
<GlobalFilterListener onChange={this.globalFilterChange} />
|
|
2130
|
+
<SMBackTop />
|
|
2131
|
+
{NOTE_TIP_TXT[specialServiceId || serviceId] && (
|
|
2132
|
+
<div className={styles['history-note-tip']}>
|
|
2133
|
+
<SMNoteTip noteInfo={NOTE_TIP_TXT[specialServiceId || serviceId]} />
|
|
2134
|
+
</div>
|
|
2135
|
+
)}
|
|
2136
|
+
<SMSearchForm
|
|
2137
|
+
formData={formData}
|
|
2138
|
+
resetCount={resetCount}
|
|
2139
|
+
onChange={this.changeQueryParams}
|
|
2140
|
+
/>
|
|
2141
|
+
<div
|
|
2142
|
+
className={styles.similarImg}
|
|
2143
|
+
style={
|
|
2144
|
+
{
|
|
2145
|
+
display: isSimilarImg ? 'block' : 'none',
|
|
2146
|
+
height: isSimilarOpen ? 'auto' : '30px',
|
|
2147
|
+
}}
|
|
2148
|
+
>
|
|
2149
|
+
<div
|
|
2150
|
+
className={styles.text}
|
|
2151
|
+
onClick={this.handleSimilar}
|
|
2152
|
+
>
|
|
2153
|
+
{t('相似图片查询')}
|
|
2154
|
+
<SMIcon type={isSimilarOpen ? 'icon-shouqixiangqing' : 'icon-zhankaixiangqing1'} />
|
|
2155
|
+
</div>
|
|
2156
|
+
<div
|
|
2157
|
+
style={{
|
|
2158
|
+
display: isSimilarOpen ? 'block' : 'none',
|
|
2159
|
+
}}
|
|
2160
|
+
>
|
|
2161
|
+
<ImgSimilar onChange={parameter => this.changeQueryParams('similarImage', parameter.imgUrl)} />
|
|
2162
|
+
</div>
|
|
2163
|
+
</div>
|
|
2164
|
+
<GroupFilter
|
|
2165
|
+
filterData={filterData} // 新增的筛选条件
|
|
2166
|
+
searchList={searchList} // 接口返回的 可以筛选的字段
|
|
2167
|
+
doSearch={this.reDoSearch} // 查询
|
|
2168
|
+
setState={this.filterSetState}
|
|
2169
|
+
onFilterKeyDown={this.onFilterKeyDown} // 按下回车
|
|
2170
|
+
/>
|
|
2171
|
+
<Spin indicator={<IconLoading />} spinning={listLoading}>
|
|
2172
|
+
<ImgTable {...tableConfig} />
|
|
2173
|
+
{tableDataSource.length ? (
|
|
2174
|
+
<div className={styles.pagination}>
|
|
2175
|
+
<Pagination {...pagination} />
|
|
2176
|
+
</div>
|
|
2177
|
+
) : null}
|
|
2178
|
+
{tableDataSource.length ? (
|
|
2179
|
+
<TotalCount
|
|
2180
|
+
top={-50}
|
|
2181
|
+
count={listRealTotalCount ?? totalCount}
|
|
2182
|
+
isShowRealTotalCount={!!listRealTotalCount}
|
|
2183
|
+
/>
|
|
2184
|
+
) : null}
|
|
2185
|
+
</Spin>
|
|
2186
|
+
<SMDetailDrawer
|
|
2187
|
+
detailData={detailData}
|
|
2188
|
+
searchParams={newParams}
|
|
2189
|
+
visible={detailVisible}
|
|
2190
|
+
onClose={this.closeDetail}
|
|
2191
|
+
onActionClick={this.onActionClick}
|
|
2192
|
+
/>
|
|
2193
|
+
<NewHistoryDetailDrawer
|
|
2194
|
+
visible={newDetailVisible}
|
|
2195
|
+
headerData={headerData}
|
|
2196
|
+
detailData={detailData}
|
|
2197
|
+
hasImgList
|
|
2198
|
+
serviceId={serviceId}
|
|
2199
|
+
onClose={() => this.setState({newDetailVisible: false})}
|
|
2200
|
+
onActionClick={this.onActionClick}
|
|
2201
|
+
organization={organization}
|
|
2202
|
+
queryParams={queryParams}
|
|
2203
|
+
/>
|
|
2204
|
+
<AddListModal
|
|
2205
|
+
visible={listModalVisible}
|
|
2206
|
+
listData={currentListData}
|
|
2207
|
+
serviceId={serviceId}
|
|
2208
|
+
organization={organization}
|
|
2209
|
+
currentValue={currentListValue}
|
|
2210
|
+
onCancel={() =>
|
|
2211
|
+
this.setState({
|
|
2212
|
+
listModalVisible: false,
|
|
2213
|
+
})
|
|
2214
|
+
}
|
|
2215
|
+
/>
|
|
2216
|
+
<TJExportTask {...exportTaskConfig} />
|
|
2217
|
+
</div>
|
|
2218
|
+
);
|
|
2219
|
+
}
|
|
2220
|
+
}
|
|
2221
|
+
|
|
2222
|
+
export default connect(({ user, login }) => ({
|
|
2223
|
+
currentUser: user.currentUser,
|
|
2224
|
+
isIntl: login?.loginModeObj?.isIntl,
|
|
2225
|
+
}))(withIntlComponents(History));
|