wjx 2 years ago
parent
commit
75558558ff

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

@@ -16,7 +16,7 @@ const qiliangpaihang = [
             // { title: '深度优化目标', dataIndex: 'depthOptimizeTarget', label: '设置信息' },
             // { title: '曝光评估', dataIndex: 'impressionAppraise', label: '设置信息' },
             { title: '投放时间', dataIndex: 'adBeginTime', label: '设置信息', default: 12, width: 135 },
-            { title: '广告状态', dataIndex: 'adStatus', label: '设置信息' },
+            { title: '广告状态', dataIndex: 'adStatus', label: '设置信息', width: 65 },
             // { title: '创意状态', dataIndex: 'adCreativeStatus', label: '设置信息' },
             { title: '推广目标', dataIndex: 'promotedObjectType', label: '设置信息' },
             // { title: '购买类型', dataIndex: 'adBuyType', label: '设置信息' },
@@ -112,7 +112,7 @@ const qiliangpaihangminute = [
             // { title: '深度优化目标', dataIndex: 'depthOptimizeTarget', label: '设置信息' },
             // { title: '曝光评估', dataIndex: 'impressionAppraise', label: '设置信息' },
             { title: '投放时间', dataIndex: 'adBeginTime', label: '设置信息', default: 12, width: 135 },
-            { title: '广告状态', dataIndex: 'adStatus', label: '设置信息' },
+            { title: '广告状态', dataIndex: 'adStatus', label: '设置信息', width: 65 },
             // { title: '创意状态', dataIndex: 'adCreativeStatus', label: '设置信息' },
             { title: '推广目标', dataIndex: 'promotedObjectType', label: '设置信息' },
             // { title: '购买类型', dataIndex: 'adBuyType', label: '设置信息' },
@@ -203,7 +203,7 @@ const guanggao = [
             { title: '广告账户', dataIndex: 'accountId', label: '设置信息', default: 5, width: 70 },
             { title: '投手', dataIndex: 'putUserName', label: '设置信息', default: 6 },
             { title: '创建日期', dataIndex: 'adCreateTime', label: '设置信息' },
-            { title: '广告状态', dataIndex: 'adStatus', label: '设置信息', default: 7, width: 75 },
+            { title: '广告状态', dataIndex: 'adStatus', label: '设置信息', default: 7, width: 65 },
             // { title: '创意状态', dataIndex: 'adCreativeStatus', label: '设置信息', default: 11 },
             // { title: '购买类型', dataIndex: 'adBuyType', label: '设置信息' },
             // { title: '自动扩量', dataIndex: 'autoExpand', label: '设置信息' },

+ 2 - 2
src/pages/adMonitor/adMonitorList/tableMonitorConfig.tsx

@@ -572,7 +572,7 @@ function columnsMonitor(planDetail: (id: number) => void, getDetailList: (adId:
                 width: 115,
                 sorter: true,
                 render: (a: any) => {
-                    a = a ? parseFloat((a).toFixed(2)) : 0
+                    a = a ? parseFloat((a * 100).toFixed(2)) : 0
                     return a + '%'
                 }
             },
@@ -584,7 +584,7 @@ function columnsMonitor(planDetail: (id: number) => void, getDetailList: (adId:
                 width: 115,
                 sorter: true,
                 render: (a: any) => {
-                    a = a ? parseFloat((a).toFixed(2)) : 0
+                    a = a ? parseFloat((a * 100).toFixed(2)) : 0
                     return a + '%'
                 }
             },

+ 2 - 2
src/pages/adMonitor/adMonitorList/tablePlanListConfig.tsx

@@ -470,7 +470,7 @@ function columnsMonitor(details: (id: number) => void) {
                 width: 115,
                 sorter: true,
                 render: (a: any) => {
-                    a = a ? parseFloat((a).toFixed(2)) : 0
+                    a = a ? parseFloat((a * 100).toFixed(2)) : 0
                     return a + '%'
                 }
             },
@@ -482,7 +482,7 @@ function columnsMonitor(details: (id: number) => void) {
                 width: 115,
                 sorter: true,
                 render: (a: any) => {
-                    a = a ? parseFloat((a).toFixed(2)) : 0
+                    a = a ? parseFloat((a * 100).toFixed(2)) : 0
                     return a + '%'
                 }
             },