|
@@ -98,7 +98,7 @@
|
|
|
size="small"
|
|
|
bordered
|
|
|
:scroll="{ x: 1600, y: scrollY }"
|
|
|
- >
|
|
|
+ >ad_name
|
|
|
<template #switch="{ record }">
|
|
|
<a-switch
|
|
|
v-model:checked="record.enable"
|
|
@@ -110,10 +110,22 @@
|
|
|
</template>
|
|
|
<template #ad_name="{ record }">
|
|
|
<p class="small-font">{{ record.ad_name }}</p>
|
|
|
- <!-- <p>广告名:{{ record.ad_name }}</p>
|
|
|
- <p>广告ID:{{ record.ad_id }}</p> -->
|
|
|
+ <p class="small-font" style="color: rgb(160, 160, 160)">
|
|
|
+ ID:{{ record.ad_id }}
|
|
|
+ </p>
|
|
|
+ </template>
|
|
|
+ <template #advertiser_name="{ record }">
|
|
|
+ <p class="small-font">{{ record.advertiser_name }}</p>
|
|
|
+ <p class="small-font" style="color: rgb(160, 160, 160)">
|
|
|
+ ID:{{ record.advertiser_id }}
|
|
|
+ </p>
|
|
|
+ </template>
|
|
|
+ <template #campaign_name="{ record }">
|
|
|
+ <p class="small-font">{{ record.campaign_name }}</p>
|
|
|
+ <p class="small-font" style="color: rgb(160, 160, 160)">
|
|
|
+ ID:{{ record.campaign_id }}
|
|
|
+ </p>
|
|
|
</template>
|
|
|
-
|
|
|
<template #dayt="{ record }">
|
|
|
<div class="flex-box line-box">
|
|
|
<a-popover title="回传配置" placement="left" trigger="click">
|
|
@@ -550,7 +562,7 @@ const PutAdPlan = defineComponent({
|
|
|
let sortList = ["cost", "convert", "convert_cost"];
|
|
|
let columns = state.columns.map((r) => {
|
|
|
if (r.dataIndex === "ad_name") {
|
|
|
- r.width = 100;
|
|
|
+ r.width = 130;
|
|
|
r.children = [
|
|
|
{
|
|
|
title: "总计",
|
|
@@ -642,6 +654,14 @@ const PutAdPlan = defineComponent({
|
|
|
if (item.name == "budget") {
|
|
|
lolumnItem.slots = { customRender: item.name };
|
|
|
}
|
|
|
+ // 所属广告组插槽
|
|
|
+ if (item.name == "campaign_name") {
|
|
|
+ lolumnItem.slots = { customRender: item.name };
|
|
|
+ }
|
|
|
+ // 所属账户插槽
|
|
|
+ if (item.name == "advertiser_name") {
|
|
|
+ lolumnItem.slots = { customRender: item.name };
|
|
|
+ }
|
|
|
if (extendList.includes(item.name)) {
|
|
|
state.innerClomuns.push(lolumnItem);
|
|
|
}
|