import{d as I,r as a,al as B,x as f,v as P,a9 as r,o as t,c as m,a as i,M as p,u as T,t as D,G as R,F as v,a0 as b,E as g,z as S,L as j,I as N}from"./vue.65d9dadc.js";import{_ as U}from"./index.vue_vue_type_script_setup_true_lang.0c3456ea.js";import{a as z}from"./index.373e4c1e.js";import{a as A}from"./api.8949c93c.js";import E from"./index.418de12d.js";import F from"./index.5da535f1.js";import G from"./index.6e82ca8f.js";import K from"./index.3671039e.js";import L from"./index.85ed660d.js";import{_ as M}from"./_plugin-vue_export-helper.c27b6911.js";import"./elementPlus.c5b0e04f.js";import"./echarts.72dc8373.js";import"./crud.b917dc40.js";import"./api.3b6a81dd.js";import"./commonTabColumn.a4869ec6.js";import"./adStruct.dc246a84.js";import"./dropdowndisable.88660b16.js";import"./index.4dc9403e.js";import"./enum.b537673d.js";import"./dataTendency.ab35c507.js";import"./index.78cddcae.js";import"./index.74ced524.js";import"./adStruct.f1696775.js";import"./dataTendency.8b63de20.js";import"./crud.636ca0ef.js";import"./adStruct.25a078e0.js";import"./api.281d3e39.js";import"./crud.e1f01410.js";import"./api.3250f513.js";import"./adStruct.2cbdecb6.js";import"./api.7771f169.js";import"./crud.871f131b.js";const $={class:"asj-container"},q={class:"public-search"},H={class:"asj-tabs"},J=["onClick"],O=I({__name:"index",setup(Q){const C=z(),c=a([]),d=a([]),{dateRange:l}=B(C);f("dateRange",l);const s=a(""),u=a("");f("filterItem",u);function h(){u.value=s.value}const n=a("Campaigns"),x=[{label:"广告活动",name:"Campaigns"},{label:"关键词",name:"Keywords"},{label:"商品投放",name:"Targets"},{label:"搜索词",name:"SearchTerm"},{label:"广告位",name:"Placement"}],V={Campaigns:E,Keywords:F,Targets:L,SearchTerm:K,Placement:G};return P(async()=>{const _=await A();d.value=_.data}),(_,o)=>{const y=r("el-input"),k=r("el-option"),w=r("el-select");return t(),m("div",$,[i("div",q,[p(y,{modelValue:s.value,"onUpdate:modelValue":o[0]||(o[0]=e=>s.value=e),onChange:h,style:{width:"500px"},placeholder:"请输入搜索内容"},null,8,["modelValue"]),p(U,{modelValue:T(l),"onUpdate:modelValue":o[1]||(o[1]=e=>D(l)?l.value=e:null)},null,8,["modelValue"]),p(w,{modelValue:c.value,"onUpdate:modelValue":o[2]||(o[2]=e=>c.value=e),placeholder:"广告组合",clearable:"",multiple:"",style:{width:"400px"},"collapse-tags":"","collapse-tags-tooltip":"","max-collapse-tags":3,disabled:"true"},{default:R(()=>[(t(!0),m(v,null,b(d.value,e=>(t(),g(k,{label:e.name,value:e.portfolioId},null,8,["label","value"]))),256))]),_:1},8,["modelValue"])]),i("div",H,[(t(),m(v,null,b(x,e=>i("div",{key:e.name,class:S(["asj-tab",{active:n.value===e.name}]),onClick:W=>n.value=e.name},j(e.label),11,J)),64))]),(t(),g(N(V[n.value])))])}}});const Te=M(O,[["__scopeId","data-v-3156df11"]]);export{Te as default};
