import{u as w}from"./useFormEdit-e67d5b61-1782572373740v=1.0.0.js";import{b as I,a as L,D as P,a1 as N,_ as R}from"./index-f6f689f9-1782572373740v=1.0.0.js";import{E as q}from"./eleVendor-48a7d3b8-1782572373740v=1.0.0.js";import{y as d,r as t,m as M,al as o,z as c,I as _,J as l,R as n,u as s,M as V,A as H,Q as S,a4 as T,F as Z,B as z,O as J}from"./vendor-866bb149-1782572373740v=1.0.0.js";import"./keepAlive-0ac97bbd-1782572373740v=1.0.0.js";const O={class:"pt20 mt30"},Q=d({name:"athleteInfoDetail"}),j=d({...Q,setup(G){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}=w();I();const r=t({}),a=L(),b=t(""),F=t([{key:"name",col:2,label:"\u59D3\u540D"},{key:"gender",col:2,label:"\u6027\u522B",enum:{1:"\u7537",2:"\u5973"}},{key:"idCard",col:2,label:"\u8BC1\u4EF6\u53F7\u7801"},{key:"birth",col:2,label:"\u51FA\u751F\u65E5\u671F"},{key:"phone",col:2,label:"\u624B\u673A\u53F7"},{key:"tsNo",col:2,label:"\u5B66\u5DE5\u53F7"},{key:"collegeName",col:2,label:"\u6240\u5728\u5355\u4F4D"},{key:"sporterTypeDictCn",col:2,label:"\u8FD0\u52A8\u5458\u7C7B\u578B"},{key:"introduction",col:2,label:"\u4E2A\u4EBA\u4ECB\u7ECD"}]),k=t({1:i,2:f,3:p}),C=async m=>{let e=await N(m);if(e.code!==0){q.error(e.msg);return}e.data,r.value={...e.data}};M(()=>{a.query.id&&(b.value=a.query.id,r.value.id=a.query.id,C(a.query.id))});const g=()=>{y()};return(m,e)=>{const x=o("PaCol"),B=o("PaRow"),E=o("el-button"),v=o("el-form-item"),D=o("el-form"),A=o("HZPageLayout");return c(),_(A,{isBack:!0,title:s(a).meta.title},{default:l(()=>[n(D,{model:s(r),ref:"ruleFormRef","label-width":"170px"},{default:l(()=>[V(' <div class="divider mt16 mb28">\u57FA\u672C\u4FE1\u606F</div> '),n(B,null,{default:l(()=>[(c(!0),H(S,null,T(s(F),(u,h)=>(c(),_(x,Z({key:h},{ref_for:!0},s(k)[u.col]),{default:l(()=>[n(P,{label:u.label,value:s(r)[u.key],type:u.type,enum:u.enum},null,8,["label","value","type","enum"])]),_:2},1040))),128))]),_:1}),n(v,null,{default:l(()=>[z("div",O,[n(E,{onClick:g},{default:l(()=>e[0]||(e[0]=[J("\u8FD4\u56DE",-1)])),_:1,__:[0]})])]),_:1})]),_:1},8,["model"])]),_:1},8,["title"])}}});const $=R(j,[["__scopeId","data-v-c32a412c"]]);export{$ as default};
