var I=Object.defineProperty,D=Object.defineProperties;var F=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var N=Object.prototype.hasOwnProperty,j=Object.prototype.propertyIsEnumerable;var v=(a,o,e)=>o in a?I(a,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[o]=e,g=(a,o)=>{for(var e in o||(o={}))N.call(o,e)&&v(a,e,o[e]);if(x)for(var e of x(o))j.call(o,e)&&v(a,e,o[e]);return a},k=(a,o)=>D(a,F(o));var b=(a,o,e)=>new Promise((r,m)=>{var d=t=>{try{c(e.next(t))}catch(l){m(l)}},f=t=>{try{c(e.throw(t))}catch(l){m(l)}},c=t=>t.done?r(t.value):Promise.resolve(t.value).then(d,f);c((e=e.apply(a,o)).next())});import{d as M,I as R,H as U,r as w,o as B,f as s,g as E,K,m as _,l as n,k as u,_ as S}from"./index.9fabe127.js";const $=M({name:"expertOtherInfo"}),H=Object.assign($,{setup(a,{expose:o}){const{tagList:e}=R(U.dictStore),r=w({}),m=w(),d={};return o({validForm:t=>{m.value.validate(l=>{t(l)})},formData:r,setFormData:t=>{r.value=k(g({},t),{other:t.other&&t.other.map(l=>`${l.tagName}##${l.tagCode}`)})}}),B(()=>b(this,null,function*(){})),(t,l)=>{const y=s("el-tree-select"),i=s("el-form-item"),h=s("el-col"),C=s("el-input"),O=s("el-row"),V=s("el-form");return E(),K(V,{ref_key:"formRef",ref:m,model:r.value,rules:d,"label-position":"right","label-width":"120px","label-suffix":":","scroll-to-error":"",class:"expertOtherInfo"},{default:_(()=>[n(O,{gutter:8},{default:_(()=>[n(h,{span:24},{default:_(()=>[n(i,{label:"\u5176\u4ED6\u6807\u7B7E"},{default:_(()=>[n(y,{modelValue:r.value.other,"onUpdate:modelValue":l[0]||(l[0]=p=>r.value.other=p),placeholder:"\u8BF7\u9009\u62E9\u5176\u4ED6\u6807\u7B7E",data:u(e)&&u(e).length&&u(e).find(p=>p.tagCode==="other").children||[],props:{label:"tagName",value:"unionCode"},"node-key":"unionCode","collapse-tags":"",multiple:"","show-checkbox":"","check-on-click-node":""},null,8,["modelValue","data"])]),_:1})]),_:1}),n(h,{span:24},{default:_(()=>[n(i,{label:"\u5907\u6CE8"},{default:_(()=>[n(C,{modelValue:r.value.remark,"onUpdate:modelValue":l[1]||(l[1]=p=>r.value.remark=p),maxlength:"200","show-word-limit":"",type:"textarea",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}}),P=S(H,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/expertManage/expertStore/addOrEditExpert/components/expertOtherInfo.vue"]]);export{P as default};
