import{i as p,c as f}from"./app-DckefXYL.js";import{_ as h}from"./app-DmazME7v.js";import{_ as x}from"./app-MnSDCF4P.js";import{_ as $}from"./app-DFWP-E91.js";import{_ as c}from"./app-DPkDcD7h.js";import{_ as m,a}from"./app-DntYVxd7.js";import{_ as w}from"./app-B8pzYUxy.js";import{_ as y}from"./app-COct4tsy.js";import{D as u}from"./app-Cx7ENVlu.js";import{o as n,g as _,b as s,u as r,w as l,F as d,a as t,D as b,c as N,f as e,t as v}from"./app-DnroACXc.js";import"./app-C9iVkiu5.js";import"./app-DrIi-dNq.js";import"./app-zueB50zj.js";import"./app-B0NrURRk.js";import"./app-Co2SIBzr.js";import"./app-CUPmXIij.js";import"./app-Cu6FD8m8.js";import"./app-CF0qXH5Q.js";import"./app-BJhJ7lM8.js";import"./app-Dd07dUxy.js";import"./app-CYYQ_Zep.js";import"./app-Dpl5YSiv.js";import"./app-CF8nmC-F.js";import"./app-NVAx7Sc3.js";import"./app-xECxwo4T.js";import"./app-B8VsrFxM.js";import"./app-B09rlSqG.js";import"./app-LqsmzyUT.js";import"./app-z7Z_Uo-k.js";function B(){p(this),this.success=this.$NotifyReloadSuccess("保存成功")}const C=t("td",{class:"title"},"域名 *",-1),D=t("td",null,"匹配条件",-1),R=t("td",{class:"title"},"记录名",-1),S=t("p",{class:"comment"},"只有不为空时才生效。",-1),V=t("td",null,"记录值",-1),g=t("p",{class:"comment"},"只有不为空时才生效。",-1),k=t("td",null,"记录类型",-1),T=t("td",null,"线路",-1),F=t("td",null,"修改状态为",-1),_t={__name:"enableRecords",setup(E){const o=f(new B);return(L,O)=>(n(),_(d,null,[s(h,{ctx:r(o)},null,8,["ctx"]),s(x,{action:"$",onSuccess:r(o).success},{default:l(()=>[s(u,null,{default:l(()=>[t("tbody",null,[t("tr",null,[C,t("td",null,[s($,{rows:"15",name:"names",placeholder:"每行一个域名",autofocus:"",class:"w-full"})])]),t("tr",null,[D,t("td",null,[s(u,null,{default:l(()=>[t("tbody",null,[t("tr",null,[R,t("td",null,[s(c,{name:"searchName",class:"w-full"}),S])]),t("tr",null,[V,t("td",null,[s(c,{name:"searchValue",class:"w-full"}),g])]),t("tr",null,[k,t("td",null,[s(m,{name:"searchType"},{default:l(()=>[(n(!0),_(d,null,b(r(o).types,i=>(n(),N(a,{value:i.type},{default:l(()=>[e(v(i.type),1)]),_:2},1032,["value"]))),256))]),_:1})])]),t("tr",null,[T,t("td",null,[s(w,{name:"searchRouteCodes"})])])])]),_:1})])]),t("tr",null,[F,t("td",null,[s(m,{name:"isOn"},{default:l(()=>[s(a,{value:"1"},{default:l(()=>[e("启用")]),_:1}),s(a,{value:"0"},{default:l(()=>[e("停用")]),_:1})]),_:1})])])])]),_:1}),s(y,null,{default:l(()=>[e("批量修改")]),_:1})]),_:1},8,["onSuccess"])],64))}};export{_t as default};
