wjx 10 months ago
parent
commit
c570136650
1 changed files with 17 additions and 18 deletions
  1. 17 18
      src/pages/launchSystemV3/tencentAdPutIn/create/index.tsx

+ 17 - 18
src/pages/launchSystemV3/tencentAdPutIn/create/index.tsx

@@ -433,25 +433,24 @@ const Create: React.FC = () => {
             dynamicMaterialDTOS,
             dynamicMaterialDTOS,
             accountIdParamDTOMap
             accountIdParamDTOMap
         }
         }
-        console.log('----->', params)
         // setSubVisible(false)
         // setSubVisible(false)
-        // createAdgroupTask.run(params).then(res => {
-        //     if (res) {
-        //         Modal.success({
-        //             content: '任务提交成功',
-        //             bodyStyle: { fontWeight: 700 },
-        //             okText: '跳转任务列表',
-        //             closable: true,
-        //             onOk: () => {
-        //                 sessionStorage.setItem('CAMPV3', values?.taskName)
-        //                 window.location.href = '/#/launchSystemV3/tencentAdPutIn/taskList'
-        //             },
-        //             onCancel: () => {
-        //                 setSubVisible(false)
-        //             }
-        //         })
-        //     }
-        // })
+        createAdgroupTask.run(params).then(res => {
+            if (res) {
+                Modal.success({
+                    content: '任务提交成功',
+                    bodyStyle: { fontWeight: 700 },
+                    okText: '跳转任务列表',
+                    closable: true,
+                    onOk: () => {
+                        sessionStorage.setItem('CAMPV3', values?.taskName)
+                        window.location.href = '/#/launchSystemV3/tencentAdPutIn/taskList'
+                    },
+                    onCancel: () => {
+                        setSubVisible(false)
+                    }
+                })
+            }
+        })
     }
     }
 
 
     const clearData = () => {
     const clearData = () => {