Sfoglia il codice sorgente

账户配置 定向包 页面

jiayufei 4 anni fa
parent
commit
430fed0ea6

+ 1 - 1
src/views/modules/account-config/account-config.vue

@@ -263,7 +263,7 @@ export default {
             let that = this;
             this.$confirm({
                 title: '删除提示',
-                content: '确定要删除这一条吗?',
+                content: '是否删除该条数据',
                 onOk() {
                     deleteAction(urlAcount + '/bytedance-api/advertiser/aiBytedanceAdvertiserStrategy/delete', {id: data.id}).then(result => {
                         if (result.code === 0) {

+ 1 - 0
src/views/modules/account-config/components/configuration-modal.less

@@ -191,6 +191,7 @@
                 color: #f00;
             }
             .budget-mode-label {
+                top: -7px;
                 left: -50px;
             }
             .cpaBid-mode-label {

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

@@ -403,8 +403,7 @@
                             </a-select>
                             <a-tooltip placement="top">
                                 <template slot="title">
-                                    <span>输入的数量为每天所创建的广告组数量</span>
-                                    <span>以及每个广告组创建的广告计划数量</span>
+                                    <span>已有定向包只展示当前推广目的和投放范围下,定向功能升级后仍可用的定向包</span>
                                 </template>
                                 <a-icon class="form-itrm-icon orientation-icon" type="smile-o"/>
                             </a-tooltip>
@@ -1629,17 +1628,16 @@ export default {
             node.blur();
         },
         handleLaunchData(date, dateString) {
-            console.log(dateString, 'dateString--dateString');
             this.configForm.launchDateRange = dateString;
         },
         handleCalendarChange([startTime]) {
-            console.log(moment(startTime).format('YYYY-MM-DD'), '----startTime---');
             this.choiceDate = startTime;
         },
         handleBudgetMode(e) {
             if (e === 'BUDGET_MODE_TOTAL') {
                 this.configForm.adScheduleType = 'SCHEDULE_START_END';
                 this.adBudgetNum = this.configForm.launchTarget === 'OCPM' ? 300 : 0;
+                this.configForm.adBudget = 300;
                 if (Number(this.configForm.adCpaBid) > Number(this.configForm.adBudget)) {
                     this.isAdCpaBidBlur = true;
                     this.adCpaBidBlurTxt = '出价不能大于预算';
@@ -1652,6 +1650,7 @@ export default {
             }
             else if (e === 'BUDGET_MODE_DAY') {
                 this.adBudgetNum = 0;
+                this.configForm.adBudget = 0;
             }
         },
         handleDelOrigin(list) {