import{r as i,p as r,X as c}from"./index.ad3efb29.js";import{B as s}from"./vue.adf17aba.js";import"./elementPlus.4833989a.js";import"./echarts.72dc8373.js";const o="/api/ad_manage/spcampaigns/asin_word/";function u(e){return i({url:o,method:"get",params:e})}const p=function({crudExpose:e,context:n}){const l=async t=>{const a=r(n.value);return c.assign(t,a),await u(t)};return s("$hasPermissions"),{crudOptions:{table:{},container:{fixedHeight:!1},actionbar:{show:!1},search:{show:!0,buttons:{search:{show:!1},reset:{show:!1}}},request:{pageRequest:l},rowHandle:{show:!1},columns:{searchTerm:{title:"搜索词",column:{width:"200px",fixed:"left"}},Impression:{title:"曝光量",column:{align:"center"}},Click:{title:"点击量",column:{align:"center"}},Spend:{title:"花 费",column:{align:"center"}},TotalPurchases:{title:"订单数",column:{align:"center"}},TotalSales:{title:"花 费",column:{align:"center"}},TotalUnitOrdered:{title:"销 量",column:{align:"center"}},TotalSalesSameSKU:{title:"推广商品销售额",column:{width:"180",align:"center"}},TotalSalesOtherSKU:{title:"其他商品销售额",column:{width:"180",align:"center"}},TotalPurchasesSameSKU:{title:"推广商品订单数",column:{width:"180",align:"center"}},TotalPurchasesOtherSKU:{title:"其他商品订单数",column:{width:"180",align:"center"}},TotalUnitOrderedSameSKU:{title:"推广商品销量",column:{width:"180",align:"center"}},TotalUnitOrderedOtherSKU:{title:"其它商品销量",column:{width:"180",align:"center"}},CPC:{title:"点击成本",column:{width:"130",align:"center"}},CTR:{title:"点击率",column:{align:"center"}},PurchasesRate:{title:"转化率",column:{align:"center"}},ACOS:{title:"ACOS",column:{align:"center"}},ROAS:{title:"ROAS",column:{align:"center"}},CPA:{title:"订单成本",column:{width:"130",align:"center"}}}}}};export{p as createCrudOptions};
