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,1554 @@
|
|
|
1
|
+
/* eslint-disable guard-for-in */
|
|
2
|
+
/* eslint-disable react/jsx-closing-tag-location */
|
|
3
|
+
import { useCallback, useEffect, useState, useRef, useMemo } from 'react';
|
|
4
|
+
import {Collapse, Popconfirm, message, Button, Empty, Spin, Tooltip} from 'antd';
|
|
5
|
+
import _, { set } from 'lodash';
|
|
6
|
+
import { connect } from 'umi';
|
|
7
|
+
import SMIcon from '@/components/SMIcon';
|
|
8
|
+
import { SMTable, SMModal, SMForm } from 'sm-antd';
|
|
9
|
+
|
|
10
|
+
import {useColumns, useLanguage} from '@/hooks';
|
|
11
|
+
import { formatVariableList } from '@/utils/utils';
|
|
12
|
+
import {MODEL_TYPE, AUTH_FUNCTION, SM_ACCOUNT, tableText, REQUEST_CODE} from '@/contants';
|
|
13
|
+
import AuthorityManage, { getAuthFunction } from '@/utils/AuthorityManage';
|
|
14
|
+
import {formatUs} from '@/utils/helpers';
|
|
15
|
+
import {
|
|
16
|
+
preOnline,
|
|
17
|
+
updateStatus,
|
|
18
|
+
updateRiskLevel,
|
|
19
|
+
batchOpen,
|
|
20
|
+
deleteStrategy,
|
|
21
|
+
batchUpdateStatus,
|
|
22
|
+
orgUpdate,
|
|
23
|
+
orgRecover,
|
|
24
|
+
} from '@/services/strategy';
|
|
25
|
+
|
|
26
|
+
import {
|
|
27
|
+
getTableColumns,
|
|
28
|
+
ruleColumnList,
|
|
29
|
+
grayFromData,
|
|
30
|
+
remindTableCoumn,
|
|
31
|
+
remindTableOrg,
|
|
32
|
+
enabledForm,
|
|
33
|
+
defaultVariable,
|
|
34
|
+
OPERATOR_EXTRA,
|
|
35
|
+
groupClomns,
|
|
36
|
+
operaeType,
|
|
37
|
+
ALL,
|
|
38
|
+
TEXTAREA_FORM,
|
|
39
|
+
} from '../../contants';
|
|
40
|
+
import BatchUpdateModal from '../BatchUpdateModal';
|
|
41
|
+
import AddListModal from '../AddRuleMdoal';
|
|
42
|
+
import RuleMdoal from '../RuleModal';
|
|
43
|
+
|
|
44
|
+
import style from './index.less';
|
|
45
|
+
import RuleModalCustomer from '../RuleModalCustomer';
|
|
46
|
+
|
|
47
|
+
const { Panel } = Collapse;
|
|
48
|
+
const { ModalType } = SMModal;
|
|
49
|
+
const enabledParam = 1;
|
|
50
|
+
|
|
51
|
+
const STRING = 'string'; // 字符串变量传参特殊处理;
|
|
52
|
+
const VAL = 'val'; // 变量类型;
|
|
53
|
+
|
|
54
|
+
const RuleCollapse = props => {
|
|
55
|
+
const {
|
|
56
|
+
collapseChange,
|
|
57
|
+
eventId,
|
|
58
|
+
dispatch,
|
|
59
|
+
currentUser,
|
|
60
|
+
method,
|
|
61
|
+
currentGlobalFilter,
|
|
62
|
+
ruleLoading,
|
|
63
|
+
listData,
|
|
64
|
+
isGlobal,
|
|
65
|
+
activeKey,
|
|
66
|
+
setActiveKey,
|
|
67
|
+
setSelectedRowKeys,
|
|
68
|
+
selectedRowKeys,
|
|
69
|
+
productId,
|
|
70
|
+
route,
|
|
71
|
+
group,
|
|
72
|
+
isCurrentCustomer,
|
|
73
|
+
isOpenStatus,
|
|
74
|
+
degradeMode,
|
|
75
|
+
} = props;
|
|
76
|
+
const {dataSource, risklevelList, ruleList = {}, productList, riskMapList, riskTypeList, groupList} = listData;
|
|
77
|
+
const {jumpRuleLog} = method;
|
|
78
|
+
const {contents, totalCount: ruleCount} = ruleList;
|
|
79
|
+
const isSM = currentUser.organization === SM_ACCOUNT || isGlobal;
|
|
80
|
+
const groupData = groupList.filter(item => item.group_code === group);
|
|
81
|
+
|
|
82
|
+
const formRef = useRef({});
|
|
83
|
+
const grayRef = useRef();
|
|
84
|
+
|
|
85
|
+
const {t} = useLanguage();
|
|
86
|
+
|
|
87
|
+
const [data, setData] = useState([]);
|
|
88
|
+
const [visible, setvisible] = useState(false);
|
|
89
|
+
const [activityEvent, setActivityEvent] = useState(eventId);
|
|
90
|
+
const [ruleVisible, setRuleVisible] = useState(false);
|
|
91
|
+
const [record, setRecord] = useState({});
|
|
92
|
+
const [variableData, setVariableData] = useState([]);
|
|
93
|
+
const [conditions, setConditions] = useState([]);
|
|
94
|
+
const [ruleType, setRuleType] = useState(operaeType.ADD);
|
|
95
|
+
const [ruleModalVisible, setRuleModalVisible] = useState(false);
|
|
96
|
+
const [customerModalVisible, setCustomerModalVisible] = useState(false);
|
|
97
|
+
|
|
98
|
+
const [activityAppId, setActivityAppId] = useState([]);
|
|
99
|
+
const [modalLoading, setModalLoading] = useState(false);
|
|
100
|
+
const [loading, setLoading] = useState(false);
|
|
101
|
+
|
|
102
|
+
const authList = useMemo(() => ({
|
|
103
|
+
createRule: getAuthFunction(AUTH_FUNCTION.CREATE_RULE),
|
|
104
|
+
deleteRule: getAuthFunction(AUTH_FUNCTION.DELETE_RULE),
|
|
105
|
+
globalDeleteRule: getAuthFunction(AUTH_FUNCTION.GLOBAL_DELETE_RULE),
|
|
106
|
+
updateRule: getAuthFunction(AUTH_FUNCTION.UPDATE_RULE),
|
|
107
|
+
copyRule: getAuthFunction(AUTH_FUNCTION.COPY_RULE),
|
|
108
|
+
exportRule: getAuthFunction(AUTH_FUNCTION.EXPORT_RULE),
|
|
109
|
+
createRuleSet: getAuthFunction(AUTH_FUNCTION.CREATE_RULE_SET),
|
|
110
|
+
updateRuleSet: getAuthFunction(AUTH_FUNCTION.UPDATE_RULE_SET),
|
|
111
|
+
deleteRuleSet: getAuthFunction(AUTH_FUNCTION.DELETE_RULE_SET),
|
|
112
|
+
enableOrDisableRule: getAuthFunction(AUTH_FUNCTION.ENABLE_OR_DISABLE_RULE),
|
|
113
|
+
ruleDetail: getAuthFunction(AUTH_FUNCTION.RULE_DETAIL),
|
|
114
|
+
updateRatio: getAuthFunction(AUTH_FUNCTION.UPDATE_RATIO),
|
|
115
|
+
openOrRecoverRule: getAuthFunction(AUTH_FUNCTION.OPEN_OR_RECOVER_RULE),
|
|
116
|
+
twNewStrategyLog: AuthorityManage.checkSaasRouteAction('twNewStrategyLog'),
|
|
117
|
+
twGlobalStrategyCenter: AuthorityManage.checkSaasRouteAction('twGlobalStrategyCenter'),
|
|
118
|
+
formApp: getAuthFunction(AUTH_FUNCTION.FORM_APP),
|
|
119
|
+
batchUpdateHandle: getAuthFunction(AUTH_FUNCTION.BATCH_UPDATE_HANDLE),
|
|
120
|
+
batchDisable: getAuthFunction(AUTH_FUNCTION.BATCH_DISABLE),
|
|
121
|
+
}), []);
|
|
122
|
+
|
|
123
|
+
// 获取事件列表
|
|
124
|
+
const getEventList = useCallback(() => {
|
|
125
|
+
let list = [];
|
|
126
|
+
productList.map(item => {
|
|
127
|
+
list = list.concat(item.events || []);
|
|
128
|
+
});
|
|
129
|
+
|
|
130
|
+
return list;
|
|
131
|
+
}, [productList]);
|
|
132
|
+
|
|
133
|
+
// 删除策略
|
|
134
|
+
const deleteRuleSet = useCallback(async (e, id) => {
|
|
135
|
+
e.stopPropagation();
|
|
136
|
+
const result = await dispatch({
|
|
137
|
+
type: 'strategy/deleteRuleSet',
|
|
138
|
+
payload: {id},
|
|
139
|
+
});
|
|
140
|
+
if (result) {
|
|
141
|
+
method.getRuleSetList && method.getRuleSetList();
|
|
142
|
+
}
|
|
143
|
+
}, [dispatch, method]);
|
|
144
|
+
|
|
145
|
+
// 灰度提交
|
|
146
|
+
const graySubmit = useCallback(async (val, record) => {
|
|
147
|
+
let submitValue = _.cloneDeep(record);
|
|
148
|
+
submitValue.ruleId = record.ruleId;
|
|
149
|
+
submitValue.meta.ruleId = record.ruleId;
|
|
150
|
+
submitValue.appId = currentGlobalFilter.appId;
|
|
151
|
+
submitValue.organization = currentGlobalFilter.organization;
|
|
152
|
+
const operands = _.cloneDeep(submitValue.meta._condition.operands || []);
|
|
153
|
+
let isAdd = true;
|
|
154
|
+
let number = 0;
|
|
155
|
+
_.keys(submitValue.meta).forEach(item => {
|
|
156
|
+
|
|
157
|
+
if (item.includes('left')) {
|
|
158
|
+
number++;
|
|
159
|
+
}
|
|
160
|
+
});
|
|
161
|
+
operands.map(item => {
|
|
162
|
+
const sonOperands = item.operands;
|
|
163
|
+
const profile = sonOperands[0].operands[0];
|
|
164
|
+
if (profile === 'profile.randomid') {
|
|
165
|
+
sonOperands[1].operands[0] = val.ratio;
|
|
166
|
+
isAdd = false;
|
|
167
|
+
}
|
|
168
|
+
});
|
|
169
|
+
if (isAdd) {
|
|
170
|
+
const left = {operands: ['profile.randomid'], operator: 'var', type: 'int'};
|
|
171
|
+
const right = {operands: [val.ratio], operator: 'val', type: 'int'};
|
|
172
|
+
operands.push({operands: [left, right], operator: '<=', type: 'boolean'});
|
|
173
|
+
submitValue.meta[`left${number}_0`] = 'profile.randomid';
|
|
174
|
+
submitValue.meta[`operator${number}_0`] = '<=';
|
|
175
|
+
submitValue.meta[`right${number}_0`] = val.ratio;
|
|
176
|
+
submitValue.meta[`varType${number}_0`] = 'int';
|
|
177
|
+
submitValue.meta[`inputType${number}_0`] = 'val';
|
|
178
|
+
submitValue.meta._condition.operands = operands;
|
|
179
|
+
}
|
|
180
|
+
else {
|
|
181
|
+
_.keys(submitValue.meta).forEach(item => {
|
|
182
|
+
if (submitValue.meta[item] === 'profile.randomid') {
|
|
183
|
+
const right = item.replace('left', 'right');
|
|
184
|
+
submitValue.meta[right] = val.ratio;
|
|
185
|
+
}
|
|
186
|
+
});
|
|
187
|
+
try {
|
|
188
|
+
submitValue.meta._condition.operands.forEach((item, index) => {
|
|
189
|
+
if (item.operands[0].operands.includes('profile.randomid')) {
|
|
190
|
+
item.operands[1].operands = [val.ratio];
|
|
191
|
+
item.operator = '<=';
|
|
192
|
+
submitValue.meta[`operator${index}_0`] = '<=';
|
|
193
|
+
}
|
|
194
|
+
});
|
|
195
|
+
} catch (error) {
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
const params = {
|
|
199
|
+
organization: currentGlobalFilter.organization,
|
|
200
|
+
eventIds: val.eventId || [eventId],
|
|
201
|
+
appIds: val.appId || [currentGlobalFilter.appId],
|
|
202
|
+
auditInfo: isCurrentCustomer ? undefined : {applyReason: val.remark, attachment: []},
|
|
203
|
+
user: currentUser.account,
|
|
204
|
+
oldRule: record,
|
|
205
|
+
newRule: submitValue,
|
|
206
|
+
};
|
|
207
|
+
const result = await preOnline(params);
|
|
208
|
+
if (result.code === REQUEST_CODE.SUCCESS) {
|
|
209
|
+
message.success(result.message);
|
|
210
|
+
global.modal.pop();
|
|
211
|
+
global.modal.pop();
|
|
212
|
+
method.getRuleList && method.getRuleList(record.ruleSetId);
|
|
213
|
+
}
|
|
214
|
+
}, [currentUser.account, currentGlobalFilter, eventId, isCurrentCustomer, method]);
|
|
215
|
+
// 开放、回收、禁用
|
|
216
|
+
const batchEditRule = useCallback(async (type, val, record) => {
|
|
217
|
+
let result = {};
|
|
218
|
+
const rulesObj = {...record};
|
|
219
|
+
rulesObj.organization = currentGlobalFilter.organization;
|
|
220
|
+
rulesObj.appId = currentGlobalFilter.appId;
|
|
221
|
+
rulesObj.eventId = eventId;
|
|
222
|
+
let params = {
|
|
223
|
+
appIds: val.appId ? (_.isArray(val.appId) ? val.appId : [val.appId]) : [currentGlobalFilter.appId],
|
|
224
|
+
eventIds: val.eventId ? val.eventId : [eventId],
|
|
225
|
+
organization: currentGlobalFilter.organization,
|
|
226
|
+
auditInfo: {applyReason: val.remark || '-', attachment: []},
|
|
227
|
+
oldRule: record,
|
|
228
|
+
newRule: rulesObj,
|
|
229
|
+
};
|
|
230
|
+
switch (type) {
|
|
231
|
+
case 'enabled':
|
|
232
|
+
params.newRule.enabled = val.enabled ? '1' : '0';
|
|
233
|
+
if (isCurrentCustomer) {
|
|
234
|
+
params.auditInfo = undefined;
|
|
235
|
+
}
|
|
236
|
+
result = await updateStatus(params);
|
|
237
|
+
break;
|
|
238
|
+
case 'isOpen':
|
|
239
|
+
params.newRule.isOpen = val.isOpen;
|
|
240
|
+
result = await batchOpen(params);
|
|
241
|
+
break;
|
|
242
|
+
}
|
|
243
|
+
if (result.code === REQUEST_CODE.SUCCESS) {
|
|
244
|
+
message.success(result.message);
|
|
245
|
+
global.modal.pop();
|
|
246
|
+
global.modal.pop();
|
|
247
|
+
if (isCurrentCustomer) {
|
|
248
|
+
method.getRuleList && method.getRuleList(record.ruleSetId);
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}, [
|
|
252
|
+
eventId,
|
|
253
|
+
currentGlobalFilter,
|
|
254
|
+
isCurrentCustomer,
|
|
255
|
+
method,
|
|
256
|
+
]);
|
|
257
|
+
|
|
258
|
+
const customerStatusChange = useCallback(async (status, record) => {
|
|
259
|
+
const rulesObj = {...record};
|
|
260
|
+
rulesObj.organization = currentGlobalFilter.organization;
|
|
261
|
+
rulesObj.appId = currentGlobalFilter.appId;
|
|
262
|
+
rulesObj.eventId = eventId;
|
|
263
|
+
rulesObj.enabled = status;
|
|
264
|
+
const params = {
|
|
265
|
+
appIds: [currentGlobalFilter.appId],
|
|
266
|
+
eventIds: [eventId],
|
|
267
|
+
organization: currentGlobalFilter.organization,
|
|
268
|
+
rule: rulesObj,
|
|
269
|
+
environment: 'online',
|
|
270
|
+
action: status ? 'open' : 'close',
|
|
271
|
+
};
|
|
272
|
+
const result = await orgUpdate(params);
|
|
273
|
+
if (result.code === 1100) {
|
|
274
|
+
method.getRuleList && method.getRuleList(record.ruleSetId);
|
|
275
|
+
message.success(result.message);
|
|
276
|
+
}
|
|
277
|
+
}, [
|
|
278
|
+
eventId,
|
|
279
|
+
currentGlobalFilter,
|
|
280
|
+
method,
|
|
281
|
+
]);
|
|
282
|
+
|
|
283
|
+
const customerRecoverChange = useCallback(async (status, record) => {
|
|
284
|
+
// rulesObj.organization = currentGlobalFilter.organization;
|
|
285
|
+
// rulesObj.appId = currentGlobalFilter.appId;
|
|
286
|
+
// rulesObj.eventId = eventId;
|
|
287
|
+
const params = {
|
|
288
|
+
appId: currentGlobalFilter.appId,
|
|
289
|
+
eventId: eventId,
|
|
290
|
+
organization: currentGlobalFilter.organization,
|
|
291
|
+
ruleId: record.ruleId,
|
|
292
|
+
group_code: group,
|
|
293
|
+
};
|
|
294
|
+
const result = await orgRecover(params);
|
|
295
|
+
if (result.code === 1100) {
|
|
296
|
+
message.success(result.message);
|
|
297
|
+
method.getRuleList && method.getRuleList(record.ruleSetId);
|
|
298
|
+
}
|
|
299
|
+
}, [
|
|
300
|
+
eventId,
|
|
301
|
+
group,
|
|
302
|
+
currentGlobalFilter,
|
|
303
|
+
method,
|
|
304
|
+
]);
|
|
305
|
+
|
|
306
|
+
// 格式化变量参数
|
|
307
|
+
const getMeta = useCallback((item, list) => {
|
|
308
|
+
const meta = item.meta;
|
|
309
|
+
let number = 0;
|
|
310
|
+
_.keys(meta).forEach(item => {
|
|
311
|
+
if (item.includes('left')) {
|
|
312
|
+
number++;
|
|
313
|
+
}
|
|
314
|
+
});
|
|
315
|
+
const lists = list || variableData;
|
|
316
|
+
const data = defaultVariable(lists);
|
|
317
|
+
const condiatesData = [];
|
|
318
|
+
for (let i = 0; i < number; i++) {
|
|
319
|
+
const item = lists.filter(item => {
|
|
320
|
+
|
|
321
|
+
return item.id === meta[`left${i}_0`] || meta[`left${i}`];
|
|
322
|
+
});
|
|
323
|
+
|
|
324
|
+
const newData = _.cloneDeep(data);
|
|
325
|
+
const type = item[0] && item[0].type;
|
|
326
|
+
newData.left.definition.default = meta[`left${i}_0`] || meta[`left${i}`];
|
|
327
|
+
newData.left.definition.var = `left${i}_0`;
|
|
328
|
+
newData.left.definition.type = type;
|
|
329
|
+
newData.operator.definition.default = meta[`operator${i}_0`] || meta[`operator${i}`];
|
|
330
|
+
newData.operator.definition.var = `operator${i}_0`;
|
|
331
|
+
newData.operator.definition.condiates = OPERATOR_EXTRA[type];
|
|
332
|
+
newData.rightVal.definition.default = meta[`right${i}_0`] || meta[`right${i}`];
|
|
333
|
+
newData.rightVal.definition.var = `right${i}_0`;
|
|
334
|
+
if ((meta[`inputType${i}_0`] || meta[`inputType${i}`]) === 'val') {
|
|
335
|
+
newData.rightVal.definition.default = meta[`right${i}_0`] || meta[`right${i}`];
|
|
336
|
+
newData.rightVal.definition.var = `right${i}_0`;
|
|
337
|
+
condiatesData.push([newData.left, newData.operator, newData.rightVal]);
|
|
338
|
+
}
|
|
339
|
+
else {
|
|
340
|
+
newData.rightVar.definition.default = meta[`right${i}_0`] || meta[`right${i}`];
|
|
341
|
+
newData.rightVar.definition.var = `right${i}_0`;
|
|
342
|
+
newData.rightVar.definition.condiates = variableData;
|
|
343
|
+
condiatesData.push([newData.left, newData.operator, newData.rightVar]);
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
setConditions(condiatesData);
|
|
347
|
+
}, [variableData]);
|
|
348
|
+
// 修改
|
|
349
|
+
const updateRule = useCallback(async (val, record) => {
|
|
350
|
+
const environment = (isSM || isCurrentCustomer) ? 'experiment' : 'online';
|
|
351
|
+
if (val.enabled) { // 启用
|
|
352
|
+
const ruleObj = {...record};
|
|
353
|
+
if (isSM || isCurrentCustomer) {
|
|
354
|
+
const ruleId = `E${record.ruleId.substring(1, record.ruleId.length)}`;
|
|
355
|
+
ruleObj.ruleId = ruleId;
|
|
356
|
+
ruleObj.meta.ruleId = ruleId;
|
|
357
|
+
}
|
|
358
|
+
ruleObj.enabled = val.enabled ? 1 : 0;
|
|
359
|
+
ruleObj.appId = currentGlobalFilter.appId;
|
|
360
|
+
ruleObj.organization = currentGlobalFilter.organization;
|
|
361
|
+
ruleObj.eventId = eventId;
|
|
362
|
+
delete ruleObj.id;
|
|
363
|
+
const params = {
|
|
364
|
+
appIds: val.appId ? (_.isArray(val.appId) ? val.appId : [val.appId]) : [currentGlobalFilter.appId],
|
|
365
|
+
environment: environment,
|
|
366
|
+
eventIds: val.eventId || [eventId],
|
|
367
|
+
organization: currentGlobalFilter.organization,
|
|
368
|
+
rule: ruleObj,
|
|
369
|
+
marker: val.marker,
|
|
370
|
+
sourceRuleId: record.ruleId,
|
|
371
|
+
};
|
|
372
|
+
if (isSM || isCurrentCustomer) {
|
|
373
|
+
params.sourceRuleId = record.ruleId;
|
|
374
|
+
};
|
|
375
|
+
const result = await dispatch({
|
|
376
|
+
type: 'strategy/updateRule',
|
|
377
|
+
payload: params,
|
|
378
|
+
});
|
|
379
|
+
if (result) {
|
|
380
|
+
method.getRuleList && method.getRuleList(record.ruleSetId);
|
|
381
|
+
global.modal.pop();
|
|
382
|
+
global.modal.pop();
|
|
383
|
+
message.success('启用规则成功,请前往策略实验室查看');
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
else {// 开放回收禁用
|
|
387
|
+
batchEditRule('enabled', val, record);
|
|
388
|
+
}
|
|
389
|
+
}, [
|
|
390
|
+
dispatch,
|
|
391
|
+
method,
|
|
392
|
+
currentGlobalFilter,
|
|
393
|
+
isSM,
|
|
394
|
+
isCurrentCustomer,
|
|
395
|
+
eventId,
|
|
396
|
+
batchEditRule,
|
|
397
|
+
]);
|
|
398
|
+
// 恢复策略集
|
|
399
|
+
const deleteRule = useCallback(async (val, record) => {
|
|
400
|
+
const result = await deleteStrategy(
|
|
401
|
+
{
|
|
402
|
+
rule: record,
|
|
403
|
+
auditInfo: {applyReason: val.remark, attachment: []},
|
|
404
|
+
appIds: [currentGlobalFilter.appId],
|
|
405
|
+
eventIds: [eventId],
|
|
406
|
+
organization: currentGlobalFilter.organization,
|
|
407
|
+
environment: 'online',
|
|
408
|
+
});
|
|
409
|
+
if (result.code === REQUEST_CODE.SUCCESS) {
|
|
410
|
+
global.modal.pop();
|
|
411
|
+
message.success(result.message);
|
|
412
|
+
}
|
|
413
|
+
}, [currentGlobalFilter, eventId]);
|
|
414
|
+
|
|
415
|
+
// 策略比对提醒
|
|
416
|
+
const ruleRemindModal = useCallback(async (val, record, type) => {
|
|
417
|
+
const isAppIdMultiple = val.appId && val.appId.length > 1; // 应用多选
|
|
418
|
+
const isEvendIdMultiple = val.eventId && val.eventId.length > 1; // 事件多选
|
|
419
|
+
if (currentGlobalFilter.organization !== SM_ACCOUNT && !isAppIdMultiple && !isEvendIdMultiple) {
|
|
420
|
+
if (type === 'enabled') {
|
|
421
|
+
updateRule(val, record);
|
|
422
|
+
}
|
|
423
|
+
else {
|
|
424
|
+
graySubmit(val, record);
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
else {
|
|
428
|
+
const params = {
|
|
429
|
+
'organization': currentGlobalFilter.organization,
|
|
430
|
+
'eventId': eventId,
|
|
431
|
+
'appId': currentGlobalFilter.appId,
|
|
432
|
+
'ruleId': record.ruleId,
|
|
433
|
+
'eventIds': val.eventId,
|
|
434
|
+
'appIds': val.appId || [currentGlobalFilter.appId],
|
|
435
|
+
environment: 'online',
|
|
436
|
+
};
|
|
437
|
+
const result = await dispatch({
|
|
438
|
+
type: 'strategy/ruleCheckDiffRule',
|
|
439
|
+
payload: params,
|
|
440
|
+
});
|
|
441
|
+
if (result) {
|
|
442
|
+
global.modal.show(ModalType.MODAL_ALERT, {
|
|
443
|
+
width: 670,
|
|
444
|
+
modalTitle: t('策略对比提醒'),
|
|
445
|
+
renderChildren: () => {
|
|
446
|
+
return (
|
|
447
|
+
<div className={style.remind}>
|
|
448
|
+
<div className={style['remind-title']}><span>{t('策略不一致列表')}</span></div>
|
|
449
|
+
<SMTable
|
|
450
|
+
dataSource={result.diffRule || []}
|
|
451
|
+
columns={remindTableCoumn()}
|
|
452
|
+
isHidePagination
|
|
453
|
+
/>
|
|
454
|
+
{currentGlobalFilter.organization === SM_ACCOUNT && <>
|
|
455
|
+
<div
|
|
456
|
+
className={`${style['remind-title']} ${style['remind-bottom']}`}
|
|
457
|
+
>
|
|
458
|
+
<span>{t('特殊公司列表')}</span>
|
|
459
|
+
</div>
|
|
460
|
+
<SMTable
|
|
461
|
+
dataSource={result.cusConfig || []}
|
|
462
|
+
columns={remindTableOrg()}
|
|
463
|
+
isHidePagination
|
|
464
|
+
/>
|
|
465
|
+
</>
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
<div className={style.footer}>
|
|
469
|
+
<Button type="dashed" onClick={() => global.modal.pop()}>{t('重新调整')}</Button>
|
|
470
|
+
<Button
|
|
471
|
+
onClick={() => {
|
|
472
|
+
if (type === 'enabled') {
|
|
473
|
+
updateRule(val, record);
|
|
474
|
+
}
|
|
475
|
+
else {
|
|
476
|
+
graySubmit(val, record);
|
|
477
|
+
}
|
|
478
|
+
}}
|
|
479
|
+
>
|
|
480
|
+
{t('确认操作')}
|
|
481
|
+
</Button>
|
|
482
|
+
</div>
|
|
483
|
+
</div>
|
|
484
|
+
);
|
|
485
|
+
},
|
|
486
|
+
});
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
}, [graySubmit, updateRule, eventId, currentGlobalFilter, dispatch, t]);
|
|
491
|
+
const variableList = useCallback(async eventList => {
|
|
492
|
+
setLoading(true);
|
|
493
|
+
const defaultEventId = isGlobal
|
|
494
|
+
? (eventList.length === 1 ? activityEvent[0] : 'global')
|
|
495
|
+
: eventId;
|
|
496
|
+
|
|
497
|
+
const result = await dispatch({
|
|
498
|
+
type: 'strategy/variableList',
|
|
499
|
+
payload: {
|
|
500
|
+
appId: currentGlobalFilter.appId,
|
|
501
|
+
enabled: enabledParam,
|
|
502
|
+
eventId: defaultEventId,
|
|
503
|
+
organization: currentGlobalFilter.organization,
|
|
504
|
+
},
|
|
505
|
+
});
|
|
506
|
+
setLoading(false);
|
|
507
|
+
if (result && result.length) {
|
|
508
|
+
const list = formatVariableList(result);
|
|
509
|
+
const data = defaultVariable(list, t);
|
|
510
|
+
if (ruleType === operaeType.ADD) {
|
|
511
|
+
setConditions([[data.left, data.operator, data.rightVal]]);
|
|
512
|
+
}
|
|
513
|
+
setVariableData(list);
|
|
514
|
+
|
|
515
|
+
return list;
|
|
516
|
+
}
|
|
517
|
+
return [];
|
|
518
|
+
}, [currentGlobalFilter, activityEvent, dispatch, eventId, isGlobal, ruleType]);
|
|
519
|
+
// 策略分组提交
|
|
520
|
+
const submitGroup = useCallback(async (val, data) => {
|
|
521
|
+
const list = groupList.filter(item => item.group_code === val.group);
|
|
522
|
+
// 此处的data是record,将当前选中的record 的 id删掉导致了分组提交后,页面白屏的bug 不能修改原数据
|
|
523
|
+
const params = {
|
|
524
|
+
organization: data.organization,
|
|
525
|
+
appIds: [data.appId],
|
|
526
|
+
eventIds: [data.eventId],
|
|
527
|
+
environment: 'experiment',
|
|
528
|
+
ruleId: val.ruleId,
|
|
529
|
+
ruleName: data.ruleName,
|
|
530
|
+
rule: {
|
|
531
|
+
...data,
|
|
532
|
+
group_code: val.group,
|
|
533
|
+
appId: data.appId,
|
|
534
|
+
ruleId: val.ruleId,
|
|
535
|
+
ruleSetId: val.ruleSet,
|
|
536
|
+
id: undefined, // 此处是将之前的删掉data.id给干掉
|
|
537
|
+
meta: {
|
|
538
|
+
...data.meta,
|
|
539
|
+
ruleId: val.ruleId,
|
|
540
|
+
group_value: _.get(list, '0.group_value', ''),
|
|
541
|
+
group_variable: _.get(list, '0.group_variable', ''),
|
|
542
|
+
},
|
|
543
|
+
},
|
|
544
|
+
};
|
|
545
|
+
const result = await dispatch({
|
|
546
|
+
type: MODEL_TYPE.STRATEGY_LIST.ADD_RULE,
|
|
547
|
+
payload: params,
|
|
548
|
+
});
|
|
549
|
+
if (result) {
|
|
550
|
+
global.modal.pop();
|
|
551
|
+
}
|
|
552
|
+
}, [dispatch, groupList]);
|
|
553
|
+
const eventChange = useCallback(val => {
|
|
554
|
+
if (val.includes(ALL)) {
|
|
555
|
+
formRef.current.setFieldsValue({
|
|
556
|
+
eventId: getEventList().map(item => item.eventId),
|
|
557
|
+
});
|
|
558
|
+
}
|
|
559
|
+
}, [getEventList]);
|
|
560
|
+
// 上线下线
|
|
561
|
+
const handleChange = useCallback(async (val, record, key) => {
|
|
562
|
+
const show = currentGlobalFilter.organization !== SM_ACCOUNT;
|
|
563
|
+
const showRemark = !isCurrentCustomer;
|
|
564
|
+
switch (key) {
|
|
565
|
+
case 'enabled':
|
|
566
|
+
if (val) {
|
|
567
|
+
updateRule({enabled: val}, record);
|
|
568
|
+
}
|
|
569
|
+
else {
|
|
570
|
+
global.modal.show(ModalType.MODAL_ALERT, {
|
|
571
|
+
width: 576,
|
|
572
|
+
modalTitle: t(`批量${val ? '启用' : '禁用'}范围`),
|
|
573
|
+
renderChildren: () => {
|
|
574
|
+
return (
|
|
575
|
+
<SMForm
|
|
576
|
+
formData={
|
|
577
|
+
formatUs(
|
|
578
|
+
enabledForm(getEventList(), show, eventChange, showRemark),
|
|
579
|
+
['label', 'placeholder'],
|
|
580
|
+
t)}
|
|
581
|
+
initialValues={{eventId: [eventId], appId: [currentGlobalFilter.appId]}}
|
|
582
|
+
setForm={ref => formRef.current = ref}
|
|
583
|
+
// eslint-disable-next-line max-len
|
|
584
|
+
onSubmit={submitValue => ruleRemindModal({...submitValue, [key]: val}, record, 'enabled')}
|
|
585
|
+
isShowSubmitBtn
|
|
586
|
+
submitText={t('提交')}
|
|
587
|
+
cancelText={t('取消')}
|
|
588
|
+
onCancel={() => global.modal.pop()}
|
|
589
|
+
/>
|
|
590
|
+
);
|
|
591
|
+
},
|
|
592
|
+
});
|
|
593
|
+
}
|
|
594
|
+
break;
|
|
595
|
+
case 'isOpen':
|
|
596
|
+
batchEditRule('isOpen', {isOpen: val}, record);
|
|
597
|
+
break;
|
|
598
|
+
case 'status':
|
|
599
|
+
customerStatusChange(val, record);
|
|
600
|
+
break;
|
|
601
|
+
case 'recover':
|
|
602
|
+
customerRecoverChange(val, record);
|
|
603
|
+
break;
|
|
604
|
+
case 'view':
|
|
605
|
+
const list = await variableList(record.eventId);
|
|
606
|
+
getMeta(record, list);
|
|
607
|
+
setRuleType('view');
|
|
608
|
+
setRecord(record);
|
|
609
|
+
setRuleModalVisible(true);
|
|
610
|
+
break;
|
|
611
|
+
case 'group':
|
|
612
|
+
global.modal.show(ModalType.MODAL_ALERT, {
|
|
613
|
+
width: 576,
|
|
614
|
+
modalTitle: t('复制分组规则'),
|
|
615
|
+
cancelHandl: true,
|
|
616
|
+
renderChildren: () => {
|
|
617
|
+
return (
|
|
618
|
+
<SMForm
|
|
619
|
+
formData={groupClomns(dataSource, risklevelList, groupList)}
|
|
620
|
+
isShowSubmitBtn
|
|
621
|
+
initialValues={{
|
|
622
|
+
ruleId: record.ruleId.replace('M', 'E'),
|
|
623
|
+
ruleSet: record.ruleSetId,
|
|
624
|
+
group_code: record.group_code,
|
|
625
|
+
riskLevel: record.riskLevel,
|
|
626
|
+
}}
|
|
627
|
+
onSubmit={val => submitGroup(val, record)}
|
|
628
|
+
/>
|
|
629
|
+
);
|
|
630
|
+
},
|
|
631
|
+
});
|
|
632
|
+
break;
|
|
633
|
+
case 'ruleLog':
|
|
634
|
+
jumpRuleLog?.(record.ruleId);
|
|
635
|
+
break;
|
|
636
|
+
}
|
|
637
|
+
}, [
|
|
638
|
+
eventId,
|
|
639
|
+
getEventList,
|
|
640
|
+
ruleRemindModal,
|
|
641
|
+
batchEditRule,
|
|
642
|
+
getMeta,
|
|
643
|
+
currentGlobalFilter,
|
|
644
|
+
updateRule,
|
|
645
|
+
groupList,
|
|
646
|
+
dataSource,
|
|
647
|
+
risklevelList,
|
|
648
|
+
variableList,
|
|
649
|
+
submitGroup,
|
|
650
|
+
eventChange,
|
|
651
|
+
jumpRuleLog,
|
|
652
|
+
t,
|
|
653
|
+
isCurrentCustomer,
|
|
654
|
+
customerStatusChange,
|
|
655
|
+
customerRecoverChange,
|
|
656
|
+
]);
|
|
657
|
+
const ruleCheckDiffRule = useCallback(async (val, record) => {
|
|
658
|
+
const result = await dispatch({
|
|
659
|
+
type: 'strategy/ruleSetIsExist',
|
|
660
|
+
payload: {
|
|
661
|
+
appIds: [currentGlobalFilter.appId],
|
|
662
|
+
eventIds: typeof val.eventId === 'string' ? [val.eventId] : val.eventId,
|
|
663
|
+
organization: currentGlobalFilter.organization,
|
|
664
|
+
ruleSetId: record.ruleSetId,
|
|
665
|
+
}});
|
|
666
|
+
if (result && result.length) {
|
|
667
|
+
global.modal.show(ModalType.MODAL_ALERT, {
|
|
668
|
+
width: 576,
|
|
669
|
+
modalTitle: t('规则集不存在列表'),
|
|
670
|
+
confirmText: t('重新调整'),
|
|
671
|
+
onlyConfirm: true,
|
|
672
|
+
confirmHandle: () => global.modal.pop(),
|
|
673
|
+
renderChildren: () => {
|
|
674
|
+
return (
|
|
675
|
+
<SMTable
|
|
676
|
+
columns={ruleColumnList()}
|
|
677
|
+
dataSource={result}
|
|
678
|
+
isHidePagination
|
|
679
|
+
/>
|
|
680
|
+
);
|
|
681
|
+
},
|
|
682
|
+
});
|
|
683
|
+
}
|
|
684
|
+
else {
|
|
685
|
+
ruleRemindModal(val, record);
|
|
686
|
+
}
|
|
687
|
+
}, [dispatch, currentGlobalFilter, ruleRemindModal, t]);
|
|
688
|
+
const handleGrayChange = useCallback(val => {
|
|
689
|
+
if (val.includes(ALL)) {
|
|
690
|
+
grayRef.current.setFieldsValue({
|
|
691
|
+
eventId: getEventList().map(item => item.eventId),
|
|
692
|
+
});
|
|
693
|
+
}
|
|
694
|
+
}, [getEventList]);
|
|
695
|
+
// 修改灰度比例
|
|
696
|
+
const handleGray = useCallback(record => {
|
|
697
|
+
const showRemark = !isCurrentCustomer;
|
|
698
|
+
global.modal.show(ModalType.MODAL_ALERT, {
|
|
699
|
+
width: 576,
|
|
700
|
+
modalTitle: t('修改灰度比例'),
|
|
701
|
+
renderChildren: () => {
|
|
702
|
+
return (
|
|
703
|
+
<div>
|
|
704
|
+
{isCurrentCustomer && (
|
|
705
|
+
<div
|
|
706
|
+
style={{
|
|
707
|
+
background: '#fffbe6',
|
|
708
|
+
border: '1px solid #ffe58f',
|
|
709
|
+
padding: '8px 12px',
|
|
710
|
+
marginBottom: 16,
|
|
711
|
+
borderRadius: 4,
|
|
712
|
+
}}
|
|
713
|
+
>
|
|
714
|
+
{t('修改灰度比例会影响策略生效范围,请谨慎操作。')}
|
|
715
|
+
</div>
|
|
716
|
+
)}
|
|
717
|
+
<SMForm
|
|
718
|
+
formData={formatUs(
|
|
719
|
+
grayFromData(
|
|
720
|
+
getEventList(),
|
|
721
|
+
currentGlobalFilter.organization !== SM_ACCOUNT,
|
|
722
|
+
handleGrayChange,
|
|
723
|
+
showRemark
|
|
724
|
+
),
|
|
725
|
+
['label', 'placeholder'],
|
|
726
|
+
t
|
|
727
|
+
)}
|
|
728
|
+
onSubmit={val => ruleCheckDiffRule(val, record)}
|
|
729
|
+
initialValues={{eventId: [eventId], appId: [currentGlobalFilter.appId]}}
|
|
730
|
+
isShowSubmitBtn
|
|
731
|
+
submitText={t('确定')}
|
|
732
|
+
cancelText={t('取消')}
|
|
733
|
+
onCancel={() => global.modal.pop()}
|
|
734
|
+
setForm={ref => grayRef.current = ref}
|
|
735
|
+
/>
|
|
736
|
+
</div>
|
|
737
|
+
);
|
|
738
|
+
},
|
|
739
|
+
});
|
|
740
|
+
}, [getEventList, ruleCheckDiffRule, currentGlobalFilter, eventId, handleGrayChange, t, isCurrentCustomer]);
|
|
741
|
+
|
|
742
|
+
const handleClick = useCallback((val, record) => {
|
|
743
|
+
setRuleType('view');
|
|
744
|
+
getMeta(record);
|
|
745
|
+
setRecord(record);
|
|
746
|
+
setRuleModalVisible(true);
|
|
747
|
+
}, [getMeta]);
|
|
748
|
+
|
|
749
|
+
// 批量修改、禁用
|
|
750
|
+
const formatReview = useCallback(async (val, type) => {
|
|
751
|
+
const OldRulesList = [];
|
|
752
|
+
const newRulesList = [];
|
|
753
|
+
let result = {};
|
|
754
|
+
|
|
755
|
+
selectedRowKeys.forEach(item => {
|
|
756
|
+
data.forEach(dataItem => {
|
|
757
|
+
const newItem = {...dataItem};
|
|
758
|
+
if (newItem.id === item) {
|
|
759
|
+
newItem.score = val.score ? val.score : dataItem.score;
|
|
760
|
+
newItem.riskLevel = val.riskLevel ? val.riskLevel : dataItem.riskLevel;
|
|
761
|
+
newItem.verifyType = val.verifyType ? val.verifyType : dataItem.verifyType;
|
|
762
|
+
if (type) {
|
|
763
|
+
newItem.enabled = 0;
|
|
764
|
+
}
|
|
765
|
+
newRulesList.push({...newItem, meta: []});
|
|
766
|
+
OldRulesList.push({...dataItem, meta: []});
|
|
767
|
+
}
|
|
768
|
+
});
|
|
769
|
+
});
|
|
770
|
+
let params = {
|
|
771
|
+
environment: 'online',
|
|
772
|
+
auditInfo: isCurrentCustomer ? undefined : {applyReason: val.remark, 'attachment': []},
|
|
773
|
+
user: currentUser.account,
|
|
774
|
+
appIds: [currentGlobalFilter.appId],
|
|
775
|
+
eventIds: [eventId],
|
|
776
|
+
organization: currentGlobalFilter.organization,
|
|
777
|
+
oldRules: OldRulesList,
|
|
778
|
+
newRules: newRulesList,
|
|
779
|
+
};
|
|
780
|
+
if (type === 'ruleOffline') {
|
|
781
|
+
result = await batchUpdateStatus(params);
|
|
782
|
+
}
|
|
783
|
+
else {
|
|
784
|
+
result = await updateRiskLevel(params);
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
if (result.code === REQUEST_CODE.SUCCESS) {
|
|
788
|
+
global.modal.pop();
|
|
789
|
+
setvisible(false);
|
|
790
|
+
message.success(result.message);
|
|
791
|
+
method.getRuleList && method.getRuleList(newRulesList[0].ruleSetId);
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
}, [
|
|
795
|
+
selectedRowKeys,
|
|
796
|
+
eventId,
|
|
797
|
+
data,
|
|
798
|
+
currentUser.account,
|
|
799
|
+
currentGlobalFilter,
|
|
800
|
+
isCurrentCustomer,
|
|
801
|
+
method,
|
|
802
|
+
]);
|
|
803
|
+
const batchForbidden = useCallback(isDisabled => {
|
|
804
|
+
if (isDisabled) {
|
|
805
|
+
return;
|
|
806
|
+
}
|
|
807
|
+
const formData = isCurrentCustomer ? [] : [{
|
|
808
|
+
label: t('申请原因'),
|
|
809
|
+
type: 'textarea',
|
|
810
|
+
placeholder: t('请输入修改原因'),
|
|
811
|
+
required: true,
|
|
812
|
+
definition: {
|
|
813
|
+
var: 'remark',
|
|
814
|
+
}},
|
|
815
|
+
];
|
|
816
|
+
global.modal.show(ModalType.MODAL_ALERT, {
|
|
817
|
+
width: 400,
|
|
818
|
+
renderChildren: () => {
|
|
819
|
+
return (
|
|
820
|
+
<div>
|
|
821
|
+
<span>{t('是否批量禁用')}?</span>
|
|
822
|
+
<SMForm
|
|
823
|
+
formData={formData}
|
|
824
|
+
onSubmit={val => formatReview(val, 'ruleOffline')}
|
|
825
|
+
isShowSubmitBtn
|
|
826
|
+
onCancel={() => global.modal.pop()}
|
|
827
|
+
/>
|
|
828
|
+
</div>
|
|
829
|
+
);
|
|
830
|
+
},
|
|
831
|
+
});
|
|
832
|
+
}, [formatReview, t, isCurrentCustomer]);
|
|
833
|
+
// 显示多选操作栏
|
|
834
|
+
const showSelectionExtraDom = useCallback(() => {
|
|
835
|
+
const isDisabled = selectedRowKeys.length === 0 || degradeMode;
|
|
836
|
+
const color = isDisabled ? { color: '#666', cursor: 'not-allowed' } : { color: '#00bca1', cursor: 'pointer' };
|
|
837
|
+
if (authList.batchUpdateHandle) {
|
|
838
|
+
return (
|
|
839
|
+
<div className={style.extra}>
|
|
840
|
+
{authList.batchUpdateHandle && (
|
|
841
|
+
<Tooltip title={degradeMode ? t('请关闭策略降级模式后进行修改。') : ''}>
|
|
842
|
+
<span
|
|
843
|
+
style={color}
|
|
844
|
+
onClick={() => {
|
|
845
|
+
if (isDisabled) {
|
|
846
|
+
return;
|
|
847
|
+
}
|
|
848
|
+
setvisible(true);
|
|
849
|
+
}}
|
|
850
|
+
>
|
|
851
|
+
{t('批量修改处置建议')}
|
|
852
|
+
</span>
|
|
853
|
+
</Tooltip>
|
|
854
|
+
)}
|
|
855
|
+
<span>|</span>
|
|
856
|
+
{authList.batchDisable && (
|
|
857
|
+
<Tooltip title={degradeMode ? t('请关闭策略降级模式后进行修改。') : ''}>
|
|
858
|
+
<span style={color} onClick={() => batchForbidden(isDisabled)}>{t('批量禁用')}</span>
|
|
859
|
+
</Tooltip>
|
|
860
|
+
)}
|
|
861
|
+
</div>
|
|
862
|
+
);
|
|
863
|
+
}
|
|
864
|
+
return [];
|
|
865
|
+
}, [selectedRowKeys, batchForbidden, authList, degradeMode, t]);
|
|
866
|
+
|
|
867
|
+
// 策略是否存在
|
|
868
|
+
const ruleSetDiff = useCallback(async val => {
|
|
869
|
+
if (!activityEvent.length) {
|
|
870
|
+
message.error(t('事件不能为空'));
|
|
871
|
+
return;
|
|
872
|
+
}
|
|
873
|
+
setModalLoading(true);
|
|
874
|
+
setActivityAppId(val.appId);
|
|
875
|
+
setActivityEvent(val.eventId);
|
|
876
|
+
const result = await dispatch({
|
|
877
|
+
type: 'strategy/ruleSetIsExist',
|
|
878
|
+
payload: {
|
|
879
|
+
appIds: val.appId || [currentGlobalFilter.appId],
|
|
880
|
+
eventIds: val.eventId || activityEvent,
|
|
881
|
+
organization: currentGlobalFilter.organization,
|
|
882
|
+
ruleSetId: record.ruleSetId,
|
|
883
|
+
}});
|
|
884
|
+
|
|
885
|
+
if (result && result.length) {
|
|
886
|
+
global.modal.show(ModalType.MODAL_ALERT, {
|
|
887
|
+
width: 576,
|
|
888
|
+
modalTitle: t('规则集不存在列表'),
|
|
889
|
+
confirmText: t('重新调整'),
|
|
890
|
+
onlyConfirm: true,
|
|
891
|
+
confirmHandle: () => global.modal.pop(),
|
|
892
|
+
renderChildren: () => {
|
|
893
|
+
return (
|
|
894
|
+
<SMTable
|
|
895
|
+
columns={formatUs(ruleColumnList(), ['title'], t)}
|
|
896
|
+
dataSource={result}
|
|
897
|
+
isHidePagination
|
|
898
|
+
/>
|
|
899
|
+
);
|
|
900
|
+
},
|
|
901
|
+
});
|
|
902
|
+
}
|
|
903
|
+
else {
|
|
904
|
+
const list = await variableList(val.eventId);
|
|
905
|
+
if (ruleType === operaeType.UPDATE) {
|
|
906
|
+
getMeta(record, list);
|
|
907
|
+
}
|
|
908
|
+
setRuleVisible(false);
|
|
909
|
+
setRuleModalVisible(true);
|
|
910
|
+
}
|
|
911
|
+
setModalLoading(false);
|
|
912
|
+
}, [
|
|
913
|
+
activityEvent,
|
|
914
|
+
dispatch,
|
|
915
|
+
record,
|
|
916
|
+
currentGlobalFilter,
|
|
917
|
+
getMeta,
|
|
918
|
+
ruleType,
|
|
919
|
+
variableList,
|
|
920
|
+
t,
|
|
921
|
+
]);
|
|
922
|
+
|
|
923
|
+
const customerRuleUpdate = useCallback(async record => {
|
|
924
|
+
setRecord(record);
|
|
925
|
+
setRuleType(operaeType.UPDATE);
|
|
926
|
+
setActivityEvent([eventId]);
|
|
927
|
+
const list = await variableList(eventId);
|
|
928
|
+
getMeta(record, list);
|
|
929
|
+
setCustomerModalVisible(true);
|
|
930
|
+
}, [eventId, variableList, getMeta]);
|
|
931
|
+
|
|
932
|
+
/**
|
|
933
|
+
* 获取风险原因
|
|
934
|
+
*/
|
|
935
|
+
const getRiskReasons = riskReasons => {
|
|
936
|
+
let result = {
|
|
937
|
+
operator: 'concat',
|
|
938
|
+
operands: [],
|
|
939
|
+
type: 'string',
|
|
940
|
+
};
|
|
941
|
+
|
|
942
|
+
if (riskReasons) {
|
|
943
|
+
riskReasons = String(riskReasons);
|
|
944
|
+
riskReasons = _.trim(riskReasons);
|
|
945
|
+
|
|
946
|
+
if (!riskReasons) {
|
|
947
|
+
result = {};
|
|
948
|
+
} else {
|
|
949
|
+
const reg = /\${[\w\d\.\-_$]+}/ig;
|
|
950
|
+
const matches = riskReasons.match(reg);
|
|
951
|
+
const riskReasonArr = riskReasons.split(reg);
|
|
952
|
+
const operands = [];
|
|
953
|
+
|
|
954
|
+
for (let i = 0; i < riskReasonArr.length; i++) {
|
|
955
|
+
const word = riskReasonArr[i];
|
|
956
|
+
let variable = matches ? matches[i] : null;
|
|
957
|
+
|
|
958
|
+
if (word) {
|
|
959
|
+
operands.push({
|
|
960
|
+
operator: 'val',
|
|
961
|
+
operands: [word],
|
|
962
|
+
});
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
if (variable) {
|
|
966
|
+
variable = variable.replace(/(\${)|(})/ig, '');
|
|
967
|
+
operands.push({
|
|
968
|
+
operator: 'var',
|
|
969
|
+
operands: [variable],
|
|
970
|
+
});
|
|
971
|
+
}
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
result.operands = operands;
|
|
975
|
+
}
|
|
976
|
+
} else {
|
|
977
|
+
result = {};
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
return result;
|
|
981
|
+
};
|
|
982
|
+
/**
|
|
983
|
+
* 获取基础信息
|
|
984
|
+
*/
|
|
985
|
+
const getBaseInfo = useCallback(originData => {
|
|
986
|
+
const {score, riskTypeName, riskReasons, ruleName} = originData;
|
|
987
|
+
const riskTypeNameIsNum = /^\d+$/.test(riskTypeName);
|
|
988
|
+
let baseInfo = {
|
|
989
|
+
score: {
|
|
990
|
+
operator: 'val',
|
|
991
|
+
operands: score,
|
|
992
|
+
type: 'int',
|
|
993
|
+
},
|
|
994
|
+
};
|
|
995
|
+
|
|
996
|
+
// 风险类型/风险原因
|
|
997
|
+
if (!riskTypeNameIsNum && riskTypeName) {
|
|
998
|
+
baseInfo.ruleNameDesc = getRiskReasons(ruleName);
|
|
999
|
+
|
|
1000
|
+
if (riskReasons) {
|
|
1001
|
+
baseInfo.riskReasons = getRiskReasons(`${riskTypeName}:${riskReasons}`);
|
|
1002
|
+
} else {
|
|
1003
|
+
baseInfo.riskReasons = getRiskReasons(riskTypeName);
|
|
1004
|
+
}
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
// 解决三级标签问题
|
|
1008
|
+
if (riskTypeNameIsNum) {
|
|
1009
|
+
baseInfo.ruleNameDesc = getRiskReasons(ruleName);
|
|
1010
|
+
baseInfo.riskReasons = getRiskReasons(ruleName);
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
return baseInfo;
|
|
1014
|
+
}, []);
|
|
1015
|
+
/**
|
|
1016
|
+
* 格式化条件
|
|
1017
|
+
*/
|
|
1018
|
+
const formatCondition = useCallback(originData => {
|
|
1019
|
+
let conditions = [];
|
|
1020
|
+
for (let key in originData) {
|
|
1021
|
+
const reg = /left(\d+(?:_\d+)?)/;
|
|
1022
|
+
const matches = key.match(reg);
|
|
1023
|
+
if (matches && matches.length) {
|
|
1024
|
+
const index = matches[1];
|
|
1025
|
+
const rightValue = originData[`right${index}`].replace(/\s+/g, '');
|
|
1026
|
+
conditions.push([{
|
|
1027
|
+
left: originData[`left${index}`],
|
|
1028
|
+
operator: originData[`operator${index}`],
|
|
1029
|
+
right: rightValue,
|
|
1030
|
+
varType: originData[`varType${index}`],
|
|
1031
|
+
inputType: originData[`inputType${index}`],
|
|
1032
|
+
}]);
|
|
1033
|
+
|
|
1034
|
+
}
|
|
1035
|
+
}
|
|
1036
|
+
return conditions;
|
|
1037
|
+
}, []);
|
|
1038
|
+
/**
|
|
1039
|
+
* 获取规则条件操作项
|
|
1040
|
+
*/
|
|
1041
|
+
const getOperands = (_condition, _operands) => {
|
|
1042
|
+
let rightVal = _condition.right;
|
|
1043
|
+
let isArrayString = rightVal.indexOf(',') !== -1;
|
|
1044
|
+
if (_condition.inputType === 'val' && _condition.varType === 'string' && !isArrayString) {
|
|
1045
|
+
rightVal = _condition.right;
|
|
1046
|
+
}
|
|
1047
|
+
if (_condition.inputType === 'val' && _condition.varType === 'boolean') {
|
|
1048
|
+
rightVal = _condition.right.toUpperCase();
|
|
1049
|
+
}
|
|
1050
|
+
if (_condition.operator === 'notSubsetp') {
|
|
1051
|
+
_operands.push({
|
|
1052
|
+
'operator': 'not',
|
|
1053
|
+
'operands': [
|
|
1054
|
+
{
|
|
1055
|
+
operator: 'subsetp',
|
|
1056
|
+
operands: [{
|
|
1057
|
+
operator: 'var',
|
|
1058
|
+
operands: [_condition.left],
|
|
1059
|
+
type: _condition.varType,
|
|
1060
|
+
}, {
|
|
1061
|
+
operator: _condition.inputType,
|
|
1062
|
+
operands: rightVal.split(','),
|
|
1063
|
+
type: _condition.varType,
|
|
1064
|
+
}],
|
|
1065
|
+
type: 'boolean',
|
|
1066
|
+
},
|
|
1067
|
+
],
|
|
1068
|
+
'type': 'blooean',
|
|
1069
|
+
|
|
1070
|
+
});
|
|
1071
|
+
} else {
|
|
1072
|
+
// 原有逻辑
|
|
1073
|
+
_operands.push({
|
|
1074
|
+
operator: _condition.operator,
|
|
1075
|
+
operands: [{
|
|
1076
|
+
operator: 'var',
|
|
1077
|
+
operands: [_condition.left],
|
|
1078
|
+
type: _condition.varType,
|
|
1079
|
+
}, {
|
|
1080
|
+
operator: _condition.inputType,
|
|
1081
|
+
operands: rightVal.split(','),
|
|
1082
|
+
type: _condition.varType,
|
|
1083
|
+
}],
|
|
1084
|
+
type: 'boolean',
|
|
1085
|
+
});
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
return _operands;
|
|
1089
|
+
};
|
|
1090
|
+
/**
|
|
1091
|
+
* 获取自定义条件
|
|
1092
|
+
*/
|
|
1093
|
+
const getCondition = useCallback(originData => {
|
|
1094
|
+
let reuslt = {};
|
|
1095
|
+
const conditions = formatCondition(originData);
|
|
1096
|
+
let operands = [];
|
|
1097
|
+
conditions.forEach(condition => {
|
|
1098
|
+
// eslint-disable-next-line
|
|
1099
|
+
if (condition.length == 1) {
|
|
1100
|
+
let _condition = condition[0];
|
|
1101
|
+
operands = getOperands(_condition, operands);
|
|
1102
|
+
} else {
|
|
1103
|
+
let orOperands = [];
|
|
1104
|
+
for (let i = 0; i < condition.length; i++) {
|
|
1105
|
+
let _condition = condition[i];
|
|
1106
|
+
orOperands = getOperands(_condition, orOperands);
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
const orCondition = {
|
|
1110
|
+
operator: 'or',
|
|
1111
|
+
operands: orOperands,
|
|
1112
|
+
type: 'blooean',
|
|
1113
|
+
};
|
|
1114
|
+
|
|
1115
|
+
operands.push(orCondition);
|
|
1116
|
+
|
|
1117
|
+
}
|
|
1118
|
+
});
|
|
1119
|
+
reuslt = {
|
|
1120
|
+
operator: 'and',
|
|
1121
|
+
operands: operands,
|
|
1122
|
+
type: 'blooean',
|
|
1123
|
+
};
|
|
1124
|
+
|
|
1125
|
+
return reuslt;
|
|
1126
|
+
}, [formatCondition]);
|
|
1127
|
+
// 添加规则
|
|
1128
|
+
const addRule = useCallback((e, item, type) => {
|
|
1129
|
+
e.stopPropagation();
|
|
1130
|
+
if (type === operaeType.UPDATE) {
|
|
1131
|
+
setRecord(item);
|
|
1132
|
+
setRuleType(operaeType.UPDATE);
|
|
1133
|
+
}
|
|
1134
|
+
else {
|
|
1135
|
+
setRecord(item);
|
|
1136
|
+
setRuleType(operaeType.ADD);
|
|
1137
|
+
const data = defaultVariable(variableData, t);
|
|
1138
|
+
setConditions([[data.left, data.operator, data.rightVal]]);
|
|
1139
|
+
}
|
|
1140
|
+
setRuleVisible(true);
|
|
1141
|
+
setActivityEvent([eventId]);
|
|
1142
|
+
}, [eventId, variableData]);
|
|
1143
|
+
|
|
1144
|
+
/**
|
|
1145
|
+
* 传参特殊逻辑处理
|
|
1146
|
+
* @param {*} leftType 左边变量类型
|
|
1147
|
+
* @param {*} inputType 常量、变量
|
|
1148
|
+
* @param {*} rightValue 右边值
|
|
1149
|
+
* 1: 输入类型为常量
|
|
1150
|
+
* 2:左边变量值类型为string
|
|
1151
|
+
* 3:右边值不包含,
|
|
1152
|
+
*/
|
|
1153
|
+
const specialRuleParams = (leftType, inputType, rightValue) => {
|
|
1154
|
+
let insideValue = rightValue;
|
|
1155
|
+
if (inputType === VAL && STRING === leftType && !(rightValue.includes(','))) {
|
|
1156
|
+
insideValue = `"${rightValue}"`;
|
|
1157
|
+
}
|
|
1158
|
+
return insideValue;
|
|
1159
|
+
};
|
|
1160
|
+
|
|
1161
|
+
// 获取规则参数
|
|
1162
|
+
const ruleParams = useCallback(val => {
|
|
1163
|
+
const example = {}; // condittion中的参数right值做特殊处理
|
|
1164
|
+
let outerExample = {}; // 放入meta下面的参数不做特殊处理
|
|
1165
|
+
let isNull = false;
|
|
1166
|
+
let isReturn = false;
|
|
1167
|
+
conditions.forEach((item, index) => {
|
|
1168
|
+
const rightValue = item[2].definition.default;
|
|
1169
|
+
const leftType = item[0].definition.type; // 左边变量类型;
|
|
1170
|
+
const leftValue = item[0].definition.default;
|
|
1171
|
+
const inputType = item[2].definition.inputType;
|
|
1172
|
+
const operatorValue = item[1].definition.default;
|
|
1173
|
+
if (!rightValue || !leftValue || !operatorValue) {
|
|
1174
|
+
isNull = true;
|
|
1175
|
+
return;
|
|
1176
|
+
}
|
|
1177
|
+
example[`left${index}_0`] = leftValue;
|
|
1178
|
+
example[`varType${index}_0`] = item[0].definition.type;
|
|
1179
|
+
example[`operator${index}_0`] = operatorValue;
|
|
1180
|
+
example[`right${index}_0`] = specialRuleParams(leftType, inputType, rightValue);
|
|
1181
|
+
example[`boxItemLength${index}`] = '1';
|
|
1182
|
+
example[`inputType${index}_0`] = item[2].definition.inputType; // 变量类型右边值需要加上operator
|
|
1183
|
+
outerExample[`boxItemLength${index}`] = '1';
|
|
1184
|
+
outerExample[`left${index}_0`] = leftValue;
|
|
1185
|
+
outerExample[`varType${index}_0`] = item[0].definition.type;
|
|
1186
|
+
outerExample[`operator${index}_0`] = operatorValue;
|
|
1187
|
+
outerExample[`right${index}_0`] = rightValue;
|
|
1188
|
+
outerExample[`inputType${index}_0`] = item[2].definition.inputType;
|
|
1189
|
+
});
|
|
1190
|
+
if (!example || isNull) {
|
|
1191
|
+
isReturn = true;
|
|
1192
|
+
}
|
|
1193
|
+
let number = 0;
|
|
1194
|
+
_.keys(example).forEach(item => {
|
|
1195
|
+
if (item.includes('left')) {
|
|
1196
|
+
number++;
|
|
1197
|
+
}
|
|
1198
|
+
});
|
|
1199
|
+
for (let i = 0; i < number; i++) {
|
|
1200
|
+
}
|
|
1201
|
+
const meta = {
|
|
1202
|
+
const: [],
|
|
1203
|
+
_result: [],
|
|
1204
|
+
_phase: 'common',
|
|
1205
|
+
_customTemplate: 1,
|
|
1206
|
+
_baseInfo: getBaseInfo(val),
|
|
1207
|
+
_condition: getCondition(example),
|
|
1208
|
+
ruleId: val.ruleId,
|
|
1209
|
+
score: val.score,
|
|
1210
|
+
marker: val.marker,
|
|
1211
|
+
pullBlack: (val.isBlack === '0' || !val.isBlack) ? '0' : '1',
|
|
1212
|
+
riskLevel: val.riskLevel,
|
|
1213
|
+
riskType: val.riskType,
|
|
1214
|
+
ruleName: val.ruleName,
|
|
1215
|
+
riskReasons: val.riskReasons,
|
|
1216
|
+
riskTypeName: val.riskTypeName,
|
|
1217
|
+
group_value: _.get(groupData, '0.group_value', ''),
|
|
1218
|
+
group_variable: _.get(groupData, '0.group_variable', ''),
|
|
1219
|
+
...outerExample,
|
|
1220
|
+
};
|
|
1221
|
+
if (val.verifytype) {
|
|
1222
|
+
meta.verifyType = val.verifytype;
|
|
1223
|
+
}
|
|
1224
|
+
// 拉黑字段的fields存在值,且选择了拉黑
|
|
1225
|
+
if (val?.blackFields?.fields?.length > 0 && val.isBlack === '1') {
|
|
1226
|
+
meta.blackFields = val.blackFields;
|
|
1227
|
+
}
|
|
1228
|
+
let obj = {
|
|
1229
|
+
appId: currentGlobalFilter.appId,
|
|
1230
|
+
creator: currentUser.account,
|
|
1231
|
+
enabled: enabledParam,
|
|
1232
|
+
eventId: eventId,
|
|
1233
|
+
isFinalCounter: 0,
|
|
1234
|
+
isOpen: 0,
|
|
1235
|
+
marker: val.marker,
|
|
1236
|
+
organization: currentGlobalFilter.organization,
|
|
1237
|
+
riskLevel: val.riskLevel,
|
|
1238
|
+
riskType: val.riskType,
|
|
1239
|
+
ruleName: val.ruleName,
|
|
1240
|
+
templateId: 'T0000',
|
|
1241
|
+
ruleSetId: record.ruleSetId,
|
|
1242
|
+
group_code: group,
|
|
1243
|
+
};
|
|
1244
|
+
if (val.verifytype) {
|
|
1245
|
+
obj.verifyType = val.verifytype;
|
|
1246
|
+
}
|
|
1247
|
+
obj.ruleId = val.ruleId;
|
|
1248
|
+
obj.meta = meta;
|
|
1249
|
+
const params = {
|
|
1250
|
+
organization: currentGlobalFilter.organization,
|
|
1251
|
+
appIds: activityAppId || [currentGlobalFilter.appId],
|
|
1252
|
+
eventIds: activityEvent,
|
|
1253
|
+
ruleId: val.ruleId,
|
|
1254
|
+
environment: 'experiment',
|
|
1255
|
+
rule: obj,
|
|
1256
|
+
};
|
|
1257
|
+
if (ruleType === operaeType.UPDATE) {
|
|
1258
|
+
params.sourceRuleId = record.ruleId;
|
|
1259
|
+
}
|
|
1260
|
+
return {params, isReturn};
|
|
1261
|
+
}, [
|
|
1262
|
+
eventId,
|
|
1263
|
+
activityEvent,
|
|
1264
|
+
currentUser,
|
|
1265
|
+
record,
|
|
1266
|
+
getBaseInfo,
|
|
1267
|
+
getCondition,
|
|
1268
|
+
ruleType,
|
|
1269
|
+
activityAppId,
|
|
1270
|
+
currentGlobalFilter,
|
|
1271
|
+
conditions,
|
|
1272
|
+
group,
|
|
1273
|
+
groupData,
|
|
1274
|
+
]);
|
|
1275
|
+
// 新增、修改规则 参数处理
|
|
1276
|
+
const ruleSubmit = useCallback(async val => {
|
|
1277
|
+
const {params, isReturn} = ruleParams(val);
|
|
1278
|
+
if (isReturn) {
|
|
1279
|
+
message.warning(t('条件不能为空'));
|
|
1280
|
+
return;
|
|
1281
|
+
}
|
|
1282
|
+
const url = ruleType === operaeType.UPDATE ? 'strategy/updateRule' : 'strategy/addRule';
|
|
1283
|
+
const result = await dispatch({
|
|
1284
|
+
type: url,
|
|
1285
|
+
payload: params,
|
|
1286
|
+
});
|
|
1287
|
+
if (result) {
|
|
1288
|
+
setRuleModalVisible(false);
|
|
1289
|
+
setRuleVisible(false);
|
|
1290
|
+
}
|
|
1291
|
+
}, [dispatch, ruleParams, ruleType]);
|
|
1292
|
+
|
|
1293
|
+
// 客户新增、修改规则 参数处理
|
|
1294
|
+
const customerRuleSubmit = useCallback(async val => {
|
|
1295
|
+
const rulesObj = _.cloneDeep(record);
|
|
1296
|
+
rulesObj.riskLevel = val.riskLevel;
|
|
1297
|
+
rulesObj.meta.riskLevel = val.riskLevel;
|
|
1298
|
+
if (val.riskLevel === 'VERIFY' && val.verifytype) {
|
|
1299
|
+
rulesObj.verifyType = val.verifytype;
|
|
1300
|
+
rulesObj.meta.verifyType = val.verifytype;
|
|
1301
|
+
}
|
|
1302
|
+
rulesObj.organization = currentGlobalFilter.organization;
|
|
1303
|
+
rulesObj.appId = currentGlobalFilter.appId;
|
|
1304
|
+
rulesObj.eventId = eventId;
|
|
1305
|
+
|
|
1306
|
+
const params = {
|
|
1307
|
+
appIds: [currentGlobalFilter.appId],
|
|
1308
|
+
eventIds: [eventId],
|
|
1309
|
+
organization: currentGlobalFilter.organization,
|
|
1310
|
+
rule: rulesObj,
|
|
1311
|
+
environment: 'online',
|
|
1312
|
+
action: 'updateRiskLevel',
|
|
1313
|
+
};
|
|
1314
|
+
const result = await orgUpdate(params);
|
|
1315
|
+
if (result) {
|
|
1316
|
+
setCustomerModalVisible(false);
|
|
1317
|
+
method.getRuleList && method.getRuleList(record.ruleSetId);
|
|
1318
|
+
}
|
|
1319
|
+
}, [currentGlobalFilter, eventId, method, record]);
|
|
1320
|
+
|
|
1321
|
+
const handleDelete = useCallback((record, type) => {
|
|
1322
|
+
global.modal.show(ModalType.MODAL_ALERT, {
|
|
1323
|
+
width: 576,
|
|
1324
|
+
renderChildren: () => {
|
|
1325
|
+
return (
|
|
1326
|
+
<div>
|
|
1327
|
+
<span>{t(`是否{${type}}规则`)}?</span>
|
|
1328
|
+
<SMForm
|
|
1329
|
+
formData={TEXTAREA_FORM}
|
|
1330
|
+
onSubmit={val => {
|
|
1331
|
+
deleteRule(val, record);
|
|
1332
|
+
}}
|
|
1333
|
+
isShowSubmitBtn
|
|
1334
|
+
onCancel={() => global.modal.pop()}
|
|
1335
|
+
/>
|
|
1336
|
+
</div>
|
|
1337
|
+
);
|
|
1338
|
+
},
|
|
1339
|
+
});
|
|
1340
|
+
}, [deleteRule]);
|
|
1341
|
+
// 获取表头
|
|
1342
|
+
const columns = useColumns(
|
|
1343
|
+
getTableColumns(
|
|
1344
|
+
{
|
|
1345
|
+
...props,
|
|
1346
|
+
onChange: handleChange,
|
|
1347
|
+
handleGray,
|
|
1348
|
+
handleClick,
|
|
1349
|
+
handleUpdate: (e, record) => addRule(e, record, operaeType.UPDATE),
|
|
1350
|
+
handleDelete,
|
|
1351
|
+
customerRuleUpdate,
|
|
1352
|
+
t,
|
|
1353
|
+
},
|
|
1354
|
+
isGlobal,
|
|
1355
|
+
currentGlobalFilter.organization === SM_ACCOUNT,
|
|
1356
|
+
authList,
|
|
1357
|
+
isOpenStatus,
|
|
1358
|
+
degradeMode
|
|
1359
|
+
));
|
|
1360
|
+
|
|
1361
|
+
const headerDom = useCallback(item => {
|
|
1362
|
+
return (
|
|
1363
|
+
<div className={style['header-content']}>
|
|
1364
|
+
<div>{item.ruleSetName}({t('规则总数')}:{item.ruleCount}, {t('运行中规则')}:{item.enableRuleCount})</div>
|
|
1365
|
+
<div>
|
|
1366
|
+
{isGlobal && authList.createRule
|
|
1367
|
+
&& <><SMIcon type={'icon-xinzeng'} onClick={e => addRule(e, item)} />
|
|
1368
|
+
<span className={style.divide} /></>
|
|
1369
|
+
}
|
|
1370
|
+
{isGlobal && authList.updateRuleSet
|
|
1371
|
+
&& <SMIcon type={'icon-xiugaixuanzhong-copy'} onClick={e => method.updateRuleSet(e, item)} />}
|
|
1372
|
+
|
|
1373
|
+
{isGlobal && authList.createRuleSet
|
|
1374
|
+
&& <> <span className={style.divide} />
|
|
1375
|
+
<Popconfirm
|
|
1376
|
+
title={t('是否删除规则集')}
|
|
1377
|
+
okText={t('是')}
|
|
1378
|
+
cancelText={t('否')}
|
|
1379
|
+
onConfirm={e => {deleteRuleSet(e, item.id);}}
|
|
1380
|
+
placement="topRight"
|
|
1381
|
+
>
|
|
1382
|
+
<SMIcon type={'icon-shanchuweixuanzhong'} onClick={e => e.stopPropagation()} />
|
|
1383
|
+
</Popconfirm>
|
|
1384
|
+
</>
|
|
1385
|
+
}
|
|
1386
|
+
</div>
|
|
1387
|
+
</div>
|
|
1388
|
+
);
|
|
1389
|
+
}, [addRule, deleteRuleSet, isGlobal, method, authList]);
|
|
1390
|
+
const getCollapse = useCallback(() => {
|
|
1391
|
+
if (!dataSource.length) {
|
|
1392
|
+
|
|
1393
|
+
return <Empty className={style.empty} />;
|
|
1394
|
+
}
|
|
1395
|
+
return dataSource.map(item => {
|
|
1396
|
+
return (
|
|
1397
|
+
<Panel
|
|
1398
|
+
key={item.ruleSetId}
|
|
1399
|
+
showArrow={false}
|
|
1400
|
+
header={headerDom(item)}
|
|
1401
|
+
>
|
|
1402
|
+
<SMTable
|
|
1403
|
+
dataSource={data}
|
|
1404
|
+
columns={formatUs(columns, ['title'], t)}
|
|
1405
|
+
loading={ruleLoading}
|
|
1406
|
+
i18nText={tableText(t)}
|
|
1407
|
+
rowSelection={isCurrentCustomer && isOpenStatus !== 2 ? undefined : {
|
|
1408
|
+
selectedRowKeys,
|
|
1409
|
+
onChange: selectedRowKeys => {
|
|
1410
|
+
setSelectedRowKeys(selectedRowKeys);
|
|
1411
|
+
},
|
|
1412
|
+
}}
|
|
1413
|
+
// setLocalTable
|
|
1414
|
+
selectionExtraDom={(isCurrentCustomer && isOpenStatus !== 2)
|
|
1415
|
+
? undefined : showSelectionExtraDom}
|
|
1416
|
+
isHidePagination
|
|
1417
|
+
totalCount={data && data.length}
|
|
1418
|
+
/>
|
|
1419
|
+
</Panel>
|
|
1420
|
+
);
|
|
1421
|
+
});
|
|
1422
|
+
}, [
|
|
1423
|
+
columns,
|
|
1424
|
+
dataSource,
|
|
1425
|
+
selectedRowKeys,
|
|
1426
|
+
showSelectionExtraDom,
|
|
1427
|
+
data,
|
|
1428
|
+
headerDom,
|
|
1429
|
+
ruleLoading,
|
|
1430
|
+
setSelectedRowKeys,
|
|
1431
|
+
t,
|
|
1432
|
+
isCurrentCustomer,
|
|
1433
|
+
isOpenStatus,
|
|
1434
|
+
]);
|
|
1435
|
+
|
|
1436
|
+
const variableChange = useCallback((val, list) => {
|
|
1437
|
+
let number = 0;
|
|
1438
|
+
const data = _.cloneDeep(conditions);
|
|
1439
|
+
_.keys(val).forEach(item => {
|
|
1440
|
+
if (item.includes('left')) {
|
|
1441
|
+
number++;
|
|
1442
|
+
}
|
|
1443
|
+
}, []);
|
|
1444
|
+
for (let i = 0; i < number; i++) {
|
|
1445
|
+
const obj = variableData.filter(item => {
|
|
1446
|
+
return item.id === val[`left${i}_0`];
|
|
1447
|
+
})[0];
|
|
1448
|
+
try {
|
|
1449
|
+
data[i][1].definition.condiates = OPERATOR_EXTRA[obj.type];
|
|
1450
|
+
data[i][0].definition.type = obj.type;
|
|
1451
|
+
data[i][0].definition.default = val[`left${i}_0`];
|
|
1452
|
+
data[i][1].definition.default = val[`operator${i}_0`];
|
|
1453
|
+
data[i][2].definition.default = val[`right${i}_0`];
|
|
1454
|
+
} catch (error) {
|
|
1455
|
+
}
|
|
1456
|
+
}
|
|
1457
|
+
setConditions(data);
|
|
1458
|
+
}, [conditions, variableData]);
|
|
1459
|
+
|
|
1460
|
+
useEffect(() => {
|
|
1461
|
+
setData(contents || []);
|
|
1462
|
+
setActiveKey(contents && contents.length && contents[0].ruleSetId);
|
|
1463
|
+
}, [contents]);
|
|
1464
|
+
|
|
1465
|
+
useEffect(() => {
|
|
1466
|
+
setActiveKey([]);
|
|
1467
|
+
}, [productList]);
|
|
1468
|
+
|
|
1469
|
+
useEffect(() => {
|
|
1470
|
+
setActivityEvent(eventId);
|
|
1471
|
+
}, [eventId]);
|
|
1472
|
+
|
|
1473
|
+
useEffect(() => {
|
|
1474
|
+
setActivityAppId([currentGlobalFilter.appId]);
|
|
1475
|
+
}, [currentGlobalFilter]);
|
|
1476
|
+
|
|
1477
|
+
return (
|
|
1478
|
+
<div className={style['rule-collapse']}>
|
|
1479
|
+
<Spin spinning={loading}>
|
|
1480
|
+
<Collapse
|
|
1481
|
+
activeKey={activeKey}
|
|
1482
|
+
onChange={val => {
|
|
1483
|
+
setSelectedRowKeys([]);
|
|
1484
|
+
const newVal = val.length ? val[val.length - 1] : '';
|
|
1485
|
+
setActiveKey(newVal);
|
|
1486
|
+
collapseChange(newVal);
|
|
1487
|
+
}}
|
|
1488
|
+
>
|
|
1489
|
+
{getCollapse()}
|
|
1490
|
+
</Collapse>
|
|
1491
|
+
<BatchUpdateModal
|
|
1492
|
+
risklevelList={risklevelList}
|
|
1493
|
+
formatReview={formatReview}
|
|
1494
|
+
visible={visible}
|
|
1495
|
+
isCurrentCustomer={isCurrentCustomer}
|
|
1496
|
+
closable={() => {
|
|
1497
|
+
setvisible(false);
|
|
1498
|
+
}}
|
|
1499
|
+
/>
|
|
1500
|
+
<AddListModal
|
|
1501
|
+
visible={ruleVisible}
|
|
1502
|
+
loading={modalLoading}
|
|
1503
|
+
eventId={eventId}
|
|
1504
|
+
appId={currentGlobalFilter.appId}
|
|
1505
|
+
ruleType={ruleType}
|
|
1506
|
+
isGlobal={currentGlobalFilter.organization === SM_ACCOUNT || isGlobal}
|
|
1507
|
+
currentGlobalFilter={currentGlobalFilter}
|
|
1508
|
+
eventList={getEventList()}
|
|
1509
|
+
ruleSetDiff={ruleSetDiff}
|
|
1510
|
+
onCancel={() => setRuleVisible(false)}
|
|
1511
|
+
/>
|
|
1512
|
+
<RuleMdoal
|
|
1513
|
+
visible={ruleModalVisible}
|
|
1514
|
+
record={record}
|
|
1515
|
+
riskMapList={riskMapList}
|
|
1516
|
+
risklevelList={risklevelList}
|
|
1517
|
+
variableData={variableData}
|
|
1518
|
+
setConditions={setConditions}
|
|
1519
|
+
variableChange={variableChange}
|
|
1520
|
+
ruleType={ruleType}
|
|
1521
|
+
conditions={conditions}
|
|
1522
|
+
productId={productId}
|
|
1523
|
+
riskTypeList={riskTypeList}
|
|
1524
|
+
onCancel={() => setRuleModalVisible(false)}
|
|
1525
|
+
onClose={() => {
|
|
1526
|
+
setRuleModalVisible(false);
|
|
1527
|
+
setRuleVisible(false);
|
|
1528
|
+
}}
|
|
1529
|
+
ruleSubmit={ruleSubmit}
|
|
1530
|
+
/>
|
|
1531
|
+
<RuleModalCustomer
|
|
1532
|
+
visible={customerModalVisible}
|
|
1533
|
+
record={record}
|
|
1534
|
+
riskMapList={riskMapList}
|
|
1535
|
+
risklevelList={risklevelList}
|
|
1536
|
+
variableData={variableData}
|
|
1537
|
+
setConditions={setConditions}
|
|
1538
|
+
variableChange={variableChange}
|
|
1539
|
+
ruleType={ruleType}
|
|
1540
|
+
conditions={conditions}
|
|
1541
|
+
productId={productId}
|
|
1542
|
+
riskTypeList={riskTypeList}
|
|
1543
|
+
onCancel={() => setCustomerModalVisible(false)}
|
|
1544
|
+
onClose={() => {
|
|
1545
|
+
setCustomerModalVisible(false);
|
|
1546
|
+
setRuleVisible(false);
|
|
1547
|
+
}}
|
|
1548
|
+
ruleSubmit={customerRuleSubmit}
|
|
1549
|
+
/>
|
|
1550
|
+
</Spin>
|
|
1551
|
+
</div>
|
|
1552
|
+
);
|
|
1553
|
+
};
|
|
1554
|
+
export default connect(({}) => ({}))(RuleCollapse);
|