import{x as i,r as o,k as M,al as a,y as c,H as _,I as t,Q as n,u as r,A as d,z as I,P as h,a4 as A,E as L,M as q}from"./vendor-6ae0c374-1783405707921v=1.0.0.js";import{u as R}from"./useFormEdit-38c2c94d-1783405707921v=1.0.0.js";import{g as S}from"./studentManageApi-2f90fa41-1783405707921v=1.0.0.js";import{u as V,a as z,D as j,_ as H}from"./index-71d7b18c-1783405707921v=1.0.0.js";import{E as Q}from"./eleVendor-d42abce8-1783405707921v=1.0.0.js";import"./keepAlive-6cb682d1-1783405707921v=1.0.0.js";const T={class:"pt20 mt30"},Z=i({name:"studentManageDetail"}),G=i({...Z,setup(J){const p=o({xs:24,sm:22,md:20,lg:14,xl:23}),f=o({xs:24,sm:24,md:12,lg:12,xl:12}),y=o({xs:24,sm:22,md:18,lg:16,xl:8}),{closeCurrent:g}=R();V();const s=o({}),u=z(),b=o(""),x=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:p,2:f,3:y}),v=async m=>{let e=await S(m);if(e.code!==0){Q.error(e.msg);return}e.data,s.value={...e.data}};M(()=>{u.query.id&&(b.value=u.query.id,s.value.id=u.query.id,v(u.query.id))});const D=()=>{g()};return(m,e)=>{const E=a("PaCol"),N=a("PaRow"),B=a("el-button"),C=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(N,null,{default:t(()=>[(c(!0),I(h,null,A(r(x),(l,w)=>(c(),_(E,L({key:w},{ref_for:!0},r(k)[l.col]),{default:t(()=>[n(j,{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(C,null,{default:t(()=>[d("div",T,[n(B,{onClick:D},{default:t(()=>e[0]||(e[0]=[q("\u8FD4\u56DE",-1)])),_:1,__:[0]})])]),_:1})]),_:1,__:[1]},8,["model"])]),_:1})}}});const $=H(G,[["__scopeId","data-v-65646318"],["__file","D:/desktop/huaZhong/huazhong-common/apps/vue-admin/src/views/baseManage/studentManage/detail.vue"]]);export{$ as default};
