系统用户增加是否允许登录选项

This commit is contained in:
刘祥超
2021-03-30 11:00:06 +08:00
parent a553bad1ef
commit 129d2ccef0
8 changed files with 35 additions and 0 deletions

View File

@@ -6,6 +6,7 @@
<tr>
<th>用户名</th>
<th>全名</th>
<th>允许登录</th>
<th>OTP认证</th>
<th class="center width10">状态</th>
<th class="two op">操作</th>
@@ -18,6 +19,10 @@
</div>
</td>
<td :class="{disabled:!admin.isOn}">{{admin.fullname}}</td>
<td>
<span v-if="admin.canLogin" class="green">Y</span>
<span v-else class="disabled">N</span>
</td>
<td>
<span v-if="admin.otpLoginIsOn" class="green">Y</span>
<span v-else class="disabled">N</span>