forked from TencentBlueKing/blueking-dbm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'local_sqlserver' into dev_local
- Loading branch information
Showing
212 changed files
with
20,072 additions
and
1,143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"eslint.validate": ["javascript", "javascriptreact", "html", "vue"], | ||
"eslint.alwaysShowStatus": true, | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": "explicit" | ||
}, | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"[javascript]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[javascriptreact]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[typescript]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[typescriptreact]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[json]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[html]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[css]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"editor.formatOnSave": true, | ||
"editor.tabSize": 2, | ||
"css.validate": false, | ||
"stylelint.enable": true, | ||
"scss.validate": false, | ||
"stylelint.validate": ["css", "scss", "vue"], | ||
"preCI.localCodeCheck.filter.whitePath": "", | ||
"preCI.localCodeCheck.filter.skipPath": "", | ||
"preCI.localCodeCheck.checkerSet.JS": ["standard_js"], | ||
"peacock.remoteColor": "#45e35f", | ||
"bk-code-ai.enable": true, | ||
"workbench.colorCustomizations": { | ||
"activityBar.activeBackground": "#71ea85", | ||
"activityBar.background": "#71ea85", | ||
"activityBar.foreground": "#15202b", | ||
"activityBar.inactiveForeground": "#15202b99", | ||
"activityBarBadge.background": "#8874ea", | ||
"activityBarBadge.foreground": "#15202b", | ||
"commandCenter.border": "#15202b99", | ||
"sash.hoverBorder": "#71ea85", | ||
"statusBar.background": "#45e35f", | ||
"statusBar.foreground": "#15202b", | ||
"statusBarItem.hoverBackground": "#20d53e", | ||
"statusBarItem.remoteBackground": "#45e35f", | ||
"statusBarItem.remoteForeground": "#15202b", | ||
"titleBar.activeBackground": "#45e35f", | ||
"titleBar.activeForeground": "#15202b", | ||
"titleBar.inactiveBackground": "#45e35f99", | ||
"titleBar.inactiveForeground": "#15202b99" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 64 additions & 0 deletions
64
dbm-ui/frontend/src/components/cluster-export-data/Index.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<!-- | ||
* TencentBlueKing is pleased to support the open source community by making 蓝鲸智云-DB管理系统(BlueKing-BK-DBM) available. | ||
* | ||
* Copyright (C) 2017-2023 THL A29 Limited, a Tencent company. All rights reserved. | ||
* | ||
* Licensed under the MIT License (the "License"); you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License athttps://opensource.org/licenses/MIT | ||
* | ||
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed | ||
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for | ||
* the specific language governing permissions and limitations under the License. | ||
--> | ||
|
||
<template> | ||
<DbSideslider | ||
v-model:is-show="isShow" | ||
class="export-data" | ||
width="960"> | ||
<template #header> | ||
<span>{{ t('导出数据') }}</span> | ||
<div class="cluster-domain">{{ data.master_domain }}</div> | ||
</template> | ||
<Content | ||
:data="data" | ||
:ticket-type="ticketType" /> | ||
</DbSideslider> | ||
</template> | ||
|
||
<script setup lang="tsx"> | ||
import { useI18n } from 'vue-i18n'; | ||
|
||
import TendbhaModel from '@services/model/mysql/tendbha'; | ||
import TendbsingleModel from '@services/model/mysql/tendbsingle'; | ||
import TendbClusterModel from '@services/model/spider/tendbCluster'; | ||
|
||
import { TicketTypes } from '@common/const'; | ||
|
||
import Content from './component/Content.vue'; | ||
|
||
interface Props { | ||
data: TendbsingleModel | TendbhaModel | TendbClusterModel; | ||
ticketType: TicketTypes.MYSQL_DUMP_DATA | TicketTypes.TENDBCLUSTER_DUMP_DATA; | ||
} | ||
|
||
defineProps<Props>(); | ||
const isShow = defineModel<boolean>('isShow', { | ||
required: true, | ||
default: false, | ||
}); | ||
|
||
const { t } = useI18n(); | ||
</script> | ||
|
||
<style lang="less"> | ||
.export-data { | ||
.cluster-domain { | ||
padding-left: 8px; | ||
margin-left: 8px; | ||
color: #979ba5; | ||
font-size: 14px; | ||
border-left: 1px solid #dcdee5; | ||
} | ||
} | ||
</style> |
Oops, something went wrong.