import{i as c,c as _}from"./app-a6cKceqE.js";import{_ as p}from"./app-COPzq7M0.js";import{T as f}from"./app-D2Wz0BUQ.js";import{D as h}from"./app-7GBSHA5C.js";import{o as a,g as n,b as i,u as e,w as l,F as d,a as s,t as r,h as m,n as x,f as u,D as b}from"./app-BYcXwl4U.js";import"./app-DCd54JMo.js";import"./app-MrAtUXr3.js";import"./app-BWSI2Z1R.js";import"./app-DPDEogA0.js";import"./app-DxjODhok.js";import"./app-CabATHnR.js";import"./app-BhzV4gWo.js";import"./app-D3zbrzdO.js";function g(){c(this)}const k=s("td",{class:"title"},"域名",-1),y=s("td",null,"状态",-1),C={key:0,class:"red"},N=s("td",null,"所属分组",-1),T={key:0,class:"label-group"},D=["href"],V={key:1,class:"disabled"},H={__name:"index",setup(v){const t=_(new g);return(w,B)=>(a(),n(d,null,[i(p,{ctx:e(t),activeTab:"index"},null,8,["ctx"]),i(h,null,{default:l(()=>[s("tbody",null,[s("tr",null,[k,s("td",null,r(e(t).domain.name),1)]),s("tr",null,[y,s("td",null,[e(t).domain.isOn?m("",!0):(a(),n("span",C,"已停用")),e(t).domain.isOn?(a(),n("span",{key:1,class:x({green:e(t).domain.status=="verified",red:e(t).domain.status=="rejected"||e(t).domain.status=="forbidden"})},r(e(t).domain.statusName),3)):m("",!0),u("     ")])]),s("tr",null,[N,s("td",null,[e(t).domain.groups.length>0?(a(),n("div",T,[(a(!0),n(d,null,b(e(t).domain.groups,o=>(a(),n("a",{href:"/ns/domains?userId="+o.userId+"&groupId="+o.id},[i(f,{outlined:"",class:"blue"},{default:l(()=>[u(r(o.name),1)]),_:2},1024)],8,D))),256))])):(a(),n("span",V,"暂时没有分组"))])])])]),_:1})],64))}};export{H as default};
