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-BYcXwl4U.js";import{i as p,c as _}from"./app-a6cKceqE.js";import{_ as f}from"./app-C3oVnfUH.js";import{W as h}from"./app-D7QVa3_6.js";import{T as v}from"./app-CO4sV-Ic.js";import{_ as N}from"./app-CQ-vNlMj.js";import{_ as g}from"./app-CignoBaV.js";import{_ as x}from"./app-Dtso290A.js";import{D as S}from"./app-7GBSHA5C.js";import"./app-CLawzVMq.js";import"./app-BeFNDz9n.js";import"./app-BDgR0DSb.js";import"./app-DxjODhok.js";import"./app-DPDEogA0.js";import"./app-yt37eDzA.js";import"./app-BG60hdvp.js";import"./app-BQ5ggxk2.js";import"./app-SxAW7vhf.js";import"./app-D3zbrzdO.js";import"./app-CrjU8lgK.js";import"./app-D2Wz0BUQ.js";import"./app-Ufpj4Ll4.js";import"./app-ysQ8KbGS.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};
