|
@@ -195,8 +195,9 @@
|
|
|
'firstPlace':{
|
|
|
handler:function(val) {
|
|
|
if (!val) return;
|
|
|
- const types = val.checkedType.split("-");
|
|
|
- const sub = this.baseTypes.find((it) => it.ruleType === +types[0] && it.type === 2);
|
|
|
+ const dict = localStorage.getItem("zskDicts").match(new RegExp(val.checkedType+'-\\d+','g'))||[];
|
|
|
+ const types = dict[0].split("-");
|
|
|
+ const sub = this.baseTypes.find((it) => it.ruleType === +types[0] && it.type === +types[2]);
|
|
|
this.groupData.subType = sub.type;
|
|
|
this.baseTermTypeList = sub.subMenuList;
|
|
|
this.groupData.subLenCode = this.baseTermTypeList.find((it) => it.ruleType === +types[0]).code;
|