import{a as C,B as k,b as v}from"./index.8a64ecdf.js";import"./elementPlus.58179425.js";import{d as G,al as R,ak as B,r as D,j as N,w as I,a8 as c,o as V,E as w,G as e,M as t,u as o,t as b,a as q,L,B as T}from"./vue.95e072e2.js";import{g as A,a as P,c as j}from"./crud.780b693c.js";import{_ as E}from"./index.vue_vue_type_script_setup_true_lang.8dd19552.js";import M from"./dataTendency.ab62b4f1.js";import{_ as S}from"./_plugin-vue_export-helper.c27b6911.js";import"./echarts.72dc8373.js";import"./commonTabColumn.00155e2b.js";import"./enum.b537673d.js";import"./index.9f6b84b8.js";import"./index.df979911.js";const $={class:"en-text"},O=G({__name:"index",props:{campaignId:{}},setup(i){const u=C(),l=R(),m=i,{dateRange:r}=B(u),n=D({campaignId:m.campaignId,dateRange:r}),{crudBinding:f,crudRef:_,crudExpose:d}=k({createCrudOptions:j,context:n});N(()=>{d.doRefresh()});const g=s=>{l.push({name:"SbAdGroupDetail",query:{adGroupId:s.adGroupId,targetingType:s.targetingType,tagsViewName:s.adGroupName}})};return I(n,async()=>{d.doRefresh()},{deep:!0}),(s,p)=>{const y=c("el-link"),h=c("el-tooltip"),x=c("fs-crud");return V(),w(o(v),{class:"fs-page-custom"},{default:e(()=>[t(x,T({ref_key:"crudRef",ref:_},o(f)),{"search-left":e(()=>[t(E,{modelValue:o(r),"onUpdate:modelValue":p[0]||(p[0]=a=>b(r)?r.value=a:null)},null,8,["modelValue"])]),"header-middle":e(()=>[t(M,{query:n.value,fetchCard:o(A),fetchLine:o(P)},null,8,["query","fetchCard","fetchLine"])]),cell_adGroupName:e(a=>[t(h,{effect:"dark",content:a.row.campaignName,placement:"top"},{default:e(()=>[t(y,{type:"primary",underline:!1,onClick:U=>g(a.row)},{default:e(()=>[q("div",$,L(a.row.adGroupName),1)]),_:2},1032,["onClick"])]),_:2},1032,["content"])]),_:1},16)]),_:1})}}});const te=S(O,[["__scopeId","data-v-fe36d29f"]]);export{te as default};
