企业认证信息中增加节点数显示

This commit is contained in:
GoEdgeLab
2021-08-30 18:57:35 +08:00
parent 41c5bef9f4
commit 06d7f8d754
2 changed files with 6 additions and 1 deletions

View File

@@ -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),
}

View File

@@ -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>