wjx 2 年之前
父节点
当前提交
2781a3e9be

+ 5 - 3
src/pages/adMonitor/adMonitorList/config.ts

@@ -195,7 +195,7 @@ const guanggao = [
     {
         label: '设置信息',
         data: [
-            { title: '数据日期', dataIndex: 'beginToEnd', label: '设置信息', default: 1, width: 95 },
+            { title: '数据日期', dataIndex: 'beginToEnd', label: '设置信息', default: 1, width: 100 },
             { title: '广告名称/ID', dataIndex: 'adgroupName', label: '设置信息', default: 2 },
             { title: '投放计划名称/ID', dataIndex: 'campaignName/campaignId', label: '设置信息', default: 3 },
             { title: '创意名称/ID', dataIndex: 'creativeName/creativeId', label: '设置信息', default: 4 },
@@ -212,7 +212,7 @@ const guanggao = [
             // { title: '当日成本偏差', dataIndex: 'dayCostOffset', label: '设置信息' },
             { title: '推广目标', dataIndex: 'promotedObjectType', label: '设置信息', default: 9 },
             // { title: '深度优化目标', dataIndex: 'depthOptimizeTarget', label: '设置信息' },
-            { title: '操作', dataIndex: 'event', label: '设置信息', default: 13, width: 60 },
+            { title: '操作', dataIndex: 'event', label: '设置信息', default: 13, width: 45 },
         ]
     },
     {
@@ -222,7 +222,7 @@ const guanggao = [
             { title: '出价方式', dataIndex: 'bidMode', label: '费用' },
             { title: '当前出价', dataIndex: 'bidAmount', label: '费用' },
             // { title: '计划预算', dataIndex: 'planBudget', label: '费用', default: 19 },
-            { title: '广告总消耗', dataIndex: 'costTotal', label: '费用' },
+            { title: '广告总消耗', dataIndex: 'cost', label: '费用' },
             // { title: '今日消耗', dataIndex: 'todayCostTotal', label: '费用' },
             { title: '单位时间消耗速度(元/小时)', dataIndex: 'costSpeed', label: '费用', default: 11, width: 80 },
         ]
@@ -240,6 +240,7 @@ const guanggao = [
             { title: '点击量(点击次数)', dataIndex: 'clickCount', label: '点击', width: 75 },
             { title: '点击均价', dataIndex: 'avgClickAmount', label: '点击', width: 75 },
             { title: '点击率', dataIndex: 'clickRate', label: '点击', default: 12, width: 70 },
+            { title: '不感兴趣点击次数', dataIndex: 'noInterestCount', label: '点击', width: 85 },
         ]
     },
     {
@@ -249,6 +250,7 @@ const guanggao = [
             { title: '转化目标量', dataIndex: 'conversionsCount', label: '转化指标组', width: 75 },
             { title: '转化目标成本', dataIndex: 'conversionsCost', label: '转化指标组', width: 75 },
             { title: '目标转化率', dataIndex: 'conversionsRate', label: '转化指标组', width: 75 },
+            { title: '深度转化量', dataIndex: 'deepConversionsCount', label: '转化指标组', width: 75 },
         ]
     },
     {

+ 28 - 6
src/pages/adMonitor/adMonitorList/tablePlanListConfig.tsx

@@ -24,7 +24,7 @@ function columnsMonitor(details: (id: number) => void) {
                 ellipsis: true,
                 render: (str: any, b: any) => {
                     return <div style={{ display: 'flex', flexFlow: 'column nowrap', fontSize: 12 }}>
-                        <div style={{ color: '#459ae9', fontSize: 10 }}>{b.adgroupName}</div>
+                        <div style={{ color: '#459ae9', fontSize: 10 }} className='oneText'>{b.adgroupName}</div>
                         <div style={{ color: '#888' }}>广告ID:{b?.adgroupId}</div>
                     </div>
                 }
@@ -38,7 +38,7 @@ function columnsMonitor(details: (id: number) => void) {
                 ellipsis: true,
                 render: (str: any, b: any) => {
                     return <div style={{ display: 'flex', flexFlow: 'column nowrap', fontSize: 12 }}>
-                        <div style={{ color: '#459ae9', fontSize: 10 }}>{b.campaignName}</div>
+                        <div style={{ color: '#459ae9', fontSize: 10 }} className='oneText'>{b.campaignName}</div>
                         <div style={{ color: '#888' }}>计划ID:{b?.campaignId}</div>
                     </div>
                 }
@@ -51,7 +51,7 @@ function columnsMonitor(details: (id: number) => void) {
                 width: 210,
                 render: (str: any, b: any) => {
                     return <div style={{ display: 'flex', flexFlow: 'column nowrap', fontSize: 12 }}>
-                        <div style={{ color: '#459ae9', fontSize: 10 }}>{b.creativeName}</div>
+                        <div style={{ color: '#459ae9', fontSize: 10 }} className='oneText'>{b.creativeName}</div>
                         <div style={{ color: '#888' }}>创意ID:{b?.creativeId}</div>
                     </div>
                 }
@@ -171,7 +171,7 @@ function columnsMonitor(details: (id: number) => void) {
                 align: 'center',
                 width: 80,
                 render: (a: any) => {
-                    return TUIGUANGMUBIAO[a] || '推广公众号'
+                    return <div className='oneText'>{TUIGUANGMUBIAO[a] || '推广公众号'}</div>
                 }
             },
             // {
@@ -226,8 +226,8 @@ function columnsMonitor(details: (id: number) => void) {
             // },
             {
                 title: '广告总消耗',
-                dataIndex: 'costTotal',
-                key: 'costTotal',
+                dataIndex: 'cost',
+                key: 'cost',
                 align: 'center',
                 width: 100,
                 sorter: true,
@@ -315,6 +315,17 @@ function columnsMonitor(details: (id: number) => void) {
                     return a + '%'
                 }
             },
+            {
+                title: '不感兴趣点击次数',
+                dataIndex: 'noInterestCount',
+                key: 'noInterestCount',
+                align: 'center',
+                width: 70,
+                sorter: true,
+                render: (a: number) => {
+                    return <span style={a <= 8 ? { color: '#0f990f', fontWeight: 600 } : a >= 100 ? { color: 'red', fontWeight: 600 } : {}}> {a || '--'}</span >
+                },
+            },
             {
                 title: '优化目标',
                 dataIndex: 'optimizationGoal',
@@ -361,6 +372,17 @@ function columnsMonitor(details: (id: number) => void) {
                     return a + '%'
                 }
             },
+            {
+                title: '深度转化量',
+                dataIndex: 'deepConversionsCount',
+                key: 'deepConversionsCount',
+                align: 'center',
+                width: 115,
+                sorter: true,
+                render: (a: any) => {
+                    return <Statistic value={a || 0} />
+                }
+            },
             {
                 title: '下单量',
                 dataIndex: 'orderCount',