import{i as y,c as x}from"./app-a6cKceqE.js";import{_ as $}from"./app-C7Q3X0uc.js";import{_ as N}from"./app-CQ-vNlMj.js";import{_ as b}from"./app-DY-0PadZ.js";import{_ as a}from"./app-Ufpj4Ll4.js";import{_,a as d}from"./app-DxbU-QrX.js";import{_ as p}from"./app-IR9dR9RM.js";import{_ as C}from"./app-CignoBaV.js";import{D as r}from"./app-7GBSHA5C.js";import{o as n,g as c,b as l,u,w as s,F as i,a as t,D as f,c as h,f as m,t as w}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 R(){y(this),this.success=this.$NotifyReloadSuccess("保存成功")}const V=t("td",{class:"title"},"域名 *",-1),v=t("td",null,"匹配条件",-1),B=t("td",{class:"title"},"记录名",-1),D=t("p",{class:"comment"},"只有不为空时才生效。",-1),S=t("td",null,"记录值",-1),T=t("p",{class:"comment"},"只有不为空时才生效。",-1),g=t("td",null,"记录类型",-1),k=t("td",null,"线路",-1),F=t("td",null,"修改后的记录",-1),E=t("td",{class:"title"},"记录名",-1),L=t("p",{class:"comment"},"只有不为空时才生效。",-1),j=t("td",null,"记录值",-1),q=t("p",{class:"comment"},"只有不为空时才生效。",-1),z=t("td",null,"记录类型",-1),A=t("td",null,"线路",-1),yt={__name:"updateRecords",setup(G){const o=x(new R);return(H,I)=>(n(),c(i,null,[l($,{ctx:u(o)},null,8,["ctx"]),l(N,{action:"$",onSuccess:u(o).success},{default:s(()=>[l(r,null,{default:s(()=>[t("tbody",null,[t("tr",null,[V,t("td",null,[l(b,{rows:"15",name:"names",placeholder:"每行一个域名",autofocus:"",class:"w-full"})])]),t("tr",null,[v,t("td",null,[l(r,null,{default:s(()=>[t("tbody",null,[t("tr",null,[B,t("td",null,[l(a,{name:"searchName",class:"w-full"}),D])]),t("tr",null,[S,t("td",null,[l(a,{name:"searchValue",class:"w-full"}),T])]),t("tr",null,[g,t("td",null,[l(_,{name:"searchType"},{default:s(()=>[(n(!0),c(i,null,f(u(o).types,e=>(n(),h(d,{value:e.type},{default:s(()=>[m(w(e.type),1)]),_:2},1032,["value"]))),256))]),_:1})])]),t("tr",null,[k,t("td",null,[l(p,{name:"searchRouteCodes"})])])])]),_:1})])]),t("tr",null,[F,t("td",null,[l(r,null,{default:s(()=>[t("tbody",null,[t("tr",null,[E,t("td",null,[l(a,{name:"newName",class:"w-full"}),L])]),t("tr",null,[j,t("td",null,[l(a,{name:"newValue",class:"w-full"}),q])]),t("tr",null,[z,t("td",null,[l(_,{name:"newType"},{default:s(()=>[(n(!0),c(i,null,f(u(o).types,e=>(n(),h(d,{value:e.type},{default:s(()=>[m(w(e.type),1)]),_:2},1032,["value"]))),256))]),_:1})])]),t("tr",null,[A,t("td",null,[l(p,{name:"newRouteCodes"})])])])]),_:1})])])])]),_:1}),l(C,null,{default:s(()=>[m("批量修改")]),_:1})]),_:1},8,["onSuccess"])],64))}};export{yt as default};
