|
@@ -772,13 +772,13 @@ export default {
|
|
|
|
|
|
|
|
|
}else{
|
|
|
- let params = this.form.ruleList.map(item=>{
|
|
|
+ this.form.ruleList = this.form.ruleList.map(item=>{
|
|
|
return {
|
|
|
...item,
|
|
|
ruleType:item.ruleDetail.length>1?'group':'base'
|
|
|
}
|
|
|
})
|
|
|
- postAction(this.url.creativeTemplate,params).then(res=>{
|
|
|
+ postAction(this.url.creativeTemplate,this.form).then(res=>{
|
|
|
this.saveLoading=false;
|
|
|
if(res.success){
|
|
|
this.$router.push('/earlyWarningRules/index')
|