|
@@ -1078,7 +1078,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <div class="row-item" v-if="getFormData('bidType')==10">
|
|
|
+ <div class="row-item" v-if="getFormData('bidType')==10&&getFormData('ocpxActionType')!= 191">
|
|
|
<div class="hint-item">
|
|
|
</div>
|
|
|
<div class="label-item">
|
|
@@ -1102,6 +1102,31 @@
|
|
|
>请输入点击出价,不少于0.1元,不超过10000元</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="row-item" v-if="getFormData('bidType')==10&&getFormData('ocpxActionType') == 191">
|
|
|
+ <div class="hint-item">
|
|
|
+ </div>
|
|
|
+ <div class="label-item">
|
|
|
+ <div class="text-item">ROI系数</div>
|
|
|
+ <div class="required-item"></div>
|
|
|
+ </div>
|
|
|
+ <div class="input-item">
|
|
|
+ <a-form-item>
|
|
|
+ <a-input-number
|
|
|
+ style="width:200px"
|
|
|
+ :max="100"
|
|
|
+ :min="0"
|
|
|
+ :step="0.01"
|
|
|
+ v-decorator="['roiRatio', { rules: [{ required: true, message: 'ROI系数必填' }] }]"
|
|
|
+ />
|
|
|
+ <span style="margin-left:5px">元</span>
|
|
|
+
|
|
|
+ </a-form-item>
|
|
|
+ <span
|
|
|
+ class="tip"
|
|
|
+ v-if="getFormData('cpaBid')<0.1"
|
|
|
+ >请输入点击出价,不少于0.1元,不超过10000元</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
|
|
|
<div class="row-item" v-if="(getFormData('ocpxActionType') == 180 || getFormData('ocpxActionType') == 53) && groupTypeData.deepConversionTypes && groupTypeData.deepConversionTypes.length > 0 ">
|
|
|
<div class="hint-item">
|
|
@@ -2512,14 +2537,18 @@ export default {
|
|
|
this.loading=false;
|
|
|
if(res.success){
|
|
|
res.result.forEach((ele)=>{
|
|
|
- ele.key=ele.orientationId
|
|
|
- ele.id= ele.orientationId
|
|
|
- ele.name=ele.orientationName+"("+ele.orientationId+")"
|
|
|
- // ele.accountName=this.accountInfo.title
|
|
|
- ele.accountId=this.accountId
|
|
|
+
|
|
|
+ ele.key=ele.orientationId
|
|
|
+ ele.id= ele.orientationId
|
|
|
+ ele.name=ele.orientationName+"("+ele.orientationId+")"
|
|
|
+ // ele.accountName=this.accountInfo.title
|
|
|
+ ele.accountId=this.accountId
|
|
|
})
|
|
|
// this.retargetData=res.data;
|
|
|
this.retargetDataAll=[...this.retargetDataAll,...res.result];
|
|
|
+ this.retargetDataAll = this.retargetDataAll.filter(item=>{
|
|
|
+ return item.populationType !== 7
|
|
|
+ })
|
|
|
|
|
|
}
|
|
|
})
|
|
@@ -2747,9 +2776,13 @@ export default {
|
|
|
}
|
|
|
if(values.cpaBid){
|
|
|
values.cpaBid=parseInt(values.cpaBid*1000)
|
|
|
+ }else{
|
|
|
+ values.cpaBid=0
|
|
|
}
|
|
|
if(values.deepConversionBid){
|
|
|
values.deepConversionBid=parseInt(values.deepConversionBid*1000)
|
|
|
+ }else{
|
|
|
+ values.deepConversionBid=0
|
|
|
}
|
|
|
|
|
|
if(values.creativeCategory&&values.creativeCategory.length>0){
|
|
@@ -3079,7 +3112,8 @@ export default {
|
|
|
devicePrice:res.result.devicePrice?JSON.parse(res.result.devicePrice):[],
|
|
|
useAppMarket:res.result.useAppMarket==1?true:false,
|
|
|
campaignDayBudget:res.result.campaignDayBudget?res.result.campaignDayBudget/1000:null,
|
|
|
- unitDayBudget:res.result.unitDayBudget?res.result.unitDayBudget/1000:null
|
|
|
+ unitDayBudget:res.result.unitDayBudget?res.result.unitDayBudget/1000:null,
|
|
|
+
|
|
|
|
|
|
})
|
|
|
},0)
|
|
@@ -3091,7 +3125,8 @@ export default {
|
|
|
schemaUri:res.result.schemaUri,
|
|
|
appId:res.result.singleAppid?JSON.parse(res.result.appIdArray)[0]:JSON.parse(res.result.appIdArray),
|
|
|
|
|
|
- appInterest:res.result.appInterest
|
|
|
+ appInterest:res.result.appInterest,
|
|
|
+ roiRatio:res.result.roiRatio?res.result.roiRatio:null,
|
|
|
})
|
|
|
|
|
|
},100)
|
|
@@ -3198,15 +3233,19 @@ export default {
|
|
|
this.loading=false;
|
|
|
if(res.success){
|
|
|
res.result.forEach((ele)=>{
|
|
|
- ele.key=ele.orientationId
|
|
|
- ele.id= ele.orientationId
|
|
|
- ele.name=ele.orientationName+"("+ele.orientationId+")"
|
|
|
- ele.accountName=this.accountInfo.title
|
|
|
- ele.accountId=this.accountId
|
|
|
+ ele.key=ele.orientationId
|
|
|
+ ele.id= ele.orientationId
|
|
|
+ ele.name=ele.orientationName+"("+ele.orientationId+")"
|
|
|
+ ele.accountName=this.accountInfo.title
|
|
|
+ ele.accountId=this.accountId
|
|
|
+
|
|
|
})
|
|
|
// this.retargetData=res.data;
|
|
|
// this.retargetDataAll=[...this.retargetDataAll,...res.result];
|
|
|
this.retargetDataAll=[...res.result];
|
|
|
+ this.retargetDataAll = this.retargetDataAll.filter(item=>{
|
|
|
+ return item.populationType !== 7
|
|
|
+ })
|
|
|
|
|
|
}
|
|
|
})
|