|
1 | 1 | <template>
|
2 |
| - <BkDropdownItem |
3 |
| - v-db-console="'mongodb.sharedClusterList.batchAuthorize'" |
4 |
| - @click="clusterAuthorizeShow = true"> |
| 2 | + <BkDropdownItem v-db-console="'mongodb.sharedClusterList.batchAuthorize'"> |
5 | 3 | <BkButton
|
6 | 4 | v-bk-tooltips="{
|
7 | 5 | disabled: !batchAuthorizeDisabled,
|
|
10 | 8 | }"
|
11 | 9 | class="opration-button"
|
12 | 10 | :disabled="batchAuthorizeDisabled"
|
13 |
| - text> |
| 11 | + text |
| 12 | + @click="clusterAuthorizeShow = true"> |
14 | 13 | {{ t('批量授权') }}
|
15 | 14 | </BkButton>
|
16 | 15 | </BkDropdownItem>
|
|
32 | 31 | {{ t('移除标签') }}
|
33 | 32 | </BkButton>
|
34 | 33 | </BkDropdownItem>
|
35 |
| - <BkDropdownItem |
36 |
| - v-db-console="'mongodb.sharedClusterList.disable'" |
37 |
| - @click="handleDisableCluster(selected)"> |
| 34 | + <BkDropdownItem v-db-console="'mongodb.sharedClusterList.disable'"> |
38 | 35 | <BkButton
|
39 | 36 | v-bk-tooltips="{
|
40 | 37 | disabled: !batchDisabledDisabled,
|
|
43 | 40 | }"
|
44 | 41 | class="opration-button"
|
45 | 42 | :disabled="batchDisabledDisabled"
|
46 |
| - text> |
| 43 | + text |
| 44 | + @click="handleDisableCluster(selected)"> |
47 | 45 | {{ t('禁用') }}
|
48 | 46 | </BkButton>
|
49 | 47 | </BkDropdownItem>
|
50 |
| - <BkDropdownItem |
51 |
| - v-db-console="'mongodb.sharedClusterList.enable'" |
52 |
| - @click="handleEnableCluster(selected)"> |
| 48 | + <BkDropdownItem v-db-console="'mongodb.sharedClusterList.enable'"> |
53 | 49 | <BkButton
|
54 | 50 | v-bk-tooltips="{
|
55 | 51 | disabled: !batchEnableDisabled,
|
|
58 | 54 | }"
|
59 | 55 | class="opration-button"
|
60 | 56 | :disabled="batchEnableDisabled"
|
61 |
| - text> |
| 57 | + text |
| 58 | + @click="handleEnableCluster(selected)"> |
62 | 59 | {{ t('启用') }}
|
63 | 60 | </BkButton>
|
64 | 61 | </BkDropdownItem>
|
65 |
| - <BkDropdownItem |
66 |
| - v-db-console="'mongodb.sharedClusterList.delete'" |
67 |
| - @click="handleDeleteCluster(selected)"> |
| 62 | + <BkDropdownItem v-db-console="'mongodb.sharedClusterList.delete'"> |
68 | 63 | <BkButton
|
69 | 64 | v-bk-tooltips="{
|
70 | 65 | disabled: !batchDeleteDisabled,
|
|
73 | 68 | }"
|
74 | 69 | class="opration-button"
|
75 | 70 | :disabled="batchDeleteDisabled"
|
76 |
| - text> |
| 71 | + text |
| 72 | + @click="handleDeleteCluster(selected)"> |
77 | 73 | {{ t('删除') }}
|
78 | 74 | </BkButton>
|
79 | 75 | </BkDropdownItem>
|
|
0 commit comments