import{d as f,r as b,w as k,a as i,o as u,c as t,b as _,e as v,f as r,F as m,g as d,t as D,h as E,u as F,i as C,_ as w}from"./index-8184dd63-1780045603901v=1.0.0.js";import{E as g}from"./index-36c5e320-1780045603901v=1.0.0.js";import"./base64-db2ecc3a-1780045603901v=1.0.0.js";const h={key:0},A=f({__name:"EventDetail",props:{alertList:{type:Array,default:()=>[]},baseForm:{type:Object,default:()=>({})}},setup(s){let c=s;const a=b([{type:1,key:"stadium_name",label:"\u573A\u9986\u540D\u79F0",value:""},{label:"\u573A\u5730\u7C7B\u578B",key:"site_type_str",value:""},{label:"\u8D5B\u4E8B\u6D3B\u52A8\u540D\u79F0",key:"event_name",value:""},{label:"\u8D5B\u4E8B\u7EA7\u522B",key:"level_str",value:""},{label:"\u8FD0\u52A8\u9879\u76EE",key:"sport_project_names",value:""},{label:"\u8D5B\u4E8B\u65F6\u95F4",key:"event_time",value:""},{label:"\u8D5B\u4E8B\u5730\u70B9",key:"event_venue",value:""},{label:"\u670D\u52A1\u5BF9\u8C61\u7C7B\u578B",key:"service_object_str",value:""},{label:"\u53C2\u8D5B\u4EBA\u6B21",key:"event_join_person_time",value:""},{label:"\u53C2\u8D5B\u4EBA\u5458\u8303\u56F4",key:"event_join_range",value:""},{label:"\u6536\u8D39\u7C7B\u578B",key:"charge_type_str",value:""},{label:"\u6536\u8D39\u6807\u51C6",key:"charging_standard",value:""},{label:"\u516C\u5F00\u72B6\u6001",key:"public_status_str",value:""},{label:"\u5408\u540C\u6587\u4EF6",key:"contract_document_list",type:3,value:[]},{type:2,label:"\u8D5B\u4E8B\u5C01\u9762",key:"event_cover_list",value:[]}]);return k(()=>c.baseForm,l=>{l&&(a.value.map(e=>{e.value=l[e.key]}),l.charge_type_str=="\u514D\u8D39"&&a.value.splice(a.value.findIndex(e=>e.key=="charging_standard"),1))},{deep:!0,immediate:!0}),(l,e)=>{const y=i("el-alert"),B=i("form-row"),p=i("el-form");return u(),t("div",null,[_(p,{"label-width":"120px"},{default:v(()=>[s.alertList.length>0?(u(),t("div",h,[e[0]||(e[0]=r("div",{class:"flx-justify-between",style:{width:"100%"}},[r("div",{class:"divider mt20 mb20"},"\u586B\u62A5\u6307\u5F15")],-1)),_(y,{type:"warning"},{default:v(()=>[(u(!0),t(m,null,d(s.alertList,(n,o)=>(u(),t("p",{key:o},D(n),1))),128))]),_:1})])):E("v-if",!0),e[1]||(e[1]=r("div",{class:"flx-justify-between",style:{width:"100%"}},[r("div",{class:"divider mt20 mb20"},"\u4F53\u80B2\u8D5B\u4E8B\u4FE1\u606F")],-1)),_(B,null,{default:v(()=>[(u(!0),t(m,null,d(F(a),(n,o)=>(u(),C(g,{key:o,info:n},null,8,["info"]))),128))]),_:1})]),_:1})])}}}),N=w(A,[["__file","D:/desktop/yunNan/vue-area-submit/src/views/components/EventDetail.vue"]]);export{N as default};
