mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-12-27 12:56:35 +08:00
审核中服务增加提交审核时间/已通过域名标绿
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
padding-right: 1em;
|
||||
}
|
||||
.node-logs-box {
|
||||
max-height: 11.6em;
|
||||
max-height: 14em;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.node-logs-box::-webkit-scrollbar {
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"version":3,"sources":["index.less"],"names":[],"mappings":"AAAA,GAAG,QACF,MAAK;EACJ,kBAAA;EACA,UAAA;EACA,UAAA;;AAJF,GAAG,QAOF;EACC,kBAAA;;AAIF;EACC,kBAAA;EACA,gBAAA;;AAGD,cAAc;EACb,UAAA","file":"index.css"}
|
||||
{"version":3,"sources":["index.less"],"names":[],"mappings":"AAAA,GAAG,QACF,MAAK;EACJ,kBAAA;EACA,UAAA;EACA,UAAA;;AAJF,GAAG,QAOF;EACC,kBAAA;;AAIF;EACC,gBAAA;EACA,gBAAA;;AAGD,cAAc;EACb,UAAA","file":"index.css"}
|
||||
@@ -101,7 +101,7 @@
|
||||
|
||||
<!-- 审核中 -->
|
||||
<div v-if="server.isAuditing" style="margin-top: 0.5em">
|
||||
<a class="ui label basic tiny red" title="点击跳到审核页面" :href="'/servers/server/settings/serverNames?serverId=' + server.id">审核中 <i class="icon long arrow right alternate"></i></a>
|
||||
<a class="ui label basic tiny red" title="点击跳到审核页面" :href="'/servers/server/settings/serverNames?serverId=' + server.id">审核中<span class="small grey" v-if="server.auditingTime.length > 0">({{server.auditingTime}})</span> <i class="icon long arrow right alternate"></i></a>
|
||||
</div>
|
||||
|
||||
<!-- 审核失败 -->
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
}
|
||||
|
||||
.node-logs-box {
|
||||
max-height: 11.6em;
|
||||
max-height: 14em;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
|
||||
@@ -12,11 +12,16 @@
|
||||
<tr>
|
||||
<td class="title">审核中域名</td>
|
||||
<td>
|
||||
<span v-for="serverName in allServerNames" class="ui label basic">
|
||||
{{serverName}}
|
||||
<span v-for="serverName in allServerNames" class="ui label basic" :class="{green: serverName.isPassed}">
|
||||
{{serverName.name}}
|
||||
</span>
|
||||
<p class="comment" v-if="hasPassedDomains"><span class="green">绿色</span>标注的域名表示之前已经审核通过的域名。</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr v-if="auditingTime.length > 0">
|
||||
<td>提交审核时间</td>
|
||||
<td>{{auditingTime}}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>审核结果</td>
|
||||
<td>
|
||||
|
||||
@@ -6,10 +6,26 @@ Tea.context(function () {
|
||||
let that = this
|
||||
this.serverNames.forEach(function (v) {
|
||||
if (v.subNames == null || v.subNames.length == 0) {
|
||||
that.allServerNames.push(v.name)
|
||||
that.allServerNames.push({
|
||||
name: v.name,
|
||||
isPassed: that.passedDomains.$contains(v.name)
|
||||
})
|
||||
} else {
|
||||
that.allServerNames.$pushAll(v.subNames)
|
||||
v.subNames.forEach(function (subName) {
|
||||
that.allServerNames.push({
|
||||
name: subName,
|
||||
isPassed: that.passedDomains.$contains(subName)
|
||||
})
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
this.hasPassedDomains = false
|
||||
this.allServerNames.forEach(function (serverName) {
|
||||
if (serverName.isPassed) {
|
||||
that.hasPassedDomains = true
|
||||
}
|
||||
})
|
||||
|
||||
this.auditing = 1
|
||||
})
|
||||
Reference in New Issue
Block a user