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,1219 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 实验室专用规则表格组件
|
|
3
|
+
* 操作列与 admin2 strategyManage 页面对齐
|
|
4
|
+
*/
|
|
5
|
+
import { useCallback, useEffect, useState, useRef, useMemo } from 'react';
|
|
6
|
+
import { Collapse, Popconfirm, message, Empty, Spin, Switch, Tooltip, Popover } from 'antd';
|
|
7
|
+
import _ from 'lodash';
|
|
8
|
+
import { connect } from 'umi';
|
|
9
|
+
import { SMTable } from 'sm-antd';
|
|
10
|
+
|
|
11
|
+
import SMIcon from '@/components/SMIcon';
|
|
12
|
+
import { SMTips } from '@/components';
|
|
13
|
+
import { useLanguage } from '@/hooks';
|
|
14
|
+
import { formatVariableList } from '@/utils/utils';
|
|
15
|
+
import { AUTH_FUNCTION, SM_ACCOUNT, tableText, RISK_LEVEL_LIST } from '@/contants';
|
|
16
|
+
import { getAuthFunction } from '@/utils/AuthorityManage';
|
|
17
|
+
import { formatUs } from '@/utils/helpers';
|
|
18
|
+
import {
|
|
19
|
+
defaultVariable,
|
|
20
|
+
OPERATOR_EXTRA,
|
|
21
|
+
operaeType,
|
|
22
|
+
} from '@/pages/pageComponents/StrategyPage/contants';
|
|
23
|
+
|
|
24
|
+
import RuleMdoal from '@/pages/pageComponents/StrategyPage/components/RuleModal';
|
|
25
|
+
import AddListModal from '@/pages/pageComponents/StrategyPage/components/AddRuleMdoal';
|
|
26
|
+
|
|
27
|
+
import RuleOnlineModal from '../RuleOnlineModal';
|
|
28
|
+
import RuleEventModal from '../RuleEventModal';
|
|
29
|
+
import RuleDiffModal from '../RuleDiffModal';
|
|
30
|
+
import RuleGroupCopyModal from '../RuleGroupCopyModal';
|
|
31
|
+
|
|
32
|
+
import styles from './index.less';
|
|
33
|
+
|
|
34
|
+
const { Panel } = Collapse;
|
|
35
|
+
|
|
36
|
+
const ENVIRONMENT = 'experiment';
|
|
37
|
+
const OPERATE_ONLINE = 'ONLINE';
|
|
38
|
+
|
|
39
|
+
const RISK_LEVEL_ICON = {
|
|
40
|
+
PASS: 'tongguo1',
|
|
41
|
+
REVIEW: 'shenhe',
|
|
42
|
+
REJECT: 'cuowu',
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
const formatSubmitData = ({ applyReason, attachment, isCurrentCustomer } = {}) => {
|
|
46
|
+
if (isCurrentCustomer) {
|
|
47
|
+
return {};
|
|
48
|
+
}
|
|
49
|
+
let files = [];
|
|
50
|
+
if (attachment && !_.isEmpty(attachment)) {
|
|
51
|
+
files = _.map(attachment, file => _.get(file, 'response.content.fileUrl'));
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
auditInfo: !_.isNil(applyReason) ? { applyReason, attachment: files } : undefined,
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
const ExperimentRuleTable = props => {
|
|
59
|
+
const {
|
|
60
|
+
collapseChange,
|
|
61
|
+
eventId,
|
|
62
|
+
dispatch,
|
|
63
|
+
currentUser,
|
|
64
|
+
currentGlobalFilter,
|
|
65
|
+
ruleLoading,
|
|
66
|
+
listData,
|
|
67
|
+
isGlobal,
|
|
68
|
+
isSingle,
|
|
69
|
+
isScene,
|
|
70
|
+
activeKey,
|
|
71
|
+
setActiveKey,
|
|
72
|
+
setSelectedRowKeys,
|
|
73
|
+
selectedRowKeys,
|
|
74
|
+
productId,
|
|
75
|
+
route,
|
|
76
|
+
group,
|
|
77
|
+
method,
|
|
78
|
+
isCurrentCustomer,
|
|
79
|
+
appSelectList,
|
|
80
|
+
} = props;
|
|
81
|
+
|
|
82
|
+
const {
|
|
83
|
+
dataSource,
|
|
84
|
+
risklevelList,
|
|
85
|
+
ruleList = {},
|
|
86
|
+
productList,
|
|
87
|
+
riskMapList,
|
|
88
|
+
riskTypeList,
|
|
89
|
+
groupList,
|
|
90
|
+
} = listData;
|
|
91
|
+
|
|
92
|
+
const { contents } = ruleList;
|
|
93
|
+
const isSM = currentUser.organization === SM_ACCOUNT || isGlobal;
|
|
94
|
+
const groupData = groupList.filter(item => item.group_code === group);
|
|
95
|
+
|
|
96
|
+
const { t } = useLanguage();
|
|
97
|
+
|
|
98
|
+
// === States ===
|
|
99
|
+
const [data, setData] = useState([]);
|
|
100
|
+
const [loading, setLoading] = useState(false);
|
|
101
|
+
|
|
102
|
+
// 模态框状态
|
|
103
|
+
const [ruleOnlineVisible, setRuleOnlineVisible] = useState(false);
|
|
104
|
+
const [ruleEventVisible, setRuleEventVisible] = useState(false);
|
|
105
|
+
const [ruleModalVisible, setRuleModalVisible] = useState(false);
|
|
106
|
+
const [ruleDiffVisible, setRuleDiffVisible] = useState(false);
|
|
107
|
+
const [ruleGroupVisible, setRuleGroupVisible] = useState(false);
|
|
108
|
+
|
|
109
|
+
const [opType, setOpType] = useState('');
|
|
110
|
+
const [ruleDetail, setRuleDetail] = useState({});
|
|
111
|
+
const [ruleSetDetail, setRuleSetDetail] = useState({});
|
|
112
|
+
const [formParams, setFormParams] = useState({});
|
|
113
|
+
const [ruleDiffInfo, setRuleDiffInfo] = useState({});
|
|
114
|
+
const [submitLoading, setSubmitLoading] = useState(false);
|
|
115
|
+
|
|
116
|
+
// RuleModal 相关状态
|
|
117
|
+
const [variableData, setVariableData] = useState([]);
|
|
118
|
+
const [conditions, setConditions] = useState([]);
|
|
119
|
+
const [ruleType, setRuleType] = useState(operaeType.ADD);
|
|
120
|
+
const [record, setRecord] = useState({});
|
|
121
|
+
const [activityEvent, setActivityEvent] = useState([eventId]);
|
|
122
|
+
const [activityAppId, setActivityAppId] = useState([]);
|
|
123
|
+
const [modalLoading, setModalLoading] = useState(false);
|
|
124
|
+
|
|
125
|
+
// === 权限 ===
|
|
126
|
+
const authList = useMemo(() => ({
|
|
127
|
+
enableOrDisableRule: getAuthFunction(AUTH_FUNCTION.ENABLE_OR_DISABLE_RULE),
|
|
128
|
+
ruleOnline: getAuthFunction(AUTH_FUNCTION.RULE_ONLINE),
|
|
129
|
+
updateRule: getAuthFunction(AUTH_FUNCTION.UPDATE_RULE),
|
|
130
|
+
deleteRule: getAuthFunction(AUTH_FUNCTION.GLOBAL_DELETE_RULE),
|
|
131
|
+
}), []);
|
|
132
|
+
|
|
133
|
+
const listParams = useMemo(() => ({
|
|
134
|
+
organization: currentGlobalFilter.organization,
|
|
135
|
+
appId: currentGlobalFilter.appId,
|
|
136
|
+
eventId,
|
|
137
|
+
group_code: group,
|
|
138
|
+
sceneId: undefined,
|
|
139
|
+
}), [currentGlobalFilter, eventId, group]);
|
|
140
|
+
|
|
141
|
+
// === 获取变量列表 ===
|
|
142
|
+
const getVariableList = useCallback(async () => {
|
|
143
|
+
setLoading(true);
|
|
144
|
+
const result = await dispatch({
|
|
145
|
+
type: 'strategy/variableList',
|
|
146
|
+
payload: {
|
|
147
|
+
appId: currentGlobalFilter.appId,
|
|
148
|
+
enabled: 1,
|
|
149
|
+
eventId: eventId,
|
|
150
|
+
organization: currentGlobalFilter.organization,
|
|
151
|
+
},
|
|
152
|
+
});
|
|
153
|
+
setLoading(false);
|
|
154
|
+
if (result && result.length) {
|
|
155
|
+
const list = formatVariableList(result);
|
|
156
|
+
setVariableData(list);
|
|
157
|
+
return list;
|
|
158
|
+
}
|
|
159
|
+
return [];
|
|
160
|
+
}, [currentGlobalFilter, dispatch, eventId]);
|
|
161
|
+
|
|
162
|
+
// === 格式化 meta 为条件数据 ===
|
|
163
|
+
const getMeta = useCallback((item, list) => {
|
|
164
|
+
const meta = item.meta;
|
|
165
|
+
let number = 0;
|
|
166
|
+
_.keys(meta).forEach(key => {
|
|
167
|
+
if (key.includes('left')) {
|
|
168
|
+
number++;
|
|
169
|
+
}
|
|
170
|
+
});
|
|
171
|
+
const lists = list || variableData;
|
|
172
|
+
const defaultData = defaultVariable(lists, t);
|
|
173
|
+
const condiatesData = [];
|
|
174
|
+
for (let i = 0; i < number; i++) {
|
|
175
|
+
const varItem = lists.filter(v => v.id === (meta[`left${i}_0`] || meta[`left${i}`]));
|
|
176
|
+
const newData = _.cloneDeep(defaultData);
|
|
177
|
+
const type = varItem[0] && varItem[0].type;
|
|
178
|
+
newData.left.definition.default = meta[`left${i}_0`] || meta[`left${i}`];
|
|
179
|
+
newData.left.definition.var = `left${i}_0`;
|
|
180
|
+
newData.left.definition.type = type;
|
|
181
|
+
newData.operator.definition.default = meta[`operator${i}_0`] || meta[`operator${i}`];
|
|
182
|
+
newData.operator.definition.var = `operator${i}_0`;
|
|
183
|
+
newData.operator.definition.condiates = OPERATOR_EXTRA[type];
|
|
184
|
+
newData.rightVal.definition.default = meta[`right${i}_0`] || meta[`right${i}`];
|
|
185
|
+
newData.rightVal.definition.var = `right${i}_0`;
|
|
186
|
+
if ((meta[`inputType${i}_0`] || meta[`inputType${i}`]) === 'val') {
|
|
187
|
+
condiatesData.push([newData.left, newData.operator, newData.rightVal]);
|
|
188
|
+
} else {
|
|
189
|
+
newData.rightVar.definition.default = meta[`right${i}_0`] || meta[`right${i}`];
|
|
190
|
+
newData.rightVar.definition.var = `right${i}_0`;
|
|
191
|
+
newData.rightVar.definition.condiates = variableData;
|
|
192
|
+
condiatesData.push([newData.left, newData.operator, newData.rightVar]);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
setConditions(condiatesData);
|
|
196
|
+
}, [variableData, t]);
|
|
197
|
+
|
|
198
|
+
// === 操作: 上线(与 admin strategyManage 一致)===
|
|
199
|
+
const handleOnline = useCallback(rule => {
|
|
200
|
+
setOpType(OPERATE_ONLINE);
|
|
201
|
+
setRuleDetail(rule);
|
|
202
|
+
setRuleOnlineVisible(true);
|
|
203
|
+
}, []);
|
|
204
|
+
|
|
205
|
+
// 上线提交 -> checkDiffRule -> 打开 DiffModal
|
|
206
|
+
const toOnline = useCallback(async values => {
|
|
207
|
+
const { ruleId } = ruleDetail;
|
|
208
|
+
const { appIds = ['default'], eventIds } = values;
|
|
209
|
+
const difRule = ruleId.replace('E', 'M');
|
|
210
|
+
const { sceneId } = listParams;
|
|
211
|
+
setSubmitLoading(true);
|
|
212
|
+
const params = {
|
|
213
|
+
organization: currentGlobalFilter.organization,
|
|
214
|
+
appId: currentGlobalFilter.appId,
|
|
215
|
+
eventId,
|
|
216
|
+
ruleId: difRule,
|
|
217
|
+
appIds,
|
|
218
|
+
eventIds,
|
|
219
|
+
environment: 'online',
|
|
220
|
+
sceneId: isScene ? sceneId : undefined,
|
|
221
|
+
};
|
|
222
|
+
const contents = await dispatch({
|
|
223
|
+
type: 'strategy/ruleCheckDiffRule',
|
|
224
|
+
payload: params,
|
|
225
|
+
});
|
|
226
|
+
if (contents) {
|
|
227
|
+
setFormParams(values);
|
|
228
|
+
setRuleDiffInfo(contents);
|
|
229
|
+
setRuleDiffVisible(true);
|
|
230
|
+
}
|
|
231
|
+
setSubmitLoading(false);
|
|
232
|
+
}, [ruleDetail, currentGlobalFilter, eventId, dispatch, isScene, listParams]);
|
|
233
|
+
|
|
234
|
+
// DiffModal 确认提交
|
|
235
|
+
const handleDiffSubmit = useCallback(async () => {
|
|
236
|
+
if (opType !== OPERATE_ONLINE) {
|
|
237
|
+
return;
|
|
238
|
+
}
|
|
239
|
+
const { organization, appId } = currentGlobalFilter;
|
|
240
|
+
const { eventId: listEventId, sceneId } = listParams;
|
|
241
|
+
const { ruleId } = ruleDetail;
|
|
242
|
+
const str = ruleId.replace('E', 'M');
|
|
243
|
+
const { ratio, appIds = ['default'], eventIds, remark, attachment = [] } = formParams;
|
|
244
|
+
|
|
245
|
+
const cRule = _.cloneDeep(ruleDetail);
|
|
246
|
+
_.set(cRule, 'meta.ruleId', str);
|
|
247
|
+
_.set(cRule, 'ruleId', str);
|
|
248
|
+
const operands = _.get(cRule, 'meta._condition.operands', []);
|
|
249
|
+
const { meta } = cRule;
|
|
250
|
+
let number = 0;
|
|
251
|
+
let idx = 0;
|
|
252
|
+
let isAdd = true;
|
|
253
|
+
_.keys(meta).forEach(item => {
|
|
254
|
+
if (item.includes('left')) {
|
|
255
|
+
number++;
|
|
256
|
+
}
|
|
257
|
+
});
|
|
258
|
+
operands.map((item, index) => {
|
|
259
|
+
const operandsArr = item.operands;
|
|
260
|
+
const profile = operandsArr[0].operands[0];
|
|
261
|
+
if (profile === 'profile.randomid') {
|
|
262
|
+
idx = index;
|
|
263
|
+
operandsArr[1].operands[0] = ratio;
|
|
264
|
+
isAdd = false;
|
|
265
|
+
item.operator = '<=';
|
|
266
|
+
cRule.meta[`operator${idx}_0`] = '<=';
|
|
267
|
+
}
|
|
268
|
+
});
|
|
269
|
+
if (isAdd) {
|
|
270
|
+
const left = { operands: ['profile.randomid'], operator: 'var', type: 'int' };
|
|
271
|
+
const right = { operands: [ratio], operator: 'val', type: 'int' };
|
|
272
|
+
operands.push({ operands: [left, right], operator: '<=', type: 'boolean' });
|
|
273
|
+
cRule.meta[`left${number}_0`] = 'profile.randomid';
|
|
274
|
+
cRule.meta[`operator${number}_0`] = '<=';
|
|
275
|
+
cRule.meta[`varType${number}_0`] = 'int';
|
|
276
|
+
cRule.meta[`inputType${number}_0`] = 'val';
|
|
277
|
+
cRule.meta[`right${number}_0`] = ratio;
|
|
278
|
+
} else {
|
|
279
|
+
cRule.meta[`left${idx}_0`] = 'profile.randomid';
|
|
280
|
+
cRule.meta[`operator${idx}_0`] = '<=';
|
|
281
|
+
cRule.meta[`varType${idx}_0`] = 'int';
|
|
282
|
+
cRule.meta[`inputType${idx}_0`] = 'val';
|
|
283
|
+
cRule.meta[`right${idx}_0`] = ratio;
|
|
284
|
+
}
|
|
285
|
+
for (let i = 0; i < operands.length; i++) {
|
|
286
|
+
cRule.meta[`boxItemLength${i}`] = '1';
|
|
287
|
+
}
|
|
288
|
+
const newParams = {
|
|
289
|
+
organization,
|
|
290
|
+
eventIds,
|
|
291
|
+
appIds,
|
|
292
|
+
oldRule: ruleDetail,
|
|
293
|
+
newRule: {
|
|
294
|
+
...cRule,
|
|
295
|
+
organization,
|
|
296
|
+
appId,
|
|
297
|
+
eventId: listEventId,
|
|
298
|
+
...(isScene ? { sceneId } : {}),
|
|
299
|
+
},
|
|
300
|
+
...formatSubmitData({ applyReason: remark, attachment, isCurrentCustomer }),
|
|
301
|
+
};
|
|
302
|
+
const result = await dispatch({
|
|
303
|
+
type: 'strategy/ruleToOnline',
|
|
304
|
+
payload: newParams,
|
|
305
|
+
});
|
|
306
|
+
if (result) {
|
|
307
|
+
setRuleDiffVisible(false);
|
|
308
|
+
setRuleOnlineVisible(false);
|
|
309
|
+
method.getRuleList && method.getRuleList(ruleDetail.ruleSetId);
|
|
310
|
+
}
|
|
311
|
+
}, [opType, ruleDetail, formParams, currentGlobalFilter, dispatch, isScene, listParams, isCurrentCustomer, method]);
|
|
312
|
+
|
|
313
|
+
// === 操作: 查看 ===
|
|
314
|
+
const handleView = useCallback(async rule => {
|
|
315
|
+
setRecord(rule);
|
|
316
|
+
setRuleType(operaeType.VIEW);
|
|
317
|
+
const list = await getVariableList();
|
|
318
|
+
getMeta(rule, list);
|
|
319
|
+
setRuleModalVisible(true);
|
|
320
|
+
}, [getVariableList, getMeta]);
|
|
321
|
+
|
|
322
|
+
// === 操作: 修改(先选事件,再编辑规则) ===
|
|
323
|
+
const handleModify = useCallback((rule, ruleSet) => {
|
|
324
|
+
setOpType('modify');
|
|
325
|
+
setRuleDetail(rule);
|
|
326
|
+
setRecord(rule);
|
|
327
|
+
setRuleSetDetail(ruleSet);
|
|
328
|
+
setRuleType(operaeType.UPDATE);
|
|
329
|
+
setActivityEvent([eventId]);
|
|
330
|
+
setRuleEventVisible(true);
|
|
331
|
+
}, [eventId]);
|
|
332
|
+
|
|
333
|
+
// 启用/禁用:选范围后直接生效(与 admin strategyManage 一致)
|
|
334
|
+
const updateRuleStatus = useCallback(async (detail, values) => {
|
|
335
|
+
const { organization, appId } = currentGlobalFilter;
|
|
336
|
+
const { appIds = ['default'], eventIds } = values;
|
|
337
|
+
const params = {
|
|
338
|
+
organization,
|
|
339
|
+
eventIds,
|
|
340
|
+
appIds,
|
|
341
|
+
rule: {
|
|
342
|
+
...detail,
|
|
343
|
+
organization,
|
|
344
|
+
appId,
|
|
345
|
+
eventId,
|
|
346
|
+
},
|
|
347
|
+
environment: ENVIRONMENT,
|
|
348
|
+
};
|
|
349
|
+
const result = await dispatch({
|
|
350
|
+
type: 'strategy/updateRule',
|
|
351
|
+
payload: params,
|
|
352
|
+
});
|
|
353
|
+
if (result) {
|
|
354
|
+
setRuleEventVisible(false);
|
|
355
|
+
method.getRuleList && method.getRuleList(detail.ruleSetId);
|
|
356
|
+
}
|
|
357
|
+
return result;
|
|
358
|
+
}, [currentGlobalFilter, eventId, dispatch, method]);
|
|
359
|
+
|
|
360
|
+
// 事件选择提交
|
|
361
|
+
const handleEventSubmit = useCallback(async values => {
|
|
362
|
+
if (opType === 'disable' || opType === 'enable') {
|
|
363
|
+
setModalLoading(true);
|
|
364
|
+
try {
|
|
365
|
+
await updateRuleStatus(ruleDetail, values);
|
|
366
|
+
} finally {
|
|
367
|
+
setModalLoading(false);
|
|
368
|
+
}
|
|
369
|
+
return;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
if (opType === 'DEL') {
|
|
373
|
+
setModalLoading(true);
|
|
374
|
+
try {
|
|
375
|
+
const { eventIds } = values;
|
|
376
|
+
const { organization, appId, ruleId } = ruleDetail;
|
|
377
|
+
const list = _.map(eventIds, item => {
|
|
378
|
+
const [evtId, sceneId] = _.split(item, '#');
|
|
379
|
+
return {
|
|
380
|
+
organization,
|
|
381
|
+
appId,
|
|
382
|
+
eventId: evtId,
|
|
383
|
+
ruleId,
|
|
384
|
+
group_code: group,
|
|
385
|
+
sceneId,
|
|
386
|
+
};
|
|
387
|
+
});
|
|
388
|
+
const result = await dispatch({
|
|
389
|
+
type: 'strategy/deleteRule',
|
|
390
|
+
payload: list,
|
|
391
|
+
});
|
|
392
|
+
if (result) {
|
|
393
|
+
setRuleEventVisible(false);
|
|
394
|
+
method.getRuleList && method.getRuleList(ruleDetail.ruleSetId);
|
|
395
|
+
}
|
|
396
|
+
} finally {
|
|
397
|
+
setModalLoading(false);
|
|
398
|
+
}
|
|
399
|
+
return;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
setModalLoading(true);
|
|
403
|
+
setFormParams({
|
|
404
|
+
environment: ENVIRONMENT,
|
|
405
|
+
rule: ruleDetail,
|
|
406
|
+
...values,
|
|
407
|
+
});
|
|
408
|
+
setActivityAppId(values.appIds || [currentGlobalFilter.appId]);
|
|
409
|
+
setActivityEvent(values.eventIds || [eventId]);
|
|
410
|
+
|
|
411
|
+
// 获取变量列表
|
|
412
|
+
const defaultEventId = values.eventIds && values.eventIds.length === 1
|
|
413
|
+
? values.eventIds[0] : eventId;
|
|
414
|
+
const result = await dispatch({
|
|
415
|
+
type: 'strategy/variableList',
|
|
416
|
+
payload: {
|
|
417
|
+
appId: currentGlobalFilter.appId,
|
|
418
|
+
enabled: 1,
|
|
419
|
+
eventId: defaultEventId,
|
|
420
|
+
organization: currentGlobalFilter.organization,
|
|
421
|
+
},
|
|
422
|
+
});
|
|
423
|
+
if (result && result.length) {
|
|
424
|
+
const list = formatVariableList(result);
|
|
425
|
+
setVariableData(list);
|
|
426
|
+
if (opType === 'modify') {
|
|
427
|
+
getMeta(ruleDetail, list);
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
setRuleEventVisible(false);
|
|
431
|
+
setRuleModalVisible(true);
|
|
432
|
+
setModalLoading(false);
|
|
433
|
+
}, [currentGlobalFilter, eventId, dispatch, opType, ruleDetail, getMeta, updateRuleStatus, group, method]);
|
|
434
|
+
|
|
435
|
+
// === 操作: 删除(非场景:直接删;场景:先弹框选范围)===
|
|
436
|
+
const handleDelete = useCallback(async rule => {
|
|
437
|
+
const result = await dispatch({
|
|
438
|
+
type: 'strategy/deleteRule',
|
|
439
|
+
payload: [{
|
|
440
|
+
organization: currentGlobalFilter.organization,
|
|
441
|
+
appId: currentGlobalFilter.appId,
|
|
442
|
+
eventId,
|
|
443
|
+
ruleId: rule.ruleId,
|
|
444
|
+
group_code: group,
|
|
445
|
+
}],
|
|
446
|
+
});
|
|
447
|
+
if (result) {
|
|
448
|
+
method.getRuleList && method.getRuleList(rule.ruleSetId);
|
|
449
|
+
}
|
|
450
|
+
}, [dispatch, currentGlobalFilter, eventId, group, method]);
|
|
451
|
+
|
|
452
|
+
const handleDeleteClick = useCallback((rule, ruleSet) => {
|
|
453
|
+
if (rule.enabled !== 0) {
|
|
454
|
+
message.warning('请先禁用再删除~');
|
|
455
|
+
return;
|
|
456
|
+
}
|
|
457
|
+
setOpType('DEL');
|
|
458
|
+
setRuleDetail(rule);
|
|
459
|
+
setRuleSetDetail(ruleSet);
|
|
460
|
+
setRuleEventVisible(true);
|
|
461
|
+
}, []);
|
|
462
|
+
|
|
463
|
+
// === 操作: 复制分组规则 ===
|
|
464
|
+
const handleCopyGroup = useCallback(rule => {
|
|
465
|
+
setOpType('copy');
|
|
466
|
+
setRuleDetail(rule);
|
|
467
|
+
setRuleGroupVisible(true);
|
|
468
|
+
}, []);
|
|
469
|
+
|
|
470
|
+
const handleCopyGroupSubmit = useCallback(async values => {
|
|
471
|
+
const { meta } = ruleDetail;
|
|
472
|
+
const { organization } = currentGlobalFilter;
|
|
473
|
+
const { ruleId } = values;
|
|
474
|
+
const list = groupList.filter(item => item.group_code === values.group_code);
|
|
475
|
+
const params = {
|
|
476
|
+
organization,
|
|
477
|
+
appIds: [currentGlobalFilter.appId],
|
|
478
|
+
eventIds: [eventId],
|
|
479
|
+
environment: ENVIRONMENT,
|
|
480
|
+
ruleId,
|
|
481
|
+
rule: {
|
|
482
|
+
..._.omit(ruleDetail, 'id'),
|
|
483
|
+
meta: {
|
|
484
|
+
...meta,
|
|
485
|
+
group_variable: _.get(list, '0.group_variable', ''),
|
|
486
|
+
group_value: _.get(list, '0.group_value', ''),
|
|
487
|
+
ruleId,
|
|
488
|
+
},
|
|
489
|
+
..._.omit(values, 'results'),
|
|
490
|
+
},
|
|
491
|
+
};
|
|
492
|
+
const result = await dispatch({
|
|
493
|
+
type: 'strategy/addRule',
|
|
494
|
+
payload: params,
|
|
495
|
+
});
|
|
496
|
+
if (result) {
|
|
497
|
+
setRuleGroupVisible(false);
|
|
498
|
+
method.getRuleSetList && method.getRuleSetList();
|
|
499
|
+
}
|
|
500
|
+
return result;
|
|
501
|
+
}, [ruleDetail, currentGlobalFilter, eventId, groupList, dispatch, method]);
|
|
502
|
+
|
|
503
|
+
// === 操作: 状态切换(启用/禁用)- 先弹框选范围 ===
|
|
504
|
+
const handleStatusClick = useCallback((rule, ruleSet) => {
|
|
505
|
+
const checked = +rule.enabled === 1;
|
|
506
|
+
const newRule = _.cloneDeep(rule);
|
|
507
|
+
newRule.enabled = checked ? 0 : 1;
|
|
508
|
+
setRuleSetDetail(ruleSet);
|
|
509
|
+
setRuleDetail(newRule);
|
|
510
|
+
setOpType(checked ? 'disable' : 'enable');
|
|
511
|
+
setRuleEventVisible(true);
|
|
512
|
+
}, []);
|
|
513
|
+
|
|
514
|
+
// === 规则提交 (新增/修改) ===
|
|
515
|
+
const getRiskReasons = riskReasons => {
|
|
516
|
+
let result = { operator: 'concat', operands: [], type: 'string' };
|
|
517
|
+
if (riskReasons) {
|
|
518
|
+
riskReasons = String(riskReasons);
|
|
519
|
+
riskReasons = _.trim(riskReasons);
|
|
520
|
+
if (!riskReasons) {
|
|
521
|
+
result = {};
|
|
522
|
+
} else {
|
|
523
|
+
const reg = /\${[\w\d\.\-_$]+}/ig;
|
|
524
|
+
const matches = riskReasons.match(reg);
|
|
525
|
+
const riskReasonArr = riskReasons.split(reg);
|
|
526
|
+
const operands = [];
|
|
527
|
+
for (let i = 0; i < riskReasonArr.length; i++) {
|
|
528
|
+
const word = riskReasonArr[i];
|
|
529
|
+
let variable = matches ? matches[i] : null;
|
|
530
|
+
if (word) {
|
|
531
|
+
operands.push({ operator: 'val', operands: [word] });
|
|
532
|
+
}
|
|
533
|
+
if (variable) {
|
|
534
|
+
variable = variable.replace(/(\${)|(})/ig, '');
|
|
535
|
+
operands.push({ operator: 'var', operands: [variable] });
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
result.operands = operands;
|
|
539
|
+
}
|
|
540
|
+
} else {
|
|
541
|
+
result = {};
|
|
542
|
+
}
|
|
543
|
+
return result;
|
|
544
|
+
};
|
|
545
|
+
|
|
546
|
+
const getBaseInfo = useCallback(originData => {
|
|
547
|
+
const { score, riskTypeName, riskReasons, ruleName } = originData;
|
|
548
|
+
const riskTypeNameIsNum = /^\d+$/.test(riskTypeName);
|
|
549
|
+
let baseInfo = {
|
|
550
|
+
score: { operator: 'val', operands: score, type: 'int' },
|
|
551
|
+
};
|
|
552
|
+
if (!riskTypeNameIsNum && riskTypeName) {
|
|
553
|
+
baseInfo.ruleNameDesc = getRiskReasons(ruleName);
|
|
554
|
+
baseInfo.riskReasons = riskReasons
|
|
555
|
+
? getRiskReasons(`${riskTypeName}:${riskReasons}`)
|
|
556
|
+
: getRiskReasons(riskTypeName);
|
|
557
|
+
}
|
|
558
|
+
if (riskTypeNameIsNum) {
|
|
559
|
+
baseInfo.ruleNameDesc = getRiskReasons(ruleName);
|
|
560
|
+
baseInfo.riskReasons = getRiskReasons(ruleName);
|
|
561
|
+
}
|
|
562
|
+
return baseInfo;
|
|
563
|
+
}, []);
|
|
564
|
+
|
|
565
|
+
const formatCondition = useCallback(originData => {
|
|
566
|
+
let conds = [];
|
|
567
|
+
for (let key in originData) {
|
|
568
|
+
const reg = /left(\d+(?:_\d+)?)/;
|
|
569
|
+
const matches = key.match(reg);
|
|
570
|
+
if (matches && matches.length) {
|
|
571
|
+
const index = matches[1];
|
|
572
|
+
const rightValue = (originData[`right${index}`] || '').replace(/\s+/g, '');
|
|
573
|
+
conds.push([{
|
|
574
|
+
left: originData[`left${index}`],
|
|
575
|
+
operator: originData[`operator${index}`],
|
|
576
|
+
right: rightValue,
|
|
577
|
+
varType: originData[`varType${index}`],
|
|
578
|
+
inputType: originData[`inputType${index}`],
|
|
579
|
+
}]);
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
return conds;
|
|
583
|
+
}, []);
|
|
584
|
+
|
|
585
|
+
const getOperands = (_condition, _operands) => {
|
|
586
|
+
let rightVal = _condition.right;
|
|
587
|
+
let isArrayString = rightVal.indexOf(',') !== -1;
|
|
588
|
+
if (_condition.inputType === 'val' && _condition.varType === 'string' && !isArrayString) {
|
|
589
|
+
rightVal = _condition.right;
|
|
590
|
+
}
|
|
591
|
+
if (_condition.inputType === 'val' && _condition.varType === 'boolean') {
|
|
592
|
+
rightVal = _condition.right.toUpperCase();
|
|
593
|
+
}
|
|
594
|
+
if (_condition.operator === 'notSubsetp') {
|
|
595
|
+
_operands.push({
|
|
596
|
+
operator: 'not',
|
|
597
|
+
operands: [{
|
|
598
|
+
operator: 'subsetp',
|
|
599
|
+
operands: [{
|
|
600
|
+
operator: 'var', operands: [_condition.left], type: _condition.varType,
|
|
601
|
+
}, {
|
|
602
|
+
operator: _condition.inputType, operands: rightVal.split(','), type: _condition.varType,
|
|
603
|
+
}],
|
|
604
|
+
type: 'boolean',
|
|
605
|
+
}],
|
|
606
|
+
type: 'blooean',
|
|
607
|
+
});
|
|
608
|
+
} else {
|
|
609
|
+
_operands.push({
|
|
610
|
+
operator: _condition.operator,
|
|
611
|
+
operands: [{
|
|
612
|
+
operator: 'var', operands: [_condition.left], type: _condition.varType,
|
|
613
|
+
}, {
|
|
614
|
+
operator: _condition.inputType, operands: rightVal.split(','), type: _condition.varType,
|
|
615
|
+
}],
|
|
616
|
+
type: 'boolean',
|
|
617
|
+
});
|
|
618
|
+
}
|
|
619
|
+
return _operands;
|
|
620
|
+
};
|
|
621
|
+
|
|
622
|
+
const getCondition = useCallback(originData => {
|
|
623
|
+
const conds = formatCondition(originData);
|
|
624
|
+
let operands = [];
|
|
625
|
+
conds.forEach(condition => {
|
|
626
|
+
if (condition.length === 1) {
|
|
627
|
+
operands = getOperands(condition[0], operands);
|
|
628
|
+
} else {
|
|
629
|
+
let orOperands = [];
|
|
630
|
+
for (let i = 0; i < condition.length; i++) {
|
|
631
|
+
orOperands = getOperands(condition[i], orOperands);
|
|
632
|
+
}
|
|
633
|
+
operands.push({ operator: 'or', operands: orOperands, type: 'blooean' });
|
|
634
|
+
}
|
|
635
|
+
});
|
|
636
|
+
return { operator: 'and', operands, type: 'blooean' };
|
|
637
|
+
}, [formatCondition]);
|
|
638
|
+
|
|
639
|
+
const ruleSubmit = useCallback(async val => {
|
|
640
|
+
// 构建 meta
|
|
641
|
+
const example = {};
|
|
642
|
+
let outerExample = {};
|
|
643
|
+
let isNull = false;
|
|
644
|
+
conditions.forEach((item, index) => {
|
|
645
|
+
const rightValue = item[2].definition.default;
|
|
646
|
+
const leftValue = item[0].definition.default;
|
|
647
|
+
const operatorValue = item[1].definition.default;
|
|
648
|
+
const inputType = item[2].definition.inputType;
|
|
649
|
+
const leftType = item[0].definition.type;
|
|
650
|
+
if (!rightValue || !leftValue || !operatorValue) {
|
|
651
|
+
isNull = true;
|
|
652
|
+
return;
|
|
653
|
+
}
|
|
654
|
+
let rightForCondition = rightValue;
|
|
655
|
+
if (inputType === 'val' && leftType === 'string' && !rightValue.includes(',')) {
|
|
656
|
+
rightForCondition = `"${rightValue}"`;
|
|
657
|
+
}
|
|
658
|
+
example[`left${index}_0`] = leftValue;
|
|
659
|
+
example[`varType${index}_0`] = leftType;
|
|
660
|
+
example[`operator${index}_0`] = operatorValue;
|
|
661
|
+
example[`right${index}_0`] = rightForCondition;
|
|
662
|
+
example[`boxItemLength${index}`] = '1';
|
|
663
|
+
example[`inputType${index}_0`] = inputType;
|
|
664
|
+
outerExample[`boxItemLength${index}`] = '1';
|
|
665
|
+
outerExample[`left${index}_0`] = leftValue;
|
|
666
|
+
outerExample[`varType${index}_0`] = leftType;
|
|
667
|
+
outerExample[`operator${index}_0`] = operatorValue;
|
|
668
|
+
outerExample[`right${index}_0`] = rightValue;
|
|
669
|
+
outerExample[`inputType${index}_0`] = inputType;
|
|
670
|
+
});
|
|
671
|
+
if (isNull) {
|
|
672
|
+
message.warning(t('条件不能为空'));
|
|
673
|
+
return;
|
|
674
|
+
}
|
|
675
|
+
const meta = {
|
|
676
|
+
const: [],
|
|
677
|
+
_result: [],
|
|
678
|
+
_phase: 'common',
|
|
679
|
+
_customTemplate: 1,
|
|
680
|
+
_baseInfo: getBaseInfo(val),
|
|
681
|
+
_condition: getCondition(example),
|
|
682
|
+
ruleId: val.ruleId,
|
|
683
|
+
score: val.score,
|
|
684
|
+
marker: val.marker,
|
|
685
|
+
pullBlack: (val.isBlack === '0' || !val.isBlack) ? '0' : '1',
|
|
686
|
+
riskLevel: val.riskLevel,
|
|
687
|
+
riskType: val.riskType,
|
|
688
|
+
ruleName: val.ruleName,
|
|
689
|
+
riskReasons: val.riskReasons,
|
|
690
|
+
riskTypeName: val.riskTypeName,
|
|
691
|
+
group_value: _.get(groupData, '0.group_value', ''),
|
|
692
|
+
group_variable: _.get(groupData, '0.group_variable', ''),
|
|
693
|
+
...outerExample,
|
|
694
|
+
};
|
|
695
|
+
if (val.verifytype) {
|
|
696
|
+
meta.verifyType = val.verifytype;
|
|
697
|
+
}
|
|
698
|
+
if (val?.blackFields?.fields?.length > 0 && val.isBlack === '1') {
|
|
699
|
+
meta.blackFields = val.blackFields;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
// 修改规则:参数结构与 admin strategyManage addOrModifyRule(modify) 一致
|
|
703
|
+
if (opType === 'modify') {
|
|
704
|
+
const { meta: originalMeta = {}, enabled } = ruleDetail;
|
|
705
|
+
const { blackFields } = originalMeta;
|
|
706
|
+
const { organization, appId } = currentGlobalFilter;
|
|
707
|
+
const { appIds = ['default'], eventIds } = formParams;
|
|
708
|
+
const { ruleId, ruleName, riskLevel, riskType, marker } = val;
|
|
709
|
+
const group_variable = _.get(groupData, '0.group_variable', '');
|
|
710
|
+
const group_value = _.get(groupData, '0.group_value', '');
|
|
711
|
+
|
|
712
|
+
let params = {
|
|
713
|
+
appIds,
|
|
714
|
+
eventIds,
|
|
715
|
+
rule: {
|
|
716
|
+
ruleId,
|
|
717
|
+
ruleName,
|
|
718
|
+
riskLevel,
|
|
719
|
+
riskType,
|
|
720
|
+
marker,
|
|
721
|
+
ruleSetId: ruleSetDetail.ruleSetId,
|
|
722
|
+
enabled,
|
|
723
|
+
group_code: group,
|
|
724
|
+
templateId: 'T0000',
|
|
725
|
+
meta: {
|
|
726
|
+
...meta,
|
|
727
|
+
blackFields,
|
|
728
|
+
group_variable,
|
|
729
|
+
group_value,
|
|
730
|
+
},
|
|
731
|
+
},
|
|
732
|
+
ruleId,
|
|
733
|
+
environment: ENVIRONMENT,
|
|
734
|
+
};
|
|
735
|
+
params = {
|
|
736
|
+
id: ruleDetail.id,
|
|
737
|
+
organization,
|
|
738
|
+
...params,
|
|
739
|
+
rule: {
|
|
740
|
+
organization,
|
|
741
|
+
appId,
|
|
742
|
+
eventId,
|
|
743
|
+
...params.rule,
|
|
744
|
+
},
|
|
745
|
+
};
|
|
746
|
+
|
|
747
|
+
const result = await dispatch({
|
|
748
|
+
type: 'strategy/updateRule',
|
|
749
|
+
payload: params,
|
|
750
|
+
});
|
|
751
|
+
if (result) {
|
|
752
|
+
setRuleModalVisible(false);
|
|
753
|
+
method.getRuleList && method.getRuleList(ruleSetDetail.ruleSetId);
|
|
754
|
+
}
|
|
755
|
+
return;
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
let obj = {
|
|
759
|
+
appId: currentGlobalFilter.appId,
|
|
760
|
+
creator: currentUser.account,
|
|
761
|
+
enabled: 1,
|
|
762
|
+
eventId,
|
|
763
|
+
isFinalCounter: 0,
|
|
764
|
+
isOpen: 0,
|
|
765
|
+
marker: val.marker,
|
|
766
|
+
organization: currentGlobalFilter.organization,
|
|
767
|
+
riskLevel: val.riskLevel,
|
|
768
|
+
riskType: val.riskType,
|
|
769
|
+
ruleName: val.ruleName,
|
|
770
|
+
templateId: 'T0000',
|
|
771
|
+
ruleSetId: record.ruleSetId,
|
|
772
|
+
group_code: group,
|
|
773
|
+
ruleId: val.ruleId,
|
|
774
|
+
meta,
|
|
775
|
+
};
|
|
776
|
+
if (val.verifytype) {
|
|
777
|
+
obj.verifyType = val.verifytype;
|
|
778
|
+
}
|
|
779
|
+
const params = {
|
|
780
|
+
organization: currentGlobalFilter.organization,
|
|
781
|
+
appIds: activityAppId.length ? activityAppId : [currentGlobalFilter.appId],
|
|
782
|
+
eventIds: activityEvent,
|
|
783
|
+
ruleId: val.ruleId,
|
|
784
|
+
environment: ENVIRONMENT,
|
|
785
|
+
rule: obj,
|
|
786
|
+
};
|
|
787
|
+
const result = await dispatch({
|
|
788
|
+
type: 'strategy/addRule',
|
|
789
|
+
payload: params,
|
|
790
|
+
});
|
|
791
|
+
if (result) {
|
|
792
|
+
setRuleModalVisible(false);
|
|
793
|
+
method.getRuleSetList && method.getRuleSetList();
|
|
794
|
+
}
|
|
795
|
+
}, [
|
|
796
|
+
conditions, getBaseInfo, getCondition, currentGlobalFilter,
|
|
797
|
+
currentUser, eventId, record, group, groupData,
|
|
798
|
+
activityAppId, activityEvent, dispatch, method, t,
|
|
799
|
+
opType, ruleDetail, ruleSetDetail, formParams,
|
|
800
|
+
]);
|
|
801
|
+
|
|
802
|
+
// === 变量变化回调 ===
|
|
803
|
+
const variableChange = useCallback(val => {
|
|
804
|
+
let number = 0;
|
|
805
|
+
const data = _.cloneDeep(conditions);
|
|
806
|
+
_.keys(val).forEach(item => {
|
|
807
|
+
if (item.includes('left')) {
|
|
808
|
+
number++;
|
|
809
|
+
}
|
|
810
|
+
});
|
|
811
|
+
for (let i = 0; i < number; i++) {
|
|
812
|
+
const obj = variableData.filter(item => item.id === val[`left${i}_0`])[0];
|
|
813
|
+
try {
|
|
814
|
+
data[i][1].definition.condiates = OPERATOR_EXTRA[obj.type];
|
|
815
|
+
data[i][0].definition.type = obj.type;
|
|
816
|
+
data[i][0].definition.default = val[`left${i}_0`];
|
|
817
|
+
data[i][1].definition.default = val[`operator${i}_0`];
|
|
818
|
+
data[i][2].definition.default = val[`right${i}_0`];
|
|
819
|
+
} catch (error) {}
|
|
820
|
+
}
|
|
821
|
+
setConditions(data);
|
|
822
|
+
}, [conditions, variableData]);
|
|
823
|
+
|
|
824
|
+
// 操作弹窗事件选项:汇总所有产品下的事件(与 admin2 strategyManage allEventSelectList 一致)
|
|
825
|
+
const allEventSelectList = useMemo(() => {
|
|
826
|
+
let list = [];
|
|
827
|
+
productList.map(item => {
|
|
828
|
+
list = list.concat(item.events || []);
|
|
829
|
+
});
|
|
830
|
+
return list;
|
|
831
|
+
}, [productList]);
|
|
832
|
+
|
|
833
|
+
const ruleSetDiff = useCallback(async val => {
|
|
834
|
+
if (!activityEvent.length) {
|
|
835
|
+
message.error(t('事件不能为空'));
|
|
836
|
+
return;
|
|
837
|
+
}
|
|
838
|
+
setModalLoading(true);
|
|
839
|
+
setActivityAppId(val.appId || [currentGlobalFilter.appId]);
|
|
840
|
+
setActivityEvent(val.eventId || [eventId]);
|
|
841
|
+
const result = await dispatch({
|
|
842
|
+
type: 'strategy/ruleSetIsExist',
|
|
843
|
+
payload: {
|
|
844
|
+
appIds: val.appId || [currentGlobalFilter.appId],
|
|
845
|
+
eventIds: val.eventId || activityEvent,
|
|
846
|
+
organization: currentGlobalFilter.organization,
|
|
847
|
+
ruleSetId: record.ruleSetId,
|
|
848
|
+
},
|
|
849
|
+
});
|
|
850
|
+
if (result && result.length) {
|
|
851
|
+
message.warning('以下情况不存在该策略集,请重新调整');
|
|
852
|
+
} else {
|
|
853
|
+
const defaultEventId = (val.eventId && val.eventId.length === 1)
|
|
854
|
+
? val.eventId[0] : eventId;
|
|
855
|
+
const varResult = await dispatch({
|
|
856
|
+
type: 'strategy/variableList',
|
|
857
|
+
payload: {
|
|
858
|
+
appId: currentGlobalFilter.appId,
|
|
859
|
+
enabled: 1,
|
|
860
|
+
eventId: defaultEventId,
|
|
861
|
+
organization: currentGlobalFilter.organization,
|
|
862
|
+
},
|
|
863
|
+
});
|
|
864
|
+
if (varResult && varResult.length) {
|
|
865
|
+
const list = formatVariableList(varResult);
|
|
866
|
+
setVariableData(list);
|
|
867
|
+
if (ruleType === operaeType.UPDATE) {
|
|
868
|
+
getMeta(record, list);
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
setRuleModalVisible(true);
|
|
872
|
+
}
|
|
873
|
+
setModalLoading(false);
|
|
874
|
+
}, [activityEvent, dispatch, record, currentGlobalFilter, getMeta, ruleType, eventId, t]);
|
|
875
|
+
|
|
876
|
+
// === 新增规则(面板头部按钮触发)===
|
|
877
|
+
const addRule = useCallback((e, item) => {
|
|
878
|
+
e.stopPropagation();
|
|
879
|
+
setRecord(item);
|
|
880
|
+
setRuleType(operaeType.ADD);
|
|
881
|
+
const data = defaultVariable(variableData, t);
|
|
882
|
+
setConditions([[data.left, data.operator, data.rightVal]]);
|
|
883
|
+
setRuleEventVisible(true);
|
|
884
|
+
setOpType('add');
|
|
885
|
+
setRuleSetDetail(item);
|
|
886
|
+
setActivityEvent([eventId]);
|
|
887
|
+
}, [eventId, variableData, t]);
|
|
888
|
+
|
|
889
|
+
// 处置建议展示(与策略管理 policy/list 一致)
|
|
890
|
+
const riskLevelRender = useCallback((text, record) => {
|
|
891
|
+
const result = RISK_LEVEL_LIST.filter(
|
|
892
|
+
item => item.value === record.riskLevel || item.name === text
|
|
893
|
+
);
|
|
894
|
+
if (result.length) {
|
|
895
|
+
return (
|
|
896
|
+
<div>
|
|
897
|
+
<SMIcon type={`icon-${RISK_LEVEL_ICON[result[0].value] || 'shenhe'}`} />
|
|
898
|
+
<span style={{ marginLeft: 10 }}>{t(result[0].name)}</span>
|
|
899
|
+
</div>
|
|
900
|
+
);
|
|
901
|
+
}
|
|
902
|
+
return <span>{text}</span>;
|
|
903
|
+
}, [t]);
|
|
904
|
+
|
|
905
|
+
// === 表格列定义 ===
|
|
906
|
+
const getRuleColumns = useCallback(ruleSet => {
|
|
907
|
+
const style = { marginLeft: 5 };
|
|
908
|
+
return [
|
|
909
|
+
{
|
|
910
|
+
title: t('规则名称'),
|
|
911
|
+
dataIndex: 'ruleName',
|
|
912
|
+
key: 'ruleName',
|
|
913
|
+
ellipsis: true,
|
|
914
|
+
render: ruleName => (
|
|
915
|
+
<Popover content={ruleName} trigger="hover">
|
|
916
|
+
{ruleName}
|
|
917
|
+
</Popover>
|
|
918
|
+
),
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
title: t('规则标识'),
|
|
922
|
+
dataIndex: 'ruleId',
|
|
923
|
+
key: 'ruleId',
|
|
924
|
+
render: ruleId => <span>{ruleId}</span>,
|
|
925
|
+
},
|
|
926
|
+
{
|
|
927
|
+
title: t('处置建议'),
|
|
928
|
+
dataIndex: 'riskLevelStr',
|
|
929
|
+
key: 'riskLevelStr',
|
|
930
|
+
render: (text, record) => riskLevelRender(text, record),
|
|
931
|
+
},
|
|
932
|
+
{
|
|
933
|
+
title: t('状态'),
|
|
934
|
+
dataIndex: 'enabledStr',
|
|
935
|
+
key: 'enabledStr',
|
|
936
|
+
render: (enabledStr, rule) => {
|
|
937
|
+
const checked = +rule.enabled === 1;
|
|
938
|
+
const hasPermission = authList.enableOrDisableRule;
|
|
939
|
+
return (
|
|
940
|
+
<Tooltip placement="top" title={t('启用/关闭规则')}>
|
|
941
|
+
<a
|
|
942
|
+
href="###"
|
|
943
|
+
style={style}
|
|
944
|
+
onClick={e => {
|
|
945
|
+
e.preventDefault();
|
|
946
|
+
if (hasPermission) {
|
|
947
|
+
handleStatusClick(rule, ruleSet);
|
|
948
|
+
}
|
|
949
|
+
}}
|
|
950
|
+
>
|
|
951
|
+
<Switch
|
|
952
|
+
checkedChildren={t('启用中')}
|
|
953
|
+
unCheckedChildren={t('关闭中')}
|
|
954
|
+
checked={checked}
|
|
955
|
+
disabled={!hasPermission}
|
|
956
|
+
/>
|
|
957
|
+
</a>
|
|
958
|
+
</Tooltip>
|
|
959
|
+
);
|
|
960
|
+
},
|
|
961
|
+
},
|
|
962
|
+
{
|
|
963
|
+
title: t('规则类型'),
|
|
964
|
+
dataIndex: 'ruleStatusStr',
|
|
965
|
+
key: 'ruleStatusStr',
|
|
966
|
+
render: ruleStatusStr => <span>{ruleStatusStr}</span>,
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
title: t('备注'),
|
|
970
|
+
dataIndex: 'marker',
|
|
971
|
+
key: 'marker',
|
|
972
|
+
ellipsis: true,
|
|
973
|
+
render: marker => (
|
|
974
|
+
<Popover content={marker || '-'} trigger="hover">
|
|
975
|
+
{marker || '-'}
|
|
976
|
+
</Popover>
|
|
977
|
+
),
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
title: t('操作'),
|
|
981
|
+
dataIndex: 'operator',
|
|
982
|
+
key: 'operator',
|
|
983
|
+
align: 'center',
|
|
984
|
+
render: (_, rule) => {
|
|
985
|
+
const { ruleStatus, enabled } = rule;
|
|
986
|
+
const canClose = (isGlobal && ruleStatus === 0)
|
|
987
|
+
|| (isSingle && ruleStatus === 1)
|
|
988
|
+
|| (isScene && ruleStatus === 2)
|
|
989
|
+
|| (productId && ruleStatus === 3);
|
|
990
|
+
return (
|
|
991
|
+
<>
|
|
992
|
+
{authList.ruleOnline && (
|
|
993
|
+
<a
|
|
994
|
+
href="###"
|
|
995
|
+
style={style}
|
|
996
|
+
onClick={e => {
|
|
997
|
+
e.preventDefault();
|
|
998
|
+
handleOnline(rule);
|
|
999
|
+
}}
|
|
1000
|
+
>
|
|
1001
|
+
{t('上线')}
|
|
1002
|
+
</a>
|
|
1003
|
+
)}
|
|
1004
|
+
<a
|
|
1005
|
+
href="###"
|
|
1006
|
+
style={style}
|
|
1007
|
+
onClick={e => {
|
|
1008
|
+
e.preventDefault();
|
|
1009
|
+
handleView(rule);
|
|
1010
|
+
}}
|
|
1011
|
+
>
|
|
1012
|
+
{t('查看')}
|
|
1013
|
+
</a>
|
|
1014
|
+
{authList.updateRule && (
|
|
1015
|
+
<a
|
|
1016
|
+
href="###"
|
|
1017
|
+
style={style}
|
|
1018
|
+
onClick={e => {
|
|
1019
|
+
e.preventDefault();
|
|
1020
|
+
handleModify(rule, ruleSet);
|
|
1021
|
+
}}
|
|
1022
|
+
>
|
|
1023
|
+
{t('修改')}
|
|
1024
|
+
</a>
|
|
1025
|
+
)}
|
|
1026
|
+
{authList.deleteRule && canClose && (
|
|
1027
|
+
isScene ? (
|
|
1028
|
+
<a
|
|
1029
|
+
href="###"
|
|
1030
|
+
style={style}
|
|
1031
|
+
onClick={e => {
|
|
1032
|
+
e.preventDefault();
|
|
1033
|
+
handleDeleteClick(rule, ruleSet);
|
|
1034
|
+
}}
|
|
1035
|
+
>
|
|
1036
|
+
{t('删除')}
|
|
1037
|
+
</a>
|
|
1038
|
+
) : (
|
|
1039
|
+
<Popconfirm
|
|
1040
|
+
placement="topRight"
|
|
1041
|
+
title={t('确认删除规则吗?')}
|
|
1042
|
+
okText={t('确认')}
|
|
1043
|
+
cancelText={t('取消')}
|
|
1044
|
+
onConfirm={() => {
|
|
1045
|
+
if (enabled !== 0) {
|
|
1046
|
+
message.warning('请先禁用再删除~');
|
|
1047
|
+
return;
|
|
1048
|
+
}
|
|
1049
|
+
handleDelete(rule);
|
|
1050
|
+
}}
|
|
1051
|
+
>
|
|
1052
|
+
<a href="###" style={style}>
|
|
1053
|
+
{t('删除')}
|
|
1054
|
+
</a>
|
|
1055
|
+
</Popconfirm>
|
|
1056
|
+
)
|
|
1057
|
+
)}
|
|
1058
|
+
</>
|
|
1059
|
+
);
|
|
1060
|
+
},
|
|
1061
|
+
},
|
|
1062
|
+
];
|
|
1063
|
+
}, [
|
|
1064
|
+
t, authList, handleOnline, handleView, handleModify, handleDelete,
|
|
1065
|
+
handleDeleteClick, handleStatusClick, isGlobal, isSingle, isScene, productId,
|
|
1066
|
+
riskLevelRender,
|
|
1067
|
+
]);
|
|
1068
|
+
|
|
1069
|
+
// === 面板头部 ===
|
|
1070
|
+
const headerDom = useCallback(item => {
|
|
1071
|
+
return (
|
|
1072
|
+
<div className={styles['header-content']}>
|
|
1073
|
+
<div>
|
|
1074
|
+
{item.ruleSetName}({t('规则总数')}:{item.ruleCount}, {t('运行中规则')}:{item.enableRuleCount})
|
|
1075
|
+
</div>
|
|
1076
|
+
<div>
|
|
1077
|
+
{isGlobal && authList.createRule && (
|
|
1078
|
+
<SMIcon type="icon-xinzeng" onClick={e => addRule(e, item)} />
|
|
1079
|
+
)}
|
|
1080
|
+
</div>
|
|
1081
|
+
</div>
|
|
1082
|
+
);
|
|
1083
|
+
}, [addRule, isGlobal, authList, t]);
|
|
1084
|
+
|
|
1085
|
+
// === 面板渲染 ===
|
|
1086
|
+
const getCollapse = useCallback(() => {
|
|
1087
|
+
if (!dataSource.length) {
|
|
1088
|
+
return <Empty className={styles.empty} />;
|
|
1089
|
+
}
|
|
1090
|
+
return dataSource.map(item => (
|
|
1091
|
+
<Panel key={item.ruleSetId} showArrow={false} header={headerDom(item)}>
|
|
1092
|
+
<SMTable
|
|
1093
|
+
dataSource={data}
|
|
1094
|
+
columns={getRuleColumns(item)}
|
|
1095
|
+
loading={ruleLoading}
|
|
1096
|
+
i18nText={tableText(t)}
|
|
1097
|
+
isHidePagination
|
|
1098
|
+
totalCount={data && data.length}
|
|
1099
|
+
/>
|
|
1100
|
+
</Panel>
|
|
1101
|
+
));
|
|
1102
|
+
}, [dataSource, data, getRuleColumns, headerDom, ruleLoading, t]);
|
|
1103
|
+
|
|
1104
|
+
// === Effects ===
|
|
1105
|
+
useEffect(() => {
|
|
1106
|
+
setData(contents || []);
|
|
1107
|
+
setActiveKey(contents && contents.length && contents[0].ruleSetId);
|
|
1108
|
+
}, [contents, setActiveKey]);
|
|
1109
|
+
|
|
1110
|
+
useEffect(() => {
|
|
1111
|
+
setActivityEvent([eventId]);
|
|
1112
|
+
}, [eventId]);
|
|
1113
|
+
|
|
1114
|
+
useEffect(() => {
|
|
1115
|
+
setActivityAppId([currentGlobalFilter.appId]);
|
|
1116
|
+
}, [currentGlobalFilter]);
|
|
1117
|
+
|
|
1118
|
+
return (
|
|
1119
|
+
<div className={styles['experiment-rule-table']}>
|
|
1120
|
+
<div className={styles['experiment-tips']}>
|
|
1121
|
+
<SMTips
|
|
1122
|
+
background
|
|
1123
|
+
style={{ padding: '6px 14px' }}
|
|
1124
|
+
title="温馨提示:实验室仅保留近20天调整的规则,请您及时上线。"
|
|
1125
|
+
/>
|
|
1126
|
+
</div>
|
|
1127
|
+
<Spin spinning={loading}>
|
|
1128
|
+
<Collapse
|
|
1129
|
+
activeKey={activeKey}
|
|
1130
|
+
onChange={val => {
|
|
1131
|
+
setSelectedRowKeys([]);
|
|
1132
|
+
const newVal = val.length ? val[val.length - 1] : '';
|
|
1133
|
+
setActiveKey(newVal);
|
|
1134
|
+
collapseChange(newVal);
|
|
1135
|
+
}}
|
|
1136
|
+
>
|
|
1137
|
+
{getCollapse()}
|
|
1138
|
+
</Collapse>
|
|
1139
|
+
|
|
1140
|
+
{/* 上线模态框 */}
|
|
1141
|
+
{ruleOnlineVisible && (
|
|
1142
|
+
<RuleOnlineModal
|
|
1143
|
+
isVisible={ruleOnlineVisible}
|
|
1144
|
+
opType={opType}
|
|
1145
|
+
ruleDetail={ruleDetail}
|
|
1146
|
+
loading={submitLoading}
|
|
1147
|
+
organization={currentGlobalFilter.organization}
|
|
1148
|
+
listParams={listParams}
|
|
1149
|
+
appSelectList={appSelectList}
|
|
1150
|
+
allEventSelectList={allEventSelectList}
|
|
1151
|
+
isScene={isScene}
|
|
1152
|
+
showRemark={!isCurrentCustomer}
|
|
1153
|
+
onSubmit={toOnline}
|
|
1154
|
+
onCancel={() => setRuleOnlineVisible(false)}
|
|
1155
|
+
/>
|
|
1156
|
+
)}
|
|
1157
|
+
|
|
1158
|
+
{/* 策略对比模态框 */}
|
|
1159
|
+
{ruleDiffVisible && (
|
|
1160
|
+
<RuleDiffModal
|
|
1161
|
+
isVisible={ruleDiffVisible}
|
|
1162
|
+
organization={currentGlobalFilter.organization}
|
|
1163
|
+
ruleDiffInfo={ruleDiffInfo}
|
|
1164
|
+
onSubmit={handleDiffSubmit}
|
|
1165
|
+
onCancel={() => setRuleDiffVisible(false)}
|
|
1166
|
+
/>
|
|
1167
|
+
)}
|
|
1168
|
+
|
|
1169
|
+
{/* 事件选择模态框 */}
|
|
1170
|
+
{ruleEventVisible && (
|
|
1171
|
+
<RuleEventModal
|
|
1172
|
+
isVisible={ruleEventVisible}
|
|
1173
|
+
opType={opType}
|
|
1174
|
+
loading={modalLoading}
|
|
1175
|
+
organization={currentGlobalFilter.organization}
|
|
1176
|
+
listParams={listParams}
|
|
1177
|
+
ruleSetDetail={ruleSetDetail}
|
|
1178
|
+
appSelectList={appSelectList}
|
|
1179
|
+
allEventSelectList={allEventSelectList}
|
|
1180
|
+
onCancel={() => setRuleEventVisible(false)}
|
|
1181
|
+
onSubmit={handleEventSubmit}
|
|
1182
|
+
/>
|
|
1183
|
+
)}
|
|
1184
|
+
|
|
1185
|
+
{/* 复制分组规则模态框 */}
|
|
1186
|
+
{ruleGroupVisible && (
|
|
1187
|
+
<RuleGroupCopyModal
|
|
1188
|
+
isVisible={ruleGroupVisible}
|
|
1189
|
+
ruleDetail={ruleDetail}
|
|
1190
|
+
ruleSetList={dataSource}
|
|
1191
|
+
groupList={groupList}
|
|
1192
|
+
onSubmit={handleCopyGroupSubmit}
|
|
1193
|
+
onCancel={() => setRuleGroupVisible(false)}
|
|
1194
|
+
/>
|
|
1195
|
+
)}
|
|
1196
|
+
|
|
1197
|
+
{/* 规则编辑/查看模态框 (复用 portal2 现有) */}
|
|
1198
|
+
<RuleMdoal
|
|
1199
|
+
visible={ruleModalVisible}
|
|
1200
|
+
record={record}
|
|
1201
|
+
riskMapList={riskMapList}
|
|
1202
|
+
risklevelList={risklevelList}
|
|
1203
|
+
variableData={variableData}
|
|
1204
|
+
setConditions={setConditions}
|
|
1205
|
+
variableChange={variableChange}
|
|
1206
|
+
ruleType={ruleType}
|
|
1207
|
+
conditions={conditions}
|
|
1208
|
+
productId={productId}
|
|
1209
|
+
riskTypeList={riskTypeList}
|
|
1210
|
+
onCancel={() => setRuleModalVisible(false)}
|
|
1211
|
+
onClose={() => setRuleModalVisible(false)}
|
|
1212
|
+
ruleSubmit={ruleSubmit}
|
|
1213
|
+
/>
|
|
1214
|
+
</Spin>
|
|
1215
|
+
</div>
|
|
1216
|
+
);
|
|
1217
|
+
};
|
|
1218
|
+
|
|
1219
|
+
export default connect(({}) => ({}))(ExperimentRuleTable);
|