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