1.4.5.2
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
{$layout}
|
||||
{$template "../settings_menu"}
|
||||
{$template "/left_menu_with_menu"}
|
||||
|
||||
<div class="right-box with-menu">
|
||||
<!-- 审核中 -->
|
||||
<div v-show="isAuditing">
|
||||
<p class="ui message warning">当前域名正在审核中,暂时不能访问,请耐心等待管理员审核。</p>
|
||||
</div>
|
||||
|
||||
<!-- 审核不通过 -->
|
||||
<div class="ui message error" v-if="!isAuditing && !auditingResult.isOk">
|
||||
审核不通过,原因:{{auditingResult.reason}} ({{auditingResult.createdTime}}),请修改后重新提交。
|
||||
</div>
|
||||
|
||||
<!-- 不在审核中 -->
|
||||
<div>
|
||||
<form method="post" class="ui form" data-tea-action="$" data-tea-success="success">
|
||||
<csrf-token></csrf-token>
|
||||
<input type="hidden" name="serverId" :value="serverId"/>
|
||||
<table class="ui table definition selectable">
|
||||
<tr>
|
||||
<td class="title">已绑定的域名</td>
|
||||
<td>
|
||||
<server-name-box :v-server-names="serverNames"></server-name-box>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<submit-btn></submit-btn>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,15 @@
|
||||
Tea.context(function () {
|
||||
this.success = NotifyReloadSuccess("保存成功")
|
||||
this.auditSuccess = NotifyReloadSuccess("保存成功")
|
||||
|
||||
this.allServerNames = []
|
||||
let that = this
|
||||
this.serverNames.forEach(function (v) {
|
||||
if (v.subNames == null || v.subNames.length == 0) {
|
||||
that.allServerNames.push(v.name)
|
||||
} else {
|
||||
that.allServerNames.$pushAll(v.subNames)
|
||||
}
|
||||
})
|
||||
this.auditing = 1
|
||||
})
|
||||
Reference in New Issue
Block a user