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): redis集群支持自定义方案 TencentBlueKing#7272
- Loading branch information
Showing
25 changed files
with
1,076 additions
and
404 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
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
41 changes: 41 additions & 0 deletions
41
dbm-ui/frontend/src/views/db-manage/common/apply-schema/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,41 @@ | ||
<template> | ||
<DbFormItem | ||
:label="t('部署方案选择')" | ||
required> | ||
<BkRadioGroup | ||
v-model="modelValue" | ||
style="width: 314px"> | ||
<BkRadioButton | ||
:label="APPLY_SCHEME.AUTO" | ||
style="flex: 1"> | ||
{{ t('自动推荐方案') }} | ||
<BkTag | ||
size="small" | ||
theme="success"> | ||
{{ t('实验') }} | ||
</BkTag> | ||
</BkRadioButton> | ||
<BkRadioButton | ||
:label="APPLY_SCHEME.CUSTOM" | ||
style="flex: 1"> | ||
{{ t('自定义方案') }} | ||
</BkRadioButton> | ||
</BkRadioGroup> | ||
</DbFormItem> | ||
</template> | ||
|
||
<script lang="ts"> | ||
export enum APPLY_SCHEME { | ||
AUTO = 'auto', | ||
CUSTOM = 'custom', | ||
} | ||
</script> | ||
<script setup lang="ts"> | ||
import { useI18n } from 'vue-i18n'; | ||
const { t } = useI18n(); | ||
const modelValue = defineModel<APPLY_SCHEME>({ | ||
required: true, | ||
}); | ||
</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
Oops, something went wrong.