import{r as n,X as s,p as i}from"./index.ad3efb29.js";import{g as l}from"./enum.e566fd6e.js";import{BaseColumn as m}from"./commonTabColumn.c5d53eee.js";import"./vue.adf17aba.js";import"./elementPlus.4833989a.js";import"./echarts.72dc8373.js";const p="/api/ad_manage/sbcampaigndetail/placement/";function u(t){return n({url:p,method:"get",params:t})}const C=function({crudExpose:t,context:o}){return{crudOptions:{table:{height:750,headerCellStyle:{backgroundColor:"#f6f7fa",height:"20px"},cellStyle:{border:"none",borderBottom:"0.5px solid #ddd"}},container:{fixedHeight:!1},actionbar:{show:!1,buttons:{add:{show:!1}}},search:{show:!0,buttons:{search:{show:!1},reset:{show:!1}}},toolbar:{buttons:{search:{show:!0},compact:{show:!1}}},request:{pageRequest:async e=>{const a=i(o.value);return s.assign(e,a),await u(e)}},pagination:{show:!1},rowHandle:{show:!1},columns:{placement:{title:"广告位",column:{width:"200px",fixed:"left",formatter({value:e,row:a,index:d}){return s.find(l,r=>r.value===e).label}}},bidAdjustment:{title:"竞价调整"},...m}}}};export{C as createCrudOptions};
