|
@@ -111,7 +111,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>
|
|
|
+ <a-button key="submit" type="primary" @click="convertOk"> 确定 </a-button>
|
|
|
</template>
|
|
|
<a-form-item
|
|
|
label="追踪方式"
|
|
@@ -1197,7 +1197,7 @@ export default {
|
|
|
checkVideo: [],
|
|
|
checkVideoAll: [],
|
|
|
checkVideoWai: [],
|
|
|
- checkVideoWhole:[],
|
|
|
+ checkVideoWhole: [],
|
|
|
dataSource: [],
|
|
|
active: 0,
|
|
|
time: [],
|
|
@@ -1274,6 +1274,7 @@ export default {
|
|
|
description: '',
|
|
|
},
|
|
|
convertType: '1',
|
|
|
+ convertAllList: [],
|
|
|
dataList: [],
|
|
|
clickTrackUrlShow: false,
|
|
|
clickTrackUrlShowType: '1',
|
|
@@ -1896,6 +1897,16 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
+ convertOk() {
|
|
|
+ var dataLink = []
|
|
|
+ dataLink = this.convertAllList.filter((item) => {
|
|
|
+ return item.convert_id == this.convertId.key
|
|
|
+ })
|
|
|
+ if (dataLink.length > 0) {
|
|
|
+ this.form.setFieldsValue({ clickTrackUrl: dataLink[0].click_url })
|
|
|
+ this.convert = false
|
|
|
+ }
|
|
|
+ },
|
|
|
showConvert() {
|
|
|
this.convertChange()
|
|
|
if (this.campaignType == 2) {
|
|
@@ -1930,6 +1941,7 @@ export default {
|
|
|
convert_id: item.convert_id + '',
|
|
|
}
|
|
|
})
|
|
|
+ this.convertAllList.push(...this.convertList)
|
|
|
}
|
|
|
})
|
|
|
},
|
|
@@ -1947,7 +1959,7 @@ export default {
|
|
|
unitNameCheck: false,
|
|
|
deepConversionType: '',
|
|
|
deepConversionBid: '',
|
|
|
- ocpxActionType: this.allForm.groupTypeData.isActivate == '1' ? 180 : 2,
|
|
|
+ ocpxActionType: this.allForm.groupTypeData.isActivate == '1' ? 180 : 2,
|
|
|
})
|
|
|
},
|
|
|
resData(index) {
|