import{o,c as n,w as i,u as t,d as u,e as c,a as s,b as a,f as m,t as l,h as d}from"./app-DnroACXc.js";import{i as p,c as _}from"./app-DckefXYL.js";import{_ as f}from"./app-DgsA44Do.js";import{W as h}from"./app-C7P1WxYu.js";import{T as v}from"./app-R-vSvFIF.js";import{_ as N}from"./app-MnSDCF4P.js";import{_ as g}from"./app-COct4tsy.js";import{_ as x}from"./app-D6oD87bH.js";import{D as S}from"./app-Cx7ENVlu.js";import"./app-B2-Q9WJQ.js";import"./app-DAKlLAys.js";import"./app-xECxwo4T.js";import"./app-BBDtZW3a.js";import"./app-Co2SIBzr.js";import"./app-B0NrURRk.js";import"./app-HaDoyrq5.js";import"./app-CYYQ_Zep.js";import"./app-Cmxxk_WX.js";import"./app-CF8nmC-F.js";import"./app-B09rlSqG.js";import"./app-LqsmzyUT.js";import"./app-B8VsrFxM.js";import"./app-DPkDcD7h.js";import"./app-CF0qXH5Q.js";function $(){p(this),this.success=this.$NotifyReloadSuccess("保存成功"),this.auditSuccess=this.$NotifyReloadSuccess("保存成功"),this.allServerNames=[];let r=this;this.serverNames.forEach(function(e){e.subNames==null||e.subNames.length==0?r.allServerNames.push(e.name):r.allServerNames.$pushAll(e.subNames)}),this.auditing=1}const b={class:"mb-4"},y=["value"],R=s("td",{class:"title"},"已绑定的域名",-1),Y={__name:"index",setup(r){const e=_(new $);return(w,T)=>(o(),n(f,{ctx:t(e)},{default:i(()=>[u(s("div",null,[a(h,null,{default:i(()=>[m("当前网站域名正在审核中，暂时不能访问，请耐心等待管理员审核。")]),_:1})],512),[[c,t(e).isAuditing]]),s("div",b,[!t(e).isAuditing&&!t(e).auditingResult.isOk?(o(),n(v,{key:0,error:""},{default:i(()=>[m(" 审核不通过，原因："+l(t(e).auditingResult.reason)+" （"+l(t(e).auditingResult.createdTime)+"），请修改后重新提交。 ",1)]),_:1})):d("",!0)]),s("div",null,[a(N,{action:"$",onSuccess:t(e).success},{default:i(()=>[s("input",{type:"hidden",name:"serverId",value:t(e).serverId},null,8,y),a(S,null,{default:i(()=>[s("tbody",null,[s("tr",null,[R,s("td",null,[a(x,{"v-server-names":t(e).serverNames},null,8,["v-server-names"])])])])]),_:1}),a(g)]),_:1},8,["onSuccess"])])]),_:1},8,["ctx"]))}};export{Y as default};
