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,1521 @@
|
|
|
1
|
+
/* eslint-disable radix */
|
|
2
|
+
/* eslint-disable no-undef */
|
|
3
|
+
// import { query } from '@/services/user';
|
|
4
|
+
import { parse } from 'querystring';
|
|
5
|
+
import moment from 'moment';
|
|
6
|
+
import _ from 'lodash';
|
|
7
|
+
import { Tooltip } from 'antd';
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
import {defaultVariable, OPERATOR_EXTRA} from '@/pages/pageComponents/StrategyPage/contants';
|
|
11
|
+
import {JUMP_URL_LIST, PAGE_DETAIL_TYPE, DAY_TIMESTAMP} from '@/pages/pageComponents/historyPage/constants';
|
|
12
|
+
import {
|
|
13
|
+
LOCAL_STORAGE,
|
|
14
|
+
SOME_SPECIAL_ORGANIZATION,
|
|
15
|
+
SERVICEID_LIST,
|
|
16
|
+
HISTORY_COLUMN,
|
|
17
|
+
DEEP_DOMAINS,
|
|
18
|
+
} from '@/contants';
|
|
19
|
+
|
|
20
|
+
import md5 from './md5';
|
|
21
|
+
import {formatBoolean} from './helpers';
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
// eslint-disable-next-line max-len
|
|
25
|
+
const reg = /(((^https?:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+(?::\d+)?|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)$/;
|
|
26
|
+
export const isUrl = path => reg.test(path);
|
|
27
|
+
export const isAntDesignPro = () => {
|
|
28
|
+
if (ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION === 'site') {
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
return window.location.hostname === 'preview.pro.ant.design';
|
|
33
|
+
}; // 给官方演示站点用,用于关闭真实开发环境不需要使用的特性
|
|
34
|
+
|
|
35
|
+
export const isAntDesignProOrDev = () => {
|
|
36
|
+
const { NODE_ENV } = process.env;
|
|
37
|
+
|
|
38
|
+
if (NODE_ENV === 'development') {
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
return isAntDesignPro();
|
|
43
|
+
};
|
|
44
|
+
export const getPageQuery = () => parse(window.location.href.split('?')[1]);
|
|
45
|
+
|
|
46
|
+
export const getNewHost = () => {
|
|
47
|
+
const currentHost = 'www.ishumei.com';
|
|
48
|
+
const urlHost = location.href;
|
|
49
|
+
const protocol = location.protocol;
|
|
50
|
+
const isIshumei = urlHost.indexOf('console.ishumei.com') !== -1;
|
|
51
|
+
let host = '';
|
|
52
|
+
if (isIshumei) {
|
|
53
|
+
let reg = /(.*[\.|\-])console\.(?:ishumei)\.com/i;
|
|
54
|
+
if (reg.test(urlHost)) {
|
|
55
|
+
let matches = urlHost.match(reg);
|
|
56
|
+
if (matches && matches[1]) {
|
|
57
|
+
host = `${matches[1]}www.ishumei.com`;
|
|
58
|
+
} else {
|
|
59
|
+
host = `${protocol}//${currentHost}`;
|
|
60
|
+
}
|
|
61
|
+
} else {
|
|
62
|
+
host = `${protocol}//${currentHost}`;
|
|
63
|
+
}
|
|
64
|
+
} else {
|
|
65
|
+
host = 'http://tj.www.ishumei.com';
|
|
66
|
+
}
|
|
67
|
+
return host;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
export const getUrlData = url => {
|
|
71
|
+
const arrUrl = url.split('//');
|
|
72
|
+
const domain = arrUrl[1].split('/')[0];
|
|
73
|
+
const start = arrUrl[1].indexOf('/');
|
|
74
|
+
|
|
75
|
+
let relUrl = arrUrl[1].substring(start);
|
|
76
|
+
let query = '';
|
|
77
|
+
let path = relUrl;
|
|
78
|
+
if (relUrl.indexOf('?') !== -1) {
|
|
79
|
+
path = relUrl.split('?')[0];
|
|
80
|
+
query = relUrl.split('?')[1];
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
protocol: arrUrl[0],
|
|
84
|
+
domain: domain,
|
|
85
|
+
path: path,
|
|
86
|
+
query: query,
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
export const setUrlHttps = url => {
|
|
91
|
+
const urlProtocol = url.split(':')[0];
|
|
92
|
+
if (urlProtocol === 'http' && /https/.test(location.protocol)) {
|
|
93
|
+
return url.replace('http', 'https');
|
|
94
|
+
}
|
|
95
|
+
return url;
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* cookie操作
|
|
100
|
+
* @type {{set: Cookie.set, get: Cookie.get, remove: Cookie.remove}}
|
|
101
|
+
*/
|
|
102
|
+
export const Cookie = {
|
|
103
|
+
set(key, val, options) {
|
|
104
|
+
options = options || {
|
|
105
|
+
path: '/',
|
|
106
|
+
expires: 24 * 3600 * 30 * 12 * 2 * 1000,
|
|
107
|
+
};
|
|
108
|
+
let expires = options.expires;
|
|
109
|
+
|
|
110
|
+
if (typeof expires === 'number') {
|
|
111
|
+
expires = new Date();
|
|
112
|
+
expires.setTime(expires.getTime() + options.expires);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
try {
|
|
116
|
+
let coookieStr
|
|
117
|
+
= key
|
|
118
|
+
+ '='
|
|
119
|
+
+ escape(val)
|
|
120
|
+
+ (expires ? ';expires=' + expires.toGMTString() : '')
|
|
121
|
+
+ (options.path ? ';path=' + options.path : '');
|
|
122
|
+
|
|
123
|
+
if (process.env.NODE_ENV !== 'development') {
|
|
124
|
+
coookieStr = coookieStr + (options.domain ? '; domain=' + options.domain : '');
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
document.cookie = coookieStr;
|
|
128
|
+
|
|
129
|
+
return true;
|
|
130
|
+
} catch (e) {
|
|
131
|
+
return false;
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
get(key, defaultValue) {
|
|
135
|
+
try {
|
|
136
|
+
let a;
|
|
137
|
+
let reg = new RegExp('(^| )' + key + '=([^;]*)(;|$)');
|
|
138
|
+
if ((a = document.cookie.match(reg))) {
|
|
139
|
+
return unescape(a[2]);
|
|
140
|
+
}
|
|
141
|
+
} catch (e) {}
|
|
142
|
+
return defaultValue;
|
|
143
|
+
},
|
|
144
|
+
remove(key, domain) {
|
|
145
|
+
domain = process.env.NODE_ENV === 'development' ? '' : domain;
|
|
146
|
+
this.set(key, null, {
|
|
147
|
+
path: '/',
|
|
148
|
+
domain: domain ? domain : '',
|
|
149
|
+
expires: -1,
|
|
150
|
+
});
|
|
151
|
+
},
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
export const Storage = {
|
|
155
|
+
// 存储,可设置过期时间
|
|
156
|
+
set(key, value, expires) {
|
|
157
|
+
const params = { key, value, expires };
|
|
158
|
+
if (expires) {
|
|
159
|
+
// 记录何时将值存入缓存,毫秒级
|
|
160
|
+
const data = Object.assign(params, {
|
|
161
|
+
startTime: new Date().getTime(),
|
|
162
|
+
});
|
|
163
|
+
|
|
164
|
+
window.localStorage.setItem(key, JSON.stringify(data));
|
|
165
|
+
} else {
|
|
166
|
+
if (Object.prototype.toString.call(value) === '[object Object]') {
|
|
167
|
+
value = JSON.stringify(value);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
if (Object.prototype.toString.call(value) === '[object Array]') {
|
|
171
|
+
value = JSON.stringify(value);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
window.localStorage.setItem(key, value);
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
// 取出
|
|
178
|
+
get(key) {
|
|
179
|
+
let item = window.localStorage.getItem(key);
|
|
180
|
+
// 先将拿到的试着进行json转为对象的形式
|
|
181
|
+
try {
|
|
182
|
+
item = JSON.parse(item);
|
|
183
|
+
} catch (error) {
|
|
184
|
+
// eslint-disable-next-line no-self-assign
|
|
185
|
+
item = item;
|
|
186
|
+
}
|
|
187
|
+
// 如果有startTime的值,说明设置了失效时间
|
|
188
|
+
if (item && item.startTime) {
|
|
189
|
+
const date = new Date().getTime();
|
|
190
|
+
// 如果大于就是过期了,如果小于或等于就还没过期
|
|
191
|
+
if (date - item.startTime > item.expires) {
|
|
192
|
+
localStorage.removeItem(key);
|
|
193
|
+
return false;
|
|
194
|
+
}
|
|
195
|
+
return item.value;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
return item;
|
|
199
|
+
},
|
|
200
|
+
// 删除
|
|
201
|
+
remove(key) {
|
|
202
|
+
window.localStorage.removeItem(key);
|
|
203
|
+
},
|
|
204
|
+
// 清除全部
|
|
205
|
+
clear() {
|
|
206
|
+
window.localStorage.clear();
|
|
207
|
+
},
|
|
208
|
+
};
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* 获取地址参数
|
|
212
|
+
* @param url
|
|
213
|
+
* @private
|
|
214
|
+
*/
|
|
215
|
+
export const getUrlParams = url => {
|
|
216
|
+
url = String(url);
|
|
217
|
+
let searchArr = url.split('?');
|
|
218
|
+
let data = {};
|
|
219
|
+
|
|
220
|
+
if (searchArr[1]) {
|
|
221
|
+
let queryStr = searchArr[1].split('&');
|
|
222
|
+
|
|
223
|
+
queryStr.forEach(element => {
|
|
224
|
+
let item = element.split('=');
|
|
225
|
+
|
|
226
|
+
data[item[0]] = decodeURIComponent(item[1]);
|
|
227
|
+
});
|
|
228
|
+
|
|
229
|
+
return data;
|
|
230
|
+
}
|
|
231
|
+
return {};
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
export const getDefaultPhone = () => {
|
|
235
|
+
const params = getUrlParams(location.href);
|
|
236
|
+
return params.tel || '';
|
|
237
|
+
};
|
|
238
|
+
|
|
239
|
+
export const formatNumer = num => {
|
|
240
|
+
num = String(num);
|
|
241
|
+
|
|
242
|
+
return num.replace(/\d{1,3}(?=(\d{3})+(\.\d*)?$)/g, '$&,');
|
|
243
|
+
};
|
|
244
|
+
|
|
245
|
+
export const getPercent = (fenzi, fenmu) => {
|
|
246
|
+
if (!fenmu) {
|
|
247
|
+
return '0.00%';
|
|
248
|
+
}
|
|
249
|
+
return ((fenzi / fenmu) * 100).toFixed(2) + '%';
|
|
250
|
+
};
|
|
251
|
+
|
|
252
|
+
// 遍历对象,删除空数组项
|
|
253
|
+
const formatArrayParams = params => {
|
|
254
|
+
const newParams = _.cloneDeep(params);
|
|
255
|
+
// eslint-disable-next-line guard-for-in
|
|
256
|
+
for (let key in newParams) {
|
|
257
|
+
if (_.isArray(newParams[key]) && !newParams[key].length) {
|
|
258
|
+
delete newParams[key];
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
return newParams;
|
|
263
|
+
};
|
|
264
|
+
|
|
265
|
+
// 遍历对象,如果某一个key对应的value为空||'all',就去掉该项
|
|
266
|
+
export const formatSearchParams = params => {
|
|
267
|
+
const newParams = _.cloneDeep(params);
|
|
268
|
+
for (let key in newParams) {
|
|
269
|
+
if (key === 'orderBy') {
|
|
270
|
+
continue;
|
|
271
|
+
}
|
|
272
|
+
if (newParams[key] === '' || newParams[key] === 'all' || newParams[key] === '全部') {
|
|
273
|
+
delete newParams[key];
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
return newParams;
|
|
277
|
+
};
|
|
278
|
+
|
|
279
|
+
export const formatExportParams = params => {
|
|
280
|
+
const newParams = _.cloneDeep(params);
|
|
281
|
+
_.forEach(_.keys(newParams), key => {
|
|
282
|
+
if (_.size(newParams[key]) === 0
|
|
283
|
+
|| newParams[key] === 'all'
|
|
284
|
+
|| (_.isArray(newParams[key]) && _.includes(newParams[key], 'all'))) {
|
|
285
|
+
delete newParams[key];
|
|
286
|
+
}
|
|
287
|
+
});
|
|
288
|
+
return newParams;
|
|
289
|
+
};
|
|
290
|
+
|
|
291
|
+
export const formatMdParams = params => {
|
|
292
|
+
const newParams = _.cloneDeep(params);
|
|
293
|
+
_.forEach(_.keys(newParams), key => {
|
|
294
|
+
if (_.isArray(newParams[key]) && (_.includes(newParams[key], 'all') || newParams[key]?.length === 0)) {
|
|
295
|
+
delete newParams[key];
|
|
296
|
+
}
|
|
297
|
+
});
|
|
298
|
+
return newParams;
|
|
299
|
+
};
|
|
300
|
+
|
|
301
|
+
export const formatServiceId = serviceId => {
|
|
302
|
+
// eslint-disable-next-line max-len
|
|
303
|
+
const TW_SERVICEID = 'POST_EVENT,ACCOUNT_REGISTER,ACCOUNT_LOGIN,ANTI_ROBOT_MARKETING,ANTI_ROBOT_SMS,SVERIFY_CAPTCHA';
|
|
304
|
+
if (TW_SERVICEID.includes(serviceId)) {
|
|
305
|
+
return 'P_TIAN_WANG';
|
|
306
|
+
}
|
|
307
|
+
return serviceId;
|
|
308
|
+
};
|
|
309
|
+
|
|
310
|
+
// 遍历对象,如果某一个key对应的value为空||'all',就去掉该项
|
|
311
|
+
export const formatRankSearchParams = params => {
|
|
312
|
+
const newParams = _.cloneDeep(params);
|
|
313
|
+
for (const key in newParams) {
|
|
314
|
+
if (key === 'orderBy' || key === 'appId' || key === 'channel') {
|
|
315
|
+
if (newParams[key] === '') {
|
|
316
|
+
newParams[key] = 'all';
|
|
317
|
+
}
|
|
318
|
+
continue;
|
|
319
|
+
}
|
|
320
|
+
if (newParams[key] === '' || newParams[key] === 'all') {
|
|
321
|
+
delete newParams[key];
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
return newParams;
|
|
325
|
+
};
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* 获得域名
|
|
329
|
+
*/
|
|
330
|
+
export const getUrlName = () => {
|
|
331
|
+
let currentUrl = (window.location && window.location.href) || '';
|
|
332
|
+
let hostName = window.location && window.location.protocol;
|
|
333
|
+
let urlTypeName = ['www', 'intl', 'help', 'console', 'consoleNa', 'deepcleer'];
|
|
334
|
+
try {
|
|
335
|
+
let urlName = currentUrl.match(/\/\/(\S*).ishumei/) ? currentUrl.match(/\/\/(\S*).ishumei/)[1] : '';
|
|
336
|
+
if (['console', 'console-na'].includes(urlName)) {
|
|
337
|
+
let urlList = {};
|
|
338
|
+
urlTypeName.map(item => {
|
|
339
|
+
urlList[item] = `${hostName}//${item}.ishumei.com`;
|
|
340
|
+
});
|
|
341
|
+
return urlList;
|
|
342
|
+
}
|
|
343
|
+
let urlList = {};
|
|
344
|
+
let name = '';
|
|
345
|
+
if (urlName) {
|
|
346
|
+
if (urlName.indexOf('.') > -1) {
|
|
347
|
+
name = urlName.split('.')[0] + '.';
|
|
348
|
+
} else {
|
|
349
|
+
name = urlName.split('-')[0] + '-';
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
urlTypeName.map(item => {
|
|
354
|
+
if (item === 'deepcleer') {
|
|
355
|
+
urlList[item] = `${hostName}//${name}${item}.com`;
|
|
356
|
+
}
|
|
357
|
+
else {
|
|
358
|
+
urlList[item] = `${hostName}//${name}${item}.ishumei.com`;
|
|
359
|
+
}
|
|
360
|
+
});
|
|
361
|
+
return urlList;
|
|
362
|
+
} catch (e) {
|
|
363
|
+
return {
|
|
364
|
+
www: 'https://www.ishumei.com',
|
|
365
|
+
intl: 'https://intl.ishumei.com',
|
|
366
|
+
help: 'https://help.ishumei.com',
|
|
367
|
+
console: 'https://console.ishumei.com',
|
|
368
|
+
deepCleer: 'https://deepcleer.com',
|
|
369
|
+
};
|
|
370
|
+
}
|
|
371
|
+
};
|
|
372
|
+
|
|
373
|
+
export const getDeepCleerUrl = (path = '') => {
|
|
374
|
+
let url = `https://${DEEP_DOMAINS.ONLINE}`;
|
|
375
|
+
try {
|
|
376
|
+
const hostName = window.location.hostname;
|
|
377
|
+
if (hostName.includes('preview')) {
|
|
378
|
+
url = `http://${DEEP_DOMAINS.PREVIEW}`;
|
|
379
|
+
}
|
|
380
|
+
else if (hostName.includes('pre-')) {
|
|
381
|
+
url = `https://${DEEP_DOMAINS.PRE}`;
|
|
382
|
+
}
|
|
383
|
+
else {
|
|
384
|
+
url = `https://${DEEP_DOMAINS.ONLINE}`;
|
|
385
|
+
}
|
|
386
|
+
return `${url}${path}`;
|
|
387
|
+
} catch (error) {
|
|
388
|
+
return `${url}${path}`;
|
|
389
|
+
}
|
|
390
|
+
};
|
|
391
|
+
|
|
392
|
+
// 截取文案,超长的文案。中间展示...
|
|
393
|
+
export const splitName = (name = '', max = 12) => {
|
|
394
|
+
if (!_.isString(name) || name.length <= max) {
|
|
395
|
+
return name;
|
|
396
|
+
}
|
|
397
|
+
let str = '';
|
|
398
|
+
str += name.slice(0, parseInt(max / 2, 10));
|
|
399
|
+
str += '...';
|
|
400
|
+
str += name.slice(name.length - parseInt(max / 2, 10) - 1);
|
|
401
|
+
return str;
|
|
402
|
+
};
|
|
403
|
+
|
|
404
|
+
// 处理文件大小。超过0.1M的展示 MB,否则展示KB
|
|
405
|
+
export const handleFileSize = (fileSize, maxSize = 1024 * 1024) => {
|
|
406
|
+
const radio = fileSize / maxSize;
|
|
407
|
+
return radio >= 0.1 ? `${_.round(radio, 2)}MB` : `${_.round(fileSize / 1024, 2)}KB`;
|
|
408
|
+
};
|
|
409
|
+
/**
|
|
410
|
+
* 秒数转时间格式 hh:mm:ss
|
|
411
|
+
* @param {*} s 秒数
|
|
412
|
+
*/
|
|
413
|
+
export const formatSecond = s => {
|
|
414
|
+
let sTime = parseInt(s); // 秒
|
|
415
|
+
let mTime = 0; // 分
|
|
416
|
+
let hTime = 0; // 时
|
|
417
|
+
if (sTime > 60) {
|
|
418
|
+
// 如果秒数大于60,将秒数转换成整数
|
|
419
|
+
// 获取分钟,除以60取整数,得到整数分钟
|
|
420
|
+
mTime = parseInt(sTime / 60);
|
|
421
|
+
// 获取秒数,秒数取佘,得到整数秒数
|
|
422
|
+
sTime = parseInt(sTime % 60);
|
|
423
|
+
// 如果分钟大于60,将分钟转换成小时
|
|
424
|
+
if (mTime > 60) {
|
|
425
|
+
// 获取小时,获取分钟除以60,得到整数小时
|
|
426
|
+
hTime = parseInt(mTime / 60);
|
|
427
|
+
// 获取小时后取佘的分,获取分钟除以60取佘的分
|
|
428
|
+
mTime = parseInt(mTime % 60);
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
let result = '';
|
|
432
|
+
if (sTime >= 0 && sTime < 10) {
|
|
433
|
+
result = '0' + parseInt(sTime) + '';
|
|
434
|
+
} else {
|
|
435
|
+
result = '' + parseInt(sTime) + '';
|
|
436
|
+
}
|
|
437
|
+
if (mTime >= 0 && mTime < 10) {
|
|
438
|
+
result = '0' + parseInt(mTime) + ':' + result;
|
|
439
|
+
} else {
|
|
440
|
+
result = '' + parseInt(mTime) + ':' + result;
|
|
441
|
+
}
|
|
442
|
+
if (hTime >= 0 && hTime < 10) {
|
|
443
|
+
result = '0' + parseInt(hTime) + ':' + result;
|
|
444
|
+
} else {
|
|
445
|
+
result = '' + parseInt(hTime) + ':' + result;
|
|
446
|
+
}
|
|
447
|
+
return result;
|
|
448
|
+
};
|
|
449
|
+
|
|
450
|
+
/**
|
|
451
|
+
* 秒数转小时 一万小时以上按照xx.xx(x小时)展示,一万小时以下调用formatSecond hh:mm:ss
|
|
452
|
+
* @param {*} s 秒数
|
|
453
|
+
*/
|
|
454
|
+
export const formatSecondToHour = s => {
|
|
455
|
+
s = Number(s);
|
|
456
|
+
if (Math.abs(s) > 3600 * 1000 * 100000000) {
|
|
457
|
+
return {
|
|
458
|
+
num: (s / (3600 * 1000 * 100000000)).toFixed(1),
|
|
459
|
+
unit: '千亿小时',
|
|
460
|
+
};
|
|
461
|
+
} else if (Math.abs(s) > 3600 * 100000000) {
|
|
462
|
+
return {
|
|
463
|
+
num: (s / (3600 * 100000000)).toFixed(1),
|
|
464
|
+
unit: '亿小时',
|
|
465
|
+
};
|
|
466
|
+
} else if (Math.abs(s) > 3600 * 1000 * 10000) {
|
|
467
|
+
return {
|
|
468
|
+
num: (s / (3600 * 1000 * 10000)).toFixed(1),
|
|
469
|
+
unit: '千万小时',
|
|
470
|
+
};
|
|
471
|
+
} else if (Math.abs(s) > 3600 * 10000) {
|
|
472
|
+
return {
|
|
473
|
+
num: (s / (3600 * 10000)).toFixed(1),
|
|
474
|
+
unit: '万小时',
|
|
475
|
+
};
|
|
476
|
+
}
|
|
477
|
+
return {
|
|
478
|
+
num: formatSecond(s),
|
|
479
|
+
unit: '',
|
|
480
|
+
};
|
|
481
|
+
};
|
|
482
|
+
|
|
483
|
+
export const formatTimeStamp = time => {
|
|
484
|
+
return moment(time).format('YYYY-MM-DD HH:mm:ss:SSS');
|
|
485
|
+
};
|
|
486
|
+
|
|
487
|
+
export const getRandomString = (length = 64) => {
|
|
488
|
+
const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
|
|
489
|
+
const maxLength = chars.length;
|
|
490
|
+
let str = '';
|
|
491
|
+
for (let i = 0; i < length; i++) {
|
|
492
|
+
str = str + chars.charAt(Math.floor(Math.random() * maxLength));
|
|
493
|
+
}
|
|
494
|
+
return str;
|
|
495
|
+
};
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* 格式化时间
|
|
499
|
+
* @param str 'YYYYMMDD'
|
|
500
|
+
* @param symbol 连接符号 如 '-' '/'
|
|
501
|
+
* @returns {string} 'YYYY-MM-DD'
|
|
502
|
+
*/
|
|
503
|
+
export const formatTime = (str = '', symbol = '-') => {
|
|
504
|
+
return str.replace(/(\d{4})(\d{2})(\d{2})/, (match, p1, p2, p3) => {
|
|
505
|
+
return [p1, p2, p3].join(symbol);
|
|
506
|
+
});
|
|
507
|
+
};
|
|
508
|
+
|
|
509
|
+
export const formatMail = (str, name = '邮箱格式不正确') => {
|
|
510
|
+
let re = /^[a-z0-9](?:[\w.\-+]*[a-z0-9])?@[a-z0-9][\w.-]*\.[a-z]{2,8}$/i;
|
|
511
|
+
if (!re.test(str)) {
|
|
512
|
+
return name;
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
return false;
|
|
516
|
+
};
|
|
517
|
+
|
|
518
|
+
export const formatPhone = (str, name = '请输入正确的手机号码') => {
|
|
519
|
+
const re = /^1[3|4|5|6|7|8|9]\d{9}$/;
|
|
520
|
+
if (!re.test(str)) {
|
|
521
|
+
return name;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
return false;
|
|
525
|
+
};
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* 导出文件
|
|
529
|
+
* @param url
|
|
530
|
+
* @param fileName
|
|
531
|
+
* @param data
|
|
532
|
+
* @returns {Promise}
|
|
533
|
+
*/
|
|
534
|
+
export async function exportFile(url, fileName, data) {
|
|
535
|
+
return new Promise((resolve, reject) => {
|
|
536
|
+
const xhr = new XMLHttpRequest();
|
|
537
|
+
const locale = window.localStorage.getItem('umi_locale');
|
|
538
|
+
const lang = locale === 'en-US' ? 'en' : 'zh';
|
|
539
|
+
xhr.responseType = 'arraybuffer';
|
|
540
|
+
xhr.open('POST', url);
|
|
541
|
+
xhr.timeout = 300000; // 5分钟
|
|
542
|
+
// 请求成功
|
|
543
|
+
xhr.onload = function () {
|
|
544
|
+
const blob = new Blob([this.response], {
|
|
545
|
+
type: 'application/vnd.ms-excel',
|
|
546
|
+
});
|
|
547
|
+
|
|
548
|
+
if ('download' in document.createElement('a')) {
|
|
549
|
+
const link = document.createElement('a');
|
|
550
|
+
link.download = fileName;
|
|
551
|
+
link.style.display = 'none';
|
|
552
|
+
link.href = URL.createObjectURL(blob);
|
|
553
|
+
document.body.appendChild(link);
|
|
554
|
+
|
|
555
|
+
link.click();
|
|
556
|
+
|
|
557
|
+
URL.revokeObjectURL(link.href);
|
|
558
|
+
document.body.removeChild(link);
|
|
559
|
+
} else {
|
|
560
|
+
navigator.msSaveBlob(blob);
|
|
561
|
+
}
|
|
562
|
+
};
|
|
563
|
+
|
|
564
|
+
// 请求结束
|
|
565
|
+
xhr.onloadend = function () {
|
|
566
|
+
resolve({
|
|
567
|
+
code: 1100,
|
|
568
|
+
message: '数据导出成功!',
|
|
569
|
+
});
|
|
570
|
+
};
|
|
571
|
+
|
|
572
|
+
// 请求超时
|
|
573
|
+
xhr.ontimeout = function () {
|
|
574
|
+
reject({
|
|
575
|
+
code: 9999,
|
|
576
|
+
message: '接口请求超时,请稍后重试!',
|
|
577
|
+
});
|
|
578
|
+
};
|
|
579
|
+
|
|
580
|
+
// 请求出错
|
|
581
|
+
xhr.onerror = function () {
|
|
582
|
+
reject({
|
|
583
|
+
code: 9000,
|
|
584
|
+
message: '接口请求出错,请稍后重试!',
|
|
585
|
+
});
|
|
586
|
+
};
|
|
587
|
+
|
|
588
|
+
const tokenId = Cookie.get('sm_saas_tokenId');
|
|
589
|
+
|
|
590
|
+
xhr.setRequestHeader('Content-type', 'application/json');
|
|
591
|
+
xhr.setRequestHeader('Token-Id', tokenId);
|
|
592
|
+
xhr.setRequestHeader('Lang', lang);
|
|
593
|
+
|
|
594
|
+
xhr.send(JSON.stringify(data));
|
|
595
|
+
});
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* 数值单位转换
|
|
600
|
+
* @param {*} num 数值
|
|
601
|
+
*/
|
|
602
|
+
export const unitConverter = num => {
|
|
603
|
+
// 此处为防止字符串形式的数值进来,因为toFixed方法只能用于数值型数
|
|
604
|
+
num = Number(num);
|
|
605
|
+
if (Math.abs(num) > 1000 * 100000000) {
|
|
606
|
+
return {
|
|
607
|
+
num: (num / (1000 * 100000000)).toFixed(2),
|
|
608
|
+
unit: '千亿',
|
|
609
|
+
};
|
|
610
|
+
} else if (Math.abs(num) > 100000000) {
|
|
611
|
+
return {
|
|
612
|
+
num: (num / 100000000).toFixed(2),
|
|
613
|
+
unit: '亿',
|
|
614
|
+
};
|
|
615
|
+
} else if (Math.abs(num) > 1000 * 10000) {
|
|
616
|
+
return {
|
|
617
|
+
num: (num / (1000 * 10000)).toFixed(2),
|
|
618
|
+
unit: '千万',
|
|
619
|
+
};
|
|
620
|
+
} else if (Math.abs(num) > 10 * 10000) {
|
|
621
|
+
return {
|
|
622
|
+
num: (num / 10000).toFixed(2),
|
|
623
|
+
unit: '万',
|
|
624
|
+
};
|
|
625
|
+
}
|
|
626
|
+
return {
|
|
627
|
+
num,
|
|
628
|
+
unit: '',
|
|
629
|
+
};
|
|
630
|
+
};
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* 回到顶部
|
|
634
|
+
*/
|
|
635
|
+
export const backTop = dom => {
|
|
636
|
+
const el = dom || document.documentElement;
|
|
637
|
+
document.scrollTop = 0;
|
|
638
|
+
el.scrollTop = 0;
|
|
639
|
+
};
|
|
640
|
+
|
|
641
|
+
/**
|
|
642
|
+
* 文本复制
|
|
643
|
+
*/
|
|
644
|
+
export const copyText = (value, success, fail) => {
|
|
645
|
+
// 创建文本元素
|
|
646
|
+
let textArea = document.createElement('textArea');
|
|
647
|
+
textArea.value = value;
|
|
648
|
+
document.body.appendChild(textArea);
|
|
649
|
+
|
|
650
|
+
textArea.select();
|
|
651
|
+
if (document.execCommand('copy')) {
|
|
652
|
+
success && success();
|
|
653
|
+
} else {
|
|
654
|
+
fail && fail();
|
|
655
|
+
}
|
|
656
|
+
document.body.removeChild(textArea);
|
|
657
|
+
};
|
|
658
|
+
/**
|
|
659
|
+
* 取值
|
|
660
|
+
* @param stack
|
|
661
|
+
* @param data
|
|
662
|
+
* @param defaultValue
|
|
663
|
+
* @returns {string}
|
|
664
|
+
*/
|
|
665
|
+
export const getValue = (stack, data, defaultValue) => {
|
|
666
|
+
let ret;
|
|
667
|
+
const stackArr = stack.split('.');
|
|
668
|
+
try {
|
|
669
|
+
ret = stackArr.reduce((old, current) => {
|
|
670
|
+
return old[current];
|
|
671
|
+
}, data);
|
|
672
|
+
ret = ret === void 0 || ret === null ? defaultValue : ret;
|
|
673
|
+
} catch (e) {
|
|
674
|
+
// eslint-disable-next-line no-self-compare
|
|
675
|
+
ret = defaultValue === defaultValue ? defaultValue : '';
|
|
676
|
+
}
|
|
677
|
+
return ret;
|
|
678
|
+
};
|
|
679
|
+
|
|
680
|
+
/**
|
|
681
|
+
* JSON.parse 如果传入的字符串复合json标准,则返回解析后的json,否则返回传入参数
|
|
682
|
+
* @param {*} str 传入字符串
|
|
683
|
+
*/
|
|
684
|
+
export const smParseJson = str => {
|
|
685
|
+
let result;
|
|
686
|
+
try {
|
|
687
|
+
result = JSON.parse(str);
|
|
688
|
+
} catch (err) {
|
|
689
|
+
result = str;
|
|
690
|
+
}
|
|
691
|
+
return result;
|
|
692
|
+
};
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* 格式化参数
|
|
696
|
+
* @param {} val
|
|
697
|
+
* @returns
|
|
698
|
+
*/
|
|
699
|
+
export const formatContents = val => {
|
|
700
|
+
try {
|
|
701
|
+
let valList = typeof val === 'string' ? val.split(/\n/) : val;
|
|
702
|
+
let list = valList
|
|
703
|
+
.map(item => {
|
|
704
|
+
return item.trim();
|
|
705
|
+
})
|
|
706
|
+
.slice(0, 200);
|
|
707
|
+
|
|
708
|
+
list = list.filter(item => item);
|
|
709
|
+
|
|
710
|
+
return list;
|
|
711
|
+
} catch {
|
|
712
|
+
return [];
|
|
713
|
+
}
|
|
714
|
+
};
|
|
715
|
+
export const formatCustomContents = val => {
|
|
716
|
+
try {
|
|
717
|
+
let valList = typeof val === 'string' ? val.split(/\n/) : val;
|
|
718
|
+
let list = valList.filter(item => item.trim() !== '').slice(0, 200);
|
|
719
|
+
list = list.filter(item => item);
|
|
720
|
+
return list;
|
|
721
|
+
} catch {
|
|
722
|
+
return [];
|
|
723
|
+
}
|
|
724
|
+
};
|
|
725
|
+
export const regexSet = arr => {
|
|
726
|
+
try {
|
|
727
|
+
let newSetArr = new Set(arr);
|
|
728
|
+
let newRegexArr = [...newSetArr];
|
|
729
|
+
return newRegexArr;
|
|
730
|
+
} catch {
|
|
731
|
+
return [];
|
|
732
|
+
}
|
|
733
|
+
};
|
|
734
|
+
|
|
735
|
+
export const toUnixTime = time => {
|
|
736
|
+
try {
|
|
737
|
+
let new_str = time.replace(/:/g, '-');
|
|
738
|
+
new_str = new_str.replace(/ /g, '-');
|
|
739
|
+
let arr = new_str.split('-');
|
|
740
|
+
let datum = new Date(Date.UTC(arr[0], arr[1] - 1, arr[2], arr[3] - 8, arr[4], arr[5]));
|
|
741
|
+
return datum.getTime() / 1000;
|
|
742
|
+
} catch (error) {
|
|
743
|
+
return time;
|
|
744
|
+
}
|
|
745
|
+
};
|
|
746
|
+
/**
|
|
747
|
+
*
|
|
748
|
+
* @returns 获得MD5 时间戳
|
|
749
|
+
*/
|
|
750
|
+
export const getMD5Time = () => {
|
|
751
|
+
let time = new Date().getTime() + '';
|
|
752
|
+
return {
|
|
753
|
+
sign: md5(md5(time) + 'smcheck'),
|
|
754
|
+
timestamp: time,
|
|
755
|
+
};
|
|
756
|
+
};
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* 验证密码是否符合
|
|
760
|
+
*/
|
|
761
|
+
export const CheckPasswordLever = (str, t) => {
|
|
762
|
+
const regex = /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[^]{8,16}$/;
|
|
763
|
+
const newRegex = /[/\\()<>{}[\] ]/;
|
|
764
|
+
if (str.length > 16 || str.length < 8) {
|
|
765
|
+
return t('新密码长度应为8~16个字符');
|
|
766
|
+
}
|
|
767
|
+
if (newRegex.test(str)) {
|
|
768
|
+
return t('密码不能包含“/”“\\”“(”“)”“<”“>”“{”“}”“[”“]”');
|
|
769
|
+
}
|
|
770
|
+
if (!regex.test(str)) {
|
|
771
|
+
return t('新密码必须是区分大小的字母和数字的组合');
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
return false;
|
|
775
|
+
};
|
|
776
|
+
|
|
777
|
+
/**
|
|
778
|
+
* 数组去重 天网历史记录有用到;
|
|
779
|
+
* @param {} arr1
|
|
780
|
+
* @param {*} arr2
|
|
781
|
+
* @returns
|
|
782
|
+
*/
|
|
783
|
+
export const arryRepetition = (arr1 = [], arr2 = []) => {
|
|
784
|
+
return arr1.filter(item => {
|
|
785
|
+
return arr2.indexOf(item) === -1;
|
|
786
|
+
});
|
|
787
|
+
};
|
|
788
|
+
|
|
789
|
+
/**
|
|
790
|
+
*
|
|
791
|
+
* @returns 获取appList
|
|
792
|
+
*/
|
|
793
|
+
export const formatAppList = () => {
|
|
794
|
+
const appIdList = Storage.get('sm_appId_list') || [];
|
|
795
|
+
let newAppIdList = [];
|
|
796
|
+
try {
|
|
797
|
+
appIdList.forEach(item => {
|
|
798
|
+
newAppIdList.push({
|
|
799
|
+
value: item.appId,
|
|
800
|
+
name: item.appName,
|
|
801
|
+
});
|
|
802
|
+
});
|
|
803
|
+
} catch (event) {
|
|
804
|
+
console.err(event);
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
return newAppIdList;
|
|
808
|
+
};
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* 字符串是否是json 类型
|
|
812
|
+
* tangjian
|
|
813
|
+
* @param {*} str 传入的字符串
|
|
814
|
+
* @returns
|
|
815
|
+
*/
|
|
816
|
+
export const isJson = str => {
|
|
817
|
+
if (typeof str === 'string') {
|
|
818
|
+
try {
|
|
819
|
+
const obj = JSON.parse(str);
|
|
820
|
+
if (typeof obj === 'object' && obj) {
|
|
821
|
+
return obj;
|
|
822
|
+
}
|
|
823
|
+
return false;
|
|
824
|
+
} catch (error) {
|
|
825
|
+
return false;
|
|
826
|
+
}
|
|
827
|
+
}
|
|
828
|
+
};
|
|
829
|
+
|
|
830
|
+
export const formatLang = lang => {
|
|
831
|
+
if (lang === 'all' || lang === 'ALL') {
|
|
832
|
+
return undefined;
|
|
833
|
+
}
|
|
834
|
+
return lang;
|
|
835
|
+
};
|
|
836
|
+
|
|
837
|
+
export const getVarType = (variableList, varId) => {
|
|
838
|
+
|
|
839
|
+
const variable = _.find(variableList, {id: varId});
|
|
840
|
+
return variable ? variable.type : 'string';
|
|
841
|
+
};
|
|
842
|
+
|
|
843
|
+
// 获取禁止时间
|
|
844
|
+
export const getDisabledDate = (strat, end = 0) => {
|
|
845
|
+
if (strat > 0) {
|
|
846
|
+
|
|
847
|
+
return {
|
|
848
|
+
disabledDateStart: moment().subtract(end, 'days').startOf('day'),
|
|
849
|
+
disabledDateEnd: moment().subtract(strat - 1, 'days').startOf('day'),
|
|
850
|
+
};
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
return {};
|
|
854
|
+
};
|
|
855
|
+
const ARRAY_STR = '[]string';
|
|
856
|
+
const LIST = 'matchedList';
|
|
857
|
+
|
|
858
|
+
export const handleSearchUrl = params => {
|
|
859
|
+
try {
|
|
860
|
+
const {item, searchKey, searchKeyType, searchContent, newFilterData} = params;
|
|
861
|
+
const newFilterArray = JSON.parse(decodeURIComponent(searchKey));
|
|
862
|
+
const newMethodIndex = searchKeyType ? JSON.parse(decodeURIComponent(searchKeyType)) : [];
|
|
863
|
+
const newSearchContent = JSON.parse(decodeURIComponent(searchContent));
|
|
864
|
+
_.map(newFilterArray, (ele, index) => {
|
|
865
|
+
if (item.fieldTag === ele) {
|
|
866
|
+
const newIndex = searchKeyType ? newMethodIndex[index] : 0;
|
|
867
|
+
const filterMethod = item.method.filter(methodEle => methodEle.key === newIndex);
|
|
868
|
+
const newFieldMethod = filterMethod.length > 0 ? filterMethod : item.method;
|
|
869
|
+
// 只有名单名称需要根据逗号分割
|
|
870
|
+
const valueArray = ele === LIST ? newSearchContent[index].split(',') : [newSearchContent[index]];
|
|
871
|
+
const newValue = newFieldMethod[0]?.type === ARRAY_STR ? valueArray : newSearchContent[index];
|
|
872
|
+
const filterObj = {
|
|
873
|
+
fieldTag: newFilterArray[index],
|
|
874
|
+
method: newFieldMethod[0]?.key,
|
|
875
|
+
type: newFieldMethod[0]?.type,
|
|
876
|
+
enum: newFieldMethod[0]?.enum,
|
|
877
|
+
id: Number(new Date()) + index,
|
|
878
|
+
value: newValue,
|
|
879
|
+
};
|
|
880
|
+
newFilterData.push(filterObj);
|
|
881
|
+
}
|
|
882
|
+
});
|
|
883
|
+
} catch (error) {
|
|
884
|
+
|
|
885
|
+
}
|
|
886
|
+
};
|
|
887
|
+
|
|
888
|
+
/**
|
|
889
|
+
* 格式化变量
|
|
890
|
+
* @param variables
|
|
891
|
+
* @returns {Array}
|
|
892
|
+
*/
|
|
893
|
+
export const formatVariableList = variables => {
|
|
894
|
+
const classNameMap = {
|
|
895
|
+
input: '[输入变量]',
|
|
896
|
+
storage: '[存储变量]',
|
|
897
|
+
derive: '[衍生变量]',
|
|
898
|
+
statistic: '[统计变量]',
|
|
899
|
+
offline: '[离线变量]',
|
|
900
|
+
be: '[BE变量]',
|
|
901
|
+
ae: '[AE变量]',
|
|
902
|
+
};
|
|
903
|
+
const invalidVarArr = [
|
|
904
|
+
'input',
|
|
905
|
+
'storage',
|
|
906
|
+
'derive',
|
|
907
|
+
'statistic',
|
|
908
|
+
'be',
|
|
909
|
+
];
|
|
910
|
+
let newVar = [];
|
|
911
|
+
|
|
912
|
+
variables.forEach(details => {
|
|
913
|
+
if (invalidVarArr.indexOf(details.class) !== -1) {
|
|
914
|
+
switch (details.class) {
|
|
915
|
+
case 'input':
|
|
916
|
+
const definition = _.isObject(details.definition)
|
|
917
|
+
? details.definition : JSON.parse(details.definition);
|
|
918
|
+
const inputPath = _.isArray(definition.path) ? definition.path : [];
|
|
919
|
+
|
|
920
|
+
newVar.push({
|
|
921
|
+
id: inputPath.join('.'),
|
|
922
|
+
class: details.class,
|
|
923
|
+
type: details.type,
|
|
924
|
+
name: `${classNameMap[details.class]}${details.variableName}`,
|
|
925
|
+
});
|
|
926
|
+
break;
|
|
927
|
+
case 'storage':
|
|
928
|
+
const storagePath = 'profile.';
|
|
929
|
+
|
|
930
|
+
newVar.push({
|
|
931
|
+
id: storagePath + details.variableId,
|
|
932
|
+
class: details.class,
|
|
933
|
+
type: details.type,
|
|
934
|
+
name: `${classNameMap[details.class]}${details.variableName}`,
|
|
935
|
+
});
|
|
936
|
+
break;
|
|
937
|
+
case 'derive':
|
|
938
|
+
const derivePath = 'derive.';
|
|
939
|
+
|
|
940
|
+
newVar.push({
|
|
941
|
+
id: derivePath + details.variableId,
|
|
942
|
+
class: details.class,
|
|
943
|
+
type: details.type,
|
|
944
|
+
name: `${classNameMap[details.class]}${details.variableName}`,
|
|
945
|
+
});
|
|
946
|
+
break;
|
|
947
|
+
case 'statistic':
|
|
948
|
+
let statisticPath = 'redis-counter.';
|
|
949
|
+
|
|
950
|
+
newVar.push({
|
|
951
|
+
id: statisticPath + details.variableId,
|
|
952
|
+
class: details.class,
|
|
953
|
+
type: details.type,
|
|
954
|
+
name: `${classNameMap[details.class]}${details.variableName}`,
|
|
955
|
+
});
|
|
956
|
+
break;
|
|
957
|
+
default:
|
|
958
|
+
newVar.push({
|
|
959
|
+
id: details.variableId,
|
|
960
|
+
class: details.class,
|
|
961
|
+
type: details.type,
|
|
962
|
+
name: `${classNameMap[details.class]}${details.variableName}`,
|
|
963
|
+
});
|
|
964
|
+
break;
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
});
|
|
968
|
+
|
|
969
|
+
return _.uniqBy(newVar, 'id');
|
|
970
|
+
};
|
|
971
|
+
|
|
972
|
+
export const getMeta = (record, list) => {
|
|
973
|
+
const meta = record.meta;
|
|
974
|
+
let number = 0;
|
|
975
|
+
_.keys(meta).forEach(item => {
|
|
976
|
+
if (item.includes('left')) {
|
|
977
|
+
number++;
|
|
978
|
+
}
|
|
979
|
+
});
|
|
980
|
+
const data = defaultVariable(list);
|
|
981
|
+
const condiatesData = [];
|
|
982
|
+
for (let i = 0; i < number; i++) {
|
|
983
|
+
const result = list.filter(item => {
|
|
984
|
+
return item.id === meta[`left${i}_0`] || meta[`left${i}`];
|
|
985
|
+
});
|
|
986
|
+
const newData = _.cloneDeep(data);
|
|
987
|
+
const type = result[0] && result[0].type;
|
|
988
|
+
newData.left.definition.default = meta[`left${i}_0`] || meta[`left${i}`];
|
|
989
|
+
newData.left.definition.var = `left${i}_0`;
|
|
990
|
+
newData.left.definition.type = type;
|
|
991
|
+
newData.operator.definition.default = meta[`operator${i}_0`] || meta[`operator${i}`];
|
|
992
|
+
newData.operator.definition.var = `operator${i}_0`;
|
|
993
|
+
newData.operator.definition.condiates = OPERATOR_EXTRA[type];
|
|
994
|
+
newData.rightVal.definition.default = meta[`right${i}_0`] || meta[`right${i}`];
|
|
995
|
+
newData.rightVal.definition.var = `right${i}_0`;
|
|
996
|
+
if ((meta[`inputType${i}_0`] || meta[`inputType${i}`]) === 'val') {
|
|
997
|
+
newData.rightVal.definition.default = meta[`right${i}_0`] || meta[`right${i}`];
|
|
998
|
+
newData.rightVal.definition.var = `right${i}_0`;
|
|
999
|
+
condiatesData.push([newData.left, newData.operator, newData.rightVal]);
|
|
1000
|
+
}
|
|
1001
|
+
else {
|
|
1002
|
+
newData.rightVar.definition.default = meta[`right${i}_0`] || meta[`right${i}`];
|
|
1003
|
+
newData.rightVar.definition.var = `right${i}_0`;
|
|
1004
|
+
newData.rightVar.definition.condiates = list;
|
|
1005
|
+
condiatesData.push([newData.left, newData.operator, newData.rightVar]);
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
|
|
1009
|
+
return condiatesData;
|
|
1010
|
+
};
|
|
1011
|
+
|
|
1012
|
+
// 邮箱验证
|
|
1013
|
+
const mailValidator = (rule, value, callback) => {
|
|
1014
|
+
const re = /^[a-z0-9](?:[\w.\-+]*[a-z0-9])?@[a-z0-9][\w.-]*\.[a-z]{2,8}$/i;
|
|
1015
|
+
if (re.test(value)) {
|
|
1016
|
+
return callback();
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
return callback('格式不正确');
|
|
1020
|
+
};
|
|
1021
|
+
|
|
1022
|
+
// IP验证
|
|
1023
|
+
const ipValidator = (rule, value, callback, t) => {
|
|
1024
|
+
// eslint-disable-next-line max-len
|
|
1025
|
+
const v4reg = /^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/;
|
|
1026
|
+
const list = value.split('\n');
|
|
1027
|
+
let isPass = false;
|
|
1028
|
+
list.forEach((item, index) => {
|
|
1029
|
+
if (!v4reg.test(item)) {
|
|
1030
|
+
isPass = true;
|
|
1031
|
+
return;
|
|
1032
|
+
}
|
|
1033
|
+
});
|
|
1034
|
+
if (isPass) {
|
|
1035
|
+
return callback(t('IP格式不正确'));
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
return callback();
|
|
1039
|
+
};
|
|
1040
|
+
|
|
1041
|
+
export const getUid = () => {
|
|
1042
|
+
return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
|
|
1043
|
+
let r = (Math.random() * 16) | 0;
|
|
1044
|
+
let v = c === 'x' ? r : (r & 0x3) | 0x8;
|
|
1045
|
+
return v.toString(16);
|
|
1046
|
+
});
|
|
1047
|
+
};
|
|
1048
|
+
|
|
1049
|
+
export const formatRankSource = listData => {
|
|
1050
|
+
const newList = _.map(listData, (item, index) => {
|
|
1051
|
+
item.riskLevelCN = `${item.riskLevelCN}|${item.riskLevel}`;
|
|
1052
|
+
item.key = index;
|
|
1053
|
+
item.rank = index + 1;
|
|
1054
|
+
item.rejectRadio = `${Number(item.count * 100).toFixed(2)}%`;
|
|
1055
|
+
item.detail = {
|
|
1056
|
+
riskType: item.riskType,
|
|
1057
|
+
riskLevel: item.riskLevel,
|
|
1058
|
+
channel: item.channel,
|
|
1059
|
+
appId: item.appId,
|
|
1060
|
+
matchedItem: item.matchedItem,
|
|
1061
|
+
matchedList: item.matchedList,
|
|
1062
|
+
dimension: item.dimension,
|
|
1063
|
+
index,
|
|
1064
|
+
};
|
|
1065
|
+
if (item.imgUrl) {
|
|
1066
|
+
item.image = {
|
|
1067
|
+
name: item.imgMd5 || index,
|
|
1068
|
+
value: item.imgUrl,
|
|
1069
|
+
};
|
|
1070
|
+
}
|
|
1071
|
+
return item;
|
|
1072
|
+
});
|
|
1073
|
+
return newList;
|
|
1074
|
+
};
|
|
1075
|
+
|
|
1076
|
+
export const formatDataSource = listData => {
|
|
1077
|
+
const newList = _.map(listData, item => {
|
|
1078
|
+
const config = item.config || {};
|
|
1079
|
+
const checkItems = config.checkItems ? JSON.stringify(config.checkItems) : '[]';
|
|
1080
|
+
return {
|
|
1081
|
+
mdName: {
|
|
1082
|
+
name: item.name,
|
|
1083
|
+
path: __ASSETS_PREFIX__
|
|
1084
|
+
+ '/new/tianjing/sensitive/list/'
|
|
1085
|
+
+ `content?listName=${encodeURIComponent(item.name)}&listId=${item.listId}`
|
|
1086
|
+
+ `&checkItems=${checkItems}&operation=${config.operation}`,
|
|
1087
|
+
},
|
|
1088
|
+
name: item.name,
|
|
1089
|
+
checkItem: item.checkItemsCN.join('|') || '-',
|
|
1090
|
+
actionSuggest: `${item.actionCN}|${config.action}`,
|
|
1091
|
+
appName: item.appCN || '-',
|
|
1092
|
+
channelEvents: item.channelEventCN || '-',
|
|
1093
|
+
riskType: item.riskTypeCN || '-',
|
|
1094
|
+
riskLabel: item.risklabelCN || '-',
|
|
1095
|
+
operationCN: item.operationCN || '-',
|
|
1096
|
+
contentCount: item.itemCount,
|
|
1097
|
+
priority: item.priority,
|
|
1098
|
+
time:
|
|
1099
|
+
config.startTime && config.endTime && config.timeBased === '1'
|
|
1100
|
+
&& config.endTime !== '' && config.startTime !== ''
|
|
1101
|
+
&& config.endTime !== null && config.startTime !== null
|
|
1102
|
+
? `${moment(moment.unix(config.startTime)).format('YYYY-MM-DD HH:mm:ss')} 至 ${moment(
|
|
1103
|
+
moment.unix(config.endTime)
|
|
1104
|
+
).format('YYYY-MM-DD HH:mm:ss')}`
|
|
1105
|
+
: '永久',
|
|
1106
|
+
status: {
|
|
1107
|
+
checked: item.status === 1,
|
|
1108
|
+
disabled: item.type === 4,
|
|
1109
|
+
},
|
|
1110
|
+
operation: {
|
|
1111
|
+
hasTop: true,
|
|
1112
|
+
hasEdit: item.type !== 4,
|
|
1113
|
+
hasDelete: item.type !== 4,
|
|
1114
|
+
hasView: true,
|
|
1115
|
+
isTop: item.topLevel === 1,
|
|
1116
|
+
},
|
|
1117
|
+
listId: item.listId,
|
|
1118
|
+
list: item,
|
|
1119
|
+
key: item.listId,
|
|
1120
|
+
lang: item.langName || '全部',
|
|
1121
|
+
};
|
|
1122
|
+
});
|
|
1123
|
+
return newList;
|
|
1124
|
+
};
|
|
1125
|
+
|
|
1126
|
+
// 手机号验证
|
|
1127
|
+
const phoneValidator = (rule, value, callback, telValidator, t) => {
|
|
1128
|
+
const re = telValidator ? /^1[3456789]\d{9}$/ : /^\d{11}|\d$/;
|
|
1129
|
+
if (re.test(value) || !value) {
|
|
1130
|
+
return callback();
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
return callback(t('手机号格式不正确'));
|
|
1134
|
+
};
|
|
1135
|
+
|
|
1136
|
+
// 密码验证
|
|
1137
|
+
const passwordValidator = (rule, value, callback, t) => {
|
|
1138
|
+
const regex = /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)[^]{8,16}$/;
|
|
1139
|
+
if (regex.test(value) || !value) {
|
|
1140
|
+
return callback();
|
|
1141
|
+
};
|
|
1142
|
+
|
|
1143
|
+
return callback(t('密码长度应为8~16个字符并包含数字和大小写'));
|
|
1144
|
+
};
|
|
1145
|
+
// 生成随机字符串
|
|
1146
|
+
const randomStr = number => {
|
|
1147
|
+
let str = '';
|
|
1148
|
+
// eslint-disable-next-line max-len
|
|
1149
|
+
const array = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'];
|
|
1150
|
+
for (let i = 0; i < number; i++) {
|
|
1151
|
+
str += array[Math.round(Math.random() * (array.length - 1))];
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
return str;
|
|
1155
|
+
};
|
|
1156
|
+
|
|
1157
|
+
// 是否是私有化
|
|
1158
|
+
const isPrivate = () => {
|
|
1159
|
+
return _.get(Storage.get(LOCAL_STORAGE.SM_SAAS_INFO), 'isprivate', false); ;
|
|
1160
|
+
};
|
|
1161
|
+
|
|
1162
|
+
const setIcon = icoUrl => {
|
|
1163
|
+
const link = document.querySelector("link[rel*='icon']") || document.createElement('link');
|
|
1164
|
+
link.type = 'image/x-icon';
|
|
1165
|
+
link.rel = 'shortcut icon';
|
|
1166
|
+
link.href = icoUrl;
|
|
1167
|
+
document.getElementsByTagName('head')[0].appendChild(link);
|
|
1168
|
+
};
|
|
1169
|
+
|
|
1170
|
+
const getBase64 = file =>
|
|
1171
|
+
new Promise((resolve, reject) => {
|
|
1172
|
+
const reader = new FileReader();
|
|
1173
|
+
reader.readAsDataURL(file);
|
|
1174
|
+
reader.onload = () => resolve(reader.result);
|
|
1175
|
+
reader.onerror = error => reject(error);
|
|
1176
|
+
});
|
|
1177
|
+
|
|
1178
|
+
// 同步阻塞代码
|
|
1179
|
+
const sleep = delay => new Promise(resolve => setTimeout(resolve, delay));
|
|
1180
|
+
|
|
1181
|
+
// 替换把http协议替换成https
|
|
1182
|
+
const replaceProtocol = (url, organization) => {
|
|
1183
|
+
if ([SOME_SPECIAL_ORGANIZATION.JJWX].includes(organization)) {
|
|
1184
|
+
return url ? `https://${url.split('://')[1]}` : '';
|
|
1185
|
+
}
|
|
1186
|
+
return url;
|
|
1187
|
+
};
|
|
1188
|
+
|
|
1189
|
+
/**
|
|
1190
|
+
* 音频流、视频流开始时间、结束时间点击详情特殊处理;
|
|
1191
|
+
* @param {y} startTime 音频流音频流播放时长、视频流视频开始播放时间
|
|
1192
|
+
* @param {*} endTime 结束时间
|
|
1193
|
+
* @param {*} type 音频、视频类型
|
|
1194
|
+
*/
|
|
1195
|
+
const specialTimeParams = (startTime, endTime, type, storageTime) => {
|
|
1196
|
+
// 查询最小时间
|
|
1197
|
+
const leastTime = moment(moment().format('x') - (storageTime - 1) * DAY_TIMESTAMP).startOf('day').format('x');
|
|
1198
|
+
let newStartTime;
|
|
1199
|
+
switch (type) {
|
|
1200
|
+
case PAGE_DETAIL_TYPE.AUDIO_DETAIL:
|
|
1201
|
+
newStartTime = moment(endTime - startTime * 1000 - DAY_TIMESTAMP).startOf('day').format('x');
|
|
1202
|
+
break;
|
|
1203
|
+
case PAGE_DETAIL_TYPE.VIDEO_DETAIL:
|
|
1204
|
+
newStartTime = moment(startTime - DAY_TIMESTAMP).startOf('day').format('x');
|
|
1205
|
+
break;
|
|
1206
|
+
}
|
|
1207
|
+
// 当开始时间小于开始查询最低时间,用最低时间;
|
|
1208
|
+
return Math.max(newStartTime, leastTime);
|
|
1209
|
+
};
|
|
1210
|
+
|
|
1211
|
+
// 详情中 视频截帧、音频片段筛选
|
|
1212
|
+
const handleOperation = params => {
|
|
1213
|
+
const {
|
|
1214
|
+
record,
|
|
1215
|
+
type,
|
|
1216
|
+
serviceId,
|
|
1217
|
+
queryParams,
|
|
1218
|
+
rawValue,
|
|
1219
|
+
storageTime,
|
|
1220
|
+
} = params;
|
|
1221
|
+
let {startTime, endTime} = queryParams;
|
|
1222
|
+
if ([
|
|
1223
|
+
SERVICEID_LIST.POST_VIDEOSTREAM,
|
|
1224
|
+
SERVICEID_LIST.POST_VIDEOSTREAM_EN,
|
|
1225
|
+
SERVICEID_LIST.POST_VIDEOSTREAM_AR,
|
|
1226
|
+
].includes(serviceId)) {
|
|
1227
|
+
try {
|
|
1228
|
+
const {startTime: newStartTime, timestamp} = rawValue;
|
|
1229
|
+
// 视频流 流水号 截帧图片、片段筛选时间特殊处理
|
|
1230
|
+
startTime = specialTimeParams(newStartTime, timestamp, PAGE_DETAIL_TYPE.VIDEO_DETAIL, storageTime) * 1;
|
|
1231
|
+
endTime = timestamp;
|
|
1232
|
+
} catch (error) {
|
|
1233
|
+
console.error(error);
|
|
1234
|
+
}
|
|
1235
|
+
}
|
|
1236
|
+
if ([
|
|
1237
|
+
SERVICEID_LIST.POST_AUDIOSTREAM,
|
|
1238
|
+
SERVICEID_LIST.POST_AUDIOSTREAM_EN,
|
|
1239
|
+
SERVICEID_LIST.POST_AUDIOSTREAM_AR,
|
|
1240
|
+
].includes(serviceId)) {
|
|
1241
|
+
try {
|
|
1242
|
+
// 音频流 -点击详情 查询时间逻辑特殊处理
|
|
1243
|
+
const {timestamp, audioTime} = rawValue;
|
|
1244
|
+
startTime = specialTimeParams(audioTime, timestamp, PAGE_DETAIL_TYPE.AUDIO_DETAIL, storageTime) * 1;
|
|
1245
|
+
endTime = timestamp;
|
|
1246
|
+
} catch (error) {
|
|
1247
|
+
console.error(error);
|
|
1248
|
+
}
|
|
1249
|
+
}
|
|
1250
|
+
const encodeValue = encodeURIComponent(record.requestId);
|
|
1251
|
+
let searchQuery = `isScreen=true&startTime=${startTime}&endTime=${endTime}`
|
|
1252
|
+
+ `&searchKey=${HISTORY_COLUMN.REQUESTID}&searchContent=${encodeValue}`;
|
|
1253
|
+
window.open(__ASSETS_PREFIX__ + encodeURI(`${JUMP_URL_LIST[serviceId][type]}?${searchQuery}`));
|
|
1254
|
+
};
|
|
1255
|
+
|
|
1256
|
+
const getLength = dataList => {
|
|
1257
|
+
let list = [];
|
|
1258
|
+
dataList.forEach(item => {
|
|
1259
|
+
if (item.son) {
|
|
1260
|
+
list = getLength(item.son).concat(list);
|
|
1261
|
+
}
|
|
1262
|
+
list.push(item.id);
|
|
1263
|
+
});
|
|
1264
|
+
|
|
1265
|
+
return list;
|
|
1266
|
+
};
|
|
1267
|
+
|
|
1268
|
+
const formatDescription = (list, newList) => {
|
|
1269
|
+
const dataMap = {};
|
|
1270
|
+
_.forEach(list, item => {
|
|
1271
|
+
dataMap[JSON.stringify(item)] = true;
|
|
1272
|
+
});
|
|
1273
|
+
return _.filter(getOptionDataItem(newList), item => !dataMap[JSON.stringify(item)]);
|
|
1274
|
+
};
|
|
1275
|
+
|
|
1276
|
+
// 获取optionData全部选项
|
|
1277
|
+
const getOptionDataItem = dataSource => {
|
|
1278
|
+
const result = [];
|
|
1279
|
+
_.forEach(dataSource, item => {
|
|
1280
|
+
if (item.son && item.son.length) {
|
|
1281
|
+
// 递归调用,并将当前节点的属性值添加到路径中
|
|
1282
|
+
result.push(...getOptionDataItem(item.son).map(path => [item.label_value, ...path]));
|
|
1283
|
+
}
|
|
1284
|
+
else {
|
|
1285
|
+
// 将当前节点的属性值添加到结果数组中
|
|
1286
|
+
result.push([item.label_value]);
|
|
1287
|
+
};
|
|
1288
|
+
});
|
|
1289
|
+
return result;
|
|
1290
|
+
};
|
|
1291
|
+
|
|
1292
|
+
// zhangzhe 2023-06-09 获得最后传给后端的description
|
|
1293
|
+
// 如果一级标签下面全选了,只返回一级标签
|
|
1294
|
+
// 如果某个二级标签下面三级全选了,只返回二级标签
|
|
1295
|
+
const getFinalDescription = (selectedDescriptions, allDescription) => {
|
|
1296
|
+
const allDescriptions = getOptionDataItem(allDescription);
|
|
1297
|
+
function getHelperMap(allDescriptions) {
|
|
1298
|
+
const map = {};
|
|
1299
|
+
for (let i = 0; i < allDescriptions.length; i++) {
|
|
1300
|
+
// 一级
|
|
1301
|
+
const curDesc = allDescriptions[i];
|
|
1302
|
+
const level1 = curDesc[0];
|
|
1303
|
+
const level2 = curDesc[0] + curDesc[1];
|
|
1304
|
+
if (map[level1]) {
|
|
1305
|
+
map[level1]++;
|
|
1306
|
+
}
|
|
1307
|
+
else {
|
|
1308
|
+
map[level1] = 1;
|
|
1309
|
+
}
|
|
1310
|
+
if (map[level2]) {
|
|
1311
|
+
map[level2]++;
|
|
1312
|
+
}
|
|
1313
|
+
else {
|
|
1314
|
+
map[level2] = 1;
|
|
1315
|
+
}
|
|
1316
|
+
}
|
|
1317
|
+
return map;
|
|
1318
|
+
};
|
|
1319
|
+
const allDescHelperMap = getHelperMap(allDescriptions);
|
|
1320
|
+
const selectedDescHelperMap = getHelperMap(selectedDescriptions);
|
|
1321
|
+
const finalResult = [];
|
|
1322
|
+
const tempFlag = {};
|
|
1323
|
+
for (let i = 0; i < selectedDescriptions.length; i++) {
|
|
1324
|
+
// 先看一级是否全部选择
|
|
1325
|
+
const curDesc = selectedDescriptions[i];
|
|
1326
|
+
const level1 = curDesc[0];
|
|
1327
|
+
const level2 = curDesc[0] + curDesc[1];
|
|
1328
|
+
if (selectedDescHelperMap[level1] === allDescHelperMap[level1]) {
|
|
1329
|
+
// 代表一级下面全部选择了
|
|
1330
|
+
if (!tempFlag[level1]) {
|
|
1331
|
+
finalResult.push([level1]);
|
|
1332
|
+
tempFlag[level1] = true;
|
|
1333
|
+
}
|
|
1334
|
+
}
|
|
1335
|
+
else if (selectedDescHelperMap[level2] === allDescHelperMap[level2]) {
|
|
1336
|
+
if (!tempFlag[level2]) {
|
|
1337
|
+
finalResult.push([curDesc[0], curDesc[1]]);
|
|
1338
|
+
tempFlag[level2] = true;
|
|
1339
|
+
}
|
|
1340
|
+
}
|
|
1341
|
+
else {
|
|
1342
|
+
finalResult.push(curDesc);
|
|
1343
|
+
}
|
|
1344
|
+
}
|
|
1345
|
+
return finalResult;
|
|
1346
|
+
};
|
|
1347
|
+
|
|
1348
|
+
// 风险原因标签新增默认值 支持数组和 自定义key
|
|
1349
|
+
const findAllThirdLevelLabelsArray = (riskLabelOption, firstLevelLabelNames, label = 'label') => {
|
|
1350
|
+
const result = [];
|
|
1351
|
+
// 统一处理:将单个字符串转为数组,兼容两种入参形式
|
|
1352
|
+
const targetFirstLevelNames = Array.isArray(firstLevelLabelNames)
|
|
1353
|
+
? firstLevelLabelNames
|
|
1354
|
+
: [firstLevelLabelNames];
|
|
1355
|
+
// 遍历所有需要查询的一级标签名称
|
|
1356
|
+
for (const firstLevelLabelName of targetFirstLevelNames) {
|
|
1357
|
+
// 遍历一级标签列表
|
|
1358
|
+
for (const firstLevel of riskLabelOption) {
|
|
1359
|
+
if (firstLevel[label] === firstLevelLabelName) {
|
|
1360
|
+
// 一级标签下无二级标签:添加 [一级value]
|
|
1361
|
+
if (!firstLevel.son || !Array.isArray(firstLevel.son) || firstLevel.son.length === 0) {
|
|
1362
|
+
result.push([firstLevel.label_value]);
|
|
1363
|
+
break;
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
// 遍历二级标签
|
|
1367
|
+
for (const secondLevel of firstLevel.son) {
|
|
1368
|
+
// 二级标签下无三级标签:添加 [一级value, 二级value]
|
|
1369
|
+
if (!secondLevel.son || !Array.isArray(secondLevel.son) || secondLevel.son.length === 0) {
|
|
1370
|
+
result.push([firstLevel.label_value, secondLevel.label_value]);
|
|
1371
|
+
} else {
|
|
1372
|
+
// 有三级标签:添加 [一级value, 二级value, 三级value]
|
|
1373
|
+
for (const thirdLevel of secondLevel.son) {
|
|
1374
|
+
result.push([firstLevel.label_value, secondLevel.label_value, thirdLevel.label_value]);
|
|
1375
|
+
}
|
|
1376
|
+
}
|
|
1377
|
+
}
|
|
1378
|
+
break; // 找到当前一级标签后,跳出循环处理下一个目标一级标签
|
|
1379
|
+
}
|
|
1380
|
+
}
|
|
1381
|
+
}
|
|
1382
|
+
|
|
1383
|
+
return result;
|
|
1384
|
+
};
|
|
1385
|
+
|
|
1386
|
+
// 风险原因标签新增默认值
|
|
1387
|
+
const findAllThirdLevelLabels = (riskLabelOption, firstLevelLabelName) => {
|
|
1388
|
+
const result = [];
|
|
1389
|
+
// 遍历一级标签
|
|
1390
|
+
for (const firstLevel of riskLabelOption) {
|
|
1391
|
+
if (firstLevel.label_name === firstLevelLabelName) {
|
|
1392
|
+
// 如果一级标签下没有二级标签(son为空数组),返回 [一级label_value]
|
|
1393
|
+
if (!firstLevel.son || !Array.isArray(firstLevel.son) || firstLevel.son.length === 0) {
|
|
1394
|
+
result.push([firstLevel.label_value]);
|
|
1395
|
+
break;
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
// 遍历二级标签
|
|
1399
|
+
for (const secondLevel of firstLevel.son) {
|
|
1400
|
+
// 如果二级标签下没有三级标签(son为空数组),返回 [一级label_value, 二级label_value]
|
|
1401
|
+
if (!secondLevel.son || !Array.isArray(secondLevel.son) || secondLevel.son.length === 0) {
|
|
1402
|
+
result.push([firstLevel.label_value, secondLevel.label_value]);
|
|
1403
|
+
} else {
|
|
1404
|
+
// 遍历三级标签
|
|
1405
|
+
for (const thirdLevel of secondLevel.son) {
|
|
1406
|
+
result.push([firstLevel.label_value, secondLevel.label_value, thirdLevel.label_value]);
|
|
1407
|
+
}
|
|
1408
|
+
}
|
|
1409
|
+
}
|
|
1410
|
+
break;
|
|
1411
|
+
}
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1414
|
+
return result;
|
|
1415
|
+
};
|
|
1416
|
+
// 生成千分位
|
|
1417
|
+
const numMillimeter = num => {
|
|
1418
|
+
if (!num) {
|
|
1419
|
+
return 0;
|
|
1420
|
+
}
|
|
1421
|
+
return String(num).replace(/\d{1,3}(?=(\d{3})+(\.\d*)?$)/g, '$&,');
|
|
1422
|
+
};
|
|
1423
|
+
|
|
1424
|
+
const render = value => {
|
|
1425
|
+
// zhangzhe 2022-04-15 0还是要展示的
|
|
1426
|
+
if (value === 0) {
|
|
1427
|
+
return 0;
|
|
1428
|
+
}
|
|
1429
|
+
return (<span>{value || '-'}</span>);
|
|
1430
|
+
};
|
|
1431
|
+
|
|
1432
|
+
const wrapPopover = value => {
|
|
1433
|
+
if (value === '' || _.isNil(value)) {
|
|
1434
|
+
return '-';
|
|
1435
|
+
}
|
|
1436
|
+
return <Tooltip title={value} placement="topLeft" trigger="hover">{value}</Tooltip>;
|
|
1437
|
+
};
|
|
1438
|
+
|
|
1439
|
+
const arrayMove = (list, id, key, number) => {
|
|
1440
|
+
const newList = [];
|
|
1441
|
+
let moveData;
|
|
1442
|
+
_.forEach(list, item => {
|
|
1443
|
+
if (item && item[id] === key) {
|
|
1444
|
+
moveData = item;
|
|
1445
|
+
}
|
|
1446
|
+
else {
|
|
1447
|
+
newList.push(item);
|
|
1448
|
+
}
|
|
1449
|
+
});
|
|
1450
|
+
if (moveData) {
|
|
1451
|
+
newList.splice(number, 0, moveData);
|
|
1452
|
+
};
|
|
1453
|
+
return newList;
|
|
1454
|
+
};
|
|
1455
|
+
|
|
1456
|
+
const isImagePath = filePath => {
|
|
1457
|
+
const index = filePath.lastIndexOf('.');
|
|
1458
|
+
const ext = filePath.substring(index + 1);
|
|
1459
|
+
return ['png', 'jpg', 'jpeg', 'webp', 'gif'].indexOf(ext.toLowerCase()) > -1;
|
|
1460
|
+
};
|
|
1461
|
+
|
|
1462
|
+
/**
|
|
1463
|
+
* 把在线审核返回的数据格式化成和历史记录一样的[[0,1], [2, 3]]
|
|
1464
|
+
* 每一个一维数组代表文本中飘红的位置
|
|
1465
|
+
* @param {*} list
|
|
1466
|
+
* @param {*} key
|
|
1467
|
+
* @returns [[0,1], [2, 3]] 返回一个二维数组,在SMNewText改组件中进行飘红;
|
|
1468
|
+
*/
|
|
1469
|
+
const sensitiveWordsPosition = (list = [], key = 'position') => {
|
|
1470
|
+
return _.map(list, item => {
|
|
1471
|
+
const position = item[key];
|
|
1472
|
+
return [position[0], position[position.length - 1] ? position[position.length - 1] : position[0]];
|
|
1473
|
+
});
|
|
1474
|
+
};
|
|
1475
|
+
|
|
1476
|
+
const formatDataToString = text => {
|
|
1477
|
+
if (Array.isArray(text)) {
|
|
1478
|
+
text = text.join(',');
|
|
1479
|
+
} else if (text && typeof text === 'object') {
|
|
1480
|
+
text = JSON.stringify(text);
|
|
1481
|
+
}
|
|
1482
|
+
return text;
|
|
1483
|
+
};
|
|
1484
|
+
|
|
1485
|
+
const getDomain = () => {
|
|
1486
|
+
const hostname = window.location.hostname;
|
|
1487
|
+
let domain = '.ishumei.com';
|
|
1488
|
+
if (hostname.includes('deepcleer')) {
|
|
1489
|
+
domain = '.deepcleer.com';
|
|
1490
|
+
}
|
|
1491
|
+
return domain;
|
|
1492
|
+
};
|
|
1493
|
+
|
|
1494
|
+
export {
|
|
1495
|
+
mailValidator,
|
|
1496
|
+
phoneValidator,
|
|
1497
|
+
ipValidator,
|
|
1498
|
+
formatArrayParams,
|
|
1499
|
+
formatBoolean,
|
|
1500
|
+
randomStr,
|
|
1501
|
+
passwordValidator,
|
|
1502
|
+
isPrivate,
|
|
1503
|
+
setIcon,
|
|
1504
|
+
getBase64,
|
|
1505
|
+
sleep,
|
|
1506
|
+
replaceProtocol,
|
|
1507
|
+
handleOperation,
|
|
1508
|
+
getOptionDataItem,
|
|
1509
|
+
formatDescription,
|
|
1510
|
+
getFinalDescription,
|
|
1511
|
+
numMillimeter,
|
|
1512
|
+
render,
|
|
1513
|
+
wrapPopover,
|
|
1514
|
+
arrayMove,
|
|
1515
|
+
isImagePath,
|
|
1516
|
+
sensitiveWordsPosition,
|
|
1517
|
+
formatDataToString,
|
|
1518
|
+
findAllThirdLevelLabels,
|
|
1519
|
+
findAllThirdLevelLabelsArray,
|
|
1520
|
+
getDomain,
|
|
1521
|
+
};
|