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,1584 @@
|
|
|
1
|
+
/* eslint-disable max-len */
|
|
2
|
+
/* eslint-disable react/no-children-prop */
|
|
3
|
+
/**
|
|
4
|
+
* 天净-敏感词名单服务-全局敏感词名单
|
|
5
|
+
* 名单内容页面
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import React, { Component } from 'react';
|
|
9
|
+
import { connect, Link, history } from 'umi';
|
|
10
|
+
import lodash, { add, get } from 'lodash';
|
|
11
|
+
import { SMTable, SMModal } from 'sm-antd';
|
|
12
|
+
import {
|
|
13
|
+
Tooltip,
|
|
14
|
+
message,
|
|
15
|
+
Modal,
|
|
16
|
+
Space,
|
|
17
|
+
Button,
|
|
18
|
+
Spin,
|
|
19
|
+
Breadcrumb,
|
|
20
|
+
Popover,
|
|
21
|
+
Input,
|
|
22
|
+
} from 'antd';
|
|
23
|
+
|
|
24
|
+
import { getAuthFunction } from '@/utils/AuthorityManage';
|
|
25
|
+
import {AUTH_FUNCTION, ACCOUNT_ROLE, SM_ACCOUNT, tableText, LOCALE_TYPE} from '@/contants';
|
|
26
|
+
import {
|
|
27
|
+
formatSearchParams,
|
|
28
|
+
getUrlParams,
|
|
29
|
+
exportFile,
|
|
30
|
+
formatContents,
|
|
31
|
+
arryRepetition,
|
|
32
|
+
Storage,
|
|
33
|
+
formatCustomContents,
|
|
34
|
+
isPrivate,
|
|
35
|
+
} from '@/utils/utils';
|
|
36
|
+
import GlobalFilterListener from '@/components/GlobalFilterListener';
|
|
37
|
+
import SMIcon from '@/components/SMIcon';
|
|
38
|
+
import SMNoteTip from '@/components/SMNoteTip';
|
|
39
|
+
import SMLabelSearch from '@/components/SMLabelSearch';
|
|
40
|
+
import SMSelect from '@/components/SMSelect';
|
|
41
|
+
import SMAdminForm from '@/pages/pageComponents/mdPage/components/SMAdminForm';
|
|
42
|
+
import TotalCount from '@/components/TotalCount';
|
|
43
|
+
import SensitiveWordSpin from '@/components/SensitiveWordSpin';
|
|
44
|
+
import { LIST_CONTENT_URL, EXPORT_TOOLTIP, EXPORT_MD_TOOLTIP } from '@/contants/exportUrl';
|
|
45
|
+
import { PAGE_SIZE } from '@/contants/pageSize';
|
|
46
|
+
import withIntlComponents from '@/hoc/withIntlComponents';
|
|
47
|
+
import {getIntlTableColums} from '@/utils/helpers';
|
|
48
|
+
import {experimentChecklist} from '@/services/mingdan';
|
|
49
|
+
|
|
50
|
+
import MdContentImportModal from '../../components/MdContentImportModal';
|
|
51
|
+
import SensitivewordHintModal from '../../components/SensitivewordHintModal/index';
|
|
52
|
+
import MdContentModal from '../../components/MdContentModal';
|
|
53
|
+
import SMPopConfirm from '../../components/SMPopConfirm';
|
|
54
|
+
import {
|
|
55
|
+
ASR_OCR,
|
|
56
|
+
getVideoStreamState,
|
|
57
|
+
GLOBAL,
|
|
58
|
+
LIST_CONTENT_TYPE,
|
|
59
|
+
} from '../../list/CommonType/contants';
|
|
60
|
+
import {getRealProduct, NEXUS_PRODUCT_MAP} from '../../constants';
|
|
61
|
+
|
|
62
|
+
import styles from './index.less';
|
|
63
|
+
import tipImg from './img/tip.png';
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
const { ModalType } = SMModal;
|
|
67
|
+
|
|
68
|
+
const { confirm } = Modal;
|
|
69
|
+
class ListContent extends Component {
|
|
70
|
+
constructor(props) {
|
|
71
|
+
super(props);
|
|
72
|
+
this.state = {
|
|
73
|
+
tableDataSource: [],
|
|
74
|
+
listTotalCount: 0, // 列表总数
|
|
75
|
+
currentPage: 1, // 当前列表页码
|
|
76
|
+
pageSize: 20, // 当前列表分页
|
|
77
|
+
pageSizeOptions: PAGE_SIZE,
|
|
78
|
+
queryParams: {}, // 列表搜索参数
|
|
79
|
+
noteInfo: '根据您的需求,添加符合要求的名单内容',
|
|
80
|
+
isSMShow: false,
|
|
81
|
+
listId: '',
|
|
82
|
+
listName: '',
|
|
83
|
+
checkItems: '[]',
|
|
84
|
+
operation: '',
|
|
85
|
+
product: '',
|
|
86
|
+
isCustom: false,
|
|
87
|
+
isSensitive: false,
|
|
88
|
+
exportLoading: false, // 导出按钮loading状态
|
|
89
|
+
selectedContents: [], // 当前选中的名单内容
|
|
90
|
+
contentModalVisible: false,
|
|
91
|
+
contentModalType: 'add',
|
|
92
|
+
importModalVisible: false,
|
|
93
|
+
importModalType: 'add',
|
|
94
|
+
contentMoveModalVisible: false,
|
|
95
|
+
contentModalDefaultValue: {},
|
|
96
|
+
moveConfirmVisible: false,
|
|
97
|
+
moveFormVisible: false,
|
|
98
|
+
moveFormType: 'delete',
|
|
99
|
+
moreDelete: [],
|
|
100
|
+
listType: 4, // 当前名单列表类型
|
|
101
|
+
mdDataList: [], // 名单列表,用于移动
|
|
102
|
+
currentMdListId: null, // 当前选择的名单, 移动用
|
|
103
|
+
remark: '', // 备注信息
|
|
104
|
+
sensitiveWordSpin: false,
|
|
105
|
+
fileUrl: [],
|
|
106
|
+
isVideoStreamEngOrAlb: getVideoStreamState(location.pathname),
|
|
107
|
+
authConfig: {
|
|
108
|
+
// 账号角色权限
|
|
109
|
+
canCreate: false,
|
|
110
|
+
canDelete: false,
|
|
111
|
+
canMove: false,
|
|
112
|
+
canEdit: false,
|
|
113
|
+
canExport: false,
|
|
114
|
+
canBatchCreate: false,
|
|
115
|
+
canBatchDelete: false,
|
|
116
|
+
},
|
|
117
|
+
pageRoute: {
|
|
118
|
+
name: '',
|
|
119
|
+
path: '',
|
|
120
|
+
},
|
|
121
|
+
currentGlobalFilter: {
|
|
122
|
+
organization: '',
|
|
123
|
+
appId: '',
|
|
124
|
+
clusterId: '',
|
|
125
|
+
},
|
|
126
|
+
defaultLabelSearchData: {
|
|
127
|
+
placeholder: '搜索名单内容',
|
|
128
|
+
addonBefore: false,
|
|
129
|
+
optionData: [
|
|
130
|
+
{
|
|
131
|
+
value: 'content',
|
|
132
|
+
name: '名单内容',
|
|
133
|
+
},
|
|
134
|
+
],
|
|
135
|
+
},
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
UNSAFE_componentWillMount() {
|
|
140
|
+
const { stateConfig } = this.props;
|
|
141
|
+
const { listId = '', listName = '', checkItems = '[]', operation = '', isSensitive, isCustom, action } = getUrlParams(
|
|
142
|
+
location.href
|
|
143
|
+
);
|
|
144
|
+
if (stateConfig) {
|
|
145
|
+
this.setState({
|
|
146
|
+
listId,
|
|
147
|
+
listName,
|
|
148
|
+
checkItems,
|
|
149
|
+
operation,
|
|
150
|
+
isSensitive,
|
|
151
|
+
isCustom,
|
|
152
|
+
action,
|
|
153
|
+
...stateConfig,
|
|
154
|
+
});
|
|
155
|
+
} else {
|
|
156
|
+
this.setState({
|
|
157
|
+
listId,
|
|
158
|
+
listName,
|
|
159
|
+
checkItems,
|
|
160
|
+
operation,
|
|
161
|
+
isSensitive,
|
|
162
|
+
isCustom,
|
|
163
|
+
action,
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* 列表文本类型 展示
|
|
169
|
+
* @param {*} text
|
|
170
|
+
* @param {*} record
|
|
171
|
+
* @param {*} index
|
|
172
|
+
*/
|
|
173
|
+
textRender = text => {
|
|
174
|
+
const toolTipTitle = <span className={styles.tooltip}>{text}</span>;
|
|
175
|
+
return (
|
|
176
|
+
<Tooltip title={toolTipTitle} placement="left">
|
|
177
|
+
<span className={styles.text}>{text}</span>
|
|
178
|
+
</Tooltip>
|
|
179
|
+
);
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* 列表时间类型展示
|
|
184
|
+
* @param {*} text
|
|
185
|
+
* @param {*} record
|
|
186
|
+
* @param {*} index
|
|
187
|
+
*/
|
|
188
|
+
timeRender = text => {
|
|
189
|
+
const contentText = text.slice(5);
|
|
190
|
+
const toolTipTitle = <span className={styles.tooltip}>{text}</span>;
|
|
191
|
+
return (
|
|
192
|
+
<Tooltip title={toolTipTitle} placement="left">
|
|
193
|
+
<span className={styles.text}>{contentText}</span>
|
|
194
|
+
</Tooltip>
|
|
195
|
+
);
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* 路由跳转
|
|
200
|
+
* @param {*} text
|
|
201
|
+
* @param {*} record
|
|
202
|
+
* @param {*} index
|
|
203
|
+
*/
|
|
204
|
+
routeJumpRender = text => {
|
|
205
|
+
const { name, path } = text;
|
|
206
|
+
return <Link to={path}>{name}</Link>;
|
|
207
|
+
};
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* 操作类型 渲染(编辑,删除)
|
|
211
|
+
* @param {*} text
|
|
212
|
+
* @param {*} record
|
|
213
|
+
* @param {*} index
|
|
214
|
+
*/
|
|
215
|
+
operationRender = (text, record) => {
|
|
216
|
+
const { globalSensitive = false, route, subType, isLab } = this.props;
|
|
217
|
+
const {action} = this.state;
|
|
218
|
+
|
|
219
|
+
const { hasEdit = true, hasDelete = true } = text;
|
|
220
|
+
const { mdContent, remark } = record;
|
|
221
|
+
const { authConfig, isSMShow, moveFormVisible, type, currentGlobalFilter } = this.state;
|
|
222
|
+
const { canEdit, canDelete } = authConfig;
|
|
223
|
+
|
|
224
|
+
const serviceId = route?.routeData?.serviceId;
|
|
225
|
+
|
|
226
|
+
return (
|
|
227
|
+
<Space size={16}>
|
|
228
|
+
{hasEdit && canEdit ? (
|
|
229
|
+
<SMIcon
|
|
230
|
+
type="icon-xiugai"
|
|
231
|
+
onClick={() => {
|
|
232
|
+
this.showMdContentModal('modify', {
|
|
233
|
+
contents: mdContent,
|
|
234
|
+
remark,
|
|
235
|
+
});
|
|
236
|
+
}}
|
|
237
|
+
/>
|
|
238
|
+
) : null}
|
|
239
|
+
{hasDelete && canDelete ? !isSMShow && currentGlobalFilter.organization === 'GLOBAL' && !globalSensitive
|
|
240
|
+
? (
|
|
241
|
+
<div onClick={() => {
|
|
242
|
+
this.setState({
|
|
243
|
+
moveFormVisible: true,
|
|
244
|
+
moveFormType: 'delete',
|
|
245
|
+
moreDelete: [mdContent],
|
|
246
|
+
});
|
|
247
|
+
}}
|
|
248
|
+
>
|
|
249
|
+
<SMIcon type="icon-shanchuxuanzhong" />
|
|
250
|
+
</div>
|
|
251
|
+
) : (
|
|
252
|
+
<SMPopConfirm
|
|
253
|
+
title="请确认是否删除名单内容"
|
|
254
|
+
placeholder="请输入删除名单原因"
|
|
255
|
+
hasTextArea
|
|
256
|
+
isLab={isLab && action !== 'IGNORE'}
|
|
257
|
+
onConfirm={(value, cb, labValue) => {
|
|
258
|
+
if (isLab && labValue === '1' && action !== 'IGNORE') {
|
|
259
|
+
this.addMdContent({contents: [mdContent], cb, remark: value, hasEnteredLab: labValue, type: 'delete'});
|
|
260
|
+
}
|
|
261
|
+
else {
|
|
262
|
+
this.deleteMdContent(
|
|
263
|
+
[mdContent],
|
|
264
|
+
cb,
|
|
265
|
+
value,
|
|
266
|
+
isLab && labValue === '1' && action !== 'IGNORE'
|
|
267
|
+
);
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
children={<SMIcon type="icon-shanchuxuanzhong" />}
|
|
272
|
+
/>
|
|
273
|
+
)
|
|
274
|
+
: null}
|
|
275
|
+
{!canDelete && !canEdit ? <span>-</span> : null}
|
|
276
|
+
</Space>
|
|
277
|
+
);
|
|
278
|
+
};
|
|
279
|
+
getProduct = () => {
|
|
280
|
+
const { route, stateConfig } = this.props;
|
|
281
|
+
|
|
282
|
+
const { isVideoStreamEngOrAlb, currentGlobalFilter, product } = this.state;
|
|
283
|
+
const { isGlobalProduct, isOrganizationProduct } = stateConfig;
|
|
284
|
+
const { organization } = currentGlobalFilter;
|
|
285
|
+
const serviceId = route.routeData.serviceId;
|
|
286
|
+
|
|
287
|
+
if (product) {
|
|
288
|
+
return product;
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
// 天枢 NEXUS 服务 product 映射
|
|
292
|
+
const isTianShu = location.pathname.includes('/new/tianShu');
|
|
293
|
+
if (isTianShu && NEXUS_PRODUCT_MAP[serviceId]) {
|
|
294
|
+
return NEXUS_PRODUCT_MAP[serviceId];
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
if (isVideoStreamEngOrAlb || isGlobalProduct || (organization === GLOBAL && isOrganizationProduct)) {
|
|
298
|
+
return ASR_OCR[route.routeData.serviceId];
|
|
299
|
+
}
|
|
300
|
+
return route.routeData.serviceId;
|
|
301
|
+
};
|
|
302
|
+
|
|
303
|
+
getCommonParams = () => {
|
|
304
|
+
const {route} = this.props;
|
|
305
|
+
const {subType, channelType} = this.state;
|
|
306
|
+
const serviceId = route.routeData.serviceId;
|
|
307
|
+
const isTianShu = location.pathname.includes('/new/tianShu');
|
|
308
|
+
|
|
309
|
+
// 天枢 NEXUS 服务只返回 channelType
|
|
310
|
+
if (isTianShu) {
|
|
311
|
+
return {
|
|
312
|
+
channelType,
|
|
313
|
+
};
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
return {
|
|
317
|
+
subType,
|
|
318
|
+
realServiceId: serviceId,
|
|
319
|
+
realProduct: getRealProduct(subType, serviceId),
|
|
320
|
+
};
|
|
321
|
+
};
|
|
322
|
+
|
|
323
|
+
getOrganization = () => {
|
|
324
|
+
const { globalSensitive } = this.props;
|
|
325
|
+
return globalSensitive ? 'GLOBAL' : this.state.currentGlobalFilter.organization;
|
|
326
|
+
};
|
|
327
|
+
/**
|
|
328
|
+
* 删除名单内容
|
|
329
|
+
* @param {Array} contents 名单内容数组
|
|
330
|
+
* @param {Function} cb 回调函数
|
|
331
|
+
*/
|
|
332
|
+
async deleteMdContent(contents, cb, value, isLab) {
|
|
333
|
+
const {t} = this.props;
|
|
334
|
+
if (contents.length === 0) {
|
|
335
|
+
message.error(t('请选择要删除的名单内容!'));
|
|
336
|
+
cb && cb();
|
|
337
|
+
return;
|
|
338
|
+
}
|
|
339
|
+
const { dispatch, route } = this.props;
|
|
340
|
+
const { code, Message } = await dispatch({
|
|
341
|
+
type: 'mingdan/deleteMdContent',
|
|
342
|
+
payload: {
|
|
343
|
+
listId: isLab ? `${this.state.listId}__delete` : this.state.listId,
|
|
344
|
+
organization: this.getOrganization(),
|
|
345
|
+
product: this.getProduct(),
|
|
346
|
+
contents: contents,
|
|
347
|
+
remarks: value ? [value] : [],
|
|
348
|
+
...this.getCommonParams(),
|
|
349
|
+
},
|
|
350
|
+
});
|
|
351
|
+
if (code === 1100) {
|
|
352
|
+
message.success(t('删除成功,预计5分钟内生效'));
|
|
353
|
+
cb && cb();
|
|
354
|
+
if (this.state.tableDataSource.length === contents.length) {
|
|
355
|
+
this.doSearch(1);
|
|
356
|
+
return;
|
|
357
|
+
}
|
|
358
|
+
this.doSearch();
|
|
359
|
+
} else {
|
|
360
|
+
cb && cb();
|
|
361
|
+
message.error(Message);
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* 移动名单内容
|
|
367
|
+
* @param {*} contents 名单内容数组
|
|
368
|
+
*/
|
|
369
|
+
async moveMdContent(contents) {
|
|
370
|
+
const {t} = this.props;
|
|
371
|
+
if (contents.length === 0) {
|
|
372
|
+
message.error(t('请选择要移动的名单内容!'));
|
|
373
|
+
return;
|
|
374
|
+
} else if (!this.state.currentMdListId) {
|
|
375
|
+
message.error(t('请选择名单'));
|
|
376
|
+
return;
|
|
377
|
+
}
|
|
378
|
+
const { dispatch, route } = this.props;
|
|
379
|
+
const { code, Message } = await dispatch({
|
|
380
|
+
type: 'mingdan/batchMove',
|
|
381
|
+
payload: {
|
|
382
|
+
listId: this.state.currentMdListId,
|
|
383
|
+
sourceListId: this.state.listId,
|
|
384
|
+
organization: this.getOrganization(),
|
|
385
|
+
product: this.getProduct(),
|
|
386
|
+
contents: contents,
|
|
387
|
+
remarks: this.state.remark ? [this.state.remark] : [],
|
|
388
|
+
...this.getCommonParams(),
|
|
389
|
+
},
|
|
390
|
+
});
|
|
391
|
+
if (code === 1100) {
|
|
392
|
+
message.success(t('移动成功,预计5分钟内生效'));
|
|
393
|
+
this.setState(
|
|
394
|
+
{
|
|
395
|
+
moveConfirmVisible: false,
|
|
396
|
+
},
|
|
397
|
+
() => {
|
|
398
|
+
this.doSearch();
|
|
399
|
+
}
|
|
400
|
+
);
|
|
401
|
+
} else {
|
|
402
|
+
message.error(Message);
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* 展示新增或修改名单内容弹窗
|
|
408
|
+
* @param {*} type 弹窗类型 新增 || 修改
|
|
409
|
+
* @param {*} defaultValue 默认值
|
|
410
|
+
*/
|
|
411
|
+
showMdContentModal(type, defaultValue) {
|
|
412
|
+
this.setState({
|
|
413
|
+
contentModalVisible: true,
|
|
414
|
+
contentModalType: type,
|
|
415
|
+
contentModalDefaultValue: defaultValue,
|
|
416
|
+
});
|
|
417
|
+
}
|
|
418
|
+
/**
|
|
419
|
+
* 展示 批量导入或删除名单内容弹窗
|
|
420
|
+
* @param {*} type
|
|
421
|
+
*/
|
|
422
|
+
showMdContentImportModal(type) {
|
|
423
|
+
this.setState({
|
|
424
|
+
importModalType: type,
|
|
425
|
+
importModalVisible: true,
|
|
426
|
+
});
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* 新增名单内容
|
|
431
|
+
* @param {*} values
|
|
432
|
+
*/
|
|
433
|
+
async addMdContent(values) {
|
|
434
|
+
const {dispatch, route, t, isLab} = this.props;
|
|
435
|
+
const { contents, remark, type, cb } = values;
|
|
436
|
+
const params = {
|
|
437
|
+
listId: this.state.listId,
|
|
438
|
+
organization: this.getOrganization(),
|
|
439
|
+
product: this.getProduct(),
|
|
440
|
+
contents: lodash.isArray(contents) ? contents : (contents ? formatCustomContents(contents) : []),
|
|
441
|
+
remarks: remark ? [remark.trim()] : [],
|
|
442
|
+
...this.getCommonParams(),
|
|
443
|
+
};
|
|
444
|
+
if (isLab && values.hasEnteredLab === '1') {
|
|
445
|
+
params.listId = `${params.listId}__${type === 'delete' ? 'delete' : 'add'}`;
|
|
446
|
+
}
|
|
447
|
+
const { code, Message } = await dispatch({
|
|
448
|
+
type: 'mingdan/addMdContent',
|
|
449
|
+
payload: params,
|
|
450
|
+
});
|
|
451
|
+
if (code === 1100) {
|
|
452
|
+
message.success(t('新增成功,预计5分钟内生效'));
|
|
453
|
+
this.setState(
|
|
454
|
+
{
|
|
455
|
+
contentModalVisible: false,
|
|
456
|
+
},
|
|
457
|
+
() => {
|
|
458
|
+
cb && cb();
|
|
459
|
+
this.doSearch();
|
|
460
|
+
}
|
|
461
|
+
);
|
|
462
|
+
} else {
|
|
463
|
+
message.error(t(Message || '操作失败!'));
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
/**
|
|
468
|
+
* 更新名单内容
|
|
469
|
+
* @param {*} newValues 新值
|
|
470
|
+
* @param {*} oldValues 旧值
|
|
471
|
+
*/
|
|
472
|
+
async updateMdContent(newValues, oldValues) {
|
|
473
|
+
const {dispatch, route, t} = this.props;
|
|
474
|
+
const { contents, remark } = newValues;
|
|
475
|
+
const oldContent = oldValues.contents;
|
|
476
|
+
const { code, Message } = await dispatch({
|
|
477
|
+
type: 'mingdan/updateMdContent',
|
|
478
|
+
payload: {
|
|
479
|
+
listId: this.state.listId,
|
|
480
|
+
organization: this.getOrganization(),
|
|
481
|
+
product: this.getProduct(),
|
|
482
|
+
newContent: contents,
|
|
483
|
+
oldContent: oldContent,
|
|
484
|
+
remark: remark,
|
|
485
|
+
...this.getCommonParams(),
|
|
486
|
+
},
|
|
487
|
+
});
|
|
488
|
+
if (code === 1100) {
|
|
489
|
+
message.success(t('修改成功,预计5分钟内生效'));
|
|
490
|
+
this.setState(
|
|
491
|
+
{
|
|
492
|
+
contentModalVisible: false,
|
|
493
|
+
},
|
|
494
|
+
() => {
|
|
495
|
+
this.doSearch();
|
|
496
|
+
}
|
|
497
|
+
);
|
|
498
|
+
} else {
|
|
499
|
+
message.error(t(Message || '操作失败!'));
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* 批量导入/删除 先上传文件
|
|
505
|
+
* @param {*} fileList
|
|
506
|
+
* @param {*} type
|
|
507
|
+
*/
|
|
508
|
+
uploadFile = async (fileList, type, remark, hasEnteredLab) => {
|
|
509
|
+
const {dispatch, t, route, isLab} = this.props;
|
|
510
|
+
const serviceId = route?.routeData?.serviceId;
|
|
511
|
+
const lab_entry = isLab && hasEnteredLab === '1';
|
|
512
|
+
const formData = new FormData();
|
|
513
|
+
|
|
514
|
+
fileList.forEach(file => {
|
|
515
|
+
formData.append('file', file);
|
|
516
|
+
});
|
|
517
|
+
if (type === 'delete') {
|
|
518
|
+
confirm({
|
|
519
|
+
title: t('删除名单内容确认'),
|
|
520
|
+
centered: true,
|
|
521
|
+
icon: <img src={tipImg} className={styles['icon-tip']} />,
|
|
522
|
+
content: t('此操作会删除文件内的所有名单内容,请确认是否删除?'),
|
|
523
|
+
onOk: async () => {
|
|
524
|
+
const { code, content } = await dispatch({
|
|
525
|
+
type: 'mingdan/uploadFile',
|
|
526
|
+
payload: formData,
|
|
527
|
+
});
|
|
528
|
+
if (code === 1100) {
|
|
529
|
+
content.remarks = remark ? [remark] : [];
|
|
530
|
+
if (lab_entry) {
|
|
531
|
+
this.batchAdd({...content, isLab: lab_entry});
|
|
532
|
+
}
|
|
533
|
+
else {
|
|
534
|
+
this.batchDelete({...content, isLab: lab_entry});
|
|
535
|
+
}
|
|
536
|
+
} else {
|
|
537
|
+
message.error(t('上传失败!'));
|
|
538
|
+
}
|
|
539
|
+
},
|
|
540
|
+
onCancel: () => {
|
|
541
|
+
this.setState({
|
|
542
|
+
importModalVisible: false,
|
|
543
|
+
});
|
|
544
|
+
},
|
|
545
|
+
});
|
|
546
|
+
} else {
|
|
547
|
+
const { code, content } = await dispatch({
|
|
548
|
+
type: 'mingdan/uploadFile',
|
|
549
|
+
payload: formData,
|
|
550
|
+
});
|
|
551
|
+
if (code === 1100) {
|
|
552
|
+
content.remarks = remark ? [remark] : [];
|
|
553
|
+
this.batchAdd({...content, isLab: lab_entry});
|
|
554
|
+
} else {
|
|
555
|
+
message.error(t('上传失败!'));
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
};
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* 批量导入文件
|
|
562
|
+
* @param {*} content
|
|
563
|
+
*/
|
|
564
|
+
batchAdd = async content => {
|
|
565
|
+
const {dispatch, route, t} = this.props;
|
|
566
|
+
const {url, remarks, isLab} = content;
|
|
567
|
+
const {importModalType} = this.state;
|
|
568
|
+
const payload = {
|
|
569
|
+
organization: this.getOrganization(),
|
|
570
|
+
listId: this.state.listId,
|
|
571
|
+
product: this.getProduct(),
|
|
572
|
+
url: url,
|
|
573
|
+
remarks,
|
|
574
|
+
...this.getCommonParams(),
|
|
575
|
+
};
|
|
576
|
+
if (isLab) {
|
|
577
|
+
payload.listId = `${this.state.listId}__${importModalType}`;
|
|
578
|
+
}
|
|
579
|
+
const { code, Message } = await dispatch({
|
|
580
|
+
type: 'mingdan/batchAdd',
|
|
581
|
+
payload: payload,
|
|
582
|
+
});
|
|
583
|
+
if (code === 1100) {
|
|
584
|
+
message.success(t('批量导入成功,预计5分钟内生效'));
|
|
585
|
+
this.setState(
|
|
586
|
+
{
|
|
587
|
+
importModalVisible: false,
|
|
588
|
+
},
|
|
589
|
+
() => {
|
|
590
|
+
this.doSearch();
|
|
591
|
+
}
|
|
592
|
+
);
|
|
593
|
+
} else {
|
|
594
|
+
message.error(Message);
|
|
595
|
+
}
|
|
596
|
+
};
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* 批量删除文件
|
|
600
|
+
* @param {*} content
|
|
601
|
+
*/
|
|
602
|
+
batchDelete = async content => {
|
|
603
|
+
const {dispatch, route, t} = this.props;
|
|
604
|
+
const {url, remarks, isLab} = content;
|
|
605
|
+
const payload = {
|
|
606
|
+
organization: this.getOrganization(),
|
|
607
|
+
listId: this.state.listId,
|
|
608
|
+
product: this.getProduct(),
|
|
609
|
+
url: url,
|
|
610
|
+
remarks,
|
|
611
|
+
...this.getCommonParams(),
|
|
612
|
+
};
|
|
613
|
+
if (isLab) {
|
|
614
|
+
payload.listId = `${this.state.listId}__delete`;
|
|
615
|
+
}
|
|
616
|
+
const { code, Message } = await dispatch({
|
|
617
|
+
type: 'mingdan/batchDelete',
|
|
618
|
+
payload,
|
|
619
|
+
});
|
|
620
|
+
if (code === 1100) {
|
|
621
|
+
message.success(t('批量删除成功,预计5分钟内生效'));
|
|
622
|
+
this.setState(
|
|
623
|
+
{
|
|
624
|
+
importModalVisible: false,
|
|
625
|
+
},
|
|
626
|
+
() => {
|
|
627
|
+
this.doSearch();
|
|
628
|
+
}
|
|
629
|
+
);
|
|
630
|
+
} else {
|
|
631
|
+
message.error(Message);
|
|
632
|
+
}
|
|
633
|
+
};
|
|
634
|
+
|
|
635
|
+
globalFilterChange = obj => {
|
|
636
|
+
const {
|
|
637
|
+
|
|
638
|
+
currentGlobalFilter,
|
|
639
|
+
} = obj;
|
|
640
|
+
this.setState(
|
|
641
|
+
{
|
|
642
|
+
currentGlobalFilter,
|
|
643
|
+
listLoading: true,
|
|
644
|
+
},
|
|
645
|
+
async () => {
|
|
646
|
+
this.updateOperationAuth();
|
|
647
|
+
this.getMdList();
|
|
648
|
+
this.doSearch();
|
|
649
|
+
}
|
|
650
|
+
);
|
|
651
|
+
};
|
|
652
|
+
|
|
653
|
+
// 请求搜索
|
|
654
|
+
doSearch(page) {
|
|
655
|
+
this.setState(
|
|
656
|
+
{
|
|
657
|
+
listLoading: true,
|
|
658
|
+
currentPage: page ? 1 : this.state.currentPage,
|
|
659
|
+
selectedContents: [],
|
|
660
|
+
},
|
|
661
|
+
() => {
|
|
662
|
+
this.getMdContentList();
|
|
663
|
+
}
|
|
664
|
+
);
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
// 获取名单内容列表
|
|
668
|
+
async getMdContentList() {
|
|
669
|
+
const { dispatch } = this.props;
|
|
670
|
+
const newParams = this.getSearchParams();
|
|
671
|
+
const { listData, totalCount } = await dispatch({
|
|
672
|
+
type: 'mingdan/getMdContentList',
|
|
673
|
+
payload: newParams,
|
|
674
|
+
});
|
|
675
|
+
this.setState(
|
|
676
|
+
{
|
|
677
|
+
listData,
|
|
678
|
+
listTotalCount: totalCount,
|
|
679
|
+
},
|
|
680
|
+
() => {
|
|
681
|
+
if (listData.length) {
|
|
682
|
+
let dataSource = this.formatData(listData);
|
|
683
|
+
this.setState({
|
|
684
|
+
tableDataSource: dataSource,
|
|
685
|
+
listLoading: false,
|
|
686
|
+
});
|
|
687
|
+
} else {
|
|
688
|
+
this.setState({
|
|
689
|
+
tableDataSource: [],
|
|
690
|
+
listLoading: false,
|
|
691
|
+
});
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
);
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
// 获取名单列表
|
|
698
|
+
async getMdList() {
|
|
699
|
+
const { dispatch, route, stateConfig } = this.props;
|
|
700
|
+
const {
|
|
701
|
+
listType,
|
|
702
|
+
subType = '',
|
|
703
|
+
channelType = '',
|
|
704
|
+
reuseGlobal = '',
|
|
705
|
+
checkItems,
|
|
706
|
+
operation,
|
|
707
|
+
} = this.state;
|
|
708
|
+
|
|
709
|
+
let searchParams = {
|
|
710
|
+
organization: this.getOrganization(),
|
|
711
|
+
product: this.getProduct(),
|
|
712
|
+
type: this.state.listType,
|
|
713
|
+
checkItems: JSON.parse(checkItems),
|
|
714
|
+
count: 1000,
|
|
715
|
+
offset: 0,
|
|
716
|
+
};
|
|
717
|
+
|
|
718
|
+
// 天枢使用 channelType,非天枢使用 subType
|
|
719
|
+
const isTianShu = location.pathname.includes('/new/tianShu');
|
|
720
|
+
if (isTianShu && channelType) {
|
|
721
|
+
searchParams.channelType = channelType;
|
|
722
|
+
} else if (subType) {
|
|
723
|
+
searchParams.subType = subType;
|
|
724
|
+
}
|
|
725
|
+
// 全局名单 区分全局和公司
|
|
726
|
+
if (reuseGlobal === '1' && listType === '0') {
|
|
727
|
+
searchParams.reuseGlobal = reuseGlobal;
|
|
728
|
+
}
|
|
729
|
+
const { listData } = await dispatch({
|
|
730
|
+
type: 'mingdan/getMdList',
|
|
731
|
+
payload: searchParams,
|
|
732
|
+
});
|
|
733
|
+
if (listData.length) {
|
|
734
|
+
let mdDataList = [];
|
|
735
|
+
if (operation === 'regex') {
|
|
736
|
+
listData.filter(item => item.config.operation === 'regex').map(item => {
|
|
737
|
+
if (item.listId !== this.state.listId) {
|
|
738
|
+
mdDataList.push({
|
|
739
|
+
name: item.name,
|
|
740
|
+
value: item.listId,
|
|
741
|
+
});
|
|
742
|
+
}
|
|
743
|
+
});
|
|
744
|
+
|
|
745
|
+
} else {
|
|
746
|
+
listData.map(item => {
|
|
747
|
+
if (item.listId !== this.state.listId && item.config.operation !== 'regex') {
|
|
748
|
+
mdDataList.push({
|
|
749
|
+
name: item.name,
|
|
750
|
+
value: item.listId,
|
|
751
|
+
});
|
|
752
|
+
}
|
|
753
|
+
});
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
this.setState({
|
|
757
|
+
mdDataList,
|
|
758
|
+
});
|
|
759
|
+
}
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
// 获取列表表单项
|
|
763
|
+
getTableColumns = () => {
|
|
764
|
+
const { globalSensitive, route } = this.props;
|
|
765
|
+
const serviceId = route.routeData.serviceId;
|
|
766
|
+
return [
|
|
767
|
+
{
|
|
768
|
+
title: '名单内容',
|
|
769
|
+
key: 'mdContent',
|
|
770
|
+
dataIndex: 'mdContent',
|
|
771
|
+
width: '15%',
|
|
772
|
+
ellipsis: true,
|
|
773
|
+
render: this.textRender,
|
|
774
|
+
},
|
|
775
|
+
serviceId === 'POST_ARTICLE' && {
|
|
776
|
+
title: '网页url',
|
|
777
|
+
key: 'articleUrl',
|
|
778
|
+
dataIndex: 'articleUrl',
|
|
779
|
+
width: '15%',
|
|
780
|
+
ellipsis: true,
|
|
781
|
+
render: this.textRender,
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
title: '更新时间',
|
|
785
|
+
key: 'updateTime',
|
|
786
|
+
dataIndex: 'updateTime',
|
|
787
|
+
width: 120,
|
|
788
|
+
ellipsis: true,
|
|
789
|
+
render: this.timeRender,
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
title: '操作账号',
|
|
793
|
+
key: 'operationAccount',
|
|
794
|
+
dataIndex: 'operationAccount',
|
|
795
|
+
width: '15%',
|
|
796
|
+
ellipsis: true,
|
|
797
|
+
render: this.textRender,
|
|
798
|
+
},
|
|
799
|
+
...(globalSensitive ? [] : [{
|
|
800
|
+
title: '有效期',
|
|
801
|
+
key: 'timeBased',
|
|
802
|
+
dataIndex: 'timeBased',
|
|
803
|
+
width: '15%',
|
|
804
|
+
ellipsis: true,
|
|
805
|
+
render: this.textRender,
|
|
806
|
+
}]),
|
|
807
|
+
{
|
|
808
|
+
title: '备注',
|
|
809
|
+
key: 'remark',
|
|
810
|
+
dataIndex: 'remark',
|
|
811
|
+
width: '15%',
|
|
812
|
+
ellipsis: true,
|
|
813
|
+
render: this.textRender,
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
title: '操作',
|
|
817
|
+
key: 'operation',
|
|
818
|
+
dataIndex: 'operation',
|
|
819
|
+
width: 120,
|
|
820
|
+
ellipsis: true,
|
|
821
|
+
render: this.operationRender,
|
|
822
|
+
},
|
|
823
|
+
];
|
|
824
|
+
};
|
|
825
|
+
|
|
826
|
+
formatData = data => {
|
|
827
|
+
let dataSource = [];
|
|
828
|
+
dataSource = data.map(item => {
|
|
829
|
+
return {
|
|
830
|
+
key: item.content,
|
|
831
|
+
id: item.content,
|
|
832
|
+
mdContent: item.content,
|
|
833
|
+
updateTime: item.createTime || '-',
|
|
834
|
+
timeBased: item.efficientTime || '永久',
|
|
835
|
+
operationAccount: item.user || '-',
|
|
836
|
+
remark: item.remark || '-',
|
|
837
|
+
articleUrl: item.articleUrl || '-',
|
|
838
|
+
operation: {
|
|
839
|
+
hasEdit: true,
|
|
840
|
+
hasDelete: true,
|
|
841
|
+
},
|
|
842
|
+
};
|
|
843
|
+
});
|
|
844
|
+
return dataSource;
|
|
845
|
+
};
|
|
846
|
+
|
|
847
|
+
// 跳转至名单内容操作日志
|
|
848
|
+
jumpToOpLog = () => {
|
|
849
|
+
history.push({
|
|
850
|
+
pathname: `${location.pathname}OpLog`,
|
|
851
|
+
query: {
|
|
852
|
+
listName: this.state.listName,
|
|
853
|
+
listId: this.state.listId,
|
|
854
|
+
checkItems: this.state.checkItems,
|
|
855
|
+
operation: this.state.operation,
|
|
856
|
+
isCustom: this.state.isCustom,
|
|
857
|
+
isSensitive: this.state.isSensitive,
|
|
858
|
+
},
|
|
859
|
+
});
|
|
860
|
+
};
|
|
861
|
+
|
|
862
|
+
// 导出数据
|
|
863
|
+
exportData = () => {
|
|
864
|
+
const { listName, listId, currentGlobalFilter, queryParams, channelType } = this.state;
|
|
865
|
+
const { route } = this.props;
|
|
866
|
+
const title = `${listName}.csv`;
|
|
867
|
+
const searchParams = {
|
|
868
|
+
organization: this.getOrganization(),
|
|
869
|
+
product: this.getProduct(),
|
|
870
|
+
listId,
|
|
871
|
+
...queryParams,
|
|
872
|
+
};
|
|
873
|
+
// 天枢使用 channelType
|
|
874
|
+
const isTianShu = location.pathname.includes('/new/tianShu');
|
|
875
|
+
if (isTianShu && channelType) {
|
|
876
|
+
searchParams.channelType = channelType;
|
|
877
|
+
}
|
|
878
|
+
const downloadUrl = LIST_CONTENT_URL;
|
|
879
|
+
|
|
880
|
+
exportFile(downloadUrl, title, searchParams).then(() => {
|
|
881
|
+
this.setState({
|
|
882
|
+
exportLoading: false,
|
|
883
|
+
});
|
|
884
|
+
});
|
|
885
|
+
};
|
|
886
|
+
|
|
887
|
+
// 获取查询接口参数
|
|
888
|
+
getSearchParams = () => {
|
|
889
|
+
const { route } = this.props;
|
|
890
|
+
const {
|
|
891
|
+
currentGlobalFilter,
|
|
892
|
+
queryParams,
|
|
893
|
+
currentPage,
|
|
894
|
+
pageSize,
|
|
895
|
+
listId,
|
|
896
|
+
subType = '',
|
|
897
|
+
channelType = '',
|
|
898
|
+
} = this.state;
|
|
899
|
+
const { organization } = currentGlobalFilter;
|
|
900
|
+
const serviceId = this.getProduct();
|
|
901
|
+
let searchParams = {
|
|
902
|
+
organization: this.getOrganization(),
|
|
903
|
+
product: serviceId,
|
|
904
|
+
listId: listId,
|
|
905
|
+
count: pageSize,
|
|
906
|
+
offset: (currentPage - 1) * pageSize,
|
|
907
|
+
...queryParams,
|
|
908
|
+
};
|
|
909
|
+
// 天枢使用 channelType
|
|
910
|
+
const isTianShu = location.pathname.includes('/new/tianShu');
|
|
911
|
+
if (isTianShu && channelType) {
|
|
912
|
+
searchParams.channelType = channelType;
|
|
913
|
+
}
|
|
914
|
+
// 处理一下searchParams,如果为'' || 'all', 则删除该项
|
|
915
|
+
let newSearchParams = formatSearchParams(searchParams);
|
|
916
|
+
return newSearchParams;
|
|
917
|
+
};
|
|
918
|
+
|
|
919
|
+
// 更新操作权限
|
|
920
|
+
updateOperationAuth = () => {
|
|
921
|
+
const { currentUser, globalSensitive, route } = this.props;
|
|
922
|
+
const serviceId = route.routeData.serviceId;
|
|
923
|
+
const { isSMShow, currentGlobalFilter } = this.state;
|
|
924
|
+
const currentUserOrg = currentUser.organization; // 当前用户公司的org
|
|
925
|
+
const roleIds = currentUser.roleIds;
|
|
926
|
+
const organization = currentGlobalFilter.organization;
|
|
927
|
+
let canCreate = getAuthFunction(AUTH_FUNCTION.CREATE);
|
|
928
|
+
let canBatchCreate = getAuthFunction(AUTH_FUNCTION.BATCH_CREATE);
|
|
929
|
+
let canDelete = getAuthFunction(AUTH_FUNCTION.DELETE);
|
|
930
|
+
let canBatchDelete = getAuthFunction(AUTH_FUNCTION.BATCH_DELETE);
|
|
931
|
+
let canMove = getAuthFunction(AUTH_FUNCTION.BATCH_MOVE);
|
|
932
|
+
let canEdit = getAuthFunction(AUTH_FUNCTION.UPDATE);
|
|
933
|
+
let canExport = getAuthFunction(AUTH_FUNCTION.EXPORT);
|
|
934
|
+
if (currentUserOrg === SM_ACCOUNT && organization === SM_ACCOUNT) {
|
|
935
|
+
if (!roleIds.includes(ACCOUNT_ROLE.SM_ROLE) && !globalSensitive) {
|
|
936
|
+
canDelete = false;
|
|
937
|
+
canMove = false;
|
|
938
|
+
canEdit = false;
|
|
939
|
+
canCreate = false;
|
|
940
|
+
canBatchCreate = false;
|
|
941
|
+
canBatchDelete = false;
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
if (serviceId === 'POST_ARTICLE') {
|
|
945
|
+
canMove = false;
|
|
946
|
+
canEdit = false;
|
|
947
|
+
canCreate = false;
|
|
948
|
+
canBatchCreate = false;
|
|
949
|
+
canBatchDelete = false;
|
|
950
|
+
}
|
|
951
|
+
this.setState({
|
|
952
|
+
authConfig: {
|
|
953
|
+
// 账号角色权限
|
|
954
|
+
canCreate,
|
|
955
|
+
canDelete,
|
|
956
|
+
canEdit,
|
|
957
|
+
canMove,
|
|
958
|
+
canExport,
|
|
959
|
+
canBatchCreate,
|
|
960
|
+
canBatchDelete,
|
|
961
|
+
},
|
|
962
|
+
});
|
|
963
|
+
};
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* 列表排序更改,切换页码/翻页
|
|
967
|
+
* @param {*} pagination
|
|
968
|
+
* @param {*} filters
|
|
969
|
+
* @param {*} sorter
|
|
970
|
+
*/
|
|
971
|
+
listOnSearch = pagination => {
|
|
972
|
+
const { current, pageSize } = pagination;
|
|
973
|
+
const { queryParams } = this.state;
|
|
974
|
+
let newQueryParams = lodash.cloneDeep(queryParams);
|
|
975
|
+
this.setState(
|
|
976
|
+
{
|
|
977
|
+
currentPage: current,
|
|
978
|
+
pageSize: pageSize,
|
|
979
|
+
queryParams: newQueryParams,
|
|
980
|
+
selectedContents: [],
|
|
981
|
+
listLoading: true,
|
|
982
|
+
},
|
|
983
|
+
() => {
|
|
984
|
+
this.getMdContentList();
|
|
985
|
+
}
|
|
986
|
+
);
|
|
987
|
+
};
|
|
988
|
+
|
|
989
|
+
/**
|
|
990
|
+
* 搜索筛选项更改
|
|
991
|
+
* @param {*} name 更改筛选项类型名称
|
|
992
|
+
* @param {*} value 更改后的值
|
|
993
|
+
*/
|
|
994
|
+
changeQueryParams(name, value) {
|
|
995
|
+
const { queryParams } = this.state;
|
|
996
|
+
let newQueryParams = lodash.cloneDeep(queryParams);
|
|
997
|
+
switch (name) {
|
|
998
|
+
default:
|
|
999
|
+
newQueryParams[name] = value;
|
|
1000
|
+
}
|
|
1001
|
+
this.setState(
|
|
1002
|
+
{
|
|
1003
|
+
queryParams: newQueryParams,
|
|
1004
|
+
},
|
|
1005
|
+
() => {
|
|
1006
|
+
this.doSearch();
|
|
1007
|
+
}
|
|
1008
|
+
);
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
// 移动确认气泡浮框内容
|
|
1012
|
+
moveConfirmContent = () => {
|
|
1013
|
+
const {mdDataList, isSMShow} = this.state;
|
|
1014
|
+
const locale = Storage.get('umi_locale');
|
|
1015
|
+
const {t} = this.props;
|
|
1016
|
+
const selectData = {
|
|
1017
|
+
optionData: mdDataList,
|
|
1018
|
+
title: '名单列表',
|
|
1019
|
+
labelId: 'mingdan',
|
|
1020
|
+
};
|
|
1021
|
+
return (
|
|
1022
|
+
<div className={styles['pop-confirm']}>
|
|
1023
|
+
<div className={styles['confirm-title']}>
|
|
1024
|
+
<img src={tipImg} className={styles['title-icon-tip']} />
|
|
1025
|
+
<div className={styles['title-content']}>
|
|
1026
|
+
{t('请选择要移动至的名单')}
|
|
1027
|
+
</div>
|
|
1028
|
+
</div>
|
|
1029
|
+
<div>
|
|
1030
|
+
<div className={styles['confirm-content']}>
|
|
1031
|
+
<SMSelect
|
|
1032
|
+
selectData={selectData}
|
|
1033
|
+
componentProps={{
|
|
1034
|
+
placeholder: t('请选择名单'),
|
|
1035
|
+
}}
|
|
1036
|
+
onChange={value => {
|
|
1037
|
+
this.setState({
|
|
1038
|
+
currentMdListId: value,
|
|
1039
|
+
});
|
|
1040
|
+
}}
|
|
1041
|
+
/>
|
|
1042
|
+
</div>
|
|
1043
|
+
<div
|
|
1044
|
+
className={styles['confirm-remark']}
|
|
1045
|
+
style={locale === LOCALE_TYPE.EN ? {marginLeft: 57} : {}}
|
|
1046
|
+
>
|
|
1047
|
+
<lable className={styles['remark-text']}>{t('备注')}:</lable>
|
|
1048
|
+
<Input
|
|
1049
|
+
placeholder={t('请输入备注')}
|
|
1050
|
+
onChange={e => this.setState({remark: e.target.value})}
|
|
1051
|
+
/>
|
|
1052
|
+
</div>
|
|
1053
|
+
<div className={styles['confirm-footer']}>
|
|
1054
|
+
<Button
|
|
1055
|
+
onClick={() => {
|
|
1056
|
+
this.setState({
|
|
1057
|
+
moveConfirmVisible: false,
|
|
1058
|
+
});
|
|
1059
|
+
}}
|
|
1060
|
+
>
|
|
1061
|
+
{t('取消')}
|
|
1062
|
+
</Button>
|
|
1063
|
+
<Button
|
|
1064
|
+
style={locale === LOCALE_TYPE.EN ? {marginLeft: 2} : {}}
|
|
1065
|
+
type="primary"
|
|
1066
|
+
onClick={() => {
|
|
1067
|
+
this.moveMdContent(this.state.selectedContents);
|
|
1068
|
+
}}
|
|
1069
|
+
>
|
|
1070
|
+
{t('确认')}
|
|
1071
|
+
</Button>
|
|
1072
|
+
</div>
|
|
1073
|
+
</div>
|
|
1074
|
+
</div>
|
|
1075
|
+
);
|
|
1076
|
+
};
|
|
1077
|
+
|
|
1078
|
+
/**
|
|
1079
|
+
* 显示多选操作栏
|
|
1080
|
+
*/
|
|
1081
|
+
showSelectionExtraDom = () => {
|
|
1082
|
+
const {globalSensitive = false, t, route, isLab} = this.props;
|
|
1083
|
+
const {authConfig, moveConfirmVisible, isSMShow, currentGlobalFilter, action} = this.state;
|
|
1084
|
+
const {canMove, canDelete} = authConfig;
|
|
1085
|
+
const serviceId = route?.routeData?.serviceId;
|
|
1086
|
+
|
|
1087
|
+
return (
|
|
1088
|
+
<div>
|
|
1089
|
+
{canMove ? !isSMShow && currentGlobalFilter.organization === 'GLOBAL' && !globalSensitive ? (
|
|
1090
|
+
<div
|
|
1091
|
+
className={styles['selection-operation']}
|
|
1092
|
+
onClick={() => {
|
|
1093
|
+
this.setState({
|
|
1094
|
+
moveFormVisible: true,
|
|
1095
|
+
moveFormType: 'move',
|
|
1096
|
+
});
|
|
1097
|
+
}}
|
|
1098
|
+
>
|
|
1099
|
+
<span className={styles['operation-content']}>
|
|
1100
|
+
{t('移动')}
|
|
1101
|
+
</span>
|
|
1102
|
+
<SMIcon type="icon-piliangyidongtubiao" />
|
|
1103
|
+
</div>
|
|
1104
|
+
) : (
|
|
1105
|
+
<Popover
|
|
1106
|
+
content={this.moveConfirmContent()}
|
|
1107
|
+
trigger="click"
|
|
1108
|
+
placement="bottomRight"
|
|
1109
|
+
visible={moveConfirmVisible}
|
|
1110
|
+
onVisibleChange={visible => {
|
|
1111
|
+
this.setState({
|
|
1112
|
+
moveConfirmVisible: visible,
|
|
1113
|
+
});
|
|
1114
|
+
}}
|
|
1115
|
+
arrowPointAtCenter
|
|
1116
|
+
>
|
|
1117
|
+
<div
|
|
1118
|
+
className={styles['selection-operation']}
|
|
1119
|
+
onClick={() => {
|
|
1120
|
+
this.setState({
|
|
1121
|
+
contentMoveModalVisible: true,
|
|
1122
|
+
});
|
|
1123
|
+
}}
|
|
1124
|
+
>
|
|
1125
|
+
<span className={styles['operation-content']}>
|
|
1126
|
+
{t('移动')}
|
|
1127
|
+
</span>
|
|
1128
|
+
<SMIcon type="icon-piliangyidongtubiao" />
|
|
1129
|
+
</div>
|
|
1130
|
+
</Popover>
|
|
1131
|
+
) : null}
|
|
1132
|
+
{canDelete ? !isSMShow && currentGlobalFilter.organization === 'GLOBAL' && !globalSensitive ? (
|
|
1133
|
+
<div
|
|
1134
|
+
className={styles['selection-operation']}
|
|
1135
|
+
onClick={() => {
|
|
1136
|
+
this.setState({
|
|
1137
|
+
moveFormVisible: true,
|
|
1138
|
+
moveFormType: 'arrDelete',
|
|
1139
|
+
});
|
|
1140
|
+
}}
|
|
1141
|
+
>
|
|
1142
|
+
<span className={styles['operation-content']}>
|
|
1143
|
+
{t('删除')}
|
|
1144
|
+
</span>
|
|
1145
|
+
<SMIcon type="icon-shanchuxuanzhong" />
|
|
1146
|
+
</div>
|
|
1147
|
+
) : (
|
|
1148
|
+
<SMPopConfirm
|
|
1149
|
+
title={t('请确认是否删除选中名单内容')}
|
|
1150
|
+
isLab={isLab && action !== 'IGNORE'}
|
|
1151
|
+
placeholder={t('请输入删除名单原因')}
|
|
1152
|
+
hasTextArea
|
|
1153
|
+
serviceId
|
|
1154
|
+
onConfirm={(value, cb, labValue) => {
|
|
1155
|
+
if (isLab && labValue === '1' && action !== 'IGNORE') {
|
|
1156
|
+
this.addMdContent({contents: this.state.selectedContents, cb, remark: value, hasEnteredLab: labValue, type: 'delete'});
|
|
1157
|
+
}
|
|
1158
|
+
else {
|
|
1159
|
+
this.deleteMdContent(
|
|
1160
|
+
this.state.selectedContents,
|
|
1161
|
+
cb,
|
|
1162
|
+
value,
|
|
1163
|
+
isLab && labValue === '1' && action !== 'IGNORE'
|
|
1164
|
+
);
|
|
1165
|
+
}
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1168
|
+
children={
|
|
1169
|
+
<div className={styles['selection-operation']}>
|
|
1170
|
+
<span className={styles['operation-content']}>
|
|
1171
|
+
{t('删除')}
|
|
1172
|
+
</span>
|
|
1173
|
+
<SMIcon type="icon-shanchuxuanzhong" />
|
|
1174
|
+
</div>
|
|
1175
|
+
}
|
|
1176
|
+
/>
|
|
1177
|
+
) : null}
|
|
1178
|
+
</div>
|
|
1179
|
+
);
|
|
1180
|
+
};
|
|
1181
|
+
|
|
1182
|
+
/**
|
|
1183
|
+
* 名单查重
|
|
1184
|
+
*/
|
|
1185
|
+
inspectData = async (values, type, oldValues) => {
|
|
1186
|
+
const {t, route, subType, isLab} = this.props;
|
|
1187
|
+
const {action} = this.state;
|
|
1188
|
+
|
|
1189
|
+
this.setState({
|
|
1190
|
+
sensitiveWordSpin: true,
|
|
1191
|
+
});
|
|
1192
|
+
let contents = values.contents ? formatContents(values.contents) : [];
|
|
1193
|
+
const params = {
|
|
1194
|
+
listId: this.state.listId,
|
|
1195
|
+
organization: this.getOrganization(),
|
|
1196
|
+
product: this.getProduct(),
|
|
1197
|
+
contents,
|
|
1198
|
+
};
|
|
1199
|
+
if (type === 'add' && isLab && values.hasEnteredLab === '1' && action !== 'IGNORE') {
|
|
1200
|
+
params.listId = `${params.listId}__add`;
|
|
1201
|
+
}
|
|
1202
|
+
let result = await this.props.dispatch({
|
|
1203
|
+
type: 'mingdan/inspectData',
|
|
1204
|
+
payload: params,
|
|
1205
|
+
});
|
|
1206
|
+
|
|
1207
|
+
this.setState({
|
|
1208
|
+
sensitiveWordSpin: false,
|
|
1209
|
+
});
|
|
1210
|
+
|
|
1211
|
+
if (result && result.text?.length) {
|
|
1212
|
+
Storage.set('sm-tj-mingdan-parameter', {
|
|
1213
|
+
listId: this.state.listId,
|
|
1214
|
+
organization: this.getOrganization(),
|
|
1215
|
+
product: this.getProduct(),
|
|
1216
|
+
});
|
|
1217
|
+
global.modal.show(ModalType.MODAL_ALERT, {
|
|
1218
|
+
width: 576,
|
|
1219
|
+
modalTitle: t('提示'),
|
|
1220
|
+
|
|
1221
|
+
renderChildren: () => {
|
|
1222
|
+
return (
|
|
1223
|
+
<SensitivewordHintModal
|
|
1224
|
+
closeVisible={() => {
|
|
1225
|
+
this.setState({
|
|
1226
|
+
contentModalVisible: false,
|
|
1227
|
+
});
|
|
1228
|
+
}}
|
|
1229
|
+
textList={result.text}
|
|
1230
|
+
onOk={() => {
|
|
1231
|
+
global.modal.pop();
|
|
1232
|
+
if (type === 'add') {
|
|
1233
|
+
this.addMdContent(values);
|
|
1234
|
+
} else {
|
|
1235
|
+
this.updateMdContent(values, oldValues);
|
|
1236
|
+
}
|
|
1237
|
+
}}
|
|
1238
|
+
onCancel={() => {
|
|
1239
|
+
global.modal.pop();
|
|
1240
|
+
}}
|
|
1241
|
+
onGo={() => {
|
|
1242
|
+
let valueList = arryRepetition(
|
|
1243
|
+
contents,
|
|
1244
|
+
result.text
|
|
1245
|
+
);
|
|
1246
|
+
|
|
1247
|
+
global.modal.pop();
|
|
1248
|
+
if (type === 'add') {
|
|
1249
|
+
this.addMdContent({
|
|
1250
|
+
contents: valueList.join('\n'),
|
|
1251
|
+
});
|
|
1252
|
+
} else {
|
|
1253
|
+
this.updateMdContent(
|
|
1254
|
+
{ contents: valueList.join('\n') },
|
|
1255
|
+
oldValues
|
|
1256
|
+
);
|
|
1257
|
+
}
|
|
1258
|
+
}}
|
|
1259
|
+
/>
|
|
1260
|
+
);
|
|
1261
|
+
},
|
|
1262
|
+
});
|
|
1263
|
+
} else {
|
|
1264
|
+
if (type === 'add') {
|
|
1265
|
+
this.addMdContent(values);
|
|
1266
|
+
} else {
|
|
1267
|
+
this.updateMdContent(values, oldValues);
|
|
1268
|
+
}
|
|
1269
|
+
}
|
|
1270
|
+
};
|
|
1271
|
+
getFileUrl = fileUrl => {
|
|
1272
|
+
this.setState({
|
|
1273
|
+
fileUrl,
|
|
1274
|
+
});
|
|
1275
|
+
|
|
1276
|
+
};
|
|
1277
|
+
moveMdAudit = async (selectedContents, values, action) => {
|
|
1278
|
+
const {dispatch, route, t} = this.props;
|
|
1279
|
+
const {fileUrl} = this.state;
|
|
1280
|
+
const {ext} = values;
|
|
1281
|
+
if (action === 'move') {
|
|
1282
|
+
if (selectedContents.length === 0) {
|
|
1283
|
+
message.error(t('请选择要移动的名单内容!'));
|
|
1284
|
+
return;
|
|
1285
|
+
} else if (!this.state.currentMdListId) {
|
|
1286
|
+
message.error(t('请选择名单!'));
|
|
1287
|
+
return;
|
|
1288
|
+
}
|
|
1289
|
+
}
|
|
1290
|
+
if (action === 'delete') {
|
|
1291
|
+
if (selectedContents.length === 0) {
|
|
1292
|
+
message.error(t('请选择要删除的名单内容!'));
|
|
1293
|
+
return;
|
|
1294
|
+
}
|
|
1295
|
+
}
|
|
1296
|
+
const ACTION_TYPE = {
|
|
1297
|
+
delete: 'mingdan/deleteMdContent',
|
|
1298
|
+
move: 'mingdan/batchMove',
|
|
1299
|
+
};
|
|
1300
|
+
const {code, message: resMessage} = await dispatch({
|
|
1301
|
+
type: ACTION_TYPE[action],
|
|
1302
|
+
payload: {
|
|
1303
|
+
listName: this.state.listName,
|
|
1304
|
+
sourceListId: action === 'delete' ? undefined : this.state.listId,
|
|
1305
|
+
organization: this.getOrganization(),
|
|
1306
|
+
product: this.getProduct(),
|
|
1307
|
+
contents: selectedContents ? formatCustomContents(selectedContents) : [],
|
|
1308
|
+
object: 'list',
|
|
1309
|
+
remark: values.marker,
|
|
1310
|
+
action,
|
|
1311
|
+
listId: action === 'move'
|
|
1312
|
+
? this.state.currentMdListId : action === 'delete' ? this.state.listId : undefined,
|
|
1313
|
+
extend: ext ? {
|
|
1314
|
+
files: fileUrl,
|
|
1315
|
+
} : {},
|
|
1316
|
+
...this.getCommonParams(),
|
|
1317
|
+
},
|
|
1318
|
+
});
|
|
1319
|
+
if (code === 1100) {
|
|
1320
|
+
message.success(t('审批发起成功'));
|
|
1321
|
+
this.setState(
|
|
1322
|
+
{
|
|
1323
|
+
moveFormVisible: false,
|
|
1324
|
+
},
|
|
1325
|
+
() => {
|
|
1326
|
+
this.doSearch();
|
|
1327
|
+
}
|
|
1328
|
+
);
|
|
1329
|
+
} else {
|
|
1330
|
+
message.error('操作失败');
|
|
1331
|
+
}
|
|
1332
|
+
};
|
|
1333
|
+
|
|
1334
|
+
render() {
|
|
1335
|
+
const {
|
|
1336
|
+
tableDataSource,
|
|
1337
|
+
listLoading,
|
|
1338
|
+
listTotalCount,
|
|
1339
|
+
pageSize,
|
|
1340
|
+
pageSizeOptions,
|
|
1341
|
+
currentPage,
|
|
1342
|
+
noteInfo,
|
|
1343
|
+
exportLoading,
|
|
1344
|
+
pageRoute,
|
|
1345
|
+
listName,
|
|
1346
|
+
operation,
|
|
1347
|
+
defaultLabelSearchData,
|
|
1348
|
+
selectedContents,
|
|
1349
|
+
contentModalVisible,
|
|
1350
|
+
contentModalType,
|
|
1351
|
+
contentModalDefaultValue,
|
|
1352
|
+
importModalType,
|
|
1353
|
+
importModalVisible,
|
|
1354
|
+
authConfig,
|
|
1355
|
+
subType,
|
|
1356
|
+
isSMShow,
|
|
1357
|
+
moveFormVisible,
|
|
1358
|
+
mdDataList,
|
|
1359
|
+
moveFormType,
|
|
1360
|
+
moreDelete,
|
|
1361
|
+
currentGlobalFilter,
|
|
1362
|
+
action,
|
|
1363
|
+
} = this.state;
|
|
1364
|
+
const {t, route, isLab} = this.props;
|
|
1365
|
+
const tableColumns = getIntlTableColums(this.getTableColumns(), t);
|
|
1366
|
+
const { canCreate, canBatchCreate, canBatchDelete, canExport } = authConfig;
|
|
1367
|
+
|
|
1368
|
+
const serviceId = route?.routeData?.serviceId;
|
|
1369
|
+
|
|
1370
|
+
return (
|
|
1371
|
+
<div>
|
|
1372
|
+
<GlobalFilterListener onChange={this.globalFilterChange} />
|
|
1373
|
+
<div className={styles['bread-crumb']}>
|
|
1374
|
+
<Breadcrumb separator=">">
|
|
1375
|
+
<Breadcrumb.Item>
|
|
1376
|
+
<Link to={__ASSETS_PREFIX__ + pageRoute.path}>{t(pageRoute.name)}</Link>
|
|
1377
|
+
</Breadcrumb.Item>
|
|
1378
|
+
<Breadcrumb.Item>{t(listName)}</Breadcrumb.Item>
|
|
1379
|
+
</Breadcrumb>
|
|
1380
|
+
</div>
|
|
1381
|
+
<div className={styles['note-tip']}>
|
|
1382
|
+
<SMNoteTip noteInfo={noteInfo} />
|
|
1383
|
+
</div>
|
|
1384
|
+
<div className={styles['search-form']}>
|
|
1385
|
+
{canCreate ? (
|
|
1386
|
+
<div className={styles['form-item']}>
|
|
1387
|
+
<Button
|
|
1388
|
+
type="primary"
|
|
1389
|
+
onClick={() => {
|
|
1390
|
+
const value = isLab ? {hasEnteredLab: '1'} : {};
|
|
1391
|
+
this.showMdContentModal('add', value);
|
|
1392
|
+
}
|
|
1393
|
+
}
|
|
1394
|
+
disabled={operation === 'regex' && listTotalCount >= 10}
|
|
1395
|
+
>
|
|
1396
|
+
<SMIcon type="icon-add" />
|
|
1397
|
+
{t('添加名单内容')}
|
|
1398
|
+
</Button>
|
|
1399
|
+
</div>
|
|
1400
|
+
) : null}
|
|
1401
|
+
{canBatchCreate && !isPrivate() && operation !== 'regex' ? (
|
|
1402
|
+
<div className={styles['form-item']}>
|
|
1403
|
+
<Button
|
|
1404
|
+
type="primary"
|
|
1405
|
+
onClick={() =>
|
|
1406
|
+
this.showMdContentImportModal('add')
|
|
1407
|
+
}
|
|
1408
|
+
className={styles['button-white']}
|
|
1409
|
+
>
|
|
1410
|
+
<SMIcon type="icon-piliangdaochu" />
|
|
1411
|
+
{t('批量导入')}
|
|
1412
|
+
</Button>
|
|
1413
|
+
</div>
|
|
1414
|
+
) : null}
|
|
1415
|
+
{canBatchDelete && !isPrivate() ? (
|
|
1416
|
+
<div className={styles['form-item']}>
|
|
1417
|
+
<Tooltip
|
|
1418
|
+
title={t('可以批量删除上传文件内的所有敏感词')}
|
|
1419
|
+
placement="right"
|
|
1420
|
+
>
|
|
1421
|
+
<Button
|
|
1422
|
+
type="primary"
|
|
1423
|
+
onClick={() =>
|
|
1424
|
+
this.showMdContentImportModal('delete')
|
|
1425
|
+
}
|
|
1426
|
+
className={styles['button-white']}
|
|
1427
|
+
>
|
|
1428
|
+
<SMIcon type="icon-shanchuxuanzhong" />
|
|
1429
|
+
{t('批量删除')}
|
|
1430
|
+
</Button>
|
|
1431
|
+
</Tooltip>
|
|
1432
|
+
</div>
|
|
1433
|
+
) : null}
|
|
1434
|
+
<div className={styles['item-search']}>
|
|
1435
|
+
<SMLabelSearch
|
|
1436
|
+
onSearch={(searchId, searchText) => {
|
|
1437
|
+
this.changeQueryParams(searchId, searchText);
|
|
1438
|
+
}}
|
|
1439
|
+
configData={defaultLabelSearchData}
|
|
1440
|
+
/>
|
|
1441
|
+
</div>
|
|
1442
|
+
<div className={styles['item-right']}>
|
|
1443
|
+
<div className={styles['item-oplog']}>
|
|
1444
|
+
{getAuthFunction(AUTH_FUNCTION.OPLOG) && (
|
|
1445
|
+
<Button onClick={this.jumpToOpLog} type="link">
|
|
1446
|
+
{t('操作日志')}
|
|
1447
|
+
</Button>
|
|
1448
|
+
)}
|
|
1449
|
+
</div>
|
|
1450
|
+
{canExport ? (
|
|
1451
|
+
<div className={styles['export-icon']}>
|
|
1452
|
+
<Tooltip
|
|
1453
|
+
title={t(EXPORT_MD_TOOLTIP)}
|
|
1454
|
+
placement="topRight"
|
|
1455
|
+
>
|
|
1456
|
+
<Spin spinning={exportLoading}>
|
|
1457
|
+
<SMIcon
|
|
1458
|
+
type="icon-daochu"
|
|
1459
|
+
onClick={this.exportData}
|
|
1460
|
+
/>
|
|
1461
|
+
</Spin>
|
|
1462
|
+
</Tooltip>
|
|
1463
|
+
</div>
|
|
1464
|
+
) : null}
|
|
1465
|
+
</div>
|
|
1466
|
+
</div>
|
|
1467
|
+
<div className={styles['table-list']}>
|
|
1468
|
+
<SMTable
|
|
1469
|
+
columns={tableColumns}
|
|
1470
|
+
dataSource={tableDataSource}
|
|
1471
|
+
loading={listLoading}
|
|
1472
|
+
totalCount={listTotalCount}
|
|
1473
|
+
showTotal={() => `${t('共')}${listTotalCount}${t('条')}`}
|
|
1474
|
+
i18nText={tableText(t)}
|
|
1475
|
+
rowSelection={{
|
|
1476
|
+
selectedRowKeys: selectedContents,
|
|
1477
|
+
onChange: val => {
|
|
1478
|
+
this.setState({
|
|
1479
|
+
selectedContents: val,
|
|
1480
|
+
});
|
|
1481
|
+
},
|
|
1482
|
+
}}
|
|
1483
|
+
selectionExtraDom={this.showSelectionExtraDom}
|
|
1484
|
+
wrapperStyle={{
|
|
1485
|
+
margin: 0,
|
|
1486
|
+
}}
|
|
1487
|
+
customLoadingUrl={this.props.customLoadingIcon}
|
|
1488
|
+
antdProps={{
|
|
1489
|
+
pagination: {
|
|
1490
|
+
showQuickJumper: true,
|
|
1491
|
+
defaultPageSize: pageSize,
|
|
1492
|
+
pageSizeOptions: pageSizeOptions,
|
|
1493
|
+
total: listTotalCount,
|
|
1494
|
+
current: currentPage,
|
|
1495
|
+
showSizeChanger: true,
|
|
1496
|
+
},
|
|
1497
|
+
onChange: this.listOnSearch,
|
|
1498
|
+
}}
|
|
1499
|
+
/>
|
|
1500
|
+
{tableDataSource.length ? (
|
|
1501
|
+
<TotalCount count={listTotalCount} />
|
|
1502
|
+
) : null}
|
|
1503
|
+
</div>
|
|
1504
|
+
<div className={styles['content-modal']}>
|
|
1505
|
+
<SMAdminForm
|
|
1506
|
+
mdDataList={mdDataList}
|
|
1507
|
+
type={moveFormType}
|
|
1508
|
+
visible={moveFormVisible}
|
|
1509
|
+
getFileUrl={this.getFileUrl}
|
|
1510
|
+
onChange={value => {
|
|
1511
|
+
this.setState({
|
|
1512
|
+
currentMdListId: value,
|
|
1513
|
+
});
|
|
1514
|
+
}}
|
|
1515
|
+
onCancel={() => {
|
|
1516
|
+
this.setState({
|
|
1517
|
+
moveFormVisible: false,
|
|
1518
|
+
});}}
|
|
1519
|
+
onSubmit={values => {
|
|
1520
|
+
if (moveFormType === 'move') {
|
|
1521
|
+
this.moveMdAudit(this.state.selectedContents, values, 'move');
|
|
1522
|
+
} else if (moveFormType === 'delete') {
|
|
1523
|
+
this.moveMdAudit(moreDelete, values, 'delete');
|
|
1524
|
+
} else {
|
|
1525
|
+
this.moveMdAudit(this.state.selectedContents, values, 'delete');
|
|
1526
|
+
}
|
|
1527
|
+
|
|
1528
|
+
}}
|
|
1529
|
+
/>
|
|
1530
|
+
</div>
|
|
1531
|
+
|
|
1532
|
+
<MdContentModal
|
|
1533
|
+
visible={contentModalVisible}
|
|
1534
|
+
type={contentModalType}
|
|
1535
|
+
operation={operation}
|
|
1536
|
+
isLab={isLab}
|
|
1537
|
+
serviceId={serviceId}
|
|
1538
|
+
isDefaultBlack={this.state.isBlack}
|
|
1539
|
+
listTotalCount={listTotalCount}
|
|
1540
|
+
initialValues={contentModalDefaultValue}
|
|
1541
|
+
action={action}
|
|
1542
|
+
subType={subType}
|
|
1543
|
+
onConfirm={(values, type, oldValues) => {
|
|
1544
|
+
if ((!subType || subType !== LIST_CONTENT_TYPE.IMG) && values.contents !== oldValues.contents) {
|
|
1545
|
+
this.inspectData(values, type, oldValues);
|
|
1546
|
+
} else {
|
|
1547
|
+
if (type === 'add') {
|
|
1548
|
+
this.addMdContent(values);
|
|
1549
|
+
} else {
|
|
1550
|
+
this.updateMdContent(values, oldValues);
|
|
1551
|
+
}
|
|
1552
|
+
}
|
|
1553
|
+
}}
|
|
1554
|
+
onCancel={() => {
|
|
1555
|
+
this.setState({
|
|
1556
|
+
contentModalVisible: false,
|
|
1557
|
+
});
|
|
1558
|
+
}}
|
|
1559
|
+
/>
|
|
1560
|
+
<MdContentImportModal
|
|
1561
|
+
visible={importModalVisible}
|
|
1562
|
+
type={importModalType}
|
|
1563
|
+
isLab={isLab}
|
|
1564
|
+
serviceId={serviceId}
|
|
1565
|
+
action={action}
|
|
1566
|
+
subType={subType}
|
|
1567
|
+
onConfirm={(fileList, type, remark, hasEnteredLab) => {
|
|
1568
|
+
this.uploadFile(fileList, type, remark, hasEnteredLab);
|
|
1569
|
+
}}
|
|
1570
|
+
onCancel={() => {
|
|
1571
|
+
this.setState({
|
|
1572
|
+
importModalVisible: false,
|
|
1573
|
+
});
|
|
1574
|
+
}}
|
|
1575
|
+
/>
|
|
1576
|
+
<SensitiveWordSpin visible={this.state.sensitiveWordSpin} />
|
|
1577
|
+
</div>
|
|
1578
|
+
);
|
|
1579
|
+
}
|
|
1580
|
+
}
|
|
1581
|
+
|
|
1582
|
+
export default connect(({ user }) => ({
|
|
1583
|
+
currentUser: user.currentUser,
|
|
1584
|
+
}))(withIntlComponents(ListContent));
|