|
@@ -756,7 +756,7 @@ export default {
|
|
|
// this.form.klRuleByIdSub = data;
|
|
|
},
|
|
|
// 添加分组 || 规则
|
|
|
- addGroup(date, arg = { index: null, groupId: null }) {
|
|
|
+ addGroup(date, key, arg = { index: null, groupId: null }) {
|
|
|
/**
|
|
|
* @params
|
|
|
* date:存在则添加规则 不存在则添加分组
|
|
@@ -810,6 +810,9 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
+ if (key == 1) {
|
|
|
+ this.dragVal = len[1].subLenCode;
|
|
|
+ }
|
|
|
}
|
|
|
} else {
|
|
|
// 添加分组 在列表中相同groupId之后添加
|
|
@@ -1024,7 +1027,7 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
- childSubCodeChange(val, index, numTypes, groupId, key, code,lens) {
|
|
|
+ childSubCodeChange(val, index, numTypes, groupId, key, code, lens) {
|
|
|
const dragDel =
|
|
|
localStorage
|
|
|
.getItem("zskDragDict")
|