Explorar el Código

头条深度优化方式修改

liubei@c-top.com.cn hace 3 años
padre
commit
6ac39d612d

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

@@ -2859,12 +2859,15 @@ export default {
             }
         },
         handleConvertChange(e) {
-            console.log(e);
             this.optimizationOption.forEach(element => {
-                console.log(element);
                 if (element.convert_id == e) {
                    if ("deep_external_actions" in element && element.deep_external_actions != null ) {
                        this.deepExternalShow = true;
+                       this.$nextTick(()=>{
+                        this.configForm.adDeepBidType = 'DEEP_BID_MIN';
+                        this.configForm.adDeepCpabid = 0.1;
+                       })
+                       
                    }else{
                     this.deepExternalShow = false;
                    }
@@ -3727,7 +3730,10 @@ export default {
             paramsFormData.adKeywords = this.creativeTag;
             paramsFormData.copywritingNumber = paramsFormData.copywritingNumber?paramsFormData.copywritingNumber:0
             paramsFormData.userId = this.userInfo().id;
-            console.log(paramsFormData.creativeImageMode);
+            if (this.deepExternalShow == false) {
+                this.$delete(paramsFormData,'adDeepBidType')
+                this.$delete(paramsFormData,'adDeepCpabid')
+            }
             // if (typeof paramsFormData.creativeImageMode == 'object'){
             //     paramsFormData.creativeImageMode = paramsFormData.creativeImageMode.toString()
             // }