import{u as P}from"./useFormEdit-fb8b8504-1782729249161v=1.0.0.js";import{a as I}from"./signupTemplateApi-da258822-1782729249161v=1.0.0.js";import{b as R,a as T,D as q,_ as A}from"./index-b309bf9f-1782729249161v=1.0.0.js";import{E as M}from"./eleVendor-5008d1ec-1782729249161v=1.0.0.js";import{y as _,r as t,m as N,al as o,z as c,I as d,J as a,R as n,u,M as S,A as V,Q as h,a4 as H,F as O,B as Z,O as z}from"./vendor-1e24e3ad-1782729249161v=1.0.0.js";import"./keepAlive-20a782c5-1782729249161v=1.0.0.js";const J={class:"pt20 mt30"},Q=_({name:"signupTemplateDetail"}),U=_({...Q,setup(j){const i=t({xs:24,sm:22,md:20,lg:14,xl:23}),p=t({xs:24,sm:24,md:12,lg:12,xl:12}),f=t({xs:24,sm:22,md:18,lg:16,xl:8}),{closeCurrent:y}=P();R();const r=t({}),l=T(),g=t(""),b=t([{key:"type",col:2,label:"\u7C7B\u578B "},{key:"name",col:2,label:"\u540D\u79F0"},{key:"dictTypeSign",col:2,label:"\u5B57\u5178\u6807\u8BC6"},{key:"status",col:2,label:"\u72B6\u6001"},{key:"creatorOrganUnitType",col:2,label:"\u521B\u5EFA\u4EBA"}]),x=t({1:i,2:p,3:f}),v=async m=>{let e=await I(m);if(e.code!==0){M.error(e.msg);return}e.data,r.value={...e.data}};N(()=>{l.query.id&&(g.value=l.query.id,r.value.id=l.query.id,v(l.query.id))});const B=()=>{y()};return(m,e)=>{const k=o("PaCol"),C=o("PaRow"),F=o("el-button"),E=o("el-form-item"),w=o("el-form"),D=o("HZPageLayout");return c(),d(D,{isBack:!0,title:u(l).meta.title},{default:a(()=>[n(w,{model:u(r),ref:"ruleFormRef","label-width":"170px"},{default:a(()=>[S(' <div class="divider mt16 mb28">\u57FA\u672C\u4FE1\u606F</div> '),n(C,null,{default:a(()=>[(c(!0),V(h,null,H(u(b),(s,L)=>(c(),d(k,O({key:L},{ref_for:!0},u(x)[s.col]),{default:a(()=>[n(q,{label:s.label,value:u(r)[s.key],type:s.type,enum:s.enum},null,8,["label","value","type","enum"])]),_:2},1040))),128))]),_:1}),n(E,null,{default:a(()=>[Z("div",J,[n(F,{onClick:B},{default:a(()=>e[0]||(e[0]=[z("\u8FD4\u56DE",-1)])),_:1,__:[0]})])]),_:1})]),_:1},8,["model"])]),_:1},8,["title"])}}});const ee=A(U,[["__scopeId","data-v-9a3dcd89"]]);export{ee as default};
