1 |
- import{l as u}from"./lodash.11b1aa84.js";import{aE as m,W as l}from"./index.26d13061.js";const n={index:2,name:"relaComName",code:"relaComNo"};function g(t){const{sourceConfig:a,apis:r,insertBusinessField:s=n}=t,e=u.exports.cloneDeep(a),{columns:o}=e,{index:c=n.index,name:f=n.name,code:p=n.code}=s,i=o.splice(c);return e.apis=r,e.columns=o.concat(i),{contentConfig:e}}function h(t){const{sourceConfig:a,queryField:r="relaComNo"}=t,s=JSON.parse(JSON.stringify(a)),e=m(""),o=l(()=>e.value==="");return s.formItems=[...s.formItems,{trigger:"change",field:r,placeholder:"\u4E1A\u52A1\u516C\u53F8",noRest:!0,type:"business-permission",onChange:c=>e.value=c}],{searchConfig:s,isHasCompany:o,companyNo:e}}export{g as a,h as u};
|