|
@@ -3859,7 +3859,7 @@ export default {
|
|
e.preventDefault()
|
|
e.preventDefault()
|
|
this.form.validateFields((err, values) => {
|
|
this.form.validateFields((err, values) => {
|
|
if (!err) {
|
|
if (!err) {
|
|
- this.sumbitLoading = true
|
|
|
|
|
|
+
|
|
var params = {}
|
|
var params = {}
|
|
params.batchId = new Date().getTime()
|
|
params.batchId = new Date().getTime()
|
|
if (this.getData('newClick', 'form') == '2') {
|
|
if (this.getData('newClick', 'form') == '2') {
|
|
@@ -3883,6 +3883,7 @@ export default {
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
this.$message.error('请填写规则的内容')
|
|
this.$message.error('请填写规则的内容')
|
|
|
|
+ this.sumbitLoading = false
|
|
return
|
|
return
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -3910,6 +3911,7 @@ export default {
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
this.$message.error('请填写组内容')
|
|
this.$message.error('请填写组内容')
|
|
|
|
+ this.sumbitLoading = false
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
|
|
@@ -3922,6 +3924,7 @@ export default {
|
|
params.checkDirectionalList = JSON.stringify(this.checkDirectionalList)
|
|
params.checkDirectionalList = JSON.stringify(this.checkDirectionalList)
|
|
} else {
|
|
} else {
|
|
this.$message.error('请选择定向包')
|
|
this.$message.error('请选择定向包')
|
|
|
|
+ this.sumbitLoading = false
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
|
|
@@ -3940,6 +3943,7 @@ export default {
|
|
if (this.materialList.length > 0) {
|
|
if (this.materialList.length > 0) {
|
|
if (this.materialInfo.matchingMethod != 1 && this.descriptionList.length == 0) {
|
|
if (this.materialInfo.matchingMethod != 1 && this.descriptionList.length == 0) {
|
|
this.$message.error('请填写广告语')
|
|
this.$message.error('请填写广告语')
|
|
|
|
+ this.sumbitLoading = false
|
|
return
|
|
return
|
|
}
|
|
}
|
|
this.checkMatchingMethod()
|
|
this.checkMatchingMethod()
|
|
@@ -3962,6 +3966,7 @@ export default {
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
this.$message.error('请选择素材')
|
|
this.$message.error('请选择素材')
|
|
|
|
+ this.sumbitLoading = false
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
|
|
@@ -3987,6 +3992,7 @@ export default {
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
this.$message.error('请选择应用')
|
|
this.$message.error('请选择应用')
|
|
|
|
+ this.sumbitLoading = false
|
|
return
|
|
return
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
@@ -4011,7 +4017,7 @@ export default {
|
|
: [],
|
|
: [],
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ this.sumbitLoading = true
|
|
this.postDataAction('/kuaishouBatch/campaignPreview/addPreviewData', params).then((res) => {
|
|
this.postDataAction('/kuaishouBatch/campaignPreview/addPreviewData', params).then((res) => {
|
|
if (res.success) {
|
|
if (res.success) {
|
|
this.sumbitLoading = false
|
|
this.sumbitLoading = false
|