import{r as a,p as i,X as n}from"./index.ad3efb29.js";import{BaseColumn as l}from"./commonTabColumn.c5d53eee.js";import{B as c}from"./vue.adf17aba.js";import"./elementPlus.4833989a.js";import"./echarts.72dc8373.js";const d="/api/ad_manage/sbgroupdetail/keywords/";function u(e){return a({url:d+"list/",method:"get",params:e})}const w=function({crudExpose:e,context:r}){const o=async t=>{const s=i(r.value);return n.assign(t,s),await u(t)};return c("$hasPermissions"),{crudOptions:{table:{height:750,headerCellStyle:{backgroundColor:"#f6f7fa",height:"20px"},cellStyle:{border:"none",borderBottom:"0.5px solid #ddd"}},container:{fixedHeight:!1},actionbar:{show:!0,color:"#626aef",buttons:{add:{show:!1},create:{text:"添加关键词",color:"#626aef",plain:!0,show:!0,click(){}}}},search:{show:!0,buttons:{search:{show:!1},reset:{show:!1}}},request:{pageRequest:o},rowHandle:{show:!1},columns:{keywordText:{title:"关键词",column:{width:"200px",fixed:"left",align:"center"}},state:{title:"状态",column:{width:"100px",align:"center"}},suggestedBid:{title:"建议竞价",column:{width:"100px",align:"center"}},bid:{title:"出价",column:{width:"60px",align:"center"}},...l}}}};export{w as createCrudOptions};
