From 2e4f2362b0ca9e7f0084c7910a05594f9189d17b Mon Sep 17 00:00:00 2001 From: hlinx <327159425@qq.com> Date: Mon, 23 Sep 2024 11:39:29 +0800 Subject: [PATCH 1/2] =?UTF-8?q?chore(frontend):=20db-manage=20=E4=B8=9A?= =?UTF-8?q?=E5=8A=A1=E7=BB=84=E4=BB=B6=E8=B7=AF=E5=BE=84=E8=B0=83=E6=95=B4?= =?UTF-8?q?=20#7073?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Index.vue} | 4 +- .../src/components/cost-timer/CostTimer.vue | 35 +-- .../frontend/src/components/db-form/index.vue | 24 +- .../db-member-selector/index_bak.vue | 71 +++--- .../src/components/db-table/OriginalTable.vue | 15 +- .../src/components/editable-info/index.vue | 25 +- .../function-controller/FunController.vue | 4 +- .../Index.vue} | 4 +- .../common/manual-content-host/Index.vue | 43 ++-- .../common/manual-content/Index.vue | 34 +-- .../common/preview-result/Index.vue | 12 +- .../components/mongo/useTopoData.ts | 74 +++--- .../src/components/mysql-toolbox/Success.vue | 222 ------------------ .../components/mysql-toolbox/common/const.ts | 24 -- .../src/components/router-back/Index.vue | 11 +- .../scroll-faker/hooks/use-box-state.ts | 25 +- .../src/components/system-search/Index.vue | 5 +- .../render-result/ClusterDomain.vue | 24 +- .../render-result/ClusterName.vue | 4 +- .../search-result/render-result/Index.vue | 4 +- .../search-result/render-result/Instance.vue | 3 +- .../search-result/render-result/Machine.vue | 16 +- .../render-result/ResourcePool.vue | 10 +- .../search-result/render-result/Task.vue | 4 +- .../search-result/render-result/Ticket.vue | 4 +- .../components/HightLightText.vue | 4 +- .../system-search/hooks/useKeyboard.ts | 18 +- .../src/components/tools-page-title/index.vue | 72 ------ .../components/vue2/search-select/index.vue | 100 ++++---- dbm-ui/frontend/src/directives/dbConsole.ts | 12 +- .../frontend/src/directives/overflowTips.ts | 26 +- .../src/hooks/useCopyFromSelection.ts | 6 +- dbm-ui/frontend/src/hooks/useStickyFooter.ts | 51 ++-- dbm-ui/frontend/src/hooks/useTableSettings.ts | 30 +-- .../generateCloneData/mysql/authorizeRule.ts | 22 +- .../src/layout/components/AppSelect.vue | 32 +-- .../src/layout/components/ResourceManage.vue | 8 +- .../frontend/src/services/http/lib/utils.ts | 76 +++--- .../frontend/src/services/model/es/es-node.ts | 3 +- .../src/services/model/hdfs/hdfs-node.ts | 2 +- .../src/services/model/kafka/kafka-node.ts | 2 +- .../services/model/mongodb/mongodb-detail.ts | 151 ++++++------ .../model/mongodb/mongodb-rollback-record.ts | 8 +- .../src/services/model/pulsar/pulsar-node.ts | 2 +- .../services/model/spider/spiderMachine.ts | 129 +++++----- .../source/mongodbPermissionAuthorize.ts | 36 +-- .../source/sqlserverPermissionAccount.ts | 21 +- .../source/sqlserverPermissionAuthorize.ts | 20 +- .../frontend/src/services/source/ticket.tsx | 2 +- dbm-ui/frontend/src/services/types/ticket.ts | 2 +- dbm-ui/frontend/src/stores/globalBizs.ts | 11 +- dbm-ui/frontend/src/utils/dom.ts | 22 +- .../frontend/src/utils/getMenuListSearch.ts | 36 ++- .../src/utils/getSearchSelectorParams.ts | 2 +- dbm-ui/frontend/src/utils/vNodeToHtml.ts | 6 +- dbm-ui/frontend/src/views/BizPermission.vue | 16 +- .../src/views/db-configure/business/Edit.vue | 59 +++-- .../db-configure/components/EditBase.vue | 44 ++-- .../db-configure/components/RangeInput.vue | 34 ++- .../Index.vue} | 6 +- .../diff-compare/components/ValueDiff.vue} | 0 .../src/views/db-configure/platform/Edit.vue | 63 ++--- .../views/db-manage/common/BatchEditKeys.vue | 190 +++++++++++++++ .../db-manage/common}/ExcelAuthorize.vue | 0 .../common}/OperationBtnStatusTips.vue | 10 +- .../db-manage/common}/RenderBaseInfo.vue | 2 +- .../common}/RenderInstanceStatus.vue | 0 .../db-manage/common}/RenderNodeInstance.vue | 4 +- .../db-manage/common}/RenderOperationTag.vue | 0 .../common}/RenderOperationTagNew.vue | 0 .../db-manage/common}/RenderPassword.vue | 0 .../db-manage/common}/RenderRole.vue | 0 .../common}/RenderSimpleClusterList.vue | 2 +- .../common}/SpecDetailForPopover.vue | 0 .../add-permission-rule-dialog/Index.vue | 0 .../common}/apply-items/AffinityItem.vue | 0 .../common}/apply-items/BackendQPSSpec.vue | 2 +- .../common}/apply-items/BackendSpec.vue | 0 .../common}/apply-items/BusinessItems.vue | 0 .../common}/apply-items/CloudItem.vue | 0 .../common}/apply-items/ClusterAlias.vue | 0 .../common}/apply-items/ClusterName.vue | 0 .../common}/apply-items/DeployVersion.vue | 0 .../common}/apply-items/RegionItem.vue | 0 .../common}/apply-items/SpecSelector.vue | 0 .../common}/batch-edit-column/Index.vue | 0 .../common}/batch-operate-icon/Index.vue | 0 .../big-data-host-table/HdfsHostTable.vue | 0 .../big-data-host-table/RenderHostTable.vue | 0 .../common/tableSetting.ts | 0 .../components/EditHostInstance.vue | 0 .../es-host-table/index.vue | 0 .../hook/useLocalPagination.ts | 0 .../cluster-authorize/ClusterAuthorize.vue | 0 .../accout-rules-preview-table/Index.vue | 0 .../accouter-rules-selector/Index.vue | 0 .../components/AccountRulesTable.vue | 0 .../cluster-capacity-usage-rate/Index.vue | 0 .../common}/cluster-details/AsideList.vue | 0 .../common}/cluster-details/ClusterTopo.vue | 0 .../cluster-details/common/graphData.ts | 0 .../cluster-details/common/useRenderGraph.tsx | 0 .../common}/cluster-entry-config/Index.vue | 0 .../cluster-entry-config/MultipleInput.vue | 126 ++++++++++ .../cluster-entry-config/RenderBindIps.vue | 0 .../cluster-event-change/EventChange.vue | 1 - .../common}/cluster-export-data/Index.vue | 0 .../cluster-export-data/component/Content.vue | 0 .../component/TableNameFromItem.vue | 0 .../cluster-monitor/MonitorDashboard.vue | 0 .../cluster-spec-plan-selector/Index.vue | 2 +- .../common}/dropdown-export-excel/index.vue | 70 ++---- .../common}/es-host-expansion/Index.vue | 0 .../components/HostSelector.vue | 5 +- .../components/ResourcePoolSelector.vue | 2 +- .../common}/es-host-replace/Index.vue | 2 +- .../components/HostSelector.vue | 3 +- .../components/ResourcePoolSelector.vue | 2 +- .../common}/host-expansion/Index.vue | 0 .../common}/host-expansion/NodeStatusList.vue | 0 .../components/HostSelector.vue | 2 +- .../components/ResourcePoolSelector.vue | 2 +- .../db-manage/common}/host-replace/Index.vue | 0 .../host-replace/components/HostSelector.vue | 0 .../components/ResourcePoolSelector.vue | 2 +- .../db-manage/common}/host-shrink/Index.vue | 0 .../common}/host-shrink/NodeStatusList.vue | 0 .../components/SelectOriginalHost.vue | 3 +- .../render-instances/RenderInstances.vue | 0 .../common/sql-execute/cluster-ids/Index.vue | 2 +- .../db-manage/common}/webconsole/Index.vue | 0 .../webconsole/components/ClearScreen.vue | 0 .../webconsole/components/ClusterTabs.vue | 0 .../webconsole/components/ExportData.vue | 0 .../webconsole/components/FontSetting.vue | 0 .../webconsole/components/FullScreen.vue | 0 .../webconsole/components/RawSwitcher.vue | 0 .../components/console-panel/Index.vue | 0 .../components/RenderMysqlMessage.vue | 0 .../components/RenderRedisMessage.vue | 0 .../components/usage-help/Index.vue | 0 .../components/RenderMysqlContent.vue | 0 .../components/RenderRedisContent.vue | 0 .../usage-help/components/UsingHelpPanel.vue | 0 .../db-manage/elastic-search/apply/Index.vue | 23 +- .../elastic-search/common/expansion/Index.vue | 12 +- .../elastic-search/common/replace/Index.vue | 26 +- .../elastic-search/common/shrink/Index.vue | 4 +- .../list/components/detail/Index.vue | 6 +- .../components/detail/components/BaseInfo.vue | 2 +- .../detail/components/node-list/Index.vue | 4 +- .../node-list/components/InstanceDetail.vue | 6 +- .../list/components/list/Index.vue | 16 +- .../src/views/db-manage/hdfs/apply/Index.vue | 21 +- .../db-manage/hdfs/common/expansion/Index.vue | 12 +- .../db-manage/hdfs/common/replace/Index.vue | 8 +- .../db-manage/hdfs/common/shrink/Index.vue | 4 +- .../hdfs/list/components/detail/Index.vue | 6 +- .../components/detail/components/BaseInfo.vue | 2 +- .../detail/components/node-list/Index.vue | 4 +- .../node-list/components/InstanceDetail.vue | 6 +- .../hdfs/list/components/list/Index.vue | 16 +- .../views/db-manage/influxdb/apply/index.vue | 13 +- .../db-manage/influxdb/details/Details.vue | 5 +- .../components/render-list/Index.vue | 9 +- .../render-list/components/Replace.vue | 8 +- .../src/views/db-manage/kafka/apply/Index.vue | 21 +- .../kafka/common/expansion/Index.vue | 12 +- .../db-manage/kafka/common/replace/Index.vue | 14 +- .../db-manage/kafka/common/shrink/Index.vue | 4 +- .../kafka/list/components/detail/Index.vue | 6 +- .../components/detail/components/BaseInfo.vue | 2 +- .../detail/components/node-list/Index.vue | 4 +- .../node-list/components/InstanceDetail.vue | 6 +- .../kafka/list/components/list/Index.vue | 16 +- .../page1/components/RenderTargetSpec.vue | 2 +- .../mongodb/mongodb-instance/list/index.vue | 5 +- .../db-manage/mongodb/permission/Index.vue | 3 +- .../mongodb/replica-set-apply/Index.vue | 11 +- .../components/detail/Index.vue | 9 +- .../components/list/Index.vue | 16 +- .../steps/step1/components/TargetCluster.vue | 2 +- .../mongodb/shared-cluster-apply/Index.vue | 14 +- .../components/detail/Index.vue | 9 +- .../components/list/Index.vue | 16 +- .../mongodb/structure-instance/Index.vue | 5 +- .../db-manage/mysql/apply/ApplyMySQL.vue | 11 +- .../page1/components/RenderData/Index.vue | 5 +- .../pages/page1/components/Index.vue | 3 +- .../page1/components/RenderData/Index.vue | 5 +- .../page1/components/RenderData/Index.vue | 5 +- .../page1/components/RenderData/Index.vue | 5 +- .../page1/components/RenderData/Index.vue | 5 +- .../components/instance-list/Index.vue | 3 +- .../page1/components/RenderData/Index.vue | 5 +- .../mysql/ha-cluster-list/components/List.vue | 18 +- .../components/detail/Index.vue | 6 +- .../page1/components/RenderData/Index.vue | 3 +- .../page1/components/RenderData/Index.vue | 3 +- .../page1/components/RenderData/Index.vue | 3 +- .../target-cluster/components/RenderTable.vue | 5 +- .../mysql/openarea/template-create/Index.vue | 3 +- .../components/RenderData/Index.vue | 3 +- .../components/RenderData/RenderPrivData.vue | 2 +- .../db-manage/mysql/permission-rule/index.vue | 3 +- .../page1/components/RenderData/Index.vue | 3 +- .../page1/components/RenderData/Index.vue | 3 +- .../page1/components/RenderData/Index.vue | 3 +- .../page1/components/RenderData/Index.vue | 3 +- .../render-data/exist-cluster/Index.vue | 5 +- .../render-data/new-cluster/Index.vue | 5 +- .../render-data/origin-cluster/Index.vue | 5 +- .../single-cluster-list/components/List.vue | 18 +- .../components/detail/Index.vue | 6 +- .../page1/components/RenderData/Index.vue | 3 +- .../new-host/components/RenderData/Index.vue | 3 +- .../components/RenderData/Index.vue | 3 +- .../components/ha-access-layer/Index.vue | 2 +- .../ha-storage-layer-local/Index.vue | 2 +- .../ha-storage-layer-remote/Index.vue | 2 +- .../components/single-storage-layer/Index.vue | 2 +- .../db-manage/mysql/webconsole/Index.vue | 2 +- .../views/db-manage/pulsar/apply/index.vue | 17 +- .../pulsar/common/expansion/Index.vue | 12 +- .../db-manage/pulsar/common/replace/Index.vue | 20 +- .../db-manage/pulsar/common/shrink/Index.vue | 4 +- .../pulsar/list/components/detail/Index.vue | 6 +- .../components/detail/components/BaseInfo.vue | 2 +- .../detail/components/node-list/Index.vue | 4 +- .../node-list/components/InstanceDetail.vue | 6 +- .../pulsar/list/components/list/Index.vue | 14 +- .../views/db-manage/redis/apply-ha/Index.vue | 12 +- .../db-manage/redis/apply/ApplyRedis.vue | 18 +- .../page1/components/ClusterDeployPlan.vue | 2 +- .../components/RenderCurrentCapacity.vue | 3 +- .../page1/components/RenderTargetCapacity.vue | 2 +- .../pages/page1/components/Index.vue | 3 +- .../pages/page1/components/Index.vue | 3 +- .../page1/components/cross-business/Index.vue | 2 +- .../components/intra-business-third/Index.vue | 2 +- .../Index.vue | 2 +- .../components/within-business/Index.vue | 2 +- .../pages/page1/components/Index.vue | 3 +- .../redis/list-ha/components/detail/Index.vue | 6 +- .../redis/list-ha/components/list/Index.vue | 12 +- .../redis/list/components/detail/Index.vue | 6 +- .../redis/list/components/list/Index.vue | 12 +- .../pages/page1/components/Index.vue | 3 +- .../pages/page1/components/Index.vue | 3 +- .../pages/page1/components/Index.vue | 4 +- .../db-manage/redis/webconsole/Index.vue | 2 +- .../src/views/db-manage/riak/apply/Index.vue | 13 +- .../src/views/db-manage/riak/list/Index.vue | 2 +- .../list/components/components/AddNodes.vue | 3 +- .../riak/list/components/detail/Index.vue | 5 +- .../components/detail/components/NodeList.vue | 3 +- .../riak/list/components/list/Index.vue | 12 +- .../db-manage/sqlserver/apply/SqlServer.vue | 11 +- .../ha-cluster-list/components/List.vue | 18 +- .../components/detail/index.vue | 6 +- .../ha-instance-list/components/List.vue | 3 +- .../db-manage/sqlserver/permission/Index.vue | 3 +- .../single-cluster/components/List.vue | 18 +- .../components/detail/index.vue | 6 +- .../tendb-cluster/apply/CreateModule.vue | 2 +- .../db-manage/tendb-cluster/apply/Index.vue | 16 +- .../RenderData/RenderTargetResourceSpec.vue | 5 +- .../page1/components/RenderData/Index.vue | 3 +- .../page1/components/RenderData/Index.vue | 3 +- .../page1/components/RenderData/Index.vue | 3 +- .../page1/components/RenderData/Index.vue | 3 +- .../page1/components/RenderData/Index.vue | 3 +- .../page1/components/RenderData/Index.vue | 3 +- .../list-instance/components/list/Index.vue | 3 +- .../list/components/detail/Index.vue | 6 +- .../list/components/list/Index.vue | 18 +- .../list/components/CapacityChange.vue | 2 +- .../target-cluster/components/RenderTable.vue | 3 +- .../openarea-template-create/Index.vue | 3 +- .../components/RenderData/Index.vue | 3 +- .../components/RenderData/RenderPrivData.vue | 2 +- .../tendb-cluster/permission-list/Index.vue | 2 +- .../tendb-cluster/permission/Index.vue | 3 +- .../render-data/exist-cluster/Index.vue | 3 +- .../render-data/new-cluster/Index.vue | 3 +- .../render-data/origin-cluster/Index.vue | 3 +- .../components/table/Index.vue | 2 +- .../tendb-cluster/webconsole/Index.vue | 2 +- .../src/views/inspection-manage/routes.ts | 2 +- .../alarm-group/components/DetailDialog.vue | 30 +-- .../components/NoticeMethodFormItem.vue | 197 ++++++++-------- .../alarm-group/components/RenderRow.vue | 2 +- .../components/content/RenderNotifyGroup.vue | 6 +- .../edit-strategy/monitor-target/Index.vue | 58 ++--- .../src/views/monitor-alarm-db/routes.ts | 4 +- .../components/SingleMonthDateRange.vue | 65 ++--- .../frontend/src/views/quick-search/Index.vue | 18 +- .../quick-search/components/ClusterDomain.vue | 4 +- .../quick-search/components/ClusterName.vue | 4 +- .../quick-search/components/ResourcePool.vue | 4 +- .../quick-search/components/SearchInput.vue | 5 +- .../views/quick-search/components/Ticket.vue | 2 +- .../src/views/resource-manage/pool/Index.vue | 2 +- .../com-factory/components/Hosts.vue | 2 +- .../components/field-tag/ValueTag.vue | 52 ++-- .../src/views/resource-manage/routes.ts | 9 +- .../resource-manage/spec/hooks/useHasQPS.ts | 7 +- .../service-apply/create-db-module/Index.vue | 3 +- .../SqlServerCreateDbModule.vue | 2 +- .../frontend/src/views/staff-manage/routes.ts | 4 +- .../task-history/components}/Minimap.vue | 0 .../src/views/task-history/pages/Details.vue | 2 +- .../demand-factory/bigdata/Replace.vue | 4 +- .../components/import-sqlfile/Index.vue | 2 +- .../demand-factory/mongodb/AuthorizeRules.vue | 1 - .../mongodb/DetailsClusterOperation.vue | 2 +- .../mongodb/TargetClusterPreview.vue | 2 +- .../components/RenderFileContent.vue | 40 ++-- .../script-execute/components/SqlFileList.vue | 36 +-- .../components/SqlFileList.vue | 24 +- .../redis/ClusterCapacityUpdate.vue | 2 +- .../views/tickets/common/hooks/logCounts.ts | 41 ++-- dbm-ui/frontend/src/views/tickets/routes.ts | 4 +- dbm-ui/frontend/src/views/whitelist/routes.ts | 1 - 324 files changed, 1951 insertions(+), 1906 deletions(-) rename dbm-ui/frontend/src/components/{cluster-common/RenderStatus.vue => cluster-status/Index.vue} (96%) rename dbm-ui/frontend/src/components/{cluster-common/HostAgentStatus.vue => host-agent-status/Index.vue} (95%) delete mode 100644 dbm-ui/frontend/src/components/mysql-toolbox/Success.vue delete mode 100644 dbm-ui/frontend/src/components/mysql-toolbox/common/const.ts delete mode 100644 dbm-ui/frontend/src/components/tools-page-title/index.vue rename dbm-ui/frontend/src/views/db-configure/components/{DiffCompare.vue => diff-compare/Index.vue} (96%) rename dbm-ui/frontend/src/{components/db-diff/index.vue => views/db-configure/components/diff-compare/components/ValueDiff.vue} (100%) create mode 100644 dbm-ui/frontend/src/views/db-manage/common/BatchEditKeys.vue rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/ExcelAuthorize.vue (100%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/OperationBtnStatusTips.vue (96%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/RenderBaseInfo.vue (96%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/RenderInstanceStatus.vue (100%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/RenderNodeInstance.vue (97%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/RenderOperationTag.vue (100%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/RenderOperationTagNew.vue (100%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/RenderPassword.vue (100%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/RenderRole.vue (100%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/RenderSimpleClusterList.vue (98%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/SpecDetailForPopover.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/add-permission-rule-dialog/Index.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/apply-items/AffinityItem.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/apply-items/BackendQPSSpec.vue (99%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/apply-items/BackendSpec.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/apply-items/BusinessItems.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/apply-items/CloudItem.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/apply-items/ClusterAlias.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/apply-items/ClusterName.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/apply-items/DeployVersion.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/apply-items/RegionItem.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/apply-items/SpecSelector.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/batch-edit-column/Index.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/batch-operate-icon/Index.vue (100%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/big-data-host-table/HdfsHostTable.vue (100%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/big-data-host-table/RenderHostTable.vue (100%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/big-data-host-table/common/tableSetting.ts (100%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/big-data-host-table/es-host-table/components/EditHostInstance.vue (100%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/big-data-host-table/es-host-table/index.vue (100%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/big-data-host-table/hook/useLocalPagination.ts (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/cluster-authorize/ClusterAuthorize.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/cluster-authorize/accout-rules-preview-table/Index.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/cluster-authorize/accouter-rules-selector/Index.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/cluster-authorize/accouter-rules-selector/components/AccountRulesTable.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/cluster-capacity-usage-rate/Index.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/cluster-details/AsideList.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/cluster-details/ClusterTopo.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/cluster-details/common/graphData.ts (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/cluster-details/common/useRenderGraph.tsx (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/cluster-entry-config/Index.vue (100%) create mode 100644 dbm-ui/frontend/src/views/db-manage/common/cluster-entry-config/MultipleInput.vue rename dbm-ui/frontend/src/{components => views/db-manage/common}/cluster-entry-config/RenderBindIps.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/cluster-event-change/EventChange.vue (99%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/cluster-export-data/Index.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/cluster-export-data/component/Content.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/cluster-export-data/component/TableNameFromItem.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/cluster-monitor/MonitorDashboard.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/cluster-spec-plan-selector/Index.vue (99%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/dropdown-export-excel/index.vue (75%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/es-host-expansion/Index.vue (100%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/es-host-expansion/components/HostSelector.vue (96%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/es-host-expansion/components/ResourcePoolSelector.vue (98%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/es-host-replace/Index.vue (98%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/es-host-replace/components/HostSelector.vue (97%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/es-host-replace/components/ResourcePoolSelector.vue (98%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/host-expansion/Index.vue (100%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/host-expansion/NodeStatusList.vue (100%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/host-expansion/components/HostSelector.vue (98%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/host-expansion/components/ResourcePoolSelector.vue (98%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/host-replace/Index.vue (100%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/host-replace/components/HostSelector.vue (100%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/host-replace/components/ResourcePoolSelector.vue (98%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/host-shrink/Index.vue (100%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/host-shrink/NodeStatusList.vue (100%) rename dbm-ui/frontend/src/{components/cluster-common => views/db-manage/common}/host-shrink/components/SelectOriginalHost.vue (98%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/render-instances/RenderInstances.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/webconsole/Index.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/webconsole/components/ClearScreen.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/webconsole/components/ClusterTabs.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/webconsole/components/ExportData.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/webconsole/components/FontSetting.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/webconsole/components/FullScreen.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/webconsole/components/RawSwitcher.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/webconsole/components/console-panel/Index.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/webconsole/components/console-panel/components/RenderMysqlMessage.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/webconsole/components/console-panel/components/RenderRedisMessage.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/webconsole/components/usage-help/Index.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/webconsole/components/usage-help/components/RenderMysqlContent.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/webconsole/components/usage-help/components/RenderRedisContent.vue (100%) rename dbm-ui/frontend/src/{components => views/db-manage/common}/webconsole/components/usage-help/components/UsingHelpPanel.vue (100%) rename dbm-ui/frontend/src/{components/minimap => views/task-history/components}/Minimap.vue (100%) diff --git a/dbm-ui/frontend/src/components/cluster-common/RenderStatus.vue b/dbm-ui/frontend/src/components/cluster-status/Index.vue similarity index 96% rename from dbm-ui/frontend/src/components/cluster-common/RenderStatus.vue rename to dbm-ui/frontend/src/components/cluster-status/Index.vue index ee05a4ec2b..323334f88e 100644 --- a/dbm-ui/frontend/src/components/cluster-common/RenderStatus.vue +++ b/dbm-ui/frontend/src/components/cluster-status/Index.vue @@ -12,7 +12,7 @@ --> - - diff --git a/dbm-ui/frontend/src/components/vue2/search-select/index.vue b/dbm-ui/frontend/src/components/vue2/search-select/index.vue index 4dce963b81..410929a50d 100644 --- a/dbm-ui/frontend/src/components/vue2/search-select/index.vue +++ b/dbm-ui/frontend/src/components/vue2/search-select/index.vue @@ -41,26 +41,25 @@ + + diff --git a/dbm-ui/frontend/src/components/cluster-common/ExcelAuthorize.vue b/dbm-ui/frontend/src/views/db-manage/common/ExcelAuthorize.vue similarity index 100% rename from dbm-ui/frontend/src/components/cluster-common/ExcelAuthorize.vue rename to dbm-ui/frontend/src/views/db-manage/common/ExcelAuthorize.vue diff --git a/dbm-ui/frontend/src/components/cluster-common/OperationBtnStatusTips.vue b/dbm-ui/frontend/src/views/db-manage/common/OperationBtnStatusTips.vue similarity index 96% rename from dbm-ui/frontend/src/components/cluster-common/OperationBtnStatusTips.vue rename to dbm-ui/frontend/src/views/db-manage/common/OperationBtnStatusTips.vue index 023c86ba5e..ec57b828b6 100644 --- a/dbm-ui/frontend/src/components/cluster-common/OperationBtnStatusTips.vue +++ b/dbm-ui/frontend/src/views/db-manage/common/OperationBtnStatusTips.vue @@ -121,11 +121,11 @@ }); diff --git a/dbm-ui/frontend/src/components/cluster-common/RenderBaseInfo.vue b/dbm-ui/frontend/src/views/db-manage/common/RenderBaseInfo.vue similarity index 96% rename from dbm-ui/frontend/src/components/cluster-common/RenderBaseInfo.vue rename to dbm-ui/frontend/src/views/db-manage/common/RenderBaseInfo.vue index e4c58b5799..5018e374d1 100644 --- a/dbm-ui/frontend/src/components/cluster-common/RenderBaseInfo.vue +++ b/dbm-ui/frontend/src/views/db-manage/common/RenderBaseInfo.vue @@ -53,7 +53,7 @@ + + diff --git a/dbm-ui/frontend/src/components/cluster-entry-config/RenderBindIps.vue b/dbm-ui/frontend/src/views/db-manage/common/cluster-entry-config/RenderBindIps.vue similarity index 100% rename from dbm-ui/frontend/src/components/cluster-entry-config/RenderBindIps.vue rename to dbm-ui/frontend/src/views/db-manage/common/cluster-entry-config/RenderBindIps.vue diff --git a/dbm-ui/frontend/src/components/cluster-event-change/EventChange.vue b/dbm-ui/frontend/src/views/db-manage/common/cluster-event-change/EventChange.vue similarity index 99% rename from dbm-ui/frontend/src/components/cluster-event-change/EventChange.vue rename to dbm-ui/frontend/src/views/db-manage/common/cluster-event-change/EventChange.vue index d6a9b8eea6..06822db88b 100644 --- a/dbm-ui/frontend/src/components/cluster-event-change/EventChange.vue +++ b/dbm-ui/frontend/src/views/db-manage/common/cluster-event-change/EventChange.vue @@ -151,7 +151,6 @@ state.daterange = ['', '']; fetchData(); } - diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/TargetClusterPreview.vue b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/TargetClusterPreview.vue index 0ae1daa6b3..f1e0eda51c 100644 --- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/TargetClusterPreview.vue +++ b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/TargetClusterPreview.vue @@ -57,7 +57,7 @@ import { useDefaultPagination } from '@hooks'; - import RenderClusterStatus from '@components/cluster-common/RenderStatus.vue'; + import RenderClusterStatus from '@components/cluster-status/Index.vue'; import { getSearchSelectorParams } from '@utils'; diff --git a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/script-execute/components/RenderFileContent.vue b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/script-execute/components/RenderFileContent.vue index 5b50f2d0a8..9e2a4a1e11 100644 --- a/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/script-execute/components/RenderFileContent.vue +++ b/dbm-ui/frontend/src/views/tickets/common/components/demand-factory/mongodb/script-execute/components/RenderFileContent.vue @@ -39,24 +39,19 @@