|
@@ -40,10 +40,21 @@
|
|
|
<a slot="authName" slot-scope="text,records" @click="goCampaign(records)">{{text}}</a>
|
|
|
<a slot="campaignName" slot-scope="text,records" @click="goUnit(records)">{{text}}</a>
|
|
|
<a slot="unitName" slot-scope="text,records" @click="goCreative(records)">{{text}}</a>
|
|
|
- <a slot="creativeName" slot-scope="creativeName" >{{creativeName}}</a>
|
|
|
+ <!-- <a slot="creativeName" slot-scope="creativeName" >{{creativeName}}</a> -->
|
|
|
|
|
|
<a slot="coverUrl" slot-scope="text,records" >
|
|
|
- <img :src="text" alt="" style="width:100px" @click="openVideo(records)">
|
|
|
+ <img :src="text" alt="" style="width:90px" @click="openVideo(records)">
|
|
|
+ <a-popover placement="right">
|
|
|
+ <template slot="content">
|
|
|
+ <!-- {{record.videoId_dictText}} -->
|
|
|
+ <video :src="records.url" style="width:250px" controls autoplay muted ></video>
|
|
|
+ </template>
|
|
|
+ <template slot="title">
|
|
|
+ <!-- <span>Title</span> -->
|
|
|
+ </template>
|
|
|
+ <!-- <a-button>Right</a-button> -->
|
|
|
+ <img :src="text" alt="" style="width:100px">
|
|
|
+ </a-popover>
|
|
|
</a>
|
|
|
|
|
|
<span slot="charge" slot-scope="charge"> {{charge|decimalsHandle}}</span>
|
|
@@ -292,13 +303,13 @@ const projectColumns = [
|
|
|
scopedSlots: { customRender: 'designResponsibleName' },
|
|
|
align:'center',
|
|
|
},
|
|
|
- {
|
|
|
- title: '时间',
|
|
|
- dataIndex: 'statDate',
|
|
|
- // width:200,
|
|
|
- scopedSlots: { customRender: 'statDate' },
|
|
|
- align:'center',
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: '时间',
|
|
|
+ // dataIndex: 'statDate',
|
|
|
+ // // width:200,
|
|
|
+ // scopedSlots: { customRender: 'statDate' },
|
|
|
+ // align:'center',
|
|
|
+ // },
|
|
|
]
|
|
|
|
|
|
const accountColumns = [
|
|
@@ -327,13 +338,13 @@ const accountColumns = [
|
|
|
fixed: 'left'
|
|
|
},
|
|
|
|
|
|
- {
|
|
|
- title: '时间',
|
|
|
- dataIndex: 'statDate',
|
|
|
- // width:200,
|
|
|
- scopedSlots: { customRender: 'statDate' },
|
|
|
- align:'center',
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: '时间',
|
|
|
+ // dataIndex: 'statDate',
|
|
|
+ // // width:200,
|
|
|
+ // scopedSlots: { customRender: 'statDate' },
|
|
|
+ // align:'center',
|
|
|
+ // },
|
|
|
|
|
|
]
|
|
|
|
|
@@ -341,7 +352,7 @@ const campaignColumns = [
|
|
|
{
|
|
|
title: '广告计划名称',
|
|
|
dataIndex: 'campaignName',
|
|
|
- width: 130,
|
|
|
+ width: 180,
|
|
|
align:'center',
|
|
|
scopedSlots: { customRender: 'campaignName' },
|
|
|
fixed: 'left'
|
|
@@ -357,19 +368,19 @@ const campaignColumns = [
|
|
|
{
|
|
|
title: '账户名称',
|
|
|
dataIndex: 'authName',
|
|
|
- width: 120,
|
|
|
+ width: 150,
|
|
|
align:'center',
|
|
|
scopedSlots: { customRender: 'authName' },
|
|
|
fixed: 'left'
|
|
|
},
|
|
|
|
|
|
- {
|
|
|
- title: '时间',
|
|
|
- dataIndex: 'statDate',
|
|
|
- // width:200,
|
|
|
- scopedSlots: { customRender: 'statDate' },
|
|
|
- align:'center',
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: '时间',
|
|
|
+ // dataIndex: 'statDate',
|
|
|
+ // // width:200,
|
|
|
+ // scopedSlots: { customRender: 'statDate' },
|
|
|
+ // align:'center',
|
|
|
+ // },
|
|
|
|
|
|
|
|
|
]
|
|
@@ -381,7 +392,7 @@ const unitColumns = [
|
|
|
align:'center',
|
|
|
scopedSlots: { customRender: 'unitName' },
|
|
|
fixed: 'left',
|
|
|
- width:130,
|
|
|
+ width:180,
|
|
|
},
|
|
|
{
|
|
|
title: '广告组id',
|
|
@@ -394,19 +405,19 @@ const unitColumns = [
|
|
|
{
|
|
|
title: '计划名称',
|
|
|
dataIndex: 'campaignName',
|
|
|
- width: 130,
|
|
|
+ width: 180,
|
|
|
align:'center',
|
|
|
scopedSlots: { customRender: 'campaignName' },
|
|
|
fixed: 'left'
|
|
|
},
|
|
|
|
|
|
- {
|
|
|
- title: '时间',
|
|
|
- dataIndex: 'statDate',
|
|
|
- // width:200,
|
|
|
- scopedSlots: { customRender: 'statDate' },
|
|
|
- align:'center',
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: '时间',
|
|
|
+ // dataIndex: 'statDate',
|
|
|
+ // // width:200,
|
|
|
+ // scopedSlots: { customRender: 'statDate' },
|
|
|
+ // align:'center',
|
|
|
+ // },
|
|
|
|
|
|
|
|
|
]
|
|
@@ -418,7 +429,7 @@ const ideaColumns = [
|
|
|
align:'center',
|
|
|
scopedSlots: { customRender: 'coverUrl' },
|
|
|
fixed: 'left',
|
|
|
- width:120,
|
|
|
+ width:100,
|
|
|
},
|
|
|
{
|
|
|
title: '创意名称',
|
|
@@ -438,13 +449,13 @@ const ideaColumns = [
|
|
|
width:130,
|
|
|
},
|
|
|
|
|
|
- {
|
|
|
- title: '时间',
|
|
|
- dataIndex: 'statDate',
|
|
|
- // width:200,
|
|
|
- scopedSlots: { customRender: 'statDate' },
|
|
|
- align:'center',
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // title: '时间',
|
|
|
+ // dataIndex: 'statDate',
|
|
|
+ // // width:200,
|
|
|
+ // scopedSlots: { customRender: 'statDate' },
|
|
|
+ // align:'center',
|
|
|
+ // },
|
|
|
|
|
|
]
|
|
|
|
|
@@ -532,23 +543,26 @@ export default {
|
|
|
},
|
|
|
// 从项目跳转到账户,并获取账户的table值
|
|
|
goAccount(records){
|
|
|
- console.log(records);
|
|
|
- this.projectId=records.projectId
|
|
|
+ console.log(records,'--account');
|
|
|
+ this.projectId=records.projectId
|
|
|
this.getTableAccountList()
|
|
|
|
|
|
},
|
|
|
// 从账户到计划
|
|
|
goCampaign(records){
|
|
|
+ console.log(records,'--Campaign');
|
|
|
this.accountId=records.accountId;
|
|
|
this.getTableCampaignList()
|
|
|
},
|
|
|
// 从计划到组
|
|
|
goUnit(records){
|
|
|
+ console.log(records,'--unit');
|
|
|
this.campaignId=records.campaignId;
|
|
|
this.getTableUnitList()
|
|
|
},
|
|
|
// 从组到创意
|
|
|
goCreative(records){
|
|
|
+ console.log(records,'--creat');
|
|
|
this.unitId=records.unitId;
|
|
|
this.getTableCreativeList()
|
|
|
},
|