فهرست منبع

数据查看 周六联调

jiayufei 4 سال پیش
والد
کامیت
5f87832a56
1فایلهای تغییر یافته به همراه7 افزوده شده و 1 حذف شده
  1. 7 1
      src/views/modules/headline-view/headline-view.vue

+ 7 - 1
src/views/modules/headline-view/headline-view.vue

@@ -655,7 +655,6 @@ export default {
         handleBudgetSure() {
             this.$refs.budgetForm.validate(valid => {
                 if (valid) {
-                    // /bytedance-api/advertiser/bytedanceReportController/updateADBid?accountId=1651970135573527&adId&bid
                     const paramsData = {
                         adId: this.currentUnit.adId,
                         bid: this.budgetForm.budget,
@@ -664,6 +663,7 @@ export default {
                     getAction(urlAcount + '/bytedance-api/advertiser/bytedanceReportController/updateADBid', paramsData).then(result => {
                         if (result.code === 0) {
                             this.$message.success(result.message);
+                            this.budgetForm.budget = '';
                             this.budgetVisible = false;
                             this.handleGetPlanTableList(this.topCostList);
                         }
@@ -682,6 +682,7 @@ export default {
         },
         // 调价修改取消按钮
         handleBudgetCancel() {
+            this.budgetForm.budget = '';
             this.budgetVisible = false;
         },
         // 调价修改确定按钮
@@ -813,7 +814,9 @@ export default {
             };
             getAction(urlAcount + '/bytedance-api/advertiser/bytedanceReportController/updateADAudiencePackage', paramsData).then(result => {
                 if (result.code === 0) {
+                    this.adAudiencePackageId = '';
                     this.targetVisible = false;
+                    this.$message.success(result.message);
                     this.handleGetPlanTableList(this.topCostList);
                 }
                 else {
@@ -825,6 +828,7 @@ export default {
         },
         // 修改定向的取消按钮
         handleTargethandleCancel() {
+            this.adAudiencePackageId = '';
             this.targetVisible = false;
         },
         handleAccounthandleOk() {
@@ -841,9 +845,11 @@ export default {
             this.handleGetPlanTableList(paramsData);
             this.handleGetmaterialData(paramsData);
             this.handleGetAdAudiencePackage(this.selectaccountId);
+            this.selectaccountId = '';
             this.accountVisible = false;
         },
         handleAccountCancel() {
+            this.selectaccountId = '';
             this.accountVisible = false;
         },
         // 计划点击分页操作