import{i as y,c as x}from"./app-BT68AfZ-.js";import{_ as $}from"./app-Bx_XmupB.js";import{_ as N}from"./app-DokSVapq.js";import{_ as b}from"./app-BMjG4tWp.js";import{_ as a}from"./app-DuUYZNNT.js";import{_,a as d}from"./app-BHFzVhjx.js";import{_ as p}from"./app-BlCbtWLU.js";import{_ as C}from"./app-CKSEN_Rg.js";import{D as r}from"./app-DNL2FXPk.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-DA7OTM4Q.js";import"./app-scFtFqL8.js";import"./app-DREBJ-ou.js";import"./app-CWBL8eTX.js";import"./app-CnGe5nlE.js";import"./app-OC5wWJiS.js";import"./app-BX4pd6U-.js";import"./app-Bhreb6Cm.js";import"./app-DSiZNBrr.js";import"./app-C5ROEzFd.js";import"./app-Bnbo6OlJ.js";import"./app-Dxa5h-uG.js";import"./app-AbPAjGV5.js";import"./app-BqY8p2gl.js";import"./app-C-GI59rl.js";import"./app-BotiHebp.js";import"./app-BkWUIifj.js";import"./app-CQwVTjAx.js";import"./app-Zes_jb7S.js";import"./app-DEIWLCpe.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};
