import{d as I,r as a,ay as T,G as f,E as B,ai as r,o as t,c as m,a as i,U as p,u as D,D as P,O as R,F as v,a8 as b,M as g,I as S,T as U,Q as j}from"./vue.adf17aba.js";import{_ as N}from"./index.vue_vue_type_script_setup_true_lang.3fa6db13.js";import{a as A}from"./index.ad3efb29.js";import{a as E}from"./api.7e8ee3c4.js";import F from"./index.29e572b3.js";import G from"./index.aa72903a.js";import K from"./index.e4e54b59.js";import M from"./index.11a796be.js";import $ from"./index.edbee46b.js";import{_ as z}from"./_plugin-vue_export-helper.c27b6911.js";import"./elementPlus.4833989a.js";import"./echarts.72dc8373.js";import"./crud.3e12bb75.js";import"./api.4758178e.js";import"./commonTabColumn.c5d53eee.js";import"./adStruct.729b77e4.js";import"./dropdowndisable.88660b16.js";import"./index.05a2d588.js";import"./enum.e566fd6e.js";import"./dataTendency.8fe14a29.js";import"./index.7f1f4491.js";import"./index.04a874bc.js";import"./adStruct.412cb24f.js";import"./dataTendency.69ca86c9.js";import"./crud.30fc2435.js";import"./adStruct.fb26addf.js";import"./api.fa968e5b.js";import"./crud.0cd52473.js";import"./api.a2a6e360.js";import"./adStruct.9f832af4.js";import"./api.0c2b52c8.js";import"./crud.2444c7f5.js";const L={class:"asj-container"},O={class:"public-search"},Q={class:"asj-tabs"},q=["onClick"],H=I({__name:"index",setup(J){const C=A(),c=a([]),d=a([]),{dateRange:l}=T(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"}],y={Campaigns:F,Keywords:G,Targets:$,SearchTerm:M,Placement:K};return B(async()=>{const _=await E();d.value=_.data}),(_,o)=>{const V=r("el-input"),k=r("el-option"),w=r("el-select");return t(),m("div",L,[i("div",O,[p(V,{modelValue:s.value,"onUpdate:modelValue":o[0]||(o[0]=e=>s.value=e),onChange:h,style:{width:"500px"},placeholder:"请输入搜索内容"},null,8,["modelValue"]),p(N,{modelValue:D(l),"onUpdate:modelValue":o[1]||(o[1]=e=>P(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",Q,[(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},U(e.label),11,q)),64))]),(t(),g(j(y[n.value])))])}}});const De=z(H,[["__scopeId","data-v-3156df11"]]);export{De as default};
