|
@@ -183,13 +183,13 @@
|
|
|
},
|
|
|
'firstPlace':function(val){
|
|
|
if(!val)return;
|
|
|
- /*const str=localStorage.getItem("zskDicts");
|
|
|
+ const str=localStorage.getItem("zskDicts");
|
|
|
const arr=str.split(",");
|
|
|
- arr*/
|
|
|
- const sub = this.baseTypes.find((it)=>it.firstPlace===1);
|
|
|
+ //arr
|
|
|
+ const sub = this.baseTypes.find((it)=>it.ruleType===3);
|
|
|
this.groupData.subType=sub.type;
|
|
|
this.baseTermTypeList =sub.subMenuList;
|
|
|
- this.groupData.subLenCode=this.baseTermTypeList.find((it)=>it.firstPlace===1).code;
|
|
|
+ this.groupData.subLenCode=this.baseTermTypeList.find((it)=>it.ruleType===3).code;
|
|
|
this.conceptList=[val];
|
|
|
this.groupData.subDescription=val.conceptName;
|
|
|
this.groupData.subConceptId = val.conceptId;
|