|
@@ -130,7 +130,12 @@
|
|
</div>
|
|
</div>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
<a-form-model-item label="创建数量: 广告组数量" class="campaign-cnt-class" prop="campaignCnt">
|
|
<a-form-model-item label="创建数量: 广告组数量" class="campaign-cnt-class" prop="campaignCnt">
|
|
- <a-input-number v-model="configForm.campaignCnt" :min="1" @change="handleCampaignCnt" :disabled="configForm.dpLinkIndexUsed === 0"/>
|
|
|
|
|
|
+ <a-input-number
|
|
|
|
+ v-model="configForm.campaignCnt"
|
|
|
|
+ :min="1"
|
|
|
|
+ @change="handleCampaignCnt"
|
|
|
|
+ :disabled="configForm.dpLinkIndexUsed === 0"
|
|
|
|
+ />
|
|
<a-tooltip placement="top">
|
|
<a-tooltip placement="top">
|
|
<template slot="title">
|
|
<template slot="title">
|
|
<span>输入的数量为每天所创建的广告组数量</span>
|
|
<span>输入的数量为每天所创建的广告组数量</span>
|
|
@@ -710,8 +715,7 @@
|
|
<div v-if="isAdCpaBidBlur" style="width: 500px;color: #f00;">{{ adCpaBidBlurTxt }}</div>
|
|
<div v-if="isAdCpaBidBlur" style="width: 500px;color: #f00;">{{ adCpaBidBlurTxt }}</div>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
<div v-if="configForm.adBidCreateType === 'RAND'">
|
|
<div v-if="configForm.adBidCreateType === 'RAND'">
|
|
- <a-form-model-item label="目标转化出价"
|
|
|
|
- class="dp-link-start" prop="adMinBid">
|
|
|
|
|
|
+ <a-form-model-item label="目标转化出价" class="dp-link-start" prop="adMinBid">
|
|
<a-input-number
|
|
<a-input-number
|
|
class="common-input"
|
|
class="common-input"
|
|
v-model="configForm.adMinBid"
|
|
v-model="configForm.adMinBid"
|
|
@@ -789,7 +793,7 @@
|
|
<a-form-model-item label="创意方式">
|
|
<a-form-model-item label="创意方式">
|
|
<a-radio-group v-model="configForm.creativeMaterialMode" button-style="solid">
|
|
<a-radio-group v-model="configForm.creativeMaterialMode" button-style="solid">
|
|
<a-radio-button value="STATIC_ASSEMBLE">程序化创意</a-radio-button>
|
|
<a-radio-button value="STATIC_ASSEMBLE">程序化创意</a-radio-button>
|
|
- <a-radio-button value="NONE">自定义创意</a-radio-button>
|
|
|
|
|
|
+ <a-radio-button value="NONE" :disabled="originalityStatus">自定义创意</a-radio-button>
|
|
</a-radio-group>
|
|
</a-radio-group>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
<div v-if="configForm.adUnionVideoType === 'REWARDED_VIDEO'">
|
|
<div v-if="configForm.adUnionVideoType === 'REWARDED_VIDEO'">
|
|
@@ -799,10 +803,10 @@
|
|
<a-radio-button value="CREATIVE_IMAGE_MODE_VIDEO">横版视频</a-radio-button>
|
|
<a-radio-button value="CREATIVE_IMAGE_MODE_VIDEO">横版视频</a-radio-button>
|
|
</a-radio-group>
|
|
</a-radio-group>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
- <a-form-model-item label="行动号召" prop="creativeCallToAction">
|
|
|
|
|
|
+ <a-form-model-item label="行动号召" prop="creativeActionText" key="REWARDED_VIDEO">
|
|
<a-select
|
|
<a-select
|
|
class="common-input-long"
|
|
class="common-input-long"
|
|
- v-model="configForm.creativeCallToAction"
|
|
|
|
|
|
+ v-model="configForm.creativeActionText"
|
|
>
|
|
>
|
|
<a-select-option
|
|
<a-select-option
|
|
v-for="(item, index) in configForm.creativeOptions"
|
|
v-for="(item, index) in configForm.creativeOptions"
|
|
@@ -839,7 +843,7 @@
|
|
<a-radio-button :value="1">启用</a-radio-button>
|
|
<a-radio-button :value="1">启用</a-radio-button>
|
|
</a-radio-group>
|
|
</a-radio-group>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
- <a-form-model-item v-if="isTomatoStatus" label="创意展现">
|
|
|
|
|
|
+ <a-form-model-item label="创意展现">
|
|
<a-radio-group v-model="configForm.creativeDisplayMode" button-style="solid">
|
|
<a-radio-group v-model="configForm.creativeDisplayMode" button-style="solid">
|
|
<a-radio-button value="CREATIVE_DISPLAY_MODE_CTR">优选模式</a-radio-button>
|
|
<a-radio-button value="CREATIVE_DISPLAY_MODE_CTR">优选模式</a-radio-button>
|
|
<a-radio-button value="CREATIVE_DISPLAY_MODE_RANDOM">轮播模式</a-radio-button>
|
|
<a-radio-button value="CREATIVE_DISPLAY_MODE_RANDOM">轮播模式</a-radio-button>
|
|
@@ -862,10 +866,10 @@
|
|
<a-radio-button value="CREATIVE_IMAGE_MODE_LARGE_VERTICAL">大图竖图</a-radio-button>
|
|
<a-radio-button value="CREATIVE_IMAGE_MODE_LARGE_VERTICAL">大图竖图</a-radio-button>
|
|
</a-radio-group>
|
|
</a-radio-group>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
- <a-form-model-item label="行动号召" prop="creativeCallToAction">
|
|
|
|
|
|
+ <a-form-model-item label="行动号召" prop="creativeActionText" key="ORIGINAL_VIDEO">
|
|
<a-select
|
|
<a-select
|
|
class="common-input-long"
|
|
class="common-input-long"
|
|
- v-model="configForm.creativeCallToAction"
|
|
|
|
|
|
+ v-model="configForm.creativeActionText"
|
|
>
|
|
>
|
|
<a-select-option
|
|
<a-select-option
|
|
v-for="(item, index) in configForm.creativeOptions"
|
|
v-for="(item, index) in configForm.creativeOptions"
|
|
@@ -884,7 +888,7 @@
|
|
allow-clear
|
|
allow-clear
|
|
/>
|
|
/>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
- <a-form-model-item v-if="isTomatoStatus" label="创意展现">
|
|
|
|
|
|
+ <a-form-model-item label="创意展现">
|
|
<a-radio-group v-model="configForm.creativeDisplayMode" button-style="solid">
|
|
<a-radio-group v-model="configForm.creativeDisplayMode" button-style="solid">
|
|
<a-radio-button value="CREATIVE_DISPLAY_MODE_CTR">优选模式</a-radio-button>
|
|
<a-radio-button value="CREATIVE_DISPLAY_MODE_CTR">优选模式</a-radio-button>
|
|
<a-radio-button value="CREATIVE_DISPLAY_MODE_RANDOM">轮播模式</a-radio-button>
|
|
<a-radio-button value="CREATIVE_DISPLAY_MODE_RANDOM">轮播模式</a-radio-button>
|
|
@@ -903,10 +907,10 @@
|
|
<a-radio-button value="CREATIVE_IMAGE_MODE_UNION_SPLASH">开屏图片</a-radio-button>
|
|
<a-radio-button value="CREATIVE_IMAGE_MODE_UNION_SPLASH">开屏图片</a-radio-button>
|
|
</a-radio-group>
|
|
</a-radio-group>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
- <a-form-model-item label="行动号召" prop="creativeCallToAction">
|
|
|
|
|
|
+ <a-form-model-item label="行动号召" prop="creativeActionText" key="SPLASH_VIDEO">
|
|
<a-select
|
|
<a-select
|
|
class="common-input-long"
|
|
class="common-input-long"
|
|
- v-model="configForm.creativeCallToAction"
|
|
|
|
|
|
+ v-model="configForm.creativeActionText"
|
|
>
|
|
>
|
|
<a-select-option
|
|
<a-select-option
|
|
v-for="(item, index) in configForm.creativeOptions"
|
|
v-for="(item, index) in configForm.creativeOptions"
|
|
@@ -937,7 +941,7 @@
|
|
<a-radio-button :value="1">启用</a-radio-button>
|
|
<a-radio-button :value="1">启用</a-radio-button>
|
|
</a-radio-group>
|
|
</a-radio-group>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
- <a-form-model-item v-if="isTomatoStatus" label="创意展现">
|
|
|
|
|
|
+ <a-form-model-item label="创意展现">
|
|
<a-radio-group v-model="configForm.creativeDisplayMode" button-style="solid">
|
|
<a-radio-group v-model="configForm.creativeDisplayMode" button-style="solid">
|
|
<a-radio-button value="CREATIVE_DISPLAY_MODE_CTR">优选模式</a-radio-button>
|
|
<a-radio-button value="CREATIVE_DISPLAY_MODE_CTR">优选模式</a-radio-button>
|
|
<a-radio-button value="CREATIVE_DISPLAY_MODE_RANDOM">轮播模式</a-radio-button>
|
|
<a-radio-button value="CREATIVE_DISPLAY_MODE_RANDOM">轮播模式</a-radio-button>
|
|
@@ -954,10 +958,10 @@
|
|
<a-form-model-item label="创意内容">
|
|
<a-form-model-item label="创意内容">
|
|
<a-radio-group v-model="configForm.creativeImageMode" button-style="solid">
|
|
<a-radio-group v-model="configForm.creativeImageMode" button-style="solid">
|
|
<a-radio-button value="CREATIVE_IMAGE_MODE_VIDEO_VERTICAL">竖版视频</a-radio-button>
|
|
<a-radio-button value="CREATIVE_IMAGE_MODE_VIDEO_VERTICAL">竖版视频</a-radio-button>
|
|
- <a-radio-button value="CREATIVE_IMAGE_MODE_VIDEO">横版视频</a-radio-button>
|
|
|
|
- <a-radio-button value="CREATIVE_IMAGE_MODE_LARGE">大图横图</a-radio-button>
|
|
|
|
|
|
+ <a-radio-button value="CREATIVE_IMAGE_MODE_VIDEO" :disabled="pictureStatus">横版视频</a-radio-button>
|
|
|
|
+ <a-radio-button value="CREATIVE_IMAGE_MODE_LARGE" :disabled="pictureStatus">大图横图</a-radio-button>
|
|
<a-radio-button value="CREATIVE_IMAGE_MODE_SMALL" disabled>小图</a-radio-button>
|
|
<a-radio-button value="CREATIVE_IMAGE_MODE_SMALL" disabled>小图</a-radio-button>
|
|
- <a-radio-button value="CREATIVE_IMAGE_MODE_LARGE_VERTICAL">大图竖图</a-radio-button>
|
|
|
|
|
|
+ <a-radio-button value="CREATIVE_IMAGE_MODE_LARGE_VERTICAL" :disabled="pictureStatus">大图竖图</a-radio-button>
|
|
</a-radio-group>
|
|
</a-radio-group>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
<a-form-model-item v-if="isTAwemeStatus" label="卡片主图">
|
|
<a-form-model-item v-if="isTAwemeStatus" label="卡片主图">
|
|
@@ -1013,6 +1017,20 @@
|
|
<a-icon class="examin-form-icon" type="delete" @click="handleDelOrigin(item)"/>
|
|
<a-icon class="examin-form-icon" type="delete" @click="handleDelOrigin(item)"/>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</div>
|
|
</div>
|
|
|
|
+ <a-form-model-item v-if="isTomatoStatus" label="行动号召" prop="creativeActionText" key="SPLASH_VIDEO_ONE">
|
|
|
|
+ <a-select
|
|
|
|
+ class="common-input-long"
|
|
|
|
+ v-model="configForm.creativeActionText"
|
|
|
|
+ >
|
|
|
|
+ <a-select-option
|
|
|
|
+ v-for="(item, index) in creativeOptions"
|
|
|
|
+ :key="index + 1"
|
|
|
|
+ :value="item"
|
|
|
|
+ >
|
|
|
|
+ {{ item }}
|
|
|
|
+ </a-select-option>
|
|
|
|
+ </a-select>
|
|
|
|
+ </a-form-model-item>
|
|
<a-form-model-item v-if="isTAwemeStatus" label="行动号召">
|
|
<a-form-model-item v-if="isTAwemeStatus" label="行动号召">
|
|
<a-radio-group v-model="configForm.creativeEnablePersonalAction" button-style="solid">
|
|
<a-radio-group v-model="configForm.creativeEnablePersonalAction" button-style="solid">
|
|
<a-radio-button :value="true">开启智能优选</a-radio-button>
|
|
<a-radio-button :value="true">开启智能优选</a-radio-button>
|
|
@@ -1086,7 +1104,7 @@
|
|
<a-radio-button :value="0">开启</a-radio-button>
|
|
<a-radio-button :value="0">开启</a-radio-button>
|
|
</a-radio-group>
|
|
</a-radio-group>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
- <a-form-model-item v-if="isTomatoStatus" label="创意展现">
|
|
|
|
|
|
+ <a-form-model-item label="创意展现">
|
|
<a-radio-group v-model="configForm.creativeDisplayMode" button-style="solid">
|
|
<a-radio-group v-model="configForm.creativeDisplayMode" button-style="solid">
|
|
<a-radio-button value="CREATIVE_DISPLAY_MODE_CTR">优选模式</a-radio-button>
|
|
<a-radio-button value="CREATIVE_DISPLAY_MODE_CTR">优选模式</a-radio-button>
|
|
<a-radio-button value="CREATIVE_DISPLAY_MODE_RANDOM">轮播模式</a-radio-button>
|
|
<a-radio-button value="CREATIVE_DISPLAY_MODE_RANDOM">轮播模式</a-radio-button>
|
|
@@ -1574,6 +1592,7 @@ export default {
|
|
],
|
|
],
|
|
adAudiencePackageId: [{required: true, message: '请选择', trigger: 'change'}],
|
|
adAudiencePackageId: [{required: true, message: '请选择', trigger: 'change'}],
|
|
creativeCallToAction: [{required: true, message: '请选择', trigger: 'change'}],
|
|
creativeCallToAction: [{required: true, message: '请选择', trigger: 'change'}],
|
|
|
|
+ creativeActionText: [{required: true, message: '请选择', trigger: 'change'}],
|
|
adConvertType: [{required: true, message: '请选择', trigger: 'change'}],
|
|
adConvertType: [{required: true, message: '请选择', trigger: 'change'}],
|
|
adConvertId: [{required: true, message: '请选择', trigger: 'change'}],
|
|
adConvertId: [{required: true, message: '请选择', trigger: 'change'}],
|
|
creativeThirdIndustryIds: [{required: true, message: '请选择', trigger: 'change'}]
|
|
creativeThirdIndustryIds: [{required: true, message: '请选择', trigger: 'change'}]
|
|
@@ -1673,9 +1692,12 @@ export default {
|
|
adAutoExtendTargets: '',
|
|
adAutoExtendTargets: '',
|
|
adDeliveryRange: '',
|
|
adDeliveryRange: '',
|
|
creativeCallToAction: undefined, // 行动号召
|
|
creativeCallToAction: undefined, // 行动号召
|
|
|
|
+ creativeActionText: undefined,
|
|
creativeLabel: undefined // 倡议标签
|
|
creativeLabel: undefined // 倡议标签
|
|
},
|
|
},
|
|
- isTomatoStatus: true,
|
|
|
|
|
|
+ originalityStatus: true, // 创意状态
|
|
|
|
+ pictureStatus: false,
|
|
|
|
+ isTomatoStatus: false,
|
|
isTAwemeStatus: true
|
|
isTAwemeStatus: true
|
|
};
|
|
};
|
|
},
|
|
},
|
|
@@ -1852,7 +1874,7 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
NewAountId(newVal, oldVal) {
|
|
NewAountId(newVal, oldVal) {
|
|
- if (newVal && this.configForm.adPackage) {
|
|
|
|
|
|
+ if ((newVal && this.configForm.adPackage) || (newVal && this.configForm.adExternalUrl)) {
|
|
const paramsData = {
|
|
const paramsData = {
|
|
advancedCreativeType: 'ATTACHED_CREATIVE_NONE',
|
|
advancedCreativeType: 'ATTACHED_CREATIVE_NONE',
|
|
advertiserId: this.configForm.accountId,
|
|
advertiserId: this.configForm.accountId,
|
|
@@ -1902,6 +1924,8 @@ export default {
|
|
this.configForm.adConvertId = undefined;
|
|
this.configForm.adConvertId = undefined;
|
|
this.configForm.adAudiencePackageId = undefined;
|
|
this.configForm.adAudiencePackageId = undefined;
|
|
this.packageMessageDetail = [];
|
|
this.packageMessageDetail = [];
|
|
|
|
+ this.toolConvertList = [];
|
|
|
|
+ this.optimizationOption = [];
|
|
this.handleClearlist();
|
|
this.handleClearlist();
|
|
this.handleGetAdAudiencePackage();
|
|
this.handleGetAdAudiencePackage();
|
|
|
|
|
|
@@ -1949,21 +1973,33 @@ export default {
|
|
else {
|
|
else {
|
|
this.isTAwemeStatus = false;
|
|
this.isTAwemeStatus = false;
|
|
}
|
|
}
|
|
|
|
+ if (newVal.length === 4 && newVal.includes('INVENTORY_FEED') && newVal.includes('INVENTORY_VIDEO_FEED') && newVal.includes('INVENTORY_HOTSOON_FEED') && newVal.includes('INVENTORY_AWEME_FEED')) {
|
|
|
|
+ this.originalityStatus = true;
|
|
|
|
+ this.pictureStatus = true;
|
|
|
|
+ }
|
|
|
|
+ else if (newVal.length === 1 && newVal[0] === 'INVENTORY_TOMATO_NOVEL') {
|
|
|
|
+ this.isTomatoStatus = true;
|
|
|
|
+ this.originalityStatus = true;
|
|
|
|
+ this.pictureStatus = true;
|
|
|
|
+ this.configForm.creativeImageMode = 'CREATIVE_IMAGE_MODE_VIDEO_VERTICAL';
|
|
|
|
+ }
|
|
|
|
+ else {
|
|
|
|
+ this.isTomatoStatus = false;
|
|
|
|
+ this.originalityStatus = false;
|
|
|
|
+ this.pictureStatus = false;
|
|
|
|
+ }
|
|
if (newVal.length === 1 && newVal[0] === 'INVENTORY_UNION_SLOT') {
|
|
if (newVal.length === 1 && newVal[0] === 'INVENTORY_UNION_SLOT') {
|
|
this.configForm.adUnionVideoType = 'REWARDED_VIDEO';
|
|
this.configForm.adUnionVideoType = 'REWARDED_VIDEO';
|
|
- this.$nextTick(() => {
|
|
|
|
- this.configForm.creativeEnablePersonalAction = true;
|
|
|
|
- });
|
|
|
|
|
|
+ // this.$nextTick(() => {
|
|
|
|
+ // this.configForm.creativeEnablePersonalAction = true;
|
|
|
|
+ // });
|
|
this.configForm.adAudiencePackageId = undefined;
|
|
this.configForm.adAudiencePackageId = undefined;
|
|
this.packageMessageDetail = [];
|
|
this.packageMessageDetail = [];
|
|
this.selectiveList = selectiveListUpdate.filter(item => item.delivery_range === 'UNION');
|
|
this.selectiveList = selectiveListUpdate.filter(item => item.delivery_range === 'UNION');
|
|
- // if (this.configForm.adDirectionalFlag === 'choice') {
|
|
|
|
- // this.selectiveList = selectiveListUpdate.filter(item => item.delivery_range === 'UNION');
|
|
|
|
- // }
|
|
|
|
}
|
|
}
|
|
else {
|
|
else {
|
|
this.configForm.adUnionVideoType = '';
|
|
this.configForm.adUnionVideoType = '';
|
|
- this.configForm.creativeEnablePersonalAction = '';
|
|
|
|
|
|
+ // this.configForm.creativeEnablePersonalAction = '';
|
|
this.configForm.adAudiencePackageId = undefined;
|
|
this.configForm.adAudiencePackageId = undefined;
|
|
this.packageMessageDetail = [];
|
|
this.packageMessageDetail = [];
|
|
this.handleGetAdAudiencePackage();
|
|
this.handleGetAdAudiencePackage();
|
|
@@ -1971,6 +2007,7 @@ export default {
|
|
}
|
|
}
|
|
else {
|
|
else {
|
|
this.isTAwemeStatus = true;
|
|
this.isTAwemeStatus = true;
|
|
|
|
+ this.isTomatoStatus = false;
|
|
this.configForm.adUnionVideoType = '';
|
|
this.configForm.adUnionVideoType = '';
|
|
this.configForm.adAudiencePackageId = undefined;
|
|
this.configForm.adAudiencePackageId = undefined;
|
|
this.packageMessageDetail = [];
|
|
this.packageMessageDetail = [];
|
|
@@ -2129,6 +2166,7 @@ export default {
|
|
this.directionalData = result.result;
|
|
this.directionalData = result.result;
|
|
}
|
|
}
|
|
else {
|
|
else {
|
|
|
|
+ this.directionalData = [];
|
|
this.$message.error(result.message);
|
|
this.$message.error(result.message);
|
|
}
|
|
}
|
|
}).catch(error => {
|
|
}).catch(error => {
|
|
@@ -2394,13 +2432,19 @@ export default {
|
|
this.configForm.radioChangeValue = '';
|
|
this.configForm.radioChangeValue = '';
|
|
this.configForm.checkboxChangeValue = [];
|
|
this.configForm.checkboxChangeValue = [];
|
|
this.isTAwemeStatus = true;
|
|
this.isTAwemeStatus = true;
|
|
|
|
+ this.originalityStatus = true;
|
|
|
|
+ this.pictureStatus = false;
|
|
}
|
|
}
|
|
else if (e.target.value === 'b') {
|
|
else if (e.target.value === 'b') {
|
|
this.configForm.radioChangeValue = '';
|
|
this.configForm.radioChangeValue = '';
|
|
|
|
+ this.pictureStatus = true;
|
|
|
|
+ this.originalityStatus = true;
|
|
}
|
|
}
|
|
else if (e.target.value === 'c') {
|
|
else if (e.target.value === 'c') {
|
|
this.configForm.checkboxChangeValue = [];
|
|
this.configForm.checkboxChangeValue = [];
|
|
this.isTAwemeStatus = true;
|
|
this.isTAwemeStatus = true;
|
|
|
|
+ this.originalityStatus = true;
|
|
|
|
+ this.pictureStatus = false;
|
|
}
|
|
}
|
|
this.configForm.adUnionVideoType = '';
|
|
this.configForm.adUnionVideoType = '';
|
|
this.configForm.creativeImageMode = 'CREATIVE_IMAGE_MODE_VIDEO_VERTICAL';
|
|
this.configForm.creativeImageMode = 'CREATIVE_IMAGE_MODE_VIDEO_VERTICAL';
|
|
@@ -2506,9 +2550,8 @@ export default {
|
|
getAction(urlAcount + '/bytedance-api/advertiser/aiBytedanceAdvertiserStrategy/getAdAudiencePackage', {accountId: detailData.accountId})
|
|
getAction(urlAcount + '/bytedance-api/advertiser/aiBytedanceAdvertiserStrategy/getAdAudiencePackage', {accountId: detailData.accountId})
|
|
.then(result => {
|
|
.then(result => {
|
|
if (result.code === 0) {
|
|
if (result.code === 0) {
|
|
- let checkboxChangeValueList = detailData.creativeInventoryType.split(',');
|
|
|
|
|
|
+ let checkboxChangeValueList = detailData.creativeInventoryType ? detailData.creativeInventoryType.split(',') : [];
|
|
if (checkboxChangeValueList.length === 1 && checkboxChangeValueList[0] === 'INVENTORY_UNION_SLOT') {
|
|
if (checkboxChangeValueList.length === 1 && checkboxChangeValueList[0] === 'INVENTORY_UNION_SLOT') {
|
|
- console.log(result.result, 'result.result--result.result');
|
|
|
|
this.selectiveList = result.result.filter(item => item.delivery_range === 'UNION');
|
|
this.selectiveList = result.result.filter(item => item.delivery_range === 'UNION');
|
|
}
|
|
}
|
|
else {
|
|
else {
|
|
@@ -2652,6 +2695,7 @@ export default {
|
|
if (result.code === 0) {
|
|
if (result.code === 0) {
|
|
this.configForm.creativeOptions = result.result;
|
|
this.configForm.creativeOptions = result.result;
|
|
this.configForm.creativeCallToAction = detailData.creativeCallToAction;
|
|
this.configForm.creativeCallToAction = detailData.creativeCallToAction;
|
|
|
|
+ this.configForm.creativeActionText = detailData.creativeActionText;
|
|
}
|
|
}
|
|
else {
|
|
else {
|
|
this.$message.error(result.message);
|
|
this.$message.error(result.message);
|
|
@@ -2718,6 +2762,7 @@ export default {
|
|
this.configForm.adUnionVideoType = '';
|
|
this.configForm.adUnionVideoType = '';
|
|
this.configForm.adDeliveryRange = '';
|
|
this.configForm.adDeliveryRange = '';
|
|
}
|
|
}
|
|
|
|
+ this.NewCheckboxChangeValue(this.configForm.checkboxChangeValue);
|
|
}
|
|
}
|
|
else {
|
|
else {
|
|
this.configForm.adverPosition = 'a';
|
|
this.configForm.adverPosition = 'a';
|
|
@@ -2747,9 +2792,10 @@ export default {
|
|
},
|
|
},
|
|
handleConvertTypeChange(e) {
|
|
handleConvertTypeChange(e) {
|
|
this.configForm.adConvertId = '';
|
|
this.configForm.adConvertId = '';
|
|
|
|
+ this.optimizationOption = [];
|
|
this.toolConvertList.forEach(item => {
|
|
this.toolConvertList.forEach(item => {
|
|
if (item.convert_type === e) {
|
|
if (item.convert_type === e) {
|
|
- this.optimizationOption = item.external_actions;
|
|
|
|
|
|
+ this.optimizationOption = [...item.external_actions];
|
|
}
|
|
}
|
|
});
|
|
});
|
|
},
|
|
},
|
|
@@ -3077,10 +3123,6 @@ export default {
|
|
this.$message.error('请添加卖点');
|
|
this.$message.error('请添加卖点');
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- // if (this.isTAwemeStatus && !paramsFormData.creativeCallToAction) {
|
|
|
|
- // this.$message.error('行动号召不能为空');
|
|
|
|
- // return;
|
|
|
|
- // }
|
|
|
|
if (!this.creativeTag.length) {
|
|
if (!this.creativeTag.length) {
|
|
this.$message.error('请添加标签');
|
|
this.$message.error('请添加标签');
|
|
return;
|
|
return;
|