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-SC54XQDl.js";import{i as p,c as _}from"./app-Ba7ZqSpq.js";import{_ as f}from"./app-Cft_lrsr.js";import{W as h}from"./app-B9xxzP2y.js";import{T as v}from"./app-C28obFWS.js";import{_ as N}from"./app-DFulsyXy.js";import{_ as g}from"./app-DWUwCFNm.js";import{_ as x}from"./app-DsNxHx_D.js";import{D as S}from"./app-ZeVDYyDS.js";import"./app-qhR41k1m.js";import"./app-CS3AUTAk.js";import"./app-CCkWSX4Q.js";import"./app-Dhl-Bw0H.js";import"./app-BjSCO7rC.js";import"./app-CkINxBL9.js";import"./app-PPG0ZS4d.js";import"./app--Lj8zATS.js";import"./app-Ch8j4za4.js";import"./app-C2mBgI5Z.js";import"./app-CNHjdV6U.js";import"./app-DoVkxbmA.js";import"./app-CVQkwzlf.js";import"./app-DnXuoh8P.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),X={__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{X as default};
