Files
EdgeAdmin/web/views/@default/admins/recipients/instances/index.html

37 lines
1.2 KiB
HTML
Raw Normal View History

2021-04-05 20:48:13 +08:00
{$layout}
{$template "../menu"}
<second-menu>
<menu-item @click.prevent="createInstance">[创建]</menu-item>
</second-menu>
<p class="comment" v-if="instances.length == 0">暂时还没有媒介接收人。</p>
<table class="ui table selectable celled" v-if="instances.length > 0">
<thead>
<tr>
2021-04-12 19:19:59 +08:00
<th>媒介名称</th>
2021-04-05 20:48:13 +08:00
<th class="three wide">媒介类型</th>
<th>备注</th>
<th class="two wide">状态</th>
<th class="two op">操作</th>
</tr>
</thead>
<tr v-for="instance in instances">
<td><a :href="'/admins/recipients/instances/instance?instanceId=' + instance.id">{{instance.name}}</a></td>
2021-04-05 20:48:13 +08:00
<td>{{instance.media.name}}</td>
<td>
<span v-if="instance.description.length > 0">{{instance.description}}</span>
<span v-else class="disabled">-</span>
</td>
<td>
<label-on :v-is-on="instance.isOn"></label-on>
</td>
<td>
<a :href="'/admins/recipients/instances/instance?instanceId=' + instance.id">详情</a> &nbsp;
<a href="" @click.prevent="deleteInstance(instance.id)">删除</a>
</td>
</tr>
</table>
<div class="page" v-html="page"></div>