|
@@ -853,7 +853,7 @@
|
|
|
<a-radio-button :value="1">启用</a-radio-button>
|
|
|
</a-radio-group>
|
|
|
</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-button value="CREATIVE_DISPLAY_MODE_CTR">优选模式</a-radio-button>
|
|
|
<a-radio-button value="CREATIVE_DISPLAY_MODE_RANDOM">轮播模式</a-radio-button>
|
|
@@ -898,7 +898,7 @@
|
|
|
allow-clear
|
|
|
/>
|
|
|
</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-button value="CREATIVE_DISPLAY_MODE_CTR">优选模式</a-radio-button>
|
|
|
<a-radio-button value="CREATIVE_DISPLAY_MODE_RANDOM">轮播模式</a-radio-button>
|
|
@@ -951,7 +951,7 @@
|
|
|
<a-radio-button :value="1">启用</a-radio-button>
|
|
|
</a-radio-group>
|
|
|
</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-button value="CREATIVE_DISPLAY_MODE_CTR">优选模式</a-radio-button>
|
|
|
<a-radio-button value="CREATIVE_DISPLAY_MODE_RANDOM">轮播模式</a-radio-button>
|
|
@@ -1027,6 +1027,20 @@
|
|
|
<a-icon class="examin-form-icon" type="delete" @click="handleDelOrigin(item)"/>
|
|
|
</a-form-model-item>
|
|
|
</div>
|
|
|
+ <a-form-model-item v-if="isTomatoStatus" label="行动号召" prop="creativeCallToAction" key="SPLASH_VIDEO_ONE">
|
|
|
+ <a-select
|
|
|
+ class="common-input-long"
|
|
|
+ v-model="configForm.creativeCallToAction"
|
|
|
+ >
|
|
|
+ <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-radio-group v-model="configForm.creativeEnablePersonalAction" button-style="solid">
|
|
|
<a-radio-button :value="true">开启智能优选</a-radio-button>
|
|
@@ -1100,7 +1114,7 @@
|
|
|
<a-radio-button :value="0">开启</a-radio-button>
|
|
|
</a-radio-group>
|
|
|
</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-button value="CREATIVE_DISPLAY_MODE_CTR">优选模式</a-radio-button>
|
|
|
<a-radio-button value="CREATIVE_DISPLAY_MODE_RANDOM">轮播模式</a-radio-button>
|
|
@@ -1689,7 +1703,7 @@ export default {
|
|
|
creativeCallToAction: undefined, // 行动号召
|
|
|
creativeLabel: undefined // 倡议标签
|
|
|
},
|
|
|
- isTomatoStatus: true,
|
|
|
+ isTomatoStatus: false,
|
|
|
isTAwemeStatus: true
|
|
|
};
|
|
|
},
|
|
@@ -1951,21 +1965,26 @@ export default {
|
|
|
else {
|
|
|
this.isTAwemeStatus = false;
|
|
|
}
|
|
|
+ if (newVal.length === 1 && newVal[0] === 'INVENTORY_TOMATO_NOVEL') {
|
|
|
+ this.isTomatoStatus = true;
|
|
|
+ this.configForm.creativeImageMode = 'CREATIVE_IMAGE_MODE_VIDEO_VERTICAL';
|
|
|
+ }
|
|
|
+ else {
|
|
|
+ this.isTomatoStatus = false;
|
|
|
+ }
|
|
|
if (newVal.length === 1 && newVal[0] === 'INVENTORY_UNION_SLOT') {
|
|
|
+ this.configForm.creativeImageMode = 'CREATIVE_IMAGE_MODE_VIDEO_VERTICAL';
|
|
|
this.configForm.adUnionVideoType = 'REWARDED_VIDEO';
|
|
|
- this.$nextTick(() => {
|
|
|
- this.configForm.creativeEnablePersonalAction = true;
|
|
|
- });
|
|
|
+ // this.$nextTick(() => {
|
|
|
+ // this.configForm.creativeEnablePersonalAction = true;
|
|
|
+ // });
|
|
|
this.configForm.adAudiencePackageId = undefined;
|
|
|
this.packageMessageDetail = [];
|
|
|
this.selectiveList = selectiveListUpdate.filter(item => item.delivery_range === 'UNION');
|
|
|
- // if (this.configForm.adDirectionalFlag === 'choice') {
|
|
|
- // this.selectiveList = selectiveListUpdate.filter(item => item.delivery_range === 'UNION');
|
|
|
- // }
|
|
|
}
|
|
|
else {
|
|
|
this.configForm.adUnionVideoType = '';
|
|
|
- this.configForm.creativeEnablePersonalAction = '';
|
|
|
+ // this.configForm.creativeEnablePersonalAction = '';
|
|
|
this.configForm.adAudiencePackageId = undefined;
|
|
|
this.packageMessageDetail = [];
|
|
|
this.handleGetAdAudiencePackage();
|
|
@@ -1973,6 +1992,7 @@ export default {
|
|
|
}
|
|
|
else {
|
|
|
this.isTAwemeStatus = true;
|
|
|
+ this.isTomatoStatus = false;
|
|
|
this.configForm.adUnionVideoType = '';
|
|
|
this.configForm.adAudiencePackageId = undefined;
|
|
|
this.packageMessageDetail = [];
|