朱鑫波 hace 3 años
padre
commit
a49e8e4fb4
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/views/modules/earlyWarningRules/configRules.vue

+ 2 - 2
src/views/modules/earlyWarningRules/configRules.vue

@@ -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')