|
@@ -254,6 +254,7 @@
|
|
ruleTermChange(val){ //规则术语类型选中
|
|
ruleTermChange(val){ //规则术语类型选中
|
|
this.form.parLenCode=val;
|
|
this.form.parLenCode=val;
|
|
const obj = this.ruleTermTypeList.find((it)=>it.code===val);
|
|
const obj = this.ruleTermTypeList.find((it)=>it.code===val);
|
|
|
|
+ this.form.parLenName=obj.name;
|
|
this.baseTypeList = obj.subMenuList;
|
|
this.baseTypeList = obj.subMenuList;
|
|
this.subRuleMaxNum = obj.number;
|
|
this.subRuleMaxNum = obj.number;
|
|
this.setInitGroupData();
|
|
this.setInitGroupData();
|
|
@@ -298,10 +299,11 @@
|
|
subEqValue:'',
|
|
subEqValue:'',
|
|
};
|
|
};
|
|
if(this.checkFirstPlace){
|
|
if(this.checkFirstPlace){
|
|
|
|
+ const obj=this.subGroups[0][0];
|
|
temp = {
|
|
temp = {
|
|
- subDescription:this.form.parlibName,
|
|
|
|
- subConceptId:this.form.parConceptId,
|
|
|
|
- subConceptName:this.form.parlibName,
|
|
|
|
|
|
+ subDescription:obj.subConceptName,
|
|
|
|
+ subConceptId:obj.subConceptId,
|
|
|
|
+ subConceptName:obj.subConceptName,
|
|
subLenCode:this.form.parLenCode,
|
|
subLenCode:this.form.parLenCode,
|
|
subLenName: this.form.parLenName,
|
|
subLenName: this.form.parLenName,
|
|
subLibName: this.form.parlibName,
|
|
subLibName: this.form.parlibName,
|
|
@@ -315,7 +317,7 @@
|
|
subMinValue:'',
|
|
subMinValue:'',
|
|
subEqValue:'',
|
|
subEqValue:'',
|
|
};
|
|
};
|
|
- }
|
|
|
|
|
|
+ }console.log(temp)
|
|
this.subGroups.push([temp]);
|
|
this.subGroups.push([temp]);
|
|
},
|
|
},
|
|
delGroup(i){
|
|
delGroup(i){
|