import{d as v,r as F,w as b,a as i,o as u,c as t,b as d,e as m,f as r,F as _,g as c,t as E,h as C,u as k,i as w,_ as B}from"./index-8184dd63-1780045603901v=1.0.0.js";import{E as D}from"./index-36c5e320-1780045603901v=1.0.0.js";import"./base64-db2ecc3a-1780045603901v=1.0.0.js";const h={key:0},x=v({__name:"OrganizingDetail",props:{alertList:{type:Array,default:()=>[]},baseForm:{type:Object,default:()=>({})}},setup(n){let f=n;const a=F([{type:1,label:"\u573A\u9986\u540D\u79F0",key:"stadium_name",value:""},{label:"\u56E2\u4F53\u7EC4\u7EC7\u540D\u79F0",key:"group_organizationl_name",value:""},{label:"\u4F7F\u7528\u573A\u5730\u65F6\u95F4",key:"site_use_time",value:""},{label:"\u53D7\u76CA\u4EBA\u6570",key:"benefit_number",value:""},{label:"\u56E2\u4F53\u7EC4\u7EC7\u5730\u5740",key:"group_organization_address",value:""},{label:"\u56E2\u4F53\u7EC4\u7EC7\u8054\u7CFB\u4EBA",key:"group_organization_contact",value:""},{label:"\u56E2\u4F53\u7EC4\u7EC7\u8054\u7CFB\u65B9\u5F0F",key:"group_organization_contact_phone",value:""},{label:"\u6536\u8D39\u7C7B\u578B",key:"charge_type_str",value:""},{label:"\u6536\u8D39\u6807\u51C6",key:"charging_standard",value:""},{label:"\u5408\u540C\u6587\u4EF6",key:"contract_document_list",type:3,value:[]}]);return b(()=>f.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 p=i("el-alert"),y=i("form-row"),g=i("el-form");return u(),t("div",null,[d(g,{"label-width":"120px",class:"default-form line_form"},{default:m(()=>[n.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)),d(p,{type:"warning"},{default:m(()=>[(u(!0),t(_,null,c(n.alertList,(o,s)=>(u(),t("p",{key:s},E(o),1))),128))]),_:1})])):C("v-if",!0),e[1]||(e[1]=r("div",{class:"flx-justify-between",style:{width:"100%"}},[r("div",{class:"divider mt20 mb20"},"\u56E2\u4F53\u7EC4\u7EC7\u4FE1\u606F")],-1)),d(y,null,{default:m(()=>[(u(!0),t(_,null,c(k(a),(o,s)=>(u(),w(D,{key:s,info:o},null,8,["info"]))),128))]),_:1})]),_:1})])}}}),N=B(x,[["__file","D:/desktop/yunNan/vue-area-submit/src/views/components/OrganizingDetail.vue"]]);export{N as default};
