增加分区

This commit is contained in:
许晓东
2021-10-19 14:40:17 +08:00
parent 0f4663d58f
commit 83c8217d73
6 changed files with 77 additions and 28 deletions

View File

@@ -74,7 +74,7 @@
size="small"
href="javascript:;"
class="operation-btn"
@click="openAddPartitionDialog"
@click="openAddPartitionDialog(record.name)"
>增加分区
</a-button>
</div>
@@ -91,6 +91,7 @@
</CreateTopic>
<AddPartition
:visible="showAddPartition"
:topic="selectDetail.resourceName"
@closeAddPartitionDialog="closeAddPartitionDialog"
></AddPartition>
</div>
@@ -183,7 +184,8 @@ export default {
this.getTopicList();
}
},
openAddPartitionDialog() {
openAddPartitionDialog(topic) {
this.selectDetail.resourceName = topic;
this.showAddPartition = true;
},
closeAddPartitionDialog(res) {