|
@@ -348,7 +348,6 @@ export default {
|
|
|
} else if (item.subEqValue) {
|
|
|
item.dataType = '2';
|
|
|
}
|
|
|
-
|
|
|
// disable
|
|
|
if (this.form.parHasSub && this.firstPlace) {
|
|
|
if (arr[i - 1] && arr[i - 1].groupId == item.groupId) {
|
|
@@ -802,10 +801,18 @@ export default {
|
|
|
localStorage
|
|
|
.getItem('zskDragDict')
|
|
|
.match(new RegExp(this.ruleTermCodeStrs, 'g')) || [];
|
|
|
- if (dragDel.length > 0 && index == 1 && this.form.klRuleByIdSub.length == 3 && this.form.klRuleByIdSub[2].subType == 1) {
|
|
|
+ console.log(val);
|
|
|
+
|
|
|
+ if (dragDel.length > 0 && index == 1 && this.form.klRuleByIdSub.length == 3 && this.form.klRuleByIdSub[index+1].subType == 1) {
|
|
|
const klRuleByIdSub = this.form.klRuleByIdSub[index+1]
|
|
|
klRuleByIdSub.baseTermTypeList.filter(it=>{
|
|
|
- console.log(it.remark.split('|')[1]);
|
|
|
+ const drag = it.remark.split('|')[1].split(',')
|
|
|
+ const arr = drag.filter(item=>{
|
|
|
+ console.log(item);
|
|
|
+
|
|
|
+ return item = val
|
|
|
+ })
|
|
|
+ console.log(arr);
|
|
|
})
|
|
|
}
|
|
|
if (dragDel.length > 0 && index == 1) {
|