You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

2 lines
1.5KB

  1. import{d as g,G as k,D as b,r as c,o as w,c as a,e as C,I as V,i as r,h as t,u as m}from"./index.0b616ce3.js";const y=g({name:"expertOtherInfo"}),N=Object.assign(y,{setup(D,{expose:p}){const{tagList:s}=k(b.dictStore),o=c({}),u=c(),f={};return p({validForm:l=>{u.value.validate(e=>{l(e)})},formData:o,setFormData:l=>{o.value={...l,other:l.other&&l.other.map(e=>`${e.tagName}##${e.tagCode}`)}}}),w(async()=>{}),(l,e)=>{const i=a("el-tree-select"),_=a("el-form-item"),d=a("el-col"),h=a("el-input"),v=a("el-row"),x=a("el-form");return C(),V(x,{ref_key:"formRef",ref:u,model:o.value,rules:f,"label-position":"right","label-width":"120px","label-suffix":":","scroll-to-error":"",class:"expertOtherInfo"},{default:r(()=>[t(v,{gutter:8},{default:r(()=>[t(d,{span:24},{default:r(()=>[t(_,{label:"\u5176\u4ED6\u6807\u7B7E"},{default:r(()=>[t(i,{modelValue:o.value.other,"onUpdate:modelValue":e[0]||(e[0]=n=>o.value.other=n),placeholder:"\u8BF7\u9009\u62E9\u5176\u4ED6\u6807\u7B7E",data:m(s)&&m(s).length&&m(s).find(n=>n.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}),t(d,{span:24},{default:r(()=>[t(_,{label:"\u5907\u6CE8"},{default:r(()=>[t(h,{modelValue:o.value.remark,"onUpdate:modelValue":e[1]||(e[1]=n=>o.value.remark=n),maxlength:"200","show-word-limit":"",type:"textarea",placeholder:"\u8BF7\u8F93\u5165"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])}}});export{N as default};