mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-03 20:40:26 +08:00
企业认证信息中增加节点数显示
This commit is contained in:
@@ -42,6 +42,7 @@ func (this *IndexAction) RunGet(params struct{}) {
|
||||
"macAddresses": keyResp.AuthorityKey.MacAddresses,
|
||||
"hostname": keyResp.AuthorityKey.Hostname,
|
||||
"company": keyResp.AuthorityKey.Company,
|
||||
"nodes": keyResp.AuthorityKey.Nodes,
|
||||
"isExpired": !isActive,
|
||||
"updatedTime": timeutil.FormatTime("Y-m-d H:i:s", keyResp.AuthorityKey.UpdatedAt),
|
||||
}
|
||||
|
||||
@@ -7,11 +7,15 @@
|
||||
<div class="margin"></div>
|
||||
<table class="ui table definition selectable">
|
||||
<tr>
|
||||
<td>状态</td>
|
||||
<td class="title">状态</td>
|
||||
<td>
|
||||
<span class="green">已认证</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr v-if="key.nodes > 0">
|
||||
<td>节点数限制</td>
|
||||
<td>{{key.nodes}}个节点</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>公司/组织名</td>
|
||||
<td>{{key.company}}</td>
|
||||
|
||||
Reference in New Issue
Block a user