|
@@ -184,7 +184,7 @@ li.chouzhen.first:before {
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
</a-row>
|
|
</a-row>
|
|
- <a-row v-show="getData('campaignType','form') == 2">
|
|
|
|
|
|
+ <a-row v-show="getData('campaignType', 'form') == 2">
|
|
<a-col :xl="14" :md="24">
|
|
<a-col :xl="14" :md="24">
|
|
<a-form-item label="推广平台">
|
|
<a-form-item label="推广平台">
|
|
<a-radio-group
|
|
<a-radio-group
|
|
@@ -342,7 +342,7 @@ li.chouzhen.first:before {
|
|
<div v-if="groupTemplateId == null">无</div>
|
|
<div v-if="groupTemplateId == null">无</div>
|
|
|
|
|
|
<div v-else>
|
|
<div v-else>
|
|
- {{ unitInfo.deepConversionType }}
|
|
|
|
|
|
+ {{ setDeepConversionType(unitInfo.deepConversionType) }}
|
|
</div>
|
|
</div>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
@@ -358,7 +358,7 @@ li.chouzhen.first:before {
|
|
<div v-if="groupTemplateId == null">无</div>
|
|
<div v-if="groupTemplateId == null">无</div>
|
|
|
|
|
|
<div v-else>
|
|
<div v-else>
|
|
- {{ unitInfo.deepConversionBid / 1000 }}
|
|
|
|
|
|
+ {{ unitInfo.deepConversionBid }}
|
|
</div>
|
|
</div>
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
@@ -1036,7 +1036,7 @@ li.chouzhen.first:before {
|
|
v-if="
|
|
v-if="
|
|
groupTypeData &&
|
|
groupTypeData &&
|
|
(unitInfo.ocpxActionType == 180 || unitInfo.ocpxActionType == 53) &&
|
|
(unitInfo.ocpxActionType == 180 || unitInfo.ocpxActionType == 53) &&
|
|
- groupTypeData.deepConversionTypes.length > 0
|
|
|
|
|
|
+ groupTypeData.deepConversionTypes.length > 0
|
|
"
|
|
"
|
|
>
|
|
>
|
|
<a-col :span="16">
|
|
<a-col :span="16">
|
|
@@ -1090,6 +1090,36 @@ li.chouzhen.first:before {
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</a-col>
|
|
</a-col>
|
|
</a-row>
|
|
</a-row>
|
|
|
|
+ <a-row
|
|
|
|
+ :gutter="16"
|
|
|
|
+ v-if="
|
|
|
|
+ groupTypeData &&
|
|
|
|
+ (unitInfo.ocpxActionType == 180 || unitInfo.ocpxActionType == 53) &&
|
|
|
|
+ groupTypeData.deepConversionTypes.length > 0
|
|
|
|
+ "
|
|
|
|
+ >
|
|
|
|
+ <a-col :span="16">
|
|
|
|
+ <a-form-model-item label="深度转化出价">
|
|
|
|
+ <a-input-number
|
|
|
|
+ v-model="unitInfo.deepConversionBid"
|
|
|
|
+ style="width: 90%"
|
|
|
|
+ :min="unitInfo.bidMin ? unitInfo.bidMin : 0"
|
|
|
|
+ :precision="2"
|
|
|
|
+ />元
|
|
|
|
+ <br />
|
|
|
|
+ <span
|
|
|
|
+ v-if="
|
|
|
|
+ unitInfo.deepConversionBid &&
|
|
|
|
+ (unitInfo.bidMin || unitInfo.bidMin > 0) &&
|
|
|
|
+ (unitInfo.bidMax || unitInfo.bidMax > 0)
|
|
|
|
+ "
|
|
|
|
+ >按照两个出价得到的期望目标深度转化率为{{
|
|
|
|
+ (unitInfo.bidMin / unitInfo.deepConversionBid).toFixed(2) * 100
|
|
|
|
+ }}%~{{ (unitInfo.bidMax / unitInfo.deepConversionBid).toFixed(2) * 100 }}%</span
|
|
|
|
+ >
|
|
|
|
+ </a-form-model-item>
|
|
|
|
+ </a-col>
|
|
|
|
+ </a-row>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
@@ -2535,6 +2565,13 @@ export default {
|
|
this.createOptions = res.result
|
|
this.createOptions = res.result
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
+ this.getAction('/kuaishou/batch/getIsActivate', {
|
|
|
|
+ accountId: n,
|
|
|
|
+ }).then((res) => {
|
|
|
|
+ if (res.success) {
|
|
|
|
+ this.groupTypeData = res.result
|
|
|
|
+ }
|
|
|
|
+ })
|
|
this.getAction('/kuaishou/batch/getCreativeWordStyles', {
|
|
this.getAction('/kuaishou/batch/getCreativeWordStyles', {
|
|
accountId: n,
|
|
accountId: n,
|
|
}).then((res) => {
|
|
}).then((res) => {
|
|
@@ -2643,6 +2680,13 @@ export default {
|
|
this.createOptions = res.result
|
|
this.createOptions = res.result
|
|
}
|
|
}
|
|
})
|
|
})
|
|
|
|
+ this.getAction('/kuaishou/batch/getIsActivate', {
|
|
|
|
+ accountId: this.$route.query.accountId,
|
|
|
|
+ }).then((res) => {
|
|
|
|
+ if (res.success) {
|
|
|
|
+ this.groupTypeData = res.result
|
|
|
|
+ }
|
|
|
|
+ })
|
|
this.getAction('/kuaishou/batch/getCreativeWordStyles', {
|
|
this.getAction('/kuaishou/batch/getCreativeWordStyles', {
|
|
accountId: this.$route.query.accountId,
|
|
accountId: this.$route.query.accountId,
|
|
}).then((res) => {
|
|
}).then((res) => {
|
|
@@ -2867,6 +2911,13 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ setDeepConversionType(typeChange) {
|
|
|
|
+ // groupTypeData.deepConversionTypes
|
|
|
|
+ var data = this.groupTypeData.deepConversionTypes.filter((item) => {
|
|
|
|
+ return item.deepConversionType == typeChange
|
|
|
|
+ })
|
|
|
|
+ return data[0].desc
|
|
|
|
+ },
|
|
checkVideoFun() {
|
|
checkVideoFun() {
|
|
this.ipagination.current = 1
|
|
this.ipagination.current = 1
|
|
this.checkMatemalVisible = true
|
|
this.checkMatemalVisible = true
|
|
@@ -3649,11 +3700,11 @@ export default {
|
|
this.templateList = []
|
|
this.templateList = []
|
|
var params = {}
|
|
var params = {}
|
|
params.accountId = this.accountId
|
|
params.accountId = this.accountId
|
|
- if(this.getData('campaignType','form') == 2){
|
|
|
|
- params.platformOs = this.getData('systemType', 'form') == 'Android' ? 1 : 2
|
|
|
|
|
|
+ if (this.getData('campaignType', 'form') == 2) {
|
|
|
|
+ params.platformOs = this.getData('systemType', 'form') == 'Android' ? 1 : 2
|
|
}
|
|
}
|
|
|
|
|
|
- this.getAction('/batch/kuaishouTemplate/list',params).then((res) => {
|
|
|
|
|
|
+ this.getAction('/batch/kuaishouTemplate/list', params).then((res) => {
|
|
this.loading = false
|
|
this.loading = false
|
|
if (res.success) {
|
|
if (res.success) {
|
|
this.templateList = res.result
|
|
this.templateList = res.result
|
|
@@ -3911,6 +3962,7 @@ export default {
|
|
bid: this.unitInfo.bid ? this.unitInfo.bid * 1000 : null,
|
|
bid: this.unitInfo.bid ? this.unitInfo.bid * 1000 : null,
|
|
bidMax: this.unitInfo.bidMax ? this.unitInfo.bidMax * 1000 : null,
|
|
bidMax: this.unitInfo.bidMax ? this.unitInfo.bidMax * 1000 : null,
|
|
bidMin: this.unitInfo.bidMin ? this.unitInfo.bidMin * 1000 : null,
|
|
bidMin: this.unitInfo.bidMin ? this.unitInfo.bidMin * 1000 : null,
|
|
|
|
+ bidMin: this.unitInfo.deepConversionBid ? this.unitInfo.deepConversionBid * 1000 : null,
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
this.$message.error('请填写组内容')
|
|
this.$message.error('请填写组内容')
|
|
@@ -4264,7 +4316,7 @@ export default {
|
|
params.bid = this.unitInfo.bid ? this.unitInfo.bid * 1000 : 0
|
|
params.bid = this.unitInfo.bid ? this.unitInfo.bid * 1000 : 0
|
|
params.bidMax = this.unitInfo.bidMax ? this.unitInfo.bidMax * 1000 : 0
|
|
params.bidMax = this.unitInfo.bidMax ? this.unitInfo.bidMax * 1000 : 0
|
|
params.bidMin = this.unitInfo.bidMin ? this.unitInfo.bidMin * 1000 : 0
|
|
params.bidMin = this.unitInfo.bidMin ? this.unitInfo.bidMin * 1000 : 0
|
|
-
|
|
|
|
|
|
+ params.deepConversionBid = this.unitInfo.deepConversionBid ? this.unitInfo.deepConversionBid * 1000 : 0
|
|
// allianceAccount: '1',
|
|
// allianceAccount: '1',
|
|
// dayBudgetType: '1',
|
|
// dayBudgetType: '1',
|
|
// unitTime: '1',
|
|
// unitTime: '1',
|