import{d as v,u as j,i as z,a as k,c as q,b as t,e as f,w as s,f as _,h as n,F as w,s as U,__tla as C}from"./index-WdVqRR-9.js";import{F,R,a as S,C as B,b as G,__tla as L}from"./index-HIljKayB.js";import{__tla as M}from"./index-OHpU0tni.js";import{N,__tla as P}from"./index-N4risT1q.js";import{R as T,__tla as A}from"./request-ZrlSA92R.js";import{B as D,__tla as E}from"./index-mC_aB5DB.js";import{__tla as H}from"./use-route-_KCfW-bn.js";import{__tla as I}from"./use-placeholder-8qMIDu-a.js";let y,J=Promise.all([(()=>{try{return C}catch(e){}})(),(()=>{try{return L}catch(e){}})(),(()=>{try{return M}catch(e){}})(),(()=>{try{return P}catch(e){}})(),(()=>{try{return A}catch(e){}})(),(()=>{try{return E}catch(e){}})(),(()=>{try{return H}catch(e){}})(),(()=>{try{return I}catch(e){}})()]).then(async()=>{let e,c;e={class:"flex-auto py-4"},c={class:"px-4 mt-20"},y=v({__name:"name",setup(K){const u=j();function p(){u.back()}const l=z({axa_name:void 0,axa_mssc:"",axa_sycj_syxb_v2:"male"});function x(i){console.log("submit",i),T({url:"/aimooc/xnszr_audio/add",data:{aimooc_xnszr_audio:{...l,axa_is_system:2}}}).then(a=>{if(console.log("onSubmit res : ",a),a.code==="1"){const r=a.data.one_info;console.log("info : ",r),u.replace({name:"caiji-sy-record-id",params:{id:r.axa_sycj_zdysyid_v2}})}else console.log("res.msg : ",a.msg),U(a.msg)})}return(i,a)=>{const r=N,m=F,d=R,h=S,b=B,g=D,V=G;return k(),q(w,null,[t(r,{title:"\u58F0\u97F3\u547D\u540D","left-arrow":"",onClickLeft:p}),f("div",e,[t(V,{class:"h-full flex flex-col",onSubmit:x},{default:s(()=>[t(b,{inset:""},{default:s(()=>[t(m,{modelValue:_(l).axa_name,"onUpdate:modelValue":a[0]||(a[0]=o=>_(l).axa_name=o),name:"\u58F0\u97F3\u540D\u79F0",label:"\u58F0\u97F3\u540D\u79F0",placeholder:"\u8BF7\u8F93\u5165\u6211\u7684\u58F0\u97F3\u540D\u79F0",rules:[{required:!0,message:"\u58F0\u97F3\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"}]},null,8,["modelValue"]),t(m,{name:"\u6027\u522B",label:"\u6027\u522B",rules:[{required:!0,message:"\u6027\u522B\u4E0D\u80FD\u4E3A\u7A7A"}]},{input:s(()=>[t(h,{modelValue:_(l).axa_sycj_syxb_v2,"onUpdate:modelValue":a[1]||(a[1]=o=>_(l).axa_sycj_syxb_v2=o),direction:"horizontal"},{default:s(()=>[t(d,{name:"male"},{default:s(()=>[n("\u7537\u6027")]),_:1}),t(d,{name:"female"},{default:s(()=>[n("\u5973\u6027")]),_:1})]),_:1},8,["modelValue"])]),_:1}),t(m,{modelValue:_(l).axa_mssc,"onUpdate:modelValue":a[2]||(a[2]=o=>_(l).axa_mssc=o),name:"\u58F0\u97F3\u63CF\u8FF0",label:"\u58F0\u97F3\u63CF\u8FF0",placeholder:"\u8BF7\u8F93\u5165\u6211\u7684\u58F0\u97F3\u63CF\u8FF0",rows:"3",autosize:"",type:"textarea",rules:[{required:!0,message:"\u58F0\u97F3\u63CF\u8FF0\u4E0D\u80FD\u4E3A\u7A7A"}]},null,8,["modelValue"])]),_:1}),f("div",c,[t(g,{block:"",type:"primary","native-type":"submit"},{default:s(()=>[n(" \u63D0\u4EA4 ")]),_:1})])]),_:1})])],64)}}})});export{J as __tla,y as default};
