2020-11-10 21:37:48 +08:00
|
|
|
{$layout}
|
|
|
|
|
|
2020-11-11 21:32:19 +08:00
|
|
|
<first-menu>
|
|
|
|
|
<a href="" class="item" @click.prevent="createProvider()">[添加DNS账号信息]</a>
|
|
|
|
|
</first-menu>
|
|
|
|
|
|
|
|
|
|
<p class="comment" v-if="providers.length == 0">暂时还没有第三方DNS服务商。</p>
|
|
|
|
|
|
2020-11-16 13:03:45 +08:00
|
|
|
<table class="ui table selectable celled" v-if="providers.length > 0">
|
2020-11-11 21:32:19 +08:00
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th>账号说明</th>
|
|
|
|
|
<th>服务商</th>
|
2020-11-16 13:03:45 +08:00
|
|
|
<th class="center">域名</th>
|
2020-11-12 14:41:34 +08:00
|
|
|
<th>数据更新时间</th>
|
2020-11-11 21:32:19 +08:00
|
|
|
<th class="two op">操作</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
2020-11-12 14:41:34 +08:00
|
|
|
<tr v-for="(provider, index) in providers">
|
2020-11-11 21:32:19 +08:00
|
|
|
<td>{{provider.name}}</td>
|
|
|
|
|
<td>{{provider.typeName}}</td>
|
2020-11-16 13:03:45 +08:00
|
|
|
<td class="center">
|
|
|
|
|
<span v-if="provider.countDomains == 0" class="disabled">0</span>
|
|
|
|
|
<span v-else>{{provider.countDomains}}</span>
|
2020-11-12 14:41:34 +08:00
|
|
|
</td>
|
2020-11-11 21:32:19 +08:00
|
|
|
<td>
|
|
|
|
|
<span v-if="provider.dataUpdatedTime.length > 0">{{provider.dataUpdatedTime}}</span>
|
|
|
|
|
<span v-else class="disabled">-</span>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
2020-11-12 14:41:34 +08:00
|
|
|
<a :href="'/dns/providers/provider?providerId=' + provider.id">详情</a> <a href="" @click.prevent="deleteProvider(provider.id)">删除</a>
|
2020-11-11 21:32:19 +08:00
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
<div class="page" v-html="page"></div>
|