eslint fixed and 页面权限配置 and 默认权限数据加载.

This commit is contained in:
许晓东
2023-05-17 22:29:04 +08:00
parent b08be2aa65
commit 7e98a58f60
37 changed files with 686 additions and 297 deletions

View File

@@ -17,6 +17,7 @@
href="javascript:;"
class="operation-btn"
@click="openAddClusterInfoDialog"
v-action:op:cluster-switch:add
>新增集群
</a-button>
<br /><br />
@@ -38,6 +39,7 @@
href="javascript:;"
class="operation-btn"
@click="switchCluster(record)"
v-action:op:cluster-switch:switch
>切换
</a-button>
<a-button
@@ -45,6 +47,7 @@
href="javascript:;"
class="operation-btn"
@click="openUpdateClusterInfoDialog(record)"
v-action:op:cluster-switch:edit
>编辑
</a-button>
<a-popconfirm
@@ -58,6 +61,7 @@
href="javascript:;"
class="operation-btn"
type="danger"
v-action:op:cluster-switch:del
>删除
</a-button>
</a-popconfirm>

View File

@@ -2,7 +2,7 @@
<div class="content">
<div class="content-module">
<a-card title="集群管理" style="width: 100%; text-align: left">
<p>
<p v-action:op:cluster-switch>
<a-button type="primary" @click="openClusterInfoDialog">
集群切换
</a-button>
@@ -15,7 +15,7 @@
</div>
<div class="content-module">
<a-card title="Broker管理" style="width: 100%; text-align: left">
<p>
<p v-action:op:config-throttle>
<a-button type="primary" @click="openConfigThrottleDialog">
配置限流
</a-button>
@@ -24,7 +24,7 @@
>设置指定broker上的topic的副本之间数据同步占用的带宽这个设置是broker级别的但是设置后还要去对应的topic上进行限流配置指定对这个topic的相关副本进行限制</span
>
</p>
<p>
<p v-action:op:remove-throttle>
<a-button type="primary" @click="openRemoveThrottleDialog">
解除限流
</a-button>
@@ -35,21 +35,21 @@
</div>
<div class="content-module">
<a-card title="副本管理" style="width: 100%; text-align: left">
<p>
<p v-action:op:replication-preferred>
<a-button type="primary" @click="openElectPreferredLeaderDialog">
首选副本作为leader
</a-button>
<label>说明</label>
<span>将集群中所有分区leader副本设置为首选副本</span>
</p>
<p>
<p v-action:op:replication-update-detail>
<a-button type="primary" @click="openCurrentReassignmentsDialog">
副本变更详情
</a-button>
<label>说明</label>
<span>查看正在进行副本变更/重分配的任务或者将其取消</span>
</p>
<p>
<p v-action:op:replication-reassign>
<a-button type="primary" @click="openReplicaReassignDialog">
副本重分配
</a-button>