No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

expertOtherInfo.d2f702c9.js 1.5KB

1
  1. import{d as g,C as k,B as b,r as c,o as C,c as a,e as w,G as V,i as r,h as t,u as m}from"./index.2dada31c.js";const y=g({name:"expertOtherInfo"}),I=Object.assign(y,{setup(F,{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}`)}}}),C(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 w(),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{I as default};