|
@@ -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 = () => {
|