|
@@ -269,12 +269,16 @@ const submitEvent = (isMultiplex?: boolean, multiplexApiForm:any[] = []) => {
|
269
|
269
|
form[i].copywriting = [`创意形式:${adTemplateItem.value.adcreative_template_appellation}`]
|
270
|
270
|
}
|
271
|
271
|
}
|
|
272
|
+ let wechat_flag = adTemplateItem.value?.site_set?.includes('SITE_SET_CHANNELS');//是否存在视频号版位
|
272
|
273
|
apiFormList.value.forEach((item) => {
|
273
|
274
|
item['site_set'] = site_set.value
|
274
|
275
|
item['promoted_object_type'] = props.promoted_object_type
|
275
|
276
|
item['adcreative_template_id'] = adTemplateItem.value.adcreative_template_id
|
|
277
|
+ if(wechat_flag){ // 有视频号版位 说明 没有头像及昵称跳转页
|
|
278
|
+ item['profile_id'] = 0
|
|
279
|
+ item['head_click_type'] = 'HEAD_CLICK_TYPE_LIVE_PROFILE'
|
|
280
|
+ }
|
276
|
281
|
})
|
277
|
|
-
|
278
|
282
|
Promise.all(promise_arr).then((res) => {
|
279
|
283
|
console.log(form, '------apiFormList-------', apiFormList.value)
|
280
|
284
|
for (let i = 0; i < res?.length; i++) {
|
|
@@ -454,6 +458,7 @@ const initEvent = () => {
|
454
|
458
|
} else {
|
455
|
459
|
site_set.value = props.adBasicInfo.site_ids.split(',')
|
456
|
460
|
}
|
|
461
|
+ console.log('site_ids',site_set.value)
|
457
|
462
|
loading.value = true;
|
458
|
463
|
getAdcreativeTemplateList({
|
459
|
464
|
account_ids: props.accIdsList.map((v) => v.id),
|