import{i as p,c as f}from"./app-a6cKceqE.js";import{_ as h}from"./app-C7Q3X0uc.js";import{_ as x}from"./app-CQ-vNlMj.js";import{_ as $}from"./app-DY-0PadZ.js";import{_ as c}from"./app-Ufpj4Ll4.js";import{_ as m,a}from"./app-DxbU-QrX.js";import{_ as w}from"./app-IR9dR9RM.js";import{_ as y}from"./app-CignoBaV.js";import{D as u}from"./app-7GBSHA5C.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-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-ysQ8KbGS.js";import"./app-Cp3gmk2J.js";import"./app--MWyBMkA.js";import"./app-BG60hdvp.js";import"./app-CNARLpXE.js";import"./app-SxAW7vhf.js";import"./app-D5k1HLu9.js";import"./app-BDgR0DSb.js";import"./app-D2Wz0BUQ.js";import"./app-D3zbrzdO.js";import"./app-CrjU8lgK.js";import"./app-0YmIdYYs.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};
