import{d as q,r as h,ay as S,aD as T,j as V,ai as f,o as s,c as I,a,T as l,U as u,O as e,S as d,u as r,M as i,R as m,F as j,aF as N,aG as w}from"./vue.adf17aba.js";import{r as B,u as C}from"./index.ad3efb29.js";import D from"./index.ad1c7801.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang.4a181ff7.js";import M from"./index.afc37423.js";import{_ as P}from"./index.vue_vue_type_script_setup_true_lang.9968d381.js";import{_ as R}from"./index.vue_vue_type_script_setup_true_lang.b483405f.js";import{q as b}from"./enum.e566fd6e.js";import{_ as $}from"./_plugin-vue_export-helper.c27b6911.js";import"./elementPlus.4833989a.js";import"./echarts.72dc8373.js";import"./crud.b0963a00.js";import"./commonTabColumn.c5d53eee.js";import"./dataTendency.69ca86c9.js";import"./index.7f1f4491.js";import"./index.05a2d588.js";import"./index.vue_vue_type_script_setup_true_lang.3fa6db13.js";import"./index.04a874bc.js";import"./crud.e9090cd2.js";import"./api.078a5dae.js";import"./crud.3189c401.js";import"./api.c1e653d0.js";import"./dataTendency.8fe14a29.js";import"./crud.4309157c.js";import"./index.vue_vue_type_script_setup_true_lang.7db24b44.js";import"./crud.39ae1f3a.js";const z="/api/ad_manage/sdcampaigns/report/campaign_info";function E(p,t){return B({url:z,method:"get",params:{adGroupId:p,campaignId:t}})}const _=p=>(N("data-v-26e421db"),p=p(),w(),p),O={class:"asj-container"},U={class:"asj-detail-header"},A={style:{"font-size":"x-large","font-weight":"bold",color:"#0f1111",margin:"5px"}},H={class:"asj-detail-info"},J=_(()=>a("span",{style:{color:"rgb(177, 177, 177)"}},"状态: ",-1)),K=_(()=>a("span",{class:"head-span"},"投放类型：",-1)),L=_(()=>a("span",{class:"head-span"},"投放日期: ",-1)),Q=_(()=>a("span",{class:"head-span"},"针对转化率: ",-1)),W=q({__name:"index",setup(p){const t=h("ads"),g=C();S(g);const n=T(),o=h({});return V(async()=>{const v=await E(n.query.adGroupId,n.query.campaignId);o.value=v.data[0]}),(v,y)=>{const G=f("el-button"),c=f("el-tab-pane"),x=f("el-tabs");return s(),I("div",O,[a("div",U,[a("span",A,[a("span",null,l(o.value.campaignName),1)]),a("div",H,[J,a("span",null,[u(G,{class:"no-hover-effect",type:"success",size:"small",round:"",plain:""},{default:e(()=>[d(l(r(b)[o.value.state]),1)]),_:1})]),K,d(),a("span",null,l(r(b)[o.value.tactic]),1),L,d(),a("span",null,l(o.value.startDate)+" ~ "+l(o.value.endDate??"无结束日期"),1),Q,d(),a("span",null,l(r(b)[o.value.tactic]?"待加入":"--"),1)])]),u(x,{type:"border-card",class:"asj-detail-tabs",modelValue:t.value,"onUpdate:modelValue":y[0]||(y[0]=k=>t.value=k)},{default:e(()=>[u(c,{label:"推广商品",name:"ads"},{default:e(()=>[t.value==="ads"?(s(),i(D,{key:0,adGroupId:r(n).query.adGroupId},null,8,["adGroupId"])):m("",!0)]),_:1}),o.value.tactic==="T00030"?(s(),i(c,{key:0,label:"商品投放",name:"tab2"},{default:e(()=>[t.value==="tab2"?(s(),i(M,{key:0,adGroupId:r(n).query.adGroupId},{default:e(()=>[d("商品投放")]),_:1},8,["adGroupId"])):m("",!0)]),_:1})):(s(),I(j,{key:1},[u(c,{label:"商品投放",name:"tab2"},{default:e(()=>[t.value==="tab2"?(s(),i(F,{key:0,"ad-group-id":r(n).query.adGroupId},{default:e(()=>[d("关键词")]),_:1},8,["ad-group-id"])):m("",!0)]),_:1}),u(c,{label:"分类",name:"tab3"},{default:e(()=>[t.value==="tab3"?(s(),i(P,{key:0,"ad-group-id":r(n).query.adGroupId},{default:e(()=>[d("否定词")]),_:1},8,["ad-group-id"])):m("",!0)]),_:1}),u(c,{label:"否定投放",name:"searchTerm"},{default:e(()=>[t.value==="searchTerm"?(s(),i(R,{key:0,adGroupId:r(n).query.adGroupId},null,8,["adGroupId"])):m("",!0)]),_:1})],64))]),_:1},8,["modelValue"])])}}});const xa=$(W,[["__scopeId","data-v-26e421db"]]);export{xa as default};
