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