import{d as b,r as h,w as B,a as i,o as u,c as t,b as c,e as d,f as s,F as m,g as _,t as k,h as F,u as g,i as D,_ as w}from"./index-8184dd63-1780045603901v=1.0.0.js";import{E as C}from"./index-36c5e320-1780045603901v=1.0.0.js";import"./base64-db2ecc3a-1780045603901v=1.0.0.js";const x={key:0},A=b({__name:"ShoolDetail",props:{alertList:{type:Array,default:()=>[]},baseForm:{type:Object,default:()=>({})}},setup(o){let f=o;const a=h([{type:1,label:"\u573A\u9986\u540D\u79F0",key:"stadium_name",value:""},{label:"\u5B66\u6821\u540D\u79F0",key:"school_name",value:""},{label:"\u6559\u5B66\u70B9\u540D\u79F0",key:"teaching_site",value:""},{label:"\u4F7F\u7528\u573A\u5730\u65F6\u95F4",key:"site_use_time",value:""},{label:"\u53D7\u76CA\u4EBA\u6570",key:"benefit_number",value:""},{label:"\u5B66\u6821\u5730\u5740",key:"school_address",value:""},{label:"\u6559\u5B66\u70B9\u8054\u7CFB\u4EBA",key:"school_teaching_site_contact",value:""},{label:"\u6559\u5B66\u70B9\u8054\u7CFB\u65B9\u5F0F",key:"school_teaching_site_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 y=i("el-alert"),p=i("form-row"),v=i("el-form");return u(),t("div",null,[c(v,{"label-width":"120px"},{default:d(()=>[o.alertList.length>0?(u(),t("div",x,[e[0]||(e[0]=s("div",{class:"flx-justify-between",style:{width:"100%"}},[s("div",{class:"divider mt20 mb20"},"\u586B\u62A5\u6307\u5F15")],-1)),c(y,{type:"warning"},{default:d(()=>[(u(!0),t(m,null,_(o.alertList,(r,n)=>(u(),t("p",{key:n},k(r),1))),128))]),_:1})])):F("v-if",!0),e[1]||(e[1]=s("div",{class:"flx-justify-between",style:{width:"100%"}},[s("div",{class:"divider mt20 mb20"},"\u5B66\u6821\u53D7\u76CA\u4FE1\u606F")],-1)),c(p,null,{default:d(()=>[(u(!0),t(m,null,_(g(a),(r,n)=>(u(),D(C,{key:n,info:r},null,8,["info"]))),128))]),_:1})]),_:1})])}}}),N=w(A,[["__file","D:/desktop/yunNan/vue-area-submit/src/views/components/ShoolDetail.vue"]]);export{N as default};
