import{x as i,r as n,al as p,y as g,H as _,I as v,Q as b,u as l,l as m}from"./vendor-6ae0c374-1783405707921v=1.0.0.js";import C from"./BaseForm-92879067-1783405707921v=1.0.0.js";import{a as E}from"./clubManageApi-2b55464b-1783405707921v=1.0.0.js";import{u as y}from"./useFormEdit-38c2c94d-1783405707921v=1.0.0.js";import{E as c}from"./eleVendor-d42abce8-1783405707921v=1.0.0.js";import{_ as B}from"./index-71d7b18c-1783405707921v=1.0.0.js";import"./collageManageApi-e21931eb-1783405707921v=1.0.0.js";import"./keepAlive-6cb682d1-1783405707921v=1.0.0.js";const F=i({name:"managerManageAdd"}),x=i({...F,setup(M){const{closeCurrent:u}=y(),s=n({collegeId:"",clubName:""}),a=n(!1),d=()=>{u()};n("");const f=async r=>{a.value=!0;try{let e=E,t="\u65B0\u589E\u6210\u529F",o=await e(r);o.code==0?(c({type:"success",message:`${t}!`}),u()):c.warning(o.msg),a.value=!1}catch{a.value=!1}};return(r,e)=>{const t=p("HZPageLayout");return g(),_(t,{title:"\u65B0\u589E\u4FF1\u4E50\u90E8",isBack:!0},{default:v(()=>[b(C,{value:l(s),"onUpdate:value":e[0]||(e[0]=o=>m(s)?s.value=o:null),loading:l(a),"onUpdate:loading":e[1]||(e[1]=o=>m(a)?a.value=o:null),onCancel:d,onSubmit:f},null,8,["value","loading"])]),_:1})}}}),P=B(x,[["__file","D:/desktop/huaZhong/huazhong-common/apps/vue-admin/src/views/baseManage/clubManage/add.vue"]]);export{P as default};
