mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-08 14:10:30 +08:00
单个节点支持多个DNS线路
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
|
||||
<h3>节点DNS解析记录 <span> ({{nodes.length}}个)</span></h3>
|
||||
<p class="comment" v-if="nodes.length == 0">暂时没有需要设置的DNS记录。</p>
|
||||
<table class="ui table selectable" v-if="nodes.length > 0">
|
||||
<table class="ui table selectable celled" v-if="nodes.length > 0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>节点</th>
|
||||
@@ -80,7 +80,7 @@
|
||||
|
||||
<h3>代理服务解析记录 <span> ({{servers.length}}个)</span></h3>
|
||||
<p class="comment" v-if="servers.length == 0">暂时没有需要设置的DNS记录。</p>
|
||||
<table class="ui table selectable" v-if="servers.length > 0">
|
||||
<table class="ui table selectable celled" v-if="servers.length > 0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>服务</th>
|
||||
|
||||
@@ -12,6 +12,7 @@ Tea.context(function () {
|
||||
|
||||
this.updateNode = function (nodeId) {
|
||||
teaweb.popup("/dns/issues/updateNodePopup?nodeId=" + nodeId, {
|
||||
height: "26em",
|
||||
callback: function () {
|
||||
teaweb.success("保存成功", function () {
|
||||
teaweb.reload()
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<div class="margin"></div>
|
||||
|
||||
<p class="comment" v-if="clusters.length == 0">暂时还没有集群。</p>
|
||||
<table class="ui table selectable" v-if="clusters.length > 0">
|
||||
<table class="ui table selectable celled" v-if="clusters.length > 0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>集群</th>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<p class="comment">暂时没有发现问题。</p>
|
||||
</div>
|
||||
|
||||
<table class="ui table selectable" v-if="issues.length > 0">
|
||||
<table class="ui table selectable celled" v-if="issues.length > 0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 50%">问题对象</th>
|
||||
|
||||
@@ -24,11 +24,11 @@
|
||||
<tr v-if="domainId > 0">
|
||||
<td>线路</td>
|
||||
<td>
|
||||
<p class="comment" v-if="routes.length == 0">没有可选的线路。</p>
|
||||
<select class="ui dropdown auto-width" name="route" v-if="routes.length > 0" v-model="route">
|
||||
<option v-for="route in routes" :value="route.code">{{route.name}}</option>
|
||||
</select>
|
||||
<p class="comment" v-if="routes.length > 0">当前节点IP对应的线路。</p>
|
||||
<p class="comment" v-if="allRoutes.length == 0">没有可选的线路。</p>
|
||||
<div v-if="allRoutes.length > 0">
|
||||
<dns-route-selector :v-all-routes="allRoutes" :v-routes="routes"></dns-route-selector>
|
||||
<p class="comment">当前节点IP对应的线路。</p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -6,12 +6,12 @@
|
||||
|
||||
<p class="comment" v-if="providers.length == 0">暂时还没有第三方DNS服务商。</p>
|
||||
|
||||
<table class="ui table selectable" v-if="providers.length > 0">
|
||||
<table class="ui table selectable celled" v-if="providers.length > 0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>账号说明</th>
|
||||
<th>服务商</th>
|
||||
<th>域名</th>
|
||||
<th class="center">域名</th>
|
||||
<th>数据更新时间</th>
|
||||
<th class="two op">操作</th>
|
||||
</tr>
|
||||
@@ -19,9 +19,9 @@
|
||||
<tr v-for="(provider, index) in providers">
|
||||
<td>{{provider.name}}</td>
|
||||
<td>{{provider.typeName}}</td>
|
||||
<td>
|
||||
<span v-if="provider.countDomains == 0" class="disabled">0个域名</span>
|
||||
<span v-else>{{provider.countDomains}}个域名</span>
|
||||
<td class="center">
|
||||
<span v-if="provider.countDomains == 0" class="disabled">0</span>
|
||||
<span v-else>{{provider.countDomains}}</span>
|
||||
</td>
|
||||
<td>
|
||||
<span v-if="provider.dataUpdatedTime.length > 0">{{provider.dataUpdatedTime}}</span>
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
<h3>管理的域名 <a href="" @click.prevent="createDomain()">[添加域名]</a> </h3>
|
||||
<p class="comment" v-if="domains.length == 0">暂时还没有可以管理的域名。</p>
|
||||
|
||||
<table class="ui table selectable" v-if="domains.length > 0">
|
||||
<table class="ui table selectable celled" v-if="domains.length > 0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>域名</th>
|
||||
|
||||
Reference in New Issue
Block a user