实现在服务中使用分组

This commit is contained in:
GoEdgeLab
2020-10-29 21:37:48 +08:00
parent 8397c71a21
commit cc9b1adb34
13 changed files with 169 additions and 59 deletions

View File

@@ -7,6 +7,7 @@
<thead>
<tr>
<th>服务名称</th>
<th>所属分组</th>
<th>服务类型</th>
<th>部署集群</th>
<th>端口</th>
@@ -16,6 +17,14 @@
</thead>
<tr v-for="server in servers">
<td>{{server.name}}</td>
<td>
<div v-if="server.groups.length > 0">
<div v-for="group in server.groups">
<span class="ui label tiny" style="margin-bottom:0.5em">{{group.name}}</span>
</div>
</div>
<span class="disabled" v-else>-</span>
</td>
<td>{{server.serverTypeName}}</td>
<td>{{server.cluster.name}}</td>
<td>