|
@@ -335,7 +335,7 @@
|
|
</a-tooltip>
|
|
</a-tooltip>
|
|
</a-radio-button>
|
|
</a-radio-button>
|
|
<a-radio-button value="ORIGINAL_VIDEO">原生</a-radio-button>
|
|
<a-radio-button value="ORIGINAL_VIDEO">原生</a-radio-button>
|
|
- <a-radio-button value="SPLASH_VIDEO" disabled>开屏</a-radio-button>
|
|
|
|
|
|
+ <a-radio-button value="SPLASH_VIDEO">开屏</a-radio-button>
|
|
</a-radio-group>
|
|
</a-radio-group>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</div>
|
|
</div>
|
|
@@ -810,7 +810,7 @@
|
|
</div> -->
|
|
</div> -->
|
|
<div class="separate-module-con">
|
|
<div class="separate-module-con">
|
|
<p class="rock-title">创意信息</p>
|
|
<p class="rock-title">创意信息</p>
|
|
- <a-form-model-item v-if="!configForm.adUnionVideoType" label="使用抖音号投放">
|
|
|
|
|
|
+ <a-form-model-item v-if="!(configForm.checkboxChangeValue.length === 1 && configForm.checkboxChangeValue[0] === 'INVENTORY_FEED')&&!configForm.adUnionVideoType" label="使用抖音号投放">
|
|
<a-radio-group v-model="configForm.creativeIesCoreUserId" button-style="solid">
|
|
<a-radio-group v-model="configForm.creativeIesCoreUserId" button-style="solid">
|
|
<a-radio-button value="1">不使用</a-radio-button>
|
|
<a-radio-button value="1">不使用</a-radio-button>
|
|
<a-radio-button value="2" disabled>使用</a-radio-button>
|
|
<a-radio-button value="2" disabled>使用</a-radio-button>
|
|
@@ -825,7 +825,7 @@
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
<div v-if="configForm.adUnionVideoType === 'REWARDED_VIDEO'">
|
|
<div v-if="configForm.adUnionVideoType === 'REWARDED_VIDEO'">
|
|
<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" @change="handleChangeCreativeType">
|
|
<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_VIDEO">横版视频</a-radio-button>
|
|
</a-radio-group>
|
|
</a-radio-group>
|
|
@@ -844,7 +844,7 @@
|
|
</a-select-option>
|
|
</a-select-option>
|
|
</a-select>
|
|
</a-select>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
- <a-form-model-item v-if="configForm.adDownloadType === 'EXTERNAL_URL'" label="来源" prop="creativeSource">
|
|
|
|
|
|
+ <a-form-model-item label="来源" prop="creativeSource">
|
|
<a-input
|
|
<a-input
|
|
class="common-input-long"
|
|
class="common-input-long"
|
|
placeholder="请输入来源"
|
|
placeholder="请输入来源"
|
|
@@ -852,7 +852,7 @@
|
|
allow-clear
|
|
allow-clear
|
|
/>
|
|
/>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
- <a-form-model-item v-if="configForm.adDownloadType === 'DOWNLOAD_URL'" label="应用名" prop="creativeAppName" key="creativeAppName24">
|
|
|
|
|
|
+ <a-form-model-item v-if="configForm.adDownloadType === 'DOWNLOAD_URL'&&configForm.adverPosition != 'a'" label="应用名" prop="creativeAppName" key="creativeAppName24">
|
|
<a-input
|
|
<a-input
|
|
class="common-input-long"
|
|
class="common-input-long"
|
|
placeholder="请输入应用名"
|
|
placeholder="请输入应用名"
|
|
@@ -872,6 +872,16 @@
|
|
<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 label="广告语数量">
|
|
|
|
+ <a-input-number
|
|
|
|
+ :max="10"
|
|
|
|
+ :min="1"
|
|
|
|
+ v-model="configForm.copywritingNumber"
|
|
|
|
+ :precision="0"
|
|
|
|
+ style="width: 150px"
|
|
|
|
+ >
|
|
|
|
+ </a-input-number>
|
|
|
|
+ </a-form-model-item>
|
|
<!-- <a-form-model-item v-if="configForm.adDownloadType === 'EXTERNAL_URL'" label="最优创意衍生计划">
|
|
<!-- <a-form-model-item v-if="configForm.adDownloadType === 'EXTERNAL_URL'" label="最优创意衍生计划">
|
|
<a-radio-group v-model="configForm.creativeGenerateDerivedAd" button-style="solid">
|
|
<a-radio-group v-model="configForm.creativeGenerateDerivedAd" button-style="solid">
|
|
<a-radio-button :value="0">不启用</a-radio-button>
|
|
<a-radio-button :value="0">不启用</a-radio-button>
|
|
@@ -881,7 +891,7 @@
|
|
</div>
|
|
</div>
|
|
<div v-else-if="configForm.adUnionVideoType === 'ORIGINAL_VIDEO'">
|
|
<div v-else-if="configForm.adUnionVideoType === 'ORIGINAL_VIDEO'">
|
|
<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" @change="handleChangeCreativeType">
|
|
<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_VIDEO">横版视频</a-radio-button>
|
|
<a-radio-button value="CREATIVE_IMAGE_MODE_LARGE">大图横图</a-radio-button>
|
|
<a-radio-button value="CREATIVE_IMAGE_MODE_LARGE">大图横图</a-radio-button>
|
|
@@ -903,7 +913,7 @@
|
|
</a-select-option>
|
|
</a-select-option>
|
|
</a-select>
|
|
</a-select>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
- <a-form-model-item v-if="configForm.adDownloadType === 'EXTERNAL_URL'" label="来源" prop="creativeSource">
|
|
|
|
|
|
+ <a-form-model-item label="来源" prop="creativeSource">
|
|
<a-input
|
|
<a-input
|
|
class="common-input-long"
|
|
class="common-input-long"
|
|
placeholder="请输入来源"
|
|
placeholder="请输入来源"
|
|
@@ -911,7 +921,7 @@
|
|
allow-clear
|
|
allow-clear
|
|
/>
|
|
/>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
- <a-form-model-item v-if="configForm.adDownloadType === 'DOWNLOAD_URL'" label="应用名" prop="creativeAppName" key="creativeAppName23">
|
|
|
|
|
|
+ <a-form-model-item v-if="configForm.adDownloadType === 'DOWNLOAD_URL'&&configForm.adverPosition != 'a'" label="应用名" prop="creativeAppName" key="creativeAppName23">
|
|
<a-input
|
|
<a-input
|
|
class="common-input-long"
|
|
class="common-input-long"
|
|
placeholder="请输入应用名"
|
|
placeholder="请输入应用名"
|
|
@@ -925,16 +935,32 @@
|
|
<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 label="广告语数量">
|
|
|
|
+ <a-input-number
|
|
|
|
+ :max="10"
|
|
|
|
+ :min="1"
|
|
|
|
+ v-model="configForm.copywritingNumber"
|
|
|
|
+ :precision="0"
|
|
|
|
+ style="width: 150px"
|
|
|
|
+ >
|
|
|
|
+ </a-input-number>
|
|
|
|
+ </a-form-model-item>
|
|
|
|
+ <a-form-model-item label="搭配试玩">
|
|
|
|
+ <a-radio-group v-model="configForm.creativePlayableUrl" button-style="solid">
|
|
|
|
+ <a-radio-button value="a">不启用</a-radio-button>
|
|
|
|
+ <a-radio-button value="b" disabled>普通试玩</a-radio-button>
|
|
|
|
+ </a-radio-group>
|
|
|
|
+ </a-form-model-item>
|
|
<!-- <a-form-model-item v-if="configForm.adDownloadType === 'EXTERNAL_URL'" label="最优创意衍生计划">
|
|
<!-- <a-form-model-item v-if="configForm.adDownloadType === 'EXTERNAL_URL'" label="最优创意衍生计划">
|
|
<a-radio-group v-model="configForm.creativeGenerateDerivedAd" button-style="solid">
|
|
<a-radio-group v-model="configForm.creativeGenerateDerivedAd" button-style="solid">
|
|
<a-radio-button :value="0">不启用</a-radio-button>
|
|
<a-radio-button :value="0">不启用</a-radio-button>
|
|
<a-radio-button :value="1">启用</a-radio-button>
|
|
<a-radio-button :value="1">启用</a-radio-button>
|
|
- </a-radio-group> -->
|
|
|
|
- </a-form-model-item>
|
|
|
|
|
|
+ </a-radio-group>
|
|
|
|
+ </a-form-model-item> -->
|
|
</div>
|
|
</div>
|
|
<div v-else-if="configForm.adUnionVideoType === 'SPLASH_VIDEO'">
|
|
<div v-else-if="configForm.adUnionVideoType === 'SPLASH_VIDEO'">
|
|
<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" @change="handleChangeCreativeType">
|
|
<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>
|
|
@@ -960,7 +986,7 @@
|
|
allow-clear
|
|
allow-clear
|
|
/>
|
|
/>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
- <a-form-model-item v-if="configForm.adDownloadType === 'DOWNLOAD_URL'" label="应用名" prop="creativeAppName" key="creativeAppName25">
|
|
|
|
|
|
+ <a-form-model-item v-if="configForm.adDownloadType === 'DOWNLOAD_URL'&&configForm.adverPosition != 'a'" label="应用名" prop="creativeAppName" key="creativeAppName25">
|
|
<a-input
|
|
<a-input
|
|
class="common-input-long"
|
|
class="common-input-long"
|
|
placeholder="请输入应用名"
|
|
placeholder="请输入应用名"
|
|
@@ -980,6 +1006,22 @@
|
|
<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 label="广告语数量">
|
|
|
|
+ <a-input-number
|
|
|
|
+ :max="10"
|
|
|
|
+ :min="1"
|
|
|
|
+ v-model="configForm.copywritingNumber"
|
|
|
|
+ :precision="0"
|
|
|
|
+ style="width: 150px"
|
|
|
|
+ >
|
|
|
|
+ </a-input-number>
|
|
|
|
+ </a-form-model-item>
|
|
|
|
+ <a-form-model-item label="搭配试玩">
|
|
|
|
+ <a-radio-group v-model="configForm.creativePlayableUrl" button-style="solid">
|
|
|
|
+ <a-radio-button value="a">不启用</a-radio-button>
|
|
|
|
+ <a-radio-button value="b" disabled>普通试玩</a-radio-button>
|
|
|
|
+ </a-radio-group>
|
|
|
|
+ </a-form-model-item>
|
|
<a-form-model-item 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>
|
|
@@ -993,9 +1035,100 @@
|
|
使用创意轮播,系统将平分各创意展现机会,便于广告主比较各创意投放效果
|
|
使用创意轮播,系统将平分各创意展现机会,便于广告主比较各创意投放效果
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <div v-else-if="configForm.checkboxChangeValue.length === 1 && configForm.checkboxChangeValue[0] === 'INVENTORY_AWEME_FEED'">
|
|
|
|
+ <a-form-model-item label="创意内容">
|
|
|
|
+ <a-radio-group v-model="configForm.creativeImageMode" button-style="solid" @change="handleChangeCreativeType">
|
|
|
|
+ <a-radio-button value="CREATIVE_IMAGE_MODE_VIDEO_VERTICAL">竖版视频</a-radio-button>
|
|
|
|
+ <a-radio-button value="CREATIVE_IMAGE_MODE_VIDEO" :disabled="pictureStatus">横版视频</a-radio-button>
|
|
|
|
+ </a-radio-group>
|
|
|
|
+ </a-form-model-item>
|
|
|
|
+ <a-form-model-item label="创意组件" prop="componentId" key="componentIdkey"
|
|
|
|
+ v-if="configForm.creativeImageMode!='CREATIVE_IMAGE_MODE_LARGE'&&configForm.creativeImageMode!='CREATIVE_IMAGE_MODE_LARGE_VERTICAL'&&configForm.adverPosition != 'a'">
|
|
|
|
+ <a-input
|
|
|
|
+ class="common-input-long"
|
|
|
|
+ placeholder="请输入创意组件"
|
|
|
|
+ v-model="configForm.componentId"
|
|
|
|
+ allow-clear
|
|
|
|
+ />
|
|
|
|
+ </a-form-model-item>
|
|
|
|
+ <a-form-model-item 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 label="来源" :prop="getSource">
|
|
|
|
+ <a-input
|
|
|
|
+ class="common-input-long"
|
|
|
|
+ placeholder="请输入来源"
|
|
|
|
+ v-model="configForm.creativeSource"
|
|
|
|
+ allow-clear
|
|
|
|
+ />
|
|
|
|
+ </a-form-model-item>
|
|
|
|
+ <a-form-model-item v-if="configForm.adDownloadType === 'DOWNLOAD_URL'&&configForm.adverPosition != 'a'" label="应用名" prop="creativeAppName" key="creativeAppName26">
|
|
|
|
+ <a-input
|
|
|
|
+ class="common-input-long"
|
|
|
|
+ placeholder="请输入应用名"
|
|
|
|
+ v-model="configForm.creativeAppName"
|
|
|
|
+ allow-clear
|
|
|
|
+ />
|
|
|
|
+ </a-form-model-item>
|
|
|
|
+ <a-form-model-item v-if="configForm.adDownloadType === 'DOWNLOAD_URL' && platformLoadingType === 'APP_ANDROID'" label="副标题">
|
|
|
|
+ <a-input
|
|
|
|
+ class="common-input-long"
|
|
|
|
+ placeholder="请输入副标题"
|
|
|
|
+ v-model="configForm.creativeSubTitle"
|
|
|
|
+ allow-clear
|
|
|
|
+ @blur="handleCreativeSubTitleBlur"
|
|
|
|
+ />
|
|
|
|
+ </a-form-model-item>
|
|
|
|
+ <div v-if="subTitleMsgStatus" style="width: 500px;color: #f00;margin-left: 140px">{{ subTitleMsg }}</div>
|
|
|
|
+ <a-form-model-item label="自动生成视频素材">
|
|
|
|
+ <a-radio-group v-model="configForm.creativeIsPresentedVideo" button-style="solid">
|
|
|
|
+ <a-radio-button :value="0">不启用</a-radio-button>
|
|
|
|
+ <a-radio-button :value="1">启用</a-radio-button>
|
|
|
|
+ </a-radio-group>
|
|
|
|
+ </a-form-model-item>
|
|
|
|
+ <!-- <a-form-model-item v-if="configForm.adDownloadType === 'EXTERNAL_URL'" label="最优创意衍生计划">
|
|
|
|
+ <a-radio-group v-model="configForm.creativeGenerateDerivedAd" button-style="solid">
|
|
|
|
+ <a-radio-button :value="0">不启用</a-radio-button>
|
|
|
|
+ <a-radio-button :value="1">启用</a-radio-button>
|
|
|
|
+ </a-radio-group>
|
|
|
|
+ </a-form-model-item> -->
|
|
|
|
+ <a-form-model-item label="广告评论">
|
|
|
|
+ <a-radio-group v-model="configForm.creativeIsCommentDisable" button-style="solid">
|
|
|
|
+ <a-radio-button :value="1">关闭</a-radio-button>
|
|
|
|
+ <a-radio-button :value="0">开启</a-radio-button>
|
|
|
|
+ </a-radio-group>
|
|
|
|
+ </a-form-model-item>
|
|
|
|
+ <a-form-model-item label="广告语数量">
|
|
|
|
+ <a-input-number
|
|
|
|
+ :max="10"
|
|
|
|
+ :min="1"
|
|
|
|
+ v-model="configForm.copywritingNumber"
|
|
|
|
+ :precision="0"
|
|
|
|
+ style="width: 150px"
|
|
|
|
+ >
|
|
|
|
+ </a-input-number>
|
|
|
|
+ </a-form-model-item>
|
|
|
|
+ <a-form-model-item label="客户端下载视频">
|
|
|
|
+ <a-radio-group v-model="configForm.creativeDownloadStatus" button-style="solid">
|
|
|
|
+ <a-radio-button :value="1">关闭</a-radio-button>
|
|
|
|
+ <a-radio-button :value="0">开启</a-radio-button>
|
|
|
|
+ </a-radio-group>
|
|
|
|
+ </a-form-model-item>
|
|
|
|
+ </div>
|
|
<div v-else>
|
|
<div v-else>
|
|
<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" @change="handleChangeCreativeType">
|
|
<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" :disabled="pictureStatus">横版视频</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_LARGE" :disabled="pictureStatus">大图横图</a-radio-button>
|
|
@@ -1003,7 +1136,8 @@
|
|
<a-radio-button value="CREATIVE_IMAGE_MODE_LARGE_VERTICAL" :disabled="pictureStatus">大图竖图</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 label="创意组件" prop="componentId" key="componentIdkey">
|
|
|
|
|
|
+ <a-form-model-item label="创意组件" prop="componentId" key="componentIdkey"
|
|
|
|
+ v-if="configForm.creativeImageMode!='CREATIVE_IMAGE_MODE_LARGE'&&configForm.creativeImageMode!='CREATIVE_IMAGE_MODE_LARGE_VERTICAL'&&configForm.adverPosition != 'a'">
|
|
<a-input
|
|
<a-input
|
|
class="common-input-long"
|
|
class="common-input-long"
|
|
placeholder="请输入创意组件"
|
|
placeholder="请输入创意组件"
|
|
@@ -1011,7 +1145,7 @@
|
|
allow-clear
|
|
allow-clear
|
|
/>
|
|
/>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
- <a-form-model-item v-if="configForm.adDownloadType === 'EXTERNAL_URL'" label="行动号召" prop="creativeActionText" key="SPLASH_VIDEO_ONE">
|
|
|
|
|
|
+ <a-form-model-item label="行动号召" prop="creativeActionText" key="SPLASH_VIDEO_ONE">
|
|
<a-select
|
|
<a-select
|
|
class="common-input-long"
|
|
class="common-input-long"
|
|
v-model="configForm.creativeActionText"
|
|
v-model="configForm.creativeActionText"
|
|
@@ -1025,7 +1159,7 @@
|
|
</a-select-option>
|
|
</a-select-option>
|
|
</a-select>
|
|
</a-select>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
- <a-form-model-item v-if="configForm.adDownloadType === 'EXTERNAL_URL'" label="来源" :prop="getSource">
|
|
|
|
|
|
+ <a-form-model-item label="来源" :prop="getSource">
|
|
<a-input
|
|
<a-input
|
|
class="common-input-long"
|
|
class="common-input-long"
|
|
placeholder="请输入来源"
|
|
placeholder="请输入来源"
|
|
@@ -1033,7 +1167,7 @@
|
|
allow-clear
|
|
allow-clear
|
|
/>
|
|
/>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
- <a-form-model-item v-if="configForm.adDownloadType === 'DOWNLOAD_URL'" label="应用名" prop="creativeAppName" key="creativeAppName26">
|
|
|
|
|
|
+ <a-form-model-item v-if="configForm.adDownloadType === 'DOWNLOAD_URL'&&configForm.adverPosition != 'a'" label="应用名" prop="creativeAppName" key="creativeAppName26">
|
|
<a-input
|
|
<a-input
|
|
class="common-input-long"
|
|
class="common-input-long"
|
|
placeholder="请输入应用名"
|
|
placeholder="请输入应用名"
|
|
@@ -1069,6 +1203,16 @@
|
|
<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 label="广告语数量">
|
|
|
|
+ <a-input-number
|
|
|
|
+ :max="10"
|
|
|
|
+ :min="1"
|
|
|
|
+ v-model="configForm.copywritingNumber"
|
|
|
|
+ :precision="0"
|
|
|
|
+ style="width: 150px"
|
|
|
|
+ >
|
|
|
|
+ </a-input-number>
|
|
|
|
+ </a-form-model-item>
|
|
<a-form-model-item label="客户端下载视频">
|
|
<a-form-model-item label="客户端下载视频">
|
|
<a-radio-group v-model="configForm.creativeDownloadStatus" button-style="solid">
|
|
<a-radio-group v-model="configForm.creativeDownloadStatus" button-style="solid">
|
|
<a-radio-button :value="1">关闭</a-radio-button>
|
|
<a-radio-button :value="1">关闭</a-radio-button>
|
|
@@ -1582,6 +1726,7 @@ export default {
|
|
creativeThirdIndustryIds: [{required: true, message: '请选择', trigger: 'change'}]
|
|
creativeThirdIndustryIds: [{required: true, message: '请选择', trigger: 'change'}]
|
|
},
|
|
},
|
|
configForm: {
|
|
configForm: {
|
|
|
|
+ copywritingNumber: undefined,
|
|
marketingPurpose: 'CONVERSION',
|
|
marketingPurpose: 'CONVERSION',
|
|
componentId: '',
|
|
componentId: '',
|
|
creativeIesCoreUserId: '1',
|
|
creativeIesCoreUserId: '1',
|
|
@@ -1596,7 +1741,7 @@ export default {
|
|
creativeIsPresentedVideo: 0,
|
|
creativeIsPresentedVideo: 0,
|
|
// creativeGenerateDerivedAd: 0,
|
|
// creativeGenerateDerivedAd: 0,
|
|
creativeIsCommentDisable: 0,
|
|
creativeIsCommentDisable: 0,
|
|
- creativeDownloadStatus: 1,
|
|
|
|
|
|
+ creativeDownloadStatus: 0,
|
|
creativeSubTitle: '',
|
|
creativeSubTitle: '',
|
|
adConvertedTimeDuration: 'THREE_MONTH',
|
|
adConvertedTimeDuration: 'THREE_MONTH',
|
|
adDownloadMode: 'DEFAULT',
|
|
adDownloadMode: 'DEFAULT',
|
|
@@ -2039,8 +2184,12 @@ export default {
|
|
this.configForm.adLocationType = 'HOME';
|
|
this.configForm.adLocationType = 'HOME';
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ handleChangeCreativeType(){
|
|
|
|
+ this.configForm.componentId = undefined
|
|
|
|
+ },
|
|
handleAdUnionVideoType(e) {
|
|
handleAdUnionVideoType(e) {
|
|
this.$refs['ruleForm'].clearValidate(['creativeSource']);
|
|
this.$refs['ruleForm'].clearValidate(['creativeSource']);
|
|
|
|
+ this.configForm.componentId = undefined
|
|
if (e.target.value === 'SPLASH_VIDEO') {
|
|
if (e.target.value === 'SPLASH_VIDEO') {
|
|
this.configForm.creativeImageMode = 'CREATIVE_IMAGE_MODE_UNION_SPLASH';
|
|
this.configForm.creativeImageMode = 'CREATIVE_IMAGE_MODE_UNION_SPLASH';
|
|
}
|
|
}
|
|
@@ -2051,6 +2200,8 @@ export default {
|
|
NewCheckboxChangeValue(newVal) {
|
|
NewCheckboxChangeValue(newVal) {
|
|
this.$refs['ruleForm'].clearValidate(['creativeSource']);
|
|
this.$refs['ruleForm'].clearValidate(['creativeSource']);
|
|
let selectiveListUpdate = [...this.selectiveList];
|
|
let selectiveListUpdate = [...this.selectiveList];
|
|
|
|
+ this.configForm.creativeImageMode = 'CREATIVE_IMAGE_MODE_VIDEO_VERTICAL';
|
|
|
|
+ this.configForm.componentId = ''
|
|
if (newVal.length) {
|
|
if (newVal.length) {
|
|
if (newVal.includes('INVENTORY_AWEME_FEED')) {
|
|
if (newVal.includes('INVENTORY_AWEME_FEED')) {
|
|
this.isTAwemeStatus = true;
|
|
this.isTAwemeStatus = true;
|
|
@@ -2085,7 +2236,7 @@ export default {
|
|
this.selectiveList = selectiveListUpdate.filter(item => item.delivery_range === 'UNION');
|
|
this.selectiveList = selectiveListUpdate.filter(item => item.delivery_range === 'UNION');
|
|
}
|
|
}
|
|
else {
|
|
else {
|
|
- this.configForm.creativeDownloadStatus = 1;
|
|
|
|
|
|
+ this.configForm.creativeDownloadStatus = 0;
|
|
this.configForm.adUnionVideoType = '';
|
|
this.configForm.adUnionVideoType = '';
|
|
// this.configForm.creativeEnablePersonalAction = '';
|
|
// this.configForm.creativeEnablePersonalAction = '';
|
|
this.configForm.adAudiencePackageId = undefined;
|
|
this.configForm.adAudiencePackageId = undefined;
|
|
@@ -2318,7 +2469,7 @@ export default {
|
|
handleGetAdAudiencePackage() {
|
|
handleGetAdAudiencePackage() {
|
|
const params = {
|
|
const params = {
|
|
accountId: this.configForm.accountId,
|
|
accountId: this.configForm.accountId,
|
|
- landingType: this.platformLoadingType
|
|
|
|
|
|
+ // landingType: this.platformLoadingType
|
|
};
|
|
};
|
|
getAction(urlAcount + '/bytedance-api/advertiser/aiBytedanceAdvertiserStrategy/getAdAudiencePackage', params)
|
|
getAction(urlAcount + '/bytedance-api/advertiser/aiBytedanceAdvertiserStrategy/getAdAudiencePackage', params)
|
|
.then(result => {
|
|
.then(result => {
|
|
@@ -2331,12 +2482,12 @@ export default {
|
|
}
|
|
}
|
|
});
|
|
});
|
|
});
|
|
});
|
|
- if (this.configForm.checkboxChangeValue.length === 1 && this.configForm.checkboxChangeValue[0] === 'INVENTORY_UNION_SLOT') {
|
|
|
|
- this.selectiveList = defaultList.filter(item => item.delivery_range === 'UNION');
|
|
|
|
- }
|
|
|
|
- else {
|
|
|
|
|
|
+ // if (this.configForm.checkboxChangeValue.length === 1 && this.configForm.checkboxChangeValue[0] === 'INVENTORY_UNION_SLOT') {
|
|
|
|
+ // this.selectiveList = defaultList.filter(item => item.delivery_range === 'UNION');
|
|
|
|
+ // }
|
|
|
|
+ // else {
|
|
this.selectiveList = defaultList;
|
|
this.selectiveList = defaultList;
|
|
- }
|
|
|
|
|
|
+ // }
|
|
}
|
|
}
|
|
else {
|
|
else {
|
|
this.$message.error(result.message);
|
|
this.$message.error(result.message);
|
|
@@ -2546,6 +2697,8 @@ export default {
|
|
handleAdverPosition(e) {
|
|
handleAdverPosition(e) {
|
|
this.$refs['ruleForm'].clearValidate(['creativeSource']);
|
|
this.$refs['ruleForm'].clearValidate(['creativeSource']);
|
|
this.$refs['ruleForm'].clearValidate(['componentId']);
|
|
this.$refs['ruleForm'].clearValidate(['componentId']);
|
|
|
|
+ this.configForm.componentId = ''
|
|
|
|
+ this.configForm.adDeliveryRange = 'DEFAULT'
|
|
if (e.target.value === 'a') {
|
|
if (e.target.value === 'a') {
|
|
this.configForm.radioChangeValue = '';
|
|
this.configForm.radioChangeValue = '';
|
|
this.configForm.checkboxChangeValue = [];
|
|
this.configForm.checkboxChangeValue = [];
|
|
@@ -2660,17 +2813,17 @@ export default {
|
|
this.editPackage().then(res=>{
|
|
this.editPackage().then(res=>{
|
|
if (detailData.adAudiencePackageId&&res!='') {
|
|
if (detailData.adAudiencePackageId&&res!='') {
|
|
this.$nextTick(()=>{
|
|
this.$nextTick(()=>{
|
|
- getAction(urlAcount + '/bytedance-api/advertiser/aiBytedanceAdvertiserStrategy/getAdAudiencePackage', {accountId: detailData.accountId,landingType: res})
|
|
|
|
|
|
+ getAction(urlAcount + '/bytedance-api/advertiser/aiBytedanceAdvertiserStrategy/getAdAudiencePackage', {accountId: detailData.accountId})
|
|
.then(result => {
|
|
.then(result => {
|
|
if (result.code === 0) {
|
|
if (result.code === 0) {
|
|
this.$nextTick(()=>{
|
|
this.$nextTick(()=>{
|
|
let checkboxChangeValueList = detailData.creativeInventoryType ? detailData.creativeInventoryType.split(',') : [];
|
|
let checkboxChangeValueList = detailData.creativeInventoryType ? detailData.creativeInventoryType.split(',') : [];
|
|
- if (checkboxChangeValueList.length === 1 && checkboxChangeValueList[0] === 'INVENTORY_UNION_SLOT') {
|
|
|
|
- this.selectiveList = result.result.filter(item => item.delivery_range === 'UNION');
|
|
|
|
- }
|
|
|
|
- else {
|
|
|
|
|
|
+ // if (checkboxChangeValueList.length === 1 && checkboxChangeValueList[0] === 'INVENTORY_UNION_SLOT') {
|
|
|
|
+ // this.selectiveList = result.result.filter(item => item.delivery_range === 'UNION');
|
|
|
|
+ // }
|
|
|
|
+ // else {
|
|
this.selectiveList = result.result || [];
|
|
this.selectiveList = result.result || [];
|
|
- }
|
|
|
|
|
|
+ // }
|
|
this.configForm.adAudiencePackageId = Number(detailData.adAudiencePackageId);
|
|
this.configForm.adAudiencePackageId = Number(detailData.adAudiencePackageId);
|
|
this.handleSelectiveOrientation(Number(detailData.adAudiencePackageId));
|
|
this.handleSelectiveOrientation(Number(detailData.adAudiencePackageId));
|
|
})
|
|
})
|
|
@@ -2863,7 +3016,7 @@ export default {
|
|
this.configForm.adBudgetMode = detailData.adBudgetMode;
|
|
this.configForm.adBudgetMode = detailData.adBudgetMode;
|
|
this.configForm.adBudget = detailData.adBudget;
|
|
this.configForm.adBudget = detailData.adBudget;
|
|
this.defaultAdBudget = detailData.accountBudget;
|
|
this.defaultAdBudget = detailData.accountBudget;
|
|
- this.configForm.componentId = detailData.componentId
|
|
|
|
|
|
+
|
|
this.configForm.adScheduleType = detailData.adScheduleType;
|
|
this.configForm.adScheduleType = detailData.adScheduleType;
|
|
this.configForm.launchDateRange[0] = detailData.adStartTime;
|
|
this.configForm.launchDateRange[0] = detailData.adStartTime;
|
|
this.configForm.launchDateRange[1] = detailData.adEndTime;
|
|
this.configForm.launchDateRange[1] = detailData.adEndTime;
|
|
@@ -2979,12 +3132,17 @@ export default {
|
|
this.configForm.creativeIsPresentedVideo = detailData.creativeIsPresentedVideo;
|
|
this.configForm.creativeIsPresentedVideo = detailData.creativeIsPresentedVideo;
|
|
// this.configForm.creativeGenerateDerivedAd = detailData.creativeGenerateDerivedAd;
|
|
// this.configForm.creativeGenerateDerivedAd = detailData.creativeGenerateDerivedAd;
|
|
this.configForm.creativeIsCommentDisable = detailData.creativeIsCommentDisable;
|
|
this.configForm.creativeIsCommentDisable = detailData.creativeIsCommentDisable;
|
|
- this.configForm.creativeDownloadStatus = detailData.creativeDownloadStatus;
|
|
|
|
|
|
+ this.configForm.copywritingNumber = detailData.copywritingNumber&&detailData.copywritingNumber>0?detailData.copywritingNumber:undefined;
|
|
|
|
+
|
|
this.configForm.creativeSubTitle = detailData.creativeSubTitle;
|
|
this.configForm.creativeSubTitle = detailData.creativeSubTitle;
|
|
this.configForm.adConvertedTimeDuration = detailData.adConvertedTimeDuration;
|
|
this.configForm.adConvertedTimeDuration = detailData.adConvertedTimeDuration;
|
|
this.configForm.adDownloadMode = detailData.adDownloadMode;
|
|
this.configForm.adDownloadMode = detailData.adDownloadMode;
|
|
this.configForm.adAutoExtendTargets = detailData.adAutoExtendTargets;
|
|
this.configForm.adAutoExtendTargets = detailData.adAutoExtendTargets;
|
|
this.AutoExtendEditSelect = detailData.adAutoExtendTargets && detailData.adAutoExtendTargets.split(',');
|
|
this.AutoExtendEditSelect = detailData.adAutoExtendTargets && detailData.adAutoExtendTargets.split(',');
|
|
|
|
+ this.$nextTick(()=>{
|
|
|
|
+ this.configForm.componentId = detailData.componentId
|
|
|
|
+ this.configForm.creativeDownloadStatus = detailData.creativeDownloadStatus?detailData.creativeDownloadStatus:0;
|
|
|
|
+ })
|
|
}
|
|
}
|
|
else {
|
|
else {
|
|
this.$message.error(result.message);
|
|
this.$message.error(result.message);
|
|
@@ -3338,6 +3496,9 @@ export default {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ else{
|
|
|
|
+ paramsFormData.adRetargetingTagsType = ''
|
|
|
|
+ }
|
|
if (paramsFormData.adAutoExtendEnabled === '1' && !paramsFormData.adAutoExtendTargets) {
|
|
if (paramsFormData.adAutoExtendEnabled === '1' && !paramsFormData.adAutoExtendTargets) {
|
|
this.$message.error('请选择可开放定向');
|
|
this.$message.error('请选择可开放定向');
|
|
return;
|
|
return;
|
|
@@ -3429,6 +3590,7 @@ export default {
|
|
paramsFormData.creativeProductImageCode = this.md5Result;
|
|
paramsFormData.creativeProductImageCode = this.md5Result;
|
|
paramsFormData.imageUrl = this.urlResult;
|
|
paramsFormData.imageUrl = this.urlResult;
|
|
paramsFormData.adKeywords = this.creativeTag;
|
|
paramsFormData.adKeywords = this.creativeTag;
|
|
|
|
+ paramsFormData.copywritingNumber = paramsFormData.copywritingNumber?paramsFormData.copywritingNumber:0
|
|
paramsFormData.userId = this.userInfo().id;
|
|
paramsFormData.userId = this.userInfo().id;
|
|
this.$refs.ruleForm.validate(valid => {
|
|
this.$refs.ruleForm.validate(valid => {
|
|
if (valid) {
|
|
if (valid) {
|