|
1 |
- var D=Object.defineProperty,I=Object.defineProperties;var j=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var F=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable;var v=(a,o,e)=>o in a?D(a,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):a[o]=e,g=(a,o)=>{for(var e in o||(o={}))F.call(o,e)&&v(a,e,o[e]);if(x)for(var e of x(o))N.call(o,e)&&v(a,e,o[e]);return a},k=(a,o)=>I(a,j(o));var b=(a,o,e)=>new Promise((r,p)=>{var d=t=>{try{m(e.next(t))}catch(l){p(l)}},f=t=>{try{m(e.throw(t))}catch(l){p(l)}},m=t=>t.done?r(t.value):Promise.resolve(t.value).then(d,f);m((e=e.apply(a,o)).next())});import{d as M,G as R,D as U,r as w,o as B,e as s,f as E,I as S,l as _,k as n,j as u,_ as $}from"./index.11dc4694.js";const G=M({name:"expertOtherInfo"}),J=Object.assign(G,{setup(a,{expose:o}){const{tagList:e}=R(U.dictStore),r=w({}),p=w(),d={};return o({validForm:t=>{p.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(),S(V,{ref_key:"formRef",ref:p,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]=c=>r.value.other=c),placeholder:"\u8BF7\u9009\u62E9\u5176\u4ED6\u6807\u7B7E",data:u(e)&&u(e).length&&u(e).find(c=>c.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]=c=>r.value.remark=c),maxlength:"200","show-word-limit":"",type:"textarea",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}}),P=$(J,[["__file","/Users/chenlixin/Documents/work/NDKJ/MyProject/ls-project-v2.0/src/pages/expertManage/expertStore/addOrEditExpert/components/expertOtherInfo.vue"]]);export{P as default};
|