|
@@ -74,25 +74,25 @@
|
|
|
</a-form-item>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <!-- <div class="row-item">
|
|
|
+ <div class="row-item">
|
|
|
<div class="hint-item"> </div>
|
|
|
<div class="label-item">
|
|
|
<div class="text-item"></div>
|
|
|
</div>
|
|
|
<div class="input-item">
|
|
|
<a-form-item>
|
|
|
- <a-tag color="#2db7f5" @click="getChangeAll('定向包', 'form', 'campaignName')"
|
|
|
- >+定向包</a-tag
|
|
|
+ <a-tag color="#2db7f5" @click="getChangeAll('日期', 'form', 'campaignName')"
|
|
|
+ >+日期</a-tag
|
|
|
>
|
|
|
- <a-tag color="#2db7f5" @click="getChangeAll('应用包名', 'form', 'campaignName')"
|
|
|
+ <!-- <a-tag color="#2db7f5" @click="getChangeAll('应用包名', 'form', 'campaignName')"
|
|
|
>+应用包名</a-tag
|
|
|
>
|
|
|
<a-tag color="#2db7f5" @click="getChangeAll('自定义', 'form', 'campaignName')"
|
|
|
>+自定义</a-tag
|
|
|
- >
|
|
|
+ > -->
|
|
|
</a-form-item>
|
|
|
</div>
|
|
|
- </div> -->
|
|
|
+ </div>
|
|
|
|
|
|
<div class="row-item">
|
|
|
<div class="hint-item"> </div>
|
|
@@ -154,24 +154,26 @@
|
|
|
<div class="text-item"></div>
|
|
|
</div>
|
|
|
<div class="input-item">
|
|
|
- <a-form-item>
|
|
|
+ <a-form-item>
|
|
|
+ <a-tag color="#2db7f5" @click="getChangeAll('日期', 'form', 'groupName')">+日期</a-tag>
|
|
|
+ <a-tag color="#2db7f5" @click="getChangeAll('素材名称', 'form', 'groupName')">+素材名称</a-tag>
|
|
|
<!-- <a-tag color="#2db7f5" @click="getChangeAll('定向包', 'form', 'groupName')"
|
|
|
>+定向包</a-tag
|
|
|
> -->
|
|
|
<!-- <a-tag color="#2db7f5" @click="getChangeAll('日期', 'form', 'groupName')">+日期</a-tag>
|
|
|
<a-tag color="#2db7f5" @click="getChangeAll('标号', 'form', 'groupName')">+标号</a-tag> -->
|
|
|
- <!-- <a-tag color="#2db7f5" @click="getChangeAll('应用包名', 'form', 'groupName')"
|
|
|
+ <a-tag color="#2db7f5" @click="getChangeAll('应用包名', 'form', 'groupName')"
|
|
|
>+应用包名</a-tag
|
|
|
- > -->
|
|
|
+ >
|
|
|
<a-tag color="#2db7f5" @click="getChangeAll('创意制作方式', 'form', 'groupName')"
|
|
|
>+创意制作方式</a-tag
|
|
|
>
|
|
|
<a-tag color="#2db7f5" @click="getChangeAll('广告位置', 'form', 'groupName')"
|
|
|
>+广告位置</a-tag
|
|
|
>
|
|
|
- <a-tag color="#2db7f5" @click="getChangeAll('自定义', 'form', 'groupName')"
|
|
|
+ <!-- <a-tag color="#2db7f5" @click="getChangeAll('自定义', 'form', 'groupName')"
|
|
|
>+自定义</a-tag
|
|
|
- >
|
|
|
+ > -->
|
|
|
</a-form-item>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -1568,7 +1570,7 @@
|
|
|
<a-modal v-model="convert" title="选择转化目标">
|
|
|
<template slot="footer">
|
|
|
<a-button key="back" @click="convert=false">取消</a-button>
|
|
|
- <a-button key="submit" type="primary" @click="convert=false">
|
|
|
+ <a-button key="submit" type="primary" @click="convertOk">
|
|
|
确定
|
|
|
</a-button>
|
|
|
</template>
|
|
@@ -2011,6 +2013,16 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
methods: {
|
|
|
+ convertOk() {
|
|
|
+ var dataLink = []
|
|
|
+ dataLink = this.convertList.filter((item) => {
|
|
|
+ return item.convert_id == this.convertId.key
|
|
|
+ })
|
|
|
+ if (dataLink.length > 0) {
|
|
|
+ this.form.setFieldsValue({ clickTrackUrl: dataLink[0].click_url })
|
|
|
+ this.convert = false
|
|
|
+ }
|
|
|
+ },
|
|
|
getDataType(type, dataList) {
|
|
|
getAction('/kuaishou/batch/getTargetList', { tagType: type }).then((res) => {
|
|
|
if (res.success) {
|
|
@@ -2693,7 +2705,7 @@ export default {
|
|
|
values.agesRange=this.agesRange[0]==1?JSON.stringify([]):JSON.stringify(this.agesRange)
|
|
|
values.region=JSON.stringify(this.region);
|
|
|
|
|
|
- values.convertId=this.convertId==''?undefined:this.convertId;
|
|
|
+ values.convertId=this.convertId==''?undefined:this.convertId.key;
|
|
|
values.appInterest = JSON.stringify(values.appInterest)
|
|
|
|
|
|
if (this.appType == '2') {
|