import{u as I}from"./useFormEdit-57ddb914-1782468512657v=1.0.0.js";import{g as M}from"./studentManageApi-1048dcc4-1782468512657v=1.0.0.js";import{u as A,a as L,e as q,_ as R}from"./index-c87bcfde-1782468512657v=1.0.0.js";import{E as V}from"./eleVendor-12a75a9a-1782468512657v=1.0.0.js";import{x as i,r as o,k as S,al as a,y as c,H as _,I as t,Q as n,u as r,A as d,z as h,P as j,a4 as z,E as H,M as Q}from"./vendor-27e23c1b-1782468512657v=1.0.0.js";import"./keepAlive-a871c896-1782468512657v=1.0.0.js";const T={class:"pt20 mt30"},$=i({name:"studentManageDetail"}),G=i({...$,setup(J){const f=o({xs:24,sm:22,md:20,lg:14,xl:23}),p=o({xs:24,sm:24,md:12,lg:12,xl:12}),y=o({xs:24,sm:22,md:18,lg:16,xl:8}),{closeCurrent:x}=I();A();const s=o({}),u=L(),b=o(""),g=o([{key:"tsNo",col:2,label:"\u5B66\u53F7"},{key:"collegeName",col:2,label:"\u9662\u7CFB"},{key:"majorName",col:2,label:"\u4E13\u4E1A"},{key:"accountName",col:2,label:"\u59D3\u540D"},{key:"account",col:2,label:"\u8D26\u53F7"},{key:"sex",col:2,label:"\u6027\u522B"},{key:"phone",col:2,label:"\u7535\u8BDD"},{key:"className",col:NaN,label:"\u73ED\u7EA7"},{key:"email",col:NaN,label:"\u90AE\u7BB1"}]),k=o({1:f,2:p,3:y}),E=async m=>{let e=await M(m);if(e.code!==0){V.error(e.msg);return}e.data,s.value={...e.data}};S(()=>{u.query.id&&(b.value=u.query.id,s.value.id=u.query.id,E(u.query.id))});const v=()=>{x()};return(m,e)=>{const N=a("PaCol"),B=a("PaRow"),C=a("el-button"),D=a("el-form-item"),F=a("el-form"),P=a("PaIndexPage");return c(),_(P,null,{default:t(()=>[n(F,{model:r(s),ref:"ruleFormRef","label-width":"170px"},{default:t(()=>[e[1]||(e[1]=d("div",{class:"divider mt16 mb28"},"\u57FA\u672C\u4FE1\u606F",-1)),n(B,null,{default:t(()=>[(c(!0),h(j,null,z(r(g),(l,w)=>(c(),_(N,H({key:w},{ref_for:!0},r(k)[l.col]),{default:t(()=>[n(q,{label:l.label,value:r(s)[l.key],type:l.type,enum:l.enum},null,8,["label","value","type","enum"])]),_:2},1040))),128))]),_:1}),n(D,null,{default:t(()=>[d("div",T,[n(C,{onClick:v},{default:t(()=>e[0]||(e[0]=[Q("\u8FD4\u56DE",-1)])),_:1,__:[0]})])]),_:1})]),_:1,__:[1]},8,["model"])]),_:1})}}});const Z=R(G,[["__scopeId","data-v-3a1c9e14"]]);export{Z as default};
