import{b as f}from"./index.a72b5840.js";import{E as _}from"./index.581a1547.js";import{r as x,a as b,b as c,o as v,c as y,d as a,e as o,g,a2 as k,f as w,K as V,H as d,k as h,S as C}from"./index.699f1124.js";const E={class:"app-container"},F=d("\u53D6\u6D88"),R=d("\u63D0\u4EA4"),$={__name:"expert",setup(B){const m=h(),s=140,e=x({gender:1}),r=b(),u=async l=>{await r.value.validateForm()?(e.area=e.district,await f(e),C.success("\u7533\u8BF7\u5DF2\u63D0\u4EA4"),m.back()):console.log("\u6821\u9A8C\u672A\u901A\u8FC7")};return(l,t)=>{const n=c("el-button"),p=c("el-card");return v(),y("div",E,[a(p,{shadow:"always",style:{width:"55%",margin:"0 auto"}},{default:o(()=>[a(g(_),{modelValue:e,"onUpdate:modelValue":t[0]||(t[0]=i=>k(e)?e.value=i:null),isAdd:!1,labelWidth:s,ref_key:"expertFormRef",ref:r},null,8,["modelValue"]),w("div",{style:V({marginLeft:s+"px"})},[a(n,{onClick:t[1]||(t[1]=i=>l.$router.go(-1))},{default:o(()=>[F]),_:1}),a(n,{type:"primary",onClick:u},{default:o(()=>[R]),_:1})],4)]),_:1})])}}};export{$ as default};
