wjx 1 周之前
父節點
當前提交
ce011d823e

+ 19 - 1
src/pages/launchSystemV3/adqv3/ad/tableConfig.tsx

@@ -7,7 +7,7 @@ import { ADGROUP_STATUS, AUTO_ACQUISTION_STATUS, GOAL_ENUM } from '../const'
 import SwitchStatus from './switchStatus'
 import TimeSeriesLook from '@/pages/launchSystemNew/adq/ad/timeSeriesLook'
 import CreativePreview from '../../adMonitorListV3/CreativePreview'
-import { BID_MODE_ENUM, BID_SCENE_NORMAL_ENUM, MARKETING_CARRIER_TYPE_ENUM, MARKETING_GOAL_ENUM, MARKETING_TARGET_TYPE_ENUM, MARKETING_TARGET_TYPE_GAME_ENUM, OPTIMIZATIONGOAL_ENUM, SITE_SET_ENUM } from '../../tencentAdPutIn/const'
+import { BID_MODE_ENUM, BID_SCENE_NORMAL_ENUM, COST_GUARANTEE_STATUS_ENUM, MARKETING_CARRIER_TYPE_ENUM, MARKETING_GOAL_ENUM, MARKETING_TARGET_TYPE_ENUM, MARKETING_TARGET_TYPE_GAME_ENUM, OPTIMIZATIONGOAL_ENUM, SITE_SET_ENUM } from '../../tencentAdPutIn/const'
 function tableConfig(onChange: () => void, useType: string, creativeHandle?: (id: number) => void): any {
     return [
         {
@@ -264,6 +264,24 @@ function tableConfig(onChange: () => void, useType: string, creativeHandle?: (id
                 return a || '--'
             }
         },
+        {
+            title: '成本保障状态',
+            dataIndex: 'costGuaranteeStatus',
+            key: 'costGuaranteeStatus',
+            align: 'center',
+            width: 80,
+            ellipsis: true,
+            render: (a: any) => {
+                return COST_GUARANTEE_STATUS_ENUM[a as keyof typeof COST_GUARANTEE_STATUS_ENUM]
+            }
+        },
+        {
+            title: '成本保障赔付金额',
+            dataIndex: 'costGuaranteeMoney',
+            key: 'costGuaranteeMoney',
+            align: 'right',
+            width: 70
+        },
         {
             title: '创建时间',
             dataIndex: 'createdTime',

+ 7 - 5
src/pages/launchSystemV3/adqv3/config.ts

@@ -27,11 +27,13 @@ const txAdConfig = [
             { title: '是否开启自动版位功能', dataIndex: 'automaticSiteEnabled', label: '广告详情', default: 22, width: 80 },
             { title: '版位选择', dataIndex: 'siteSet', label: '广告详情', default: 23, width: 100 },
             { title: '定向条件描述', dataIndex: 'targetingTranslation', label: '广告详情', default: 24, width: 80 },
-            { title: '创建时间', dataIndex: 'createdTime', label: '广告详情', default: 25, width: 140 },
-            { title: '是否已删除', dataIndex: 'isDeleted', label: '广告详情', default: 26, width: 60 },
-            { title: '广告状态', dataIndex: 'systemStatus', label: '广告详情', default: 27, width: 80 },
-            { title: '创意预览', dataIndex: 'dynamicCreativeList', label: '广告详情', default: 28, width: 150 },
-            { title: '操作', dataIndex: 'cz', label: '广告详情', default: 29, width: 65 },
+            { title: '成本保障状态', dataIndex: 'costGuaranteeStatus', label: '广告详情', default: 25, width: 80 },
+            { title: '成本保障赔付金额', dataIndex: 'costGuaranteeMoney', label: '广告详情', default: 26, width: 80 },
+            { title: '创建时间', dataIndex: 'createdTime', label: '广告详情', default: 27, width: 140 },
+            { title: '是否已删除', dataIndex: 'isDeleted', label: '广告详情', default: 28, width: 60 },
+            { title: '广告状态', dataIndex: 'systemStatus', label: '广告详情', default: 29, width: 80 },
+            { title: '创意预览', dataIndex: 'dynamicCreativeList', label: '广告详情', default: 30, width: 150 },
+            { title: '操作', dataIndex: 'cz', label: '广告详情', default: 31, width: 65 },
         ]
     }
 ]

+ 15 - 4
src/pages/launchSystemV3/tencentAdPutIn/const.ts

@@ -89,13 +89,13 @@ export const marketingSubGoalGameList = [
 		label: '新游测试',
 		value: 'MARKETING_SUB_GOAL_NEW_GAME_TEST',
 		icon: require('../../../../public/image/newGameTest.png'),
-		iconSelected:  require('../../../../public/image/newGameTestSelected.png')
+		iconSelected: require('../../../../public/image/newGameTestSelected.png')
 	},
 	{
 		label: '新客增长',
 		value: 'MARKETING_SUB_GOAL_MINI_GAME_NEW_CUSTOMER_GROWTH',
 		icon: require('../../../../public/image/newGameUser.png'),
-		iconSelected:  require('../../../../public/image/newGameUserSelected.png')
+		iconSelected: require('../../../../public/image/newGameUserSelected.png')
 	}
 ]
 
@@ -145,6 +145,17 @@ export enum MARKETING_CARRIER_TYPE_ENUM {
 	MARKETING_CARRIER_TYPE_APP_IOS = 'IOS应用',
 }
 
+/** 成本保障状态 */
+export enum COST_GUARANTEE_STATUS_ENUM {
+	COST_GUARANTEE_STATUS_NONE = '无成本保障状态',
+	COST_GUARANTEE_STATUS_EFFECTIVE = '成本保障生效中',
+	COST_GUARANTEE_STATUS_FAILED = '成本保障已失效',
+	COST_GUARANTEE_STATUS_FINISHED = '成本保障已结束',
+	COST_GUARANTEE_STATUS_CONFIRMING = '成本保障确认中',
+	COST_GUARANTEE_STATUS_SUCCEEDED = '超成本赔付已完成',
+	COST_GUARANTEE_STATUS_FROZEN = '成本保障已冻结'
+}
+
 /** 腾讯新闻流量场景定向 */
 export enum TENCENT_NEWS_ENUM {
 	TENCENT_NEWS_APP = '腾讯新闻APP',
@@ -514,9 +525,9 @@ export enum USER_OS_ENUM {
 	ANDROID_VERSION_13 = "Android13.x",
 	ANDROID_VERSION_14 = "Android14.x",
 	HARMONY = 'Harmony',
-	WINDOWS = "Windows系统", 
+	WINDOWS = "Windows系统",
 	MAC = "Mac系统",
-	SYMBIAN = "塞班系统", 
+	SYMBIAN = "塞班系统",
 	// JAVA = "JAVA 系统"
 }