import A from"./MatchActivityForm-6c5afc4b.js";import F from"./PlanForm-197c6a78.js";import{_ as E}from"./ConditionForm.vue_vue_type_script_setup_true_lang-07860f3b.js";import{_ as k}from"./InformationForm.vue_vue_type_script_setup_true_lang-9c42afab.js";import{g}from"./activity-c9a7a2d3.js";import{I as x}from"./IndexPagePro-904e4e7b.js";import{u as H}from"./useFormEdit-3c660b22.js";import{d as P,p as u,O as b,o as S,i as f,a as d,z as v,m as C,k as p,e as a,a4 as n,l as I,_ as V}from"./index-deffec86.js";import"./mathActivityRule-2ac4f44b.js";import"./eleValidate-d202cccf.js";import"./Cascader-11493146.js";import"./common-8a6acaa7.js";import"./plan-2fedc155.js";import"./index-48cc2485.js";import"./map-4f55c240.js";import"./tagManage-2aab0a1e.js";import"./MoneyOrigin-a732ed7e.js";import"./CardContainer-240b87e4.js";import"./index-bf48c4bb.js";import"./BraingDialog.vue_vue_type_script_setup_true_lang-9962d531.js";import"./Imgs-5872fe00.js";import"./VideoUp-12171219.js";import"./MediaData-679f1c9c.js";import"./Document-d521be1d.js";import"./check-597f223a.js";import"./tabs-96386b59.js";const w=P({__name:"edit",setup(M){const{closeCurrent:r}=H();let o=u(1);const l=u(""),B=b(),e=u(B.query.activity_id),s=u(""),m=u(""),c=u(""),U=async()=>{let{data:y}=await g({activity_id:e.value});s.value=y.activity_hold_plan_id,m.value=y.activity_hold_situation_id,c.value=y.activity_hold_document_id};return S(()=>{e.value&&U()}),(y,i)=>{const _=f("el-step"),D=f("el-steps");return d(),v(x,{class:"default-form"},{default:C(()=>[p(D,{active:a(o),"align-center":"",class:"mb50 steps"},{default:C(()=>[p(_,{title:"\u8D5B\u4E8B\u6D3B\u52A8\u57FA\u672C\u4FE1\u606F"}),p(_,{title:"\u8D5B\u4E8B\u6D3B\u52A8\u65B9\u6848\u4E0A\u4F20"}),p(_,{title:"\u8D5B\u4E8B\u6D3B\u52A8\u8BE6\u60C5"}),p(_,{title:"\u76F8\u5173\u8D44\u6599\u4E0A\u4F20"})]),_:1},8,["active"]),a(o)==1?(d(),v(A,{key:0,active:a(o),"onUpdate:active":i[0]||(i[0]=t=>n(o)?o.value=t:o=t),activityId:a(e),"onUpdate:activityId":i[1]||(i[1]=t=>n(e)?e.value=t:null),planId:a(l),"onUpdate:planId":i[2]||(i[2]=t=>n(l)?l.value=t:null),onCancel:a(r)},null,8,["active","activityId","planId","onCancel"])):I("v-if",!0),a(o)==2?(d(),v(F,{key:1,active:a(o),"onUpdate:active":i[3]||(i[3]=t=>n(o)?o.value=t:o=t),activityId:a(e),"onUpdate:activityId":i[4]||(i[4]=t=>n(e)?e.value=t:null),activityHoldPlanId:a(s),"onUpdate:activityHoldPlanId":i[5]||(i[5]=t=>n(s)?s.value=t:null),onCancel:a(r)},null,8,["active","activityId","activityHoldPlanId","onCancel"])):I("v-if",!0),a(o)==3?(d(),v(E,{key:2,active:a(o),"onUpdate:active":i[6]||(i[6]=t=>n(o)?o.value=t:o=t),activityId:a(e),"onUpdate:activityId":i[7]||(i[7]=t=>n(e)?e.value=t:null),planId:a(l),"onUpdate:planId":i[8]||(i[8]=t=>n(l)?l.value=t:null),activityStuationId:a(m),"onUpdate:activityStuationId":i[9]||(i[9]=t=>n(m)?m.value=t:null),onCancel:a(r)},null,8,["active","activityId","planId","activityStuationId","onCancel"])):I("v-if",!0),a(o)==4?(d(),v(k,{key:3,active:a(o),"onUpdate:active":i[10]||(i[10]=t=>n(o)?o.value=t:o=t),activityId:a(e),"onUpdate:activityId":i[11]||(i[11]=t=>n(e)?e.value=t:null),activityHoldDocumentId:a(c),"onUpdate:activityHoldDocumentId":i[12]||(i[12]=t=>n(c)?c.value=t:null),onCancel:a(r)},null,8,["active","activityId","activityHoldDocumentId","onCancel"])):I("v-if",!0)]),_:1})}}});const dt=V(w,[["__scopeId","data-v-6c8b5621"]]);export{dt as default};
