import{x as i,r as o,k as N,al as t,y as c,H as _,I as a,Q as n,u as r,A as d,z as B,P as h,a4 as L,E as q,M as R}from"./vendor-6ae0c374-1783405707921v=1.0.0.js";import{u as V}from"./useFormEdit-38c2c94d-1783405707921v=1.0.0.js";import{g as z}from"./clubManageApi-2b55464b-1783405707921v=1.0.0.js";import{u as A,a as S,D as H,_ as Q}from"./index-71d7b18c-1783405707921v=1.0.0.js";import{E as T}from"./eleVendor-d42abce8-1783405707921v=1.0.0.js";import"./keepAlive-6cb682d1-1783405707921v=1.0.0.js";const Z={class:"pt20 mt30"},j=i({name:"clubManageDetail"}),G=i({...j,setup(J){const p=o({xs:24,sm:22,md:20,lg:14,xl:23}),f=o({xs:24,sm:24,md:12,lg:12,xl:12}),g=o({xs:24,sm:22,md:18,lg:16,xl:8}),{closeCurrent:b}=V();A();const s=o({}),u=S(),x=o(""),y=o([{key:"clubName",col:2,label:"\u4FF1\u4E50\u90E8\u540D\u79F0"},{key:"collegeName",col:2,label:"\u5B66\u9662\u540D\u79F0"},{key:"collegeId",col:NaN,label:"\u9662\u7CFB\u540D\u79F0"}]),v=o({1:p,2:f,3:g}),F=async m=>{let e=await z(m);if(e.code!==0){T.error(e.msg);return}e.data,s.value={...e.data}};N(()=>{u.query.id&&(x.value=u.query.id,s.value.id=u.query.id,F(u.query.id))});const k=()=>{b()};return(m,e)=>{const C=t("PaCol"),D=t("PaRow"),E=t("el-button"),P=t("el-form-item"),w=t("el-form"),I=t("PaIndexPage");return c(),_(I,null,{default:a(()=>[n(w,{model:r(s),ref:"ruleFormRef","label-width":"170px"},{default:a(()=>[e[1]||(e[1]=d("div",{class:"divider mt16 mb28"},"\u57FA\u672C\u4FE1\u606F",-1)),n(D,null,{default:a(()=>[(c(!0),B(h,null,L(r(y),(l,M)=>(c(),_(C,q({key:M},{ref_for:!0},r(v)[l.col]),{default:a(()=>[n(H,{label:l.label,value:r(s)[l.key],type:l.type,enum:l.enum},null,8,["label","value","type","enum"])]),_:2},1040))),128))]),_:1}),n(P,null,{default:a(()=>[d("div",Z,[n(E,{onClick:k},{default:a(()=>e[0]||(e[0]=[R("\u8FD4\u56DE",-1)])),_:1,__:[0]})])]),_:1})]),_:1,__:[1]},8,["model"])]),_:1})}}});const $=Q(G,[["__scopeId","data-v-66d88b73"],["__file","D:/desktop/huaZhong/huazhong-common/apps/vue-admin/src/views/baseManage/clubManage/detail.vue"]]);export{$ as default};
