import{u as E}from"./useFormEdit-fb8b8504-1782729249161v=1.0.0.js";import b from"./EventHeaderInfo-ec298267-1782729249161v=1.0.0.js";import B from"./index-51e28c39-1782729249161v=1.0.0.js";import j from"./index-6acc3de6-1782729249161v=1.0.0.js";import k from"./index-835d8e4f-1782729249161v=1.0.0.js";import h from"./index-6ed9d1e7-1782729249161v=1.0.0.js";import{u as w}from"./useSignupDetailhooks-1184235c-1782729249161v=1.0.0.js";import{a as S,_ as x}from"./index-b309bf9f-1782729249161v=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-1e24e3ad-1782729249161v=1.0.0.js";import"./keepAlive-20a782c5-1782729249161v=1.0.0.js";import"./eleVendor-5008d1ec-1782729249161v=1.0.0.js";import"./signupApi-7b1b451c-1782729249161v=1.0.0.js";import"./SignUpUserDialog.vue_vue_type_script_setup_true_lang-e7611bd6-1782729249161v=1.0.0.js";import"./AddFormItemLine-259ea6b2-1782729249161v=1.0.0.js";import"./Imgs-0a9c1d5a-1782729249161v=1.0.0.js";import"./useDynamicFormHook-140c1b9e-1782729249161v=1.0.0.js";import"./TableItemShow-c2b3e38a-1782729249161v=1.0.0.js";import"./index.vue_vue_type_script_setup_true_lang-07f392b0-1782729249161v=1.0.0.js";import"./SignUpUnitDialog.vue_vue_type_script_setup_true_lang-68978cc6-1782729249161v=1.0.0.js";import"./SporterDataview-cd9f8cee-1782729249161v=1.0.0.js";import"./SporterDataview-42046263-1782729249161v=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};
