import{x as i,r as a,k as w,al as o,y as c,H as d,I as t,Q as n,u as r,A as _,z as h,P as A,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{b as V}from"./managerManageApi-d2a7b827-1783405707921v=1.0.0.js";import{u as z,a as S,D as T,_ 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"},Z=i({name:"managerManageDetail"}),G=i({...Z,setup(J){const p=a({xs:24,sm:22,md:20,lg:14,xl:23}),f=a({xs:24,sm:24,md:12,lg:12,xl:12}),g=a({xs:24,sm:22,md:18,lg:16,xl:8}),{closeCurrent:b}=R();z();const s=a({}),u=S(),y=a(""),E=a([{key:"schManagerType",col:1,label:"\u7BA1\u7406\u5458\u7C7B\u578B"},{key:"tsId",col:1,label:"\u5B66\u5DE5\u53F7"},{key:"collegeIds",col:1,label:"\u6240\u5C5E\u5B66\u9662"},{key:"majorIds",col:1,label:"\u6240\u5C5E\u4E13\u4E1A"},{key:"clubIds",col:1,label:"\u6240\u5C5E\u4FF1\u4E50\u90E8"},{key:"classIds",col:1,label:"\u6240\u5C5E\u73ED\u7EA7"},{key:"tsName",col:2,label:"\u540D\u79F0"}]),x=a({1:p,2:f,3:g}),k=async m=>{let e=await V(m);if(e.code!==0){H.error(e.msg);return}e.data,s.value={...e.data}};w(()=>{u.query.id&&(y.value=u.query.id,s.value.id=u.query.id,k(u.query.id))});const v=()=>{b()};return(m,e)=>{const C=o("PaCol"),I=o("PaRow"),F=o("el-button"),D=o("el-form-item"),M=o("el-form"),P=o("PaIndexPage");return c(),d(P,null,{default:t(()=>[n(M,{model:r(s),ref:"ruleFormRef","label-width":"170px"},{default:t(()=>[e[1]||(e[1]=_("div",{class:"divider mt16 mb28"},"\u57FA\u672C\u4FE1\u606F",-1)),n(I,null,{default:t(()=>[(c(!0),h(A,null,L(r(E),(l,B)=>(c(),d(C,q({key:B},{ref_for:!0},r(x)[l.col]),{default:t(()=>[n(T,{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(()=>[_("div",Q,[n(F,{onClick:v},{default:t(()=>e[0]||(e[0]=[N("\u8FD4\u56DE",-1)])),_:1,__:[0]})])]),_:1})]),_:1,__:[1]},8,["model"])]),_:1})}}});const $=j(G,[["__scopeId","data-v-e7abb73b"],["__file","D:/desktop/huaZhong/huazhong-common/apps/vue-admin/src/views/managerManage/managerManage/detail.vue"]]);export{$ as default};
