|
@@ -141,16 +141,16 @@
|
141
|
141
|
<template
|
142
|
142
|
v-if="(form.bid_mode == 'BID_MODE_OCPM' || form.bid_mode == 'BID_MODE_OCPC') && form.conversion_tracking_enabled == 1">
|
143
|
143
|
<!-- 上报方式 -->
|
144
|
|
- <MyRadio :info="scheduleBidInfo.conversion_tracking_report_type"
|
145
|
|
- :fillBack="props.dataFillBack['conversion_tracking_report_type']"
|
146
|
|
- @change="(val) => { onChangeKey({ val: val['conversion_tracking_report_type'], key: 'conversion_tracking_report_type' }) }">
|
|
144
|
+ <MyRadio :info="scheduleBidInfo.access_type"
|
|
145
|
+ :fillBack="props.dataFillBack['access_type']"
|
|
146
|
+ @change="(val) => { onChangeKey({ val: val['access_type'], key: 'access_type' }) }">
|
147
|
147
|
</MyRadio>
|
148
|
148
|
<!-- 归因方式 -->
|
149
|
|
- <MyRadio :info="scheduleBidInfo.conversion_tracking_way" :fillBack="form.conversion_tracking_way"
|
|
149
|
+ <MyRadio :info="scheduleBidInfo.claim_type" :fillBack="form.claim_type"
|
150
|
150
|
@change="radioChange"></MyRadio>
|
151
|
151
|
<!-- 转化场景 -->
|
152
|
|
- <MyRadio v-if="form.conversion_tracking_report_type == 1" :info="scheduleBidInfo.conversion_tracking_scene"
|
153
|
|
- @change="radioChange" :fillBack="props.dataFillBack['conversion_tracking_scene']"></MyRadio>
|
|
152
|
+ <MyRadio v-if="form.access_type == 'ACCESS_TYPE_API'" :info="scheduleBidInfo.conversion_scene"
|
|
153
|
+ @change="radioChange" :fillBack="props.dataFillBack['conversion_scene']"></MyRadio>
|
154
|
154
|
</template>
|
155
|
155
|
<!-- 优化目标 -->
|
156
|
156
|
<MySelect v-if="form.bid_mode == 'BID_MODE_OCPM' || form.bid_mode == 'BID_MODE_OCPC'" :goalType="1"
|
|
@@ -329,7 +329,7 @@
|
329
|
329
|
</template>
|
330
|
330
|
<script setup lang="ts">
|
331
|
331
|
import { ref, reactive, watch, onBeforeMount, computed, nextTick } from 'vue'
|
332
|
|
-import { basicInfoJson, scheduleBid, conversion_tracking_way, short_play_pay_type } from './ts/information'
|
|
332
|
+import { basicInfoJson, scheduleBid, claim_type, short_play_pay_type } from './ts/information'
|
333
|
333
|
import { specificPositionAll, expand_targeting, unbreakable_targeting } from './ts/other'
|
334
|
334
|
import { scene, wechatScene, positionMapping, search_expand_targeting_switch } from './ts/scene'
|
335
|
335
|
import { FillBackData } from './ts/fillBack'
|
|
@@ -690,13 +690,13 @@ const onChangeKey = ({ val, key }) => {
|
690
|
690
|
scheduleBidInfo.daily_budget_radio.data.list[0].disabled = false;
|
691
|
691
|
scheduleBidInfo.daily_budget_radio.data.list[0].note = '';
|
692
|
692
|
}
|
693
|
|
- } else if (key == 'conversion_tracking_report_type') { //上报方式
|
|
693
|
+ } else if (key == 'access_type') { //上报方式
|
694
|
694
|
form[key] = val;
|
695
|
|
- if (form['conversion_tracking_report_type'] == '2') {
|
696
|
|
- scheduleBidInfo.conversion_tracking_way.data.list = [conversion_tracking_way[0]]
|
697
|
|
- form.conversion_tracking_way = conversion_tracking_way[0].value
|
|
695
|
+ if (form['access_type'] == 'ACCESS_TYPE_JS') {
|
|
696
|
+ scheduleBidInfo.claim_type.data.list = [claim_type[0]]
|
|
697
|
+ form.claim_type = claim_type[0].value
|
698
|
698
|
} else {
|
699
|
|
- scheduleBidInfo.conversion_tracking_way.data.list = conversion_tracking_way
|
|
699
|
+ scheduleBidInfo.claim_type.data.list = claim_type
|
700
|
700
|
}
|
701
|
701
|
} else if (key == 'smart_bid_type') { //出价类型
|
702
|
702
|
form[key] = val;
|
|
@@ -873,6 +873,7 @@ watch([
|
873
|
873
|
() => form.attribution_type, // 1 全网 2精准
|
874
|
874
|
() => form.conversion_tracking_enabled //0 关闭 1开启
|
875
|
875
|
], (newValue, oldValue) => {
|
|
876
|
+ console.log('attribution_type & conversion_tracking_enabled newValue => ', newValue)
|
876
|
877
|
if (newValue[0] == 2) {
|
877
|
878
|
form.conversion_tracking_enabled = '0'
|
878
|
879
|
scheduleBidInfo.conversion_tracking_enabled.data.list[1].disabled = true
|