소스 검색

修改预警

朱鑫波 3 년 전
부모
커밋
a49e8e4fb4
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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')