import{u as E}from"./useFormEdit-e67d5b61-1782572373740v=1.0.0.js";import b from"./EventHeaderInfo-ab8e2440-1782572373740v=1.0.0.js";import B from"./index-359661c3-1782572373740v=1.0.0.js";import j from"./index-8bf6738e-1782572373740v=1.0.0.js";import k from"./index-515a698b-1782572373740v=1.0.0.js";import h from"./index-552f5acb-1782572373740v=1.0.0.js";import{u as w}from"./useSignupDetailhooks-0a7e9b35-1782572373740v=1.0.0.js";import{a as S,_ as x}from"./index-f6f689f9-1782572373740v=1.0.0.js";import{y as v,c as r,r as q,m as H,al as d,z as o,I as u,J as y,R as c,u as e,M as t,A as R}from"./vendor-866bb149-1782572373740v=1.0.0.js";import"./keepAlive-0ac97bbd-1782572373740v=1.0.0.js";import"./eleVendor-48a7d3b8-1782572373740v=1.0.0.js";import"./signupApi-62c85298-1782572373740v=1.0.0.js";import"./SignUpUserDialog.vue_vue_type_script_setup_true_lang-6c1fbdb1-1782572373740v=1.0.0.js";import"./AddFormItemLine-e50f30dc-1782572373740v=1.0.0.js";import"./Imgs-ec8274aa-1782572373740v=1.0.0.js";import"./useDynamicFormHook-1d702eb2-1782572373740v=1.0.0.js";import"./TableItemShow-4fd6d25d-1782572373740v=1.0.0.js";import"./index.vue_vue_type_script_setup_true_lang-aea23a9b-1782572373740v=1.0.0.js";import"./SignUpUnitDialog.vue_vue_type_script_setup_true_lang-4ba06574-1782572373740v=1.0.0.js";import"./SporterDataview-6c58711e-1782572373740v=1.0.0.js";import"./SporterDataview-0898bdb2-1782572373740v=1.0.0.js";const L={key:4,class:"loading-container"},N=v({name:"signupDetail"}),V=v({...N,props:{pageType:{type:String,default:"event"}},setup(f){const I=f;E();const i=S();r(()=>i.query.id);const a=r(()=>i.query.eventApplyMainId),n=r(()=>i.query.eventTermId),s=r(()=>l.value.eventProjectType),{getSignupInfoData:_,getSignupCustomFieldDataDTOData:Z,eventDetail:l,personBaseData:T,getSignupInfoCustomDataByTermIdData:g,unitBaseData:D,groupBaseData:A,doubleBaseData:M}=w(a.value,I.pageType),p=r(()=>l.value.eventApplyMode),m=q(!1);return H(async()=>{m.value=!0,await g(n.value),await _(a.value),m.value=!1}),(z,J)=>{const F=d("el-empty"),P=d("el-form"),C=d("HZPageLayout");return o(),u(C,{isBack:!0,title:e(i).meta.title},{default:y(()=>[c(P,{ref:"formRef"},{default:y(()=>[c(b,{eventDetail:e(l),eventApplyMode:e(p),applyMainId:e(a),pageType:"detail"},null,8,["eventDetail","eventApplyMode","applyMainId"]),t(" \u4E2A\u4EBA\u62A5\u540D\u4FE1\u606F "),e(p)==="person"?(o(),u(B,{key:0,eventProjectType:e(s),baseInfo:e(T),applyMainId:e(a),eventTermId:e(n),showAdd:!1,pageType:"detail"},null,8,["eventProjectType","baseInfo","applyMainId","eventTermId"])):t("v-if",!0),t(" \u5355\u4F4D\u62A5\u540D\u4FE1\u606F "),e(p)==="unit"?(o(),u(k,{key:1,eventProjectType:e(s),baseInfo:e(D),applyMainId:e(a),eventTermId:e(n),showAdd:!1,pageType:"detail"},null,8,["eventProjectType","baseInfo","applyMainId","eventTermId"])):t("v-if",!0),t(" \u56E2\u961F\u62A5\u540D\u4FE1\u606F "),e(p)==="group"?(o(),u(j,{key:2,eventProjectType:e(s),baseInfo:e(A),applyMainId:e(a),eventTermId:e(n),showAdd:!1,pageType:"detail"},null,8,["eventProjectType","baseInfo","applyMainId","eventTermId"])):t("v-if",!0),t(" \u53CC\u4EBA\u62A5\u540D\u4FE1\u606F "),e(p)==="double"?(o(),u(h,{key:3,eventProjectType:e(s),baseInfo:e(M),applyMainId:e(a),eventTermId:e(n),showAdd:!1,pageType:"detail"},null,8,["eventProjectType","baseInfo","applyMainId","eventTermId"])):t("v-if",!0),e(m)?(o(),R("div",L,[c(F,{description:"\u52A0\u8F7D\u4E2D..."})])):t("v-if",!0)]),_:1},512)]),_:1},8,["title"])}}});const de=x(V,[["__scopeId","data-v-684c48ed"]]);export{de as default};
