|
@@ -800,7 +800,7 @@
|
|
<span>元</span>
|
|
<span>元</span>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</div>
|
|
</div>
|
|
- <!-- <div v-if="deepExternalShow">
|
|
|
|
|
|
+ <div v-if="deepExternalShow">
|
|
<a-form-model-item label="深度优化方式" prop="deepExternal">
|
|
<a-form-model-item label="深度优化方式" prop="deepExternal">
|
|
<a-radio-group @change="adDeepBidTypeChange" v-model="configForm.adDeepBidType" button-style="solid">
|
|
<a-radio-group @change="adDeepBidTypeChange" v-model="configForm.adDeepBidType" button-style="solid">
|
|
<a-radio-button value="DEEP_BID_MIN" >自定义双出价</a-radio-button>
|
|
<a-radio-button value="DEEP_BID_MIN" >自定义双出价</a-radio-button>
|
|
@@ -818,7 +818,7 @@
|
|
/> 元
|
|
/> 元
|
|
|
|
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
- </div> -->
|
|
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
<!-- <div class="separate-module-con">
|
|
<!-- <div class="separate-module-con">
|
|
<p class="rock-title">第三方检测链接</p>
|
|
<p class="rock-title">第三方检测链接</p>
|
|
@@ -1773,7 +1773,7 @@ export default {
|
|
},
|
|
},
|
|
configForm: {
|
|
configForm: {
|
|
adDeepBidType:'DEEP_BID_MIN',
|
|
adDeepBidType:'DEEP_BID_MIN',
|
|
- adDeepCpabid:0,
|
|
|
|
|
|
+ adDeepCpabid:0.1,
|
|
copywritingNumber: undefined,
|
|
copywritingNumber: undefined,
|
|
marketingPurpose: 'CONVERSION',
|
|
marketingPurpose: 'CONVERSION',
|
|
componentId: '',
|
|
componentId: '',
|
|
@@ -2140,6 +2140,7 @@ export default {
|
|
|
|
|
|
},
|
|
},
|
|
handleSelectValue(data) {
|
|
handleSelectValue(data) {
|
|
|
|
+ this.deepExternalShow = false;
|
|
this.configForm.accountId = data.id;
|
|
this.configForm.accountId = data.id;
|
|
// this.$refs['ruleForm'].resetFields();
|
|
// this.$refs['ruleForm'].resetFields();
|
|
|
|
|
|
@@ -2858,9 +2859,11 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
handleConvertChange(e) {
|
|
handleConvertChange(e) {
|
|
|
|
+ console.log(e);
|
|
this.optimizationOption.forEach(element => {
|
|
this.optimizationOption.forEach(element => {
|
|
|
|
+ console.log(element);
|
|
if (element.convert_id == e) {
|
|
if (element.convert_id == e) {
|
|
- if ("deep_external_actions" in element) {
|
|
|
|
|
|
+ if ("deep_external_actions" in element && element.deep_external_actions != null ) {
|
|
this.deepExternalShow = true;
|
|
this.deepExternalShow = true;
|
|
}else{
|
|
}else{
|
|
this.deepExternalShow = false;
|
|
this.deepExternalShow = false;
|
|
@@ -2877,7 +2880,7 @@ export default {
|
|
adDeepBidTypeChange(e){
|
|
adDeepBidTypeChange(e){
|
|
if (e.target.value == 'AUTO_MIN_SECOND_STAGE') {
|
|
if (e.target.value == 'AUTO_MIN_SECOND_STAGE') {
|
|
this.adDeepCpabidShow = false;
|
|
this.adDeepCpabidShow = false;
|
|
- this.configForm.adDeepCpabid = 0;
|
|
|
|
|
|
+ this.configForm.adDeepCpabid = 0.1;
|
|
}else{
|
|
}else{
|
|
this.adDeepCpabidShow = true;
|
|
this.adDeepCpabidShow = true;
|
|
}
|
|
}
|
|
@@ -2969,24 +2972,24 @@ export default {
|
|
}
|
|
}
|
|
this.configForm.adConvertType = updateResult[0].convert_type;
|
|
this.configForm.adConvertType = updateResult[0].convert_type;
|
|
this.optimizationOption = updateResult[0].external_actions;
|
|
this.optimizationOption = updateResult[0].external_actions;
|
|
- // this.optimizationOption.forEach(element => {
|
|
|
|
- // if (element.convert_id == detailData.adConvertId) {
|
|
|
|
- // if ("deep_external_actions" in element) {
|
|
|
|
- // this.deepExternalShow = true;
|
|
|
|
|
|
+ this.optimizationOption.forEach(element => {
|
|
|
|
+ if (element.convert_id == detailData.adConvertId) {
|
|
|
|
+ if ("deep_external_actions" in element && element.deep_external_actions != null ) {
|
|
|
|
+ this.deepExternalShow = true;
|
|
|
|
|
|
- // }else{
|
|
|
|
- // this.deepExternalShow = false;
|
|
|
|
- // }
|
|
|
|
- // }
|
|
|
|
- // });
|
|
|
|
- // if (detailData.adDeepBidType == 'AUTO_MIN_SECOND_STAGE') {
|
|
|
|
- // this.adDeepCpabidShow = false;
|
|
|
|
- // this.configForm.adDeepCpabid = 0
|
|
|
|
- // }else{
|
|
|
|
- // this.adDeepCpabidShow = true;
|
|
|
|
- // }
|
|
|
|
- // this.configForm.adDeepBidType = detailData.adDeepBidType;
|
|
|
|
- // this.configForm.adDeepCpabid = detailData.adDeepCpabid;
|
|
|
|
|
|
+ }else{
|
|
|
|
+ this.deepExternalShow = false;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ if (detailData.adDeepBidType == 'AUTO_MIN_SECOND_STAGE') {
|
|
|
|
+ this.adDeepCpabidShow = false;
|
|
|
|
+ this.configForm.adDeepCpabid = 0.1
|
|
|
|
+ }else{
|
|
|
|
+ this.adDeepCpabidShow = true;
|
|
|
|
+ }
|
|
|
|
+ this.configForm.adDeepBidType = detailData.adDeepBidType;
|
|
|
|
+ this.configForm.adDeepCpabid = detailData.adDeepCpabid;
|
|
|
|
|
|
})
|
|
})
|
|
|
|
|
|
@@ -3279,10 +3282,7 @@ export default {
|
|
}
|
|
}
|
|
});
|
|
});
|
|
// this.optimizationOption.forEach(element => {
|
|
// this.optimizationOption.forEach(element => {
|
|
- // console.log(element);
|
|
|
|
- // console.log(detailData.adConvertId);
|
|
|
|
// if (element.convert_id == detailData.adConvertId) {
|
|
// if (element.convert_id == detailData.adConvertId) {
|
|
- // console.log(1111111);
|
|
|
|
// if ("deep_external_actions" in element) {
|
|
// if ("deep_external_actions" in element) {
|
|
// this.deepExternalShow = true;
|
|
// this.deepExternalShow = true;
|
|
// }else{
|
|
// }else{
|