|
@@ -449,7 +449,7 @@ export default {
|
|
|
key: 'adName',
|
|
|
align: 'center',
|
|
|
fixed: 'left',
|
|
|
- width: 240
|
|
|
+ width: 340
|
|
|
},
|
|
|
{
|
|
|
title: '花费',
|
|
@@ -838,6 +838,7 @@ export default {
|
|
|
},
|
|
|
// 获取计划列表数据
|
|
|
handleGetPlanTableList(data) {
|
|
|
+ this.planData = [];
|
|
|
const paramsData = {
|
|
|
accountId: data.account.accountId,
|
|
|
startTime: this.planRangePicker[0],
|
|
@@ -847,10 +848,11 @@ export default {
|
|
|
};
|
|
|
getAction(urlAcount + '/bytedance-api/advertiser/bytedanceReportController/getReportPlanCost', paramsData).then(result => {
|
|
|
if (result.code === 0) {
|
|
|
- this.planData = result.result.list.map(item => {
|
|
|
+ let defaultData = result.result.list.map(item => {
|
|
|
item.converRate = item.converRate + '%';
|
|
|
return item;
|
|
|
- });
|
|
|
+ });;
|
|
|
+ this.planData = [...defaultData];
|
|
|
this.planTotalAll = result.result.total;
|
|
|
}
|
|
|
else {
|
|
@@ -1148,6 +1150,7 @@ export default {
|
|
|
});
|
|
|
let option = isType + '<br/>';
|
|
|
for (let i = 0, length = params.length; i < length; i++) {
|
|
|
+ console.log(params[i], 'params[i]--params[i]');
|
|
|
const showTime = specialIdentification === '时' ? params[i].seriesName : '';
|
|
|
option += `<span style="width:8px;height:8px;border-radius:50%;background:${params[i].color};display:inline-block;position:relative;top:-2px;margin-right:5px"></span>${showTime} ${params[i].axisValue}${specialIdentification} ${params[i].data}${showBai}<br />`;
|
|
|
}
|