import{i as y,c as x}from"./app-Ba7ZqSpq.js";import{_ as $}from"./app-sWrdQNKf.js";import{_ as N}from"./app-DFulsyXy.js";import{_ as b}from"./app-T1ysvErZ.js";import{_ as a}from"./app-CVQkwzlf.js";import{_,a as d}from"./app-PrSv7rSt.js";import{_ as p}from"./app-BFpT2Aj_.js";import{_ as C}from"./app-DWUwCFNm.js";import{D as r}from"./app-ZeVDYyDS.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-SC54XQDl.js";import"./app-CL60OiIv.js";import"./app-D9TrJBlL.js";import"./app-_Ovp2dOH.js";import"./app-BjSCO7rC.js";import"./app-Dhl-Bw0H.js";import"./app-B2C_dtYI.js";import"./app-COidJXl1.js";import"./app-DnXuoh8P.js";import"./app-BZGObKCm.js";import"./app-BPIIxVwk.js";import"./app-PPG0ZS4d.js";import"./app-DgoEZtNT.js";import"./app-Ch8j4za4.js";import"./app-Dw0jKdCD.js";import"./app-CCkWSX4Q.js";import"./app-DoVkxbmA.js";import"./app-C2mBgI5Z.js";import"./app-CNHjdV6U.js";import"./app-BxWqoSpr.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};
