jiayufei 3 лет назад
Родитель
Сommit
275750e9d9
1 измененных файлов с 13 добавлено и 13 удалено
  1. 13 13
      src/views/modules/account-config/components/configuration-modal.vue

+ 13 - 13
src/views/modules/account-config/components/configuration-modal.vue

@@ -94,7 +94,7 @@
                         </a-radio-group>
                     </a-form-model-item>
                     <a-form-model-item label="广告类型">
-                        <a-radio-group :disabled="modalTitle === 'edit'" v-model="configForm.adCampaignType" button-style="solid">
+                        <a-radio-group :disabled="modalTitle === 'edit'" v-model="configForm.campaignType" button-style="solid">
                             <a-radio-button value="FEED">信息流广告</a-radio-button>
                             <a-radio-button value="SEARCH" disabled>搜索广告</a-radio-button>
                         </a-radio-group>
@@ -870,12 +870,12 @@
                                 <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-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> -->
                     </div>
                     <div v-else-if="configForm.adUnionVideoType === 'ORIGINAL_VIDEO'">
                         <a-form-model-item label="创意内容">
@@ -923,11 +923,11 @@
                                 <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-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-radio-group> -->
                         </a-form-model-item>
                     </div>
                     <div v-else-if="configForm.adUnionVideoType === 'SPLASH_VIDEO'">
@@ -972,12 +972,12 @@
                                 <a-radio-button :value="1">启用</a-radio-button>
                             </a-radio-group>
                         </a-form-model-item>
-                        <a-form-model-item v-if="configForm.adDownloadType === 'DOWNLOAD_URL'" label="最优创意衍生计划">
+                        <!-- <a-form-model-item v-if="configForm.adDownloadType === 'DOWNLOAD_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> -->
                         <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>
@@ -1055,12 +1055,12 @@
                                 <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-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> -->
                         <a-form-model-item label="广告评论">
                             <a-radio-group v-model="configForm.creativeIsCommentDisable" button-style="solid">
                                 <a-radio-button :value="1">关闭</a-radio-button>
@@ -1571,7 +1571,7 @@ export default {
                 creativeDisplayMode: 'CREATIVE_DISPLAY_MODE_CTR',
                 creativeAppName: undefined,
                 creativeIsPresentedVideo: 0,
-                creativeGenerateDerivedAd: 0,
+                // creativeGenerateDerivedAd: 0,
                 creativeIsCommentDisable: 0,
                 creativeDownloadStatus: 1,
                 creativeSubTitle: '',
@@ -1600,7 +1600,7 @@ export default {
                 dpLinkEndIndex: 2,
                 accountBudgetMode: '1', // 预算方式
                 campaignLandingType: 'APP', // 推广目标
-                adCampaignType: 'FEED', // 广告类型
+                campaignType: 'FEED', // 广告类型
                 campaignName: '', // 广告组名称
                 adName: '', // 广告计划名称
                 campaignCnt: 1, // 广告组计划数量
@@ -2529,7 +2529,7 @@ export default {
                         this.configForm.accountBudget = detailData.accountBudget;
                         this.configForm.adDirectionalFlag = detailData.adDirectionalFlag;
                         this.configForm.campaignLandingType = detailData.campaignLandingType;
-                        this.configForm.adCampaignType = detailData.adCampaignType;
+                        this.configForm.campaignType = detailData.campaignType;
                         this.configForm.campaignName = detailData.campaignName || '';
                         this.configForm.dpLinkIndexUsed = detailData.dpLinkIndexUsed;
                         if (detailData.dpLinkIndexUsed === 1) {
@@ -2729,7 +2729,7 @@ export default {
                         this.configForm.adInterestActionMode = detailData.adInterestActionMode;
                         this.configForm.creativeDisplayMode = detailData.creativeDisplayMode;
                         this.configForm.creativeIsPresentedVideo = detailData.creativeIsPresentedVideo;
-                        this.configForm.creativeGenerateDerivedAd = detailData.creativeGenerateDerivedAd;
+                        // this.configForm.creativeGenerateDerivedAd = detailData.creativeGenerateDerivedAd;
                         this.configForm.creativeIsCommentDisable = detailData.creativeIsCommentDisable;
                         this.configForm.creativeDownloadStatus = detailData.creativeDownloadStatus;
                         this.configForm.creativeSubTitle = detailData.creativeSubTitle;