mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-25 03:26:34 +08:00
增加用户系统界面管理、用户可以设置关联集群
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
<tr>
|
||||
<th>用户名</th>
|
||||
<th>全名</th>
|
||||
<th>关联集群</th>
|
||||
<th>手机号</th>
|
||||
<th>注册时间</th>
|
||||
<th class="center width10">状态</th>
|
||||
@@ -19,6 +20,10 @@
|
||||
<tr v-for="user in users">
|
||||
<td :class="{disabled:!user.isOn}">{{user.username}}</td>
|
||||
<td :class="{disabled:!user.isOn}">{{user.fullname}}</td>
|
||||
<td>
|
||||
<span v-if="user.cluster != null">{{user.cluster.name}} <link-icon :href="'/clusters/cluster?clusterId=' + user.cluster.id"></link-icon></span>
|
||||
<span v-else class="disabled">-</span>
|
||||
</td>
|
||||
<td :class="{disabled:!user.isOn}">
|
||||
<span v-if="user.mobile.length > 0">{{user.mobile}}</span>
|
||||
<span v-else class="disabled">-</span>
|
||||
|
||||
Reference in New Issue
Block a user