import{u as B}from"./useFormEdit-e67d5b61-1782572373740v=1.0.0.js";import{b as P,a as w,D as I,a9 as L,_ as h}from"./index-f6f689f9-1782572373740v=1.0.0.js";import{E as A}from"./eleVendor-48a7d3b8-1782572373740v=1.0.0.js";import{y as _,r as e,m as N,al as n,z as r,I as i,J as s,R as c,u as a,M as d,A as R,Q as q,a4 as M,F as S}from"./vendor-866bb149-1782572373740v=1.0.0.js";import"./keepAlive-0ac97bbd-1782572373740v=1.0.0.js";const V=_({name:"volunteerInfoDetail"}),H=_({...V,props:{type:{type:String,default:"volunteer"}},setup(Z){const f=e({xs:24,sm:22,md:20,lg:14,xl:23}),p=e({xs:24,sm:24,md:12,lg:12,xl:12}),y=e({xs:24,sm:22,md:18,lg:16,xl:8});B(),P();const u=e({}),o=w(),b=e(""),g=e([{key:"name",col:2,label:"\u59D3\u540D"},{key:"gender",col:2,label:"\u6027\u522B"},{key:"identityCard",col:2,label:"\u8BC1\u4EF6\u53F7\u7801"},{key:"birth",col:2,label:"\u51FA\u751F\u65E5\u671F"},{key:"phone",col:2,label:"\u624B\u673A\u53F7"},{key:"tsNo",col:2,label:"\u5B66\u5DE5\u53F7"},{key:"collegeName",col:2,label:"\u6240\u5728\u5355\u4F4D"},{key:"goodProjectName",col:2,label:"\u64C5\u957F\u9879\u76EE"},{key:"introduction",col:2,label:"\u4E2A\u4EBA\u4ECB\u7ECD"}]),F=e({1:f,2:p,3:y}),k=async m=>{let t=await L(m);if(t.code!==0){A.error(t.msg);return}t.data,u.value={...t.data}};return N(()=>{o.query.id&&(b.value=o.query.id,u.value.id=o.query.id,k(o.query.id))}),(m,t)=>{const v=n("PaCol"),E=n("PaRow"),x=n("el-form"),C=n("HZPageLayout");return r(),i(C,{isBack:!0,title:a(o).meta.title},{default:s(()=>[c(x,{model:a(u),ref:"ruleFormRef","label-width":"170px"},{default:s(()=>[d(' <div class="divider mt16 mb28">\u57FA\u672C\u4FE1\u606F</div> '),c(E,null,{default:s(()=>[(r(!0),R(q,null,M(a(g),(l,D)=>(r(),i(v,S({key:D},{ref_for:!0},a(F)[l.col]),{default:s(()=>[c(I,{label:l.label,value:a(u)[l.key],type:l.type,enum:l.enum},null,8,["label","value","type","enum"])]),_:2},1040))),128))]),_:1}),d(` <el-form-item>\r
				<div class="pt20 mt30">\r
					<el-button @click="onCancel">\u8FD4\u56DE</el-button>\r
				</div>\r
			</el-form-item> `)]),_:1},8,["model"])]),_:1},8,["title"])}}});const K=h(H,[["__scopeId","data-v-61f955f7"]]);export{K as default};
