|
@@ -2640,6 +2640,7 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
getAgeSelect(data) {
|
|
getAgeSelect(data) {
|
|
|
|
+ console.log(data);
|
|
if (data.length > 1 && data.findIndex(item => item === 'NONE') === 0) {
|
|
if (data.length > 1 && data.findIndex(item => item === 'NONE') === 0) {
|
|
data.splice(data.findIndex(item => item === 'NONE'), 1);
|
|
data.splice(data.findIndex(item => item === 'NONE'), 1);
|
|
}
|
|
}
|
|
@@ -2779,6 +2780,7 @@ export default {
|
|
this.pictureStatus = false;
|
|
this.pictureStatus = false;
|
|
this.creativeImageShow = true;
|
|
this.creativeImageShow = true;
|
|
this.configForm.creativeImageMode.push('CREATIVE_IMAGE_MODE_VIDEO_VERTICAL');
|
|
this.configForm.creativeImageMode.push('CREATIVE_IMAGE_MODE_VIDEO_VERTICAL');
|
|
|
|
+ // this.configForm.creativeImageMode = this.configForm.creativeImageMode.toString();
|
|
}
|
|
}
|
|
else if(e.target.value === 'd'){
|
|
else if(e.target.value === 'd'){
|
|
this.configForm.radioChangeValue = '';
|
|
this.configForm.radioChangeValue = '';
|
|
@@ -2789,6 +2791,7 @@ export default {
|
|
this.creativeImageShow = false;
|
|
this.creativeImageShow = false;
|
|
this.configForm.creativeImageMode = [];
|
|
this.configForm.creativeImageMode = [];
|
|
this.configForm.creativeImageMode.push('CREATIVE_IMAGE_MODE_VIDEO_VERTICAL');
|
|
this.configForm.creativeImageMode.push('CREATIVE_IMAGE_MODE_VIDEO_VERTICAL');
|
|
|
|
+ // this.configForm.creativeImageMode = this.configForm.creativeImageMode.toString();
|
|
}
|
|
}
|
|
this.configForm.adUnionVideoType = '';
|
|
this.configForm.adUnionVideoType = '';
|
|
// this.configForm.creativeImageMode = 'CREATIVE_IMAGE_MODE_VIDEO_VERTICAL';
|
|
// this.configForm.creativeImageMode = 'CREATIVE_IMAGE_MODE_VIDEO_VERTICAL';
|
|
@@ -3200,6 +3203,7 @@ export default {
|
|
this.configForm.adverPosition = 'c';
|
|
this.configForm.adverPosition = 'c';
|
|
this.configForm.radioChangeValue = detailData.creativeSceneInventory;
|
|
this.configForm.radioChangeValue = detailData.creativeSceneInventory;
|
|
}
|
|
}
|
|
|
|
+
|
|
else if (detailData.creativeInventoryType) {
|
|
else if (detailData.creativeInventoryType) {
|
|
this.configForm.adverPosition = 'b';
|
|
this.configForm.adverPosition = 'b';
|
|
this.configForm.checkboxChangeValue = detailData.creativeInventoryType.split(',');
|
|
this.configForm.checkboxChangeValue = detailData.creativeInventoryType.split(',');
|
|
@@ -3222,6 +3226,8 @@ export default {
|
|
this.configForm.adDeliveryRange = '';
|
|
this.configForm.adDeliveryRange = '';
|
|
}
|
|
}
|
|
this.NewCheckboxChangeValue(this.configForm.checkboxChangeValue);
|
|
this.NewCheckboxChangeValue(this.configForm.checkboxChangeValue);
|
|
|
|
+ }else if(detailData.adDeliveryRange){
|
|
|
|
+ this.configForm.adverPosition = 'd'
|
|
}
|
|
}
|
|
else {
|
|
else {
|
|
this.configForm.adverPosition = 'a';
|
|
this.configForm.adverPosition = 'a';
|
|
@@ -3232,7 +3238,16 @@ export default {
|
|
})
|
|
})
|
|
}
|
|
}
|
|
this.$nextTick(()=>{
|
|
this.$nextTick(()=>{
|
|
- this.configForm.creativeImageMode = detailData.creativeImageMode;
|
|
|
|
|
|
+ console.log(detailData);
|
|
|
|
+ // this.configForm.creativeImageMode = detailData.creativeImageMode
|
|
|
|
+ if (detailData.creativeImageMode.split(',').length > 1) {
|
|
|
|
+ this.creativeImageShow = false;
|
|
|
|
+ this.configForm.creativeImageMode = detailData.creativeImageMode.split(',')
|
|
|
|
+ }else{
|
|
|
|
+ this.creativeImageShow = true
|
|
|
|
+ this.configForm.creativeImageMode = detailData.creativeImageMode.join(',');
|
|
|
|
+ }
|
|
|
|
+ console.log(this.configForm.creativeImageMode);
|
|
})
|
|
})
|
|
this.configForm.adInterestActionMode = detailData.adInterestActionMode;
|
|
this.configForm.adInterestActionMode = detailData.adInterestActionMode;
|
|
this.configForm.creativeDisplayMode = detailData.creativeDisplayMode;
|
|
this.configForm.creativeDisplayMode = detailData.creativeDisplayMode;
|
|
@@ -3670,6 +3685,10 @@ export default {
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
paramsFormData.creativeSceneInventory = paramsFormData.radioChangeValue;
|
|
paramsFormData.creativeSceneInventory = paramsFormData.radioChangeValue;
|
|
|
|
+ }else if (paramsFormData.adverPosition === 'd') {
|
|
|
|
+ paramsFormData.inventoryCatalog = 'UNIVERSAL';
|
|
|
|
+ paramsFormData.creativeSmartInventory = 'UNIVERSAL';
|
|
|
|
+ paramsFormData.adDeliveryRange = 'UNIVERSAL'
|
|
}
|
|
}
|
|
if (paramsFormData.launchTimeInterval === 'buxian') {
|
|
if (paramsFormData.launchTimeInterval === 'buxian') {
|
|
paramsFormData.adScheduleTime = '';
|
|
paramsFormData.adScheduleTime = '';
|
|
@@ -3712,6 +3731,12 @@ export default {
|
|
paramsFormData.adKeywords = this.creativeTag;
|
|
paramsFormData.adKeywords = this.creativeTag;
|
|
paramsFormData.copywritingNumber = paramsFormData.copywritingNumber?paramsFormData.copywritingNumber:0
|
|
paramsFormData.copywritingNumber = paramsFormData.copywritingNumber?paramsFormData.copywritingNumber:0
|
|
paramsFormData.userId = this.userInfo().id;
|
|
paramsFormData.userId = this.userInfo().id;
|
|
|
|
+ console.log(paramsFormData.creativeImageMode);
|
|
|
|
+ if (typeof paramsFormData.creativeImageMode == 'object'){
|
|
|
|
+ paramsFormData.creativeImageMode = paramsFormData.creativeImageMode.toString()
|
|
|
|
+ }
|
|
|
|
+ console.log(paramsFormData);
|
|
|
|
+
|
|
this.$refs.ruleForm.validate(valid => {
|
|
this.$refs.ruleForm.validate(valid => {
|
|
if (valid) {
|
|
if (valid) {
|
|
this.sureLoading = true;
|
|
this.sureLoading = true;
|