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.
feat(frontend): 工具箱支持资源池协议变更_tendbcluster迁移主从 TencentBlueKing#8076
# Reviewed, transaction id: 27526
- Loading branch information
1 parent
5d465b2
commit 8ebef76
Showing
17 changed files
with
820 additions
and
47 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
28 changes: 28 additions & 0 deletions
28
dbm-ui/frontend/src/views/db-manage/common/toolbox-field/backup-source/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,28 @@ | ||
<template> | ||
<BkFormItem | ||
:label="t('备份源')" | ||
property="backupSource" | ||
required> | ||
<BkRadioGroup v-model="modelValue"> | ||
<BkRadio :label="BackupSourceType.LOCAL"> | ||
{{ t('本地备份') }} | ||
</BkRadio> | ||
<BkRadio :label="BackupSourceType.REMOTE"> | ||
{{ t('远程备份') }} | ||
</BkRadio> | ||
</BkRadioGroup> | ||
</BkFormItem> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import { useI18n } from 'vue-i18n'; | ||
import { BackupSourceType } from '@services/types'; | ||
const { t } = useI18n(); | ||
const modelValue = defineModel<BackupSourceType>({ | ||
required: true, | ||
default: BackupSourceType.LOCAL, | ||
}); | ||
</script> |
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
18 changes: 18 additions & 0 deletions
18
dbm-ui/frontend/src/views/db-manage/common/toolbox-field/ticket-remark/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,18 @@ | ||
<template> | ||
<BkFormItem :label="t('备注')"> | ||
<BkInput | ||
v-model="modelValue" | ||
:maxlength="500" | ||
:placeholder="t('请提供更多有用信息申请信息_以获得更快审批')" | ||
style="width: 700px" | ||
type="textarea" /> | ||
</BkFormItem> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import { useI18n } from 'vue-i18n'; | ||
const { t } = useI18n(); | ||
const modelValue = defineModel<string>(); | ||
</script> |
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
Oops, something went wrong.