import{x as i,r as o,k as h,al as u,y as c,H as m,I as l,Q as t,u as r,A as _,z as w,P as M,a4 as L,E as q,M as N}from"./vendor-6ae0c374-1783405707921v=1.0.0.js";import{u as R}from"./useFormEdit-38c2c94d-1783405707921v=1.0.0.js";import{g as z}from"./staffManageApi-119a99cf-1783405707921v=1.0.0.js";import{u as S,a as T,D as V,_ as j}from"./index-71d7b18c-1783405707921v=1.0.0.js";import{E as H}from"./eleVendor-d42abce8-1783405707921v=1.0.0.js";import"./keepAlive-6cb682d1-1783405707921v=1.0.0.js";const Q={class:"pt20 mt30"},Y=i({name:"staffManageDetail"}),Z=i({...Y,setup(G){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:E}=R();S();const n=o({}),s=T(),b=o(""),g=o([{key:"tsType",col:2,label:"\u5E08\u751F\u7C7B\u578B:(tch\u8001\u5E08,stu\u5B66\u751F)"},{key:"tsNo",col:2,label:"\u5B66\u53F7/\u6559\u804C\u5DE5\u53F7"},{key:"name",col:2,label:"\u59D3\u540D"},{key:"tsManageType",col:2,label:"\u5E08\u751F\u7BA1\u7406\u5458\u7C7B\u578B(not\u975E\u7BA1\u7406\u5458,school\u5B66\u6821\u7BA1\u7406\u5458,biz\u4E1A\u52A1\u6570\u636E\u7BA1\u7406\u5458)"},{key:"grade",col:2,label:"\u5E74\u7EA7"},{key:"enrollmentYear",col:2,label:"\u5165\u5B66\u5E74\u4EFD"},{key:"email",col:2,label:"\u90AE\u7BB1"},{key:"phone",col:2,label:"\u7535\u8BDD"},{key:"collegeId",col:2,label:"\u9662\u7CFBid"},{key:"majorId",col:2,label:"\u4E13\u4E1Aid"},{key:"courseId",col:2,label:"\u8BFE\u7A0Bid"},{key:"clubId",col:2,label:"\u4FF1\u4E50\u90E8id"},{key:"classId",col:2,label:"\u73ED\u7EA7id"}]),B=o({1:f,2:p,3:y}),k=async d=>{let e=await z(d);if(e.code!==0){H.error(e.msg);return}e.data,n.value={...e.data}};h(()=>{s.query.id&&(b.value=s.query.id,n.value.id=s.query.id,k(s.query.id))});const x=()=>{E()};return(d,e)=>{const F=u("PaCol"),v=u("PaRow"),D=u("el-button"),A=u("el-form-item"),C=u("el-form"),I=u("PaIndexPage");return c(),m(I,null,{default:l(()=>[t(C,{model:r(n),ref:"ruleFormRef","label-width":"170px"},{default:l(()=>[e[1]||(e[1]=_("div",{class:"divider mt16 mb28"},"\u57FA\u672C\u4FE1\u606F",-1)),t(v,null,{default:l(()=>[(c(!0),w(M,null,L(r(g),(a,P)=>(c(),m(F,q({key:P},{ref_for:!0},r(B)[a.col]),{default:l(()=>[t(V,{label:a.label,value:r(n)[a.key],type:a.type,enum:a.enum},null,8,["label","value","type","enum"])]),_:2},1040))),128))]),_:1}),t(A,null,{default:l(()=>[_("div",Q,[t(D,{onClick:x},{default:l(()=>e[0]||(e[0]=[N("\u8FD4\u56DE",-1)])),_:1,__:[0]})])]),_:1})]),_:1,__:[1]},8,["model"])]),_:1})}}});const $=j(Z,[["__scopeId","data-v-b312e9d7"],["__file","D:/desktop/huaZhong/huazhong-common/apps/vue-admin/src/views/accountPermissionManage/detail.vue"]]);export{$ as default};
