data-Babbu_07.js 1.1 KB

1
  1. import{C as e}from"./enums-vssea2K3.js";import{l as o}from"./vue-CF9JqwIh.js";import{S as r}from"./antd-ILpsl5AZ.js";const d=[],f=[{field:"name",label:"",component:"Input",componentProps:({formModel:n})=>({placeholder:"请输入要搜索的内容",onChange:a=>{n.blurry=a.target.value}}),renderComponentContent:()=>({prefix:()=>o(r)}),colProps:{span:24}}],u=[{title:"菜单名称",dataIndex:"treatTime",width:200,align:"left"},{title:"排序",dataIndex:"treatTime",width:200,align:"left"},{title:"核心字段",dataIndex:"treatTime",width:200,align:"left"},{title:"是否使用",dataIndex:"treatTime",align:"left"},{title:"更新时间",dataIndex:"treatTime",width:200,align:"left"}];function c(n){if(!n.length)return[];const a=[e.ATTACHMENT,e.LINK,e.REFERENCE];return n.map(t=>{const i={title:t.fieldName,dataIndex:t.fieldKey,field:t.fieldKey,align:"left",type:t.inputBoxType,visible:Number(t.show)==1,search:t.exactSearch};return a.includes(t.inputBoxType)&&(i.slots={default:t.inputBoxType},i.showOverflow="ellipsis"),(t.inputBoxType==e.MULTIPLESELECT||t.inputBoxType==e.SELECT)&&(i.options=t.options||[]),i})}export{c as D,d as a,u as c,f as s};