|
@@ -428,13 +428,23 @@ const get_ruleConfig_info = async () => {
|
428
|
428
|
}
|
429
|
429
|
|
430
|
430
|
//监听创意素材点击了确定
|
|
431
|
+
|
431
|
432
|
watch(()=>cMaterial.fData.key,()=>{
|
432
|
|
- cMaterial.fData.list = _.cloneDeep(cMaterial.fData.list_copy)
|
433
|
|
- let num = cMaterial.fData.list&&cMaterial.fData.list.length
|
434
|
|
- updateHaveContent(6,num)
|
|
433
|
+ nextTick(()=>{
|
|
434
|
+ cMaterial.fData.list = _.cloneDeep(cMaterial.fData.list_copy)
|
|
435
|
+ let num = cMaterial.fData.list&&cMaterial.fData.list.length
|
|
436
|
+ updateHaveContent(6,num)
|
|
437
|
+ })
|
435
|
438
|
})
|
436
|
|
-
|
437
|
|
-
|
|
439
|
+ // watch(()=>cMaterial.key,()=>{
|
|
440
|
+ // console.log('cMaterial.key', cMaterial.key, cMaterial.list_copy)
|
|
441
|
+ // cMaterial.list = _.cloneDeep(cMaterial.list_copy)
|
|
442
|
+ // proxy?.ctx?.$forceUpdate();
|
|
443
|
+ // nextTick(()=>{
|
|
444
|
+ // let num = cMaterial.list&&cMaterial.list?.length
|
|
445
|
+ // updateHaveContent(6,num)
|
|
446
|
+ // })
|
|
447
|
+ // })
|
438
|
448
|
|
439
|
449
|
// 定向包
|
440
|
450
|
const DirectPacketExhibitionRef = ref<{get_echoAcId:()=>void,
|
|
@@ -445,6 +455,7 @@ const DirectPacketExhibitionRef = ref<{get_echoAcId:()=>void,
|
445
|
455
|
// 打开添加 / 编辑
|
446
|
456
|
const openDialogEvent = async (sub:any) => {
|
447
|
457
|
if( !judgeEvent( sub.id ) ) return; // 判断是否完成前一模块
|
|
458
|
+ console.log('编辑',sub)
|
448
|
459
|
if(sub.name == '定向包'){
|
449
|
460
|
nextTick(()=>{
|
450
|
461
|
if(DirectPacketExhibitionRef.value) { DirectPacketExhibitionRef.value[0]?.showDirectPacket() }
|
|
@@ -454,6 +465,7 @@ const openDialogEvent = async (sub:any) => {
|
454
|
465
|
})
|
455
|
466
|
}
|
456
|
467
|
if(sub.name == '广告基本信息'){
|
|
468
|
+ console.log('广告基本信息')
|
457
|
469
|
basicInfoData.visible = true;
|
458
|
470
|
}
|
459
|
471
|
if(sub.name == '创意基本信息'){
|