|
@@ -29,7 +29,7 @@
|
|
|
v-for="item in baseTermTypeList"
|
|
|
:key="item.id"
|
|
|
:label="item.name"
|
|
|
- :value="item.code">
|
|
|
+ :value="Number(item.code)">
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
@@ -166,11 +166,10 @@
|
|
|
}else if(this.groupData.eqValue){
|
|
|
this.groupData.dataType='2';
|
|
|
}
|
|
|
- },
|
|
|
- mounted(){
|
|
|
this.conceptList=[{conceptName:this.groupData.basLibName,conceptId:this.groupData.basConceptId}];
|
|
|
- if(this.groupData.basLibType){
|
|
|
- this.baseTermTypeList=[{name:this.groupData.basLename,code:this.groupData.basLibType}];
|
|
|
+ if(this.groupData.basType){
|
|
|
+ const obj = this.baseTypes.find((it)=>it.type===this.groupData.basType);
|
|
|
+ this.baseTermTypeList = obj.subMenuList;
|
|
|
}
|
|
|
},
|
|
|
computed:{
|