import{x as c,r as n,k as d,al as g,y as _,H as v,I as y,Q as C,u as l,l as i}from"./vendor-6ae0c374-1783405707921v=1.0.0.js";import F from"./BaseForm-38376602-1783405707921v=1.0.0.js";import{u as b}from"./useFormEdit-38c2c94d-1783405707921v=1.0.0.js";import{u as E}from"./accountPermissionManageApi-6b6d66fe-1783405707921v=1.0.0.js";import{a as h,_ as k}from"./index-71d7b18c-1783405707921v=1.0.0.js";import{E as m}from"./eleVendor-d42abce8-1783405707921v=1.0.0.js";import"./eleValidate-a6aac0d6-1783405707921v=1.0.0.js";import"./role-ca48e7dd-1783405707921v=1.0.0.js";import"./keepAlive-6cb682d1-1783405707921v=1.0.0.js";const x=c({name:"roleManageEdit"}),w=c({...x,setup(B){const{closeCurrent:u}=b();n(null);const a=n(!1),t=n({}),p=()=>{u()},f=async r=>{a.value=!0;try{let e=E,s="\u4FEE\u6539\u6210\u529F",o=await e(r);o.code==0?(m({type:"success",message:`${s}!`}),u()):m.warning(o.msg),a.value=!1}catch{a.value=!1}};return h(),d(()=>{}),(r,e)=>{const s=g("HZPageLayout");return _(),v(s,{isBack:!0,title:"\u8D26\u53F7\u6743\u9650\u7F16\u8F91"},{default:y(()=>[C(F,{loading:l(a),"onUpdate:loading":e[0]||(e[0]=o=>i(a)?a.value=o:null),value:l(t),"onUpdate:value":e[1]||(e[1]=o=>i(t)?t.value=o:null),tsIdDisable:!0,onCancel:p,onSubmit:f},null,8,["loading","value"])]),_:1})}}}),U=k(w,[["__file","D:/desktop/huaZhong/huazhong-common/apps/vue-admin/src/views/teachingCycle/teachingCycle/edit.vue"]]);export{U as default};
