|
@@ -392,9 +392,9 @@ export default {
|
|
|
let itemCopy={}
|
|
|
this.form.klRuleByIdGroup.forEach((item,index)=>{
|
|
|
if(Array.isArray(item.klRuleStaticSub)){
|
|
|
+ this.$set(this.form.klRuleByIdSub[index],'ruleStatic',[])
|
|
|
+ this.$set(this.form.klRuleByIdSub[index],'ruleStaticList',[])
|
|
|
item.klRuleStaticSub.forEach((items,ind)=>{
|
|
|
- this.$set(this.form.klRuleByIdSub[index],'ruleStatic',[])
|
|
|
- this.$set(this.form.klRuleByIdSub[index],'ruleStaticList',[])
|
|
|
let obj={
|
|
|
id:items.conceptId,
|
|
|
name:items.name
|
|
@@ -698,7 +698,6 @@ export default {
|
|
|
this.isRedMsg.push(false)
|
|
|
}else{
|
|
|
this.isRedMsg.push(true)
|
|
|
- return
|
|
|
}
|
|
|
}
|
|
|
})
|
|
@@ -706,7 +705,17 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
}
|
|
|
- this.saveRule(paramsCopy);
|
|
|
+ if(this.isStatic&&this.isRedMsg.length>0){
|
|
|
+ this.isRedMsg.forEach(item=>{
|
|
|
+ if(item){
|
|
|
+ return
|
|
|
+ }else{
|
|
|
+ this.saveRule(paramsCopy);
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }else{
|
|
|
+ this.saveRule(paramsCopy);
|
|
|
+ }
|
|
|
} else {
|
|
|
return false;
|
|
|
}
|