mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-04 05:00:25 +08:00
IP名单列表显示代号
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
</div>
|
||||
<div class="ui field">
|
||||
<select class="ui dropdown auto-width" name="listType" v-model="listType">
|
||||
<option value="">[类型]</option>
|
||||
<option value="">[所有类型]</option>
|
||||
<option value="black">黑名单</option>
|
||||
<option value="white">白名单</option>
|
||||
<option value="grey">灰名单</option>
|
||||
@@ -17,7 +17,7 @@
|
||||
</div>
|
||||
<div class="ui field">
|
||||
<select class="ui dropdown" name="eventLevel" v-model="eventLevel">
|
||||
<option value="">[级别]</option>
|
||||
<option value="">[所有级别]</option>
|
||||
<option v-for="level in eventLevels" :value="level.code">{{level.name}}</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
<tr>
|
||||
<th class="one wide center">ID</th>
|
||||
<th class="three wide">名称</th>
|
||||
<th class="two wide">代号</th>
|
||||
<th class="two wide center">类型</th>
|
||||
<th>备注</th>
|
||||
<th class="two wide center">IP数量</th>
|
||||
@@ -37,6 +38,10 @@
|
||||
<a :href="'/servers/iplists/list?listId=' + list.id"><keyword :v-word="keyword">{{list.name}}</keyword></a>
|
||||
<div v-if="list.isGlobal" style="margin-top: 0.3em"><grey-label>全局</grey-label></div>
|
||||
</td>
|
||||
<td>
|
||||
<span v-if="list.code != null && list.code.length > 0">{{list.code}}</span>
|
||||
<span v-else class="disabled">-</span>
|
||||
</td>
|
||||
<td class="center">
|
||||
<span v-if="list.type == 'black'"><span class="red">黑名单</span></span>
|
||||
<span v-if="list.type == 'white'"><span class="green">白名单</span></span>
|
||||
|
||||
Reference in New Issue
Block a user