import{u as P}from"./useFormEdit-fb8b8504-1782729249161v=1.0.0.js";import{g as I}from"./eventSettingApi-41618d68-1782729249161v=1.0.0.js";import{b as R,a as S,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 d,r as t,m as N,al as o,z as c,I as _,J as a,R as s,u,M as V,A as h,Q as T,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=d({name:"eventSettingDetail"}),U=d({...Q,setup(j){const i=t({xs:24,sm:22,md:20,lg:14,xl:23}),f=t({xs:24,sm:24,md:12,lg:12,xl:12}),p=t({xs:24,sm:22,md:18,lg:16,xl:8}),{closeCurrent:y}=P();R();const r=t({}),l=S(),g=t(""),v=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"}]),b=t({1:i,2:f,3:p}),x=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,x(l.query.id))});const B=()=>{y()};return(m,e)=>{const k=o("PaCol"),C=o("PaRow"),E=o("el-button"),F=o("el-form-item"),w=o("el-form"),D=o("HZPageLayout");return c(),_(D,{isBack:!0,title:u(l).meta.title},{default:a(()=>[s(w,{model:u(r),ref:"ruleFormRef","label-width":"170px"},{default:a(()=>[V(' <div class="divider mt16 mb28">\u57FA\u672C\u4FE1\u606F</div> '),s(C,null,{default:a(()=>[(c(!0),h(T,null,H(u(v),(n,L)=>(c(),_(k,O({key:L},{ref_for:!0},u(b)[n.col]),{default:a(()=>[s(q,{label:n.label,value:u(r)[n.key],type:n.type,enum:n.enum},null,8,["label","value","type","enum"])]),_:2},1040))),128))]),_:1}),s(F,null,{default:a(()=>[Z("div",J,[s(E,{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-81f55d1f"]]);export{ee as default};
