import{u as B}from"./useFormEdit-e67d5b61-1782572373740v=1.0.0.js";import{b}from"./athleteLevelListApi-68064be5-1782572373740v=1.0.0.js";import{b as h,a as N,_ as S}from"./index-f6f689f9-1782572373740v=1.0.0.js";import{E as k}from"./eleVendor-48a7d3b8-1782572373740v=1.0.0.js";import{y as v,r as c,m as w,al as o,z as f,I as F,J as s,R as r,u as d,M as L,O as _,P as l,B as p,A as I,Q as P,a4 as T,D as V}from"./vendor-866bb149-1782572373740v=1.0.0.js";import"./keepAlive-0ac97bbd-1782572373740v=1.0.0.js";const q={class:"infoList"},z={class:"time"},M=v({name:"activityStyleDetail"}),R=v({...M,setup(H){c({xs:24,sm:22,md:20,lg:14,xl:23}),c({xs:24,sm:24,md:12,lg:12,xl:12}),c({xs:24,sm:22,md:18,lg:16,xl:8}),B(),h();const u=c([]),i=N(),D=c(""),x=async g=>{var t;let a=await b({gradeDetermId:g});if(a.code!==0){k.error(a.msg);return}if(a.data,a.data.images){const n=JSON.parse(a.data.images||"[]");a.data.img=(t=n==null?void 0:n[0])==null?void 0:t.url}u.value=a.data};return w(()=>{i.query.id&&(D.value=i.query.id,x(i.query.id))}),(g,a)=>{const t=o("el-form-item"),n=o("el-avatar"),y=o("el-image"),A=o("el-card"),C=o("el-form"),E=o("HZPageLayout");return f(),F(E,{isBack:!0,title:d(i).meta.title},{default:s(()=>[r(C,{model:d(u),ref:"ruleFormRef","label-width":"170px"},{default:s(()=>[L(' <div class="divider mt16 mb28">\u57FA\u672C\u4FE1\u606F</div> '),r(t,{label:"\u8FD0\u52A8\u5458\u4FE1\u606F\uFF1A"},{default:s(()=>{var e,m;return[_(l((e=d(u)[0])==null?void 0:e.name)+"\xA0"+l((m=d(u)[0])==null?void 0:m.tsNo),1)]}),_:1}),p("div",q,[(f(!0),I(P,null,T(d(u),(e,m)=>(f(),F(A,{class:"infoCard",key:m},{default:s(()=>[p("div",{class:V(["statusTag",[e.gradeDetermChangeStatus]])},l(e.gradeDetermChangeStatusCn),3),p("div",z,[r(n,{size:20,src:e.avatar,class:"avatar"},null,8,["src"]),_(" "+l(e.createTime||"-"),1)]),r(t,{label:"\u8FD0\u52A8\u9879\u76EE\uFF1A"},{default:s(()=>[_(l(e.gradeDetermDictName),1)]),_:2},1024),r(t,{label:"\u8FD0\u52A8\u5458\u7B49\u7EA7\uFF1A"},{default:s(()=>[_(l(e.gradeDetermTypeCn),1)]),_:2},1024),r(t,{label:"\u8FD0\u52A8\u5458\u7B49\u7EA7\u8BC1\u4E66\uFF1A"},{default:s(()=>[r(y,{src:e.certificateUrl,"preview-src-list":[e.gradeDetermCertificate],class:""},null,8,["src","preview-src-list"])]),_:2},1024)]),_:2},1024))),128))])]),_:1},8,["model"])]),_:1},8,["title"])}}});const j=S(R,[["__scopeId","data-v-16ed76a9"]]);export{j as default};
