|
@@ -124,6 +124,7 @@ import api from '@api/icss.js';
|
|
|
excludedConceptIds:[],
|
|
|
operaList: [],
|
|
|
isEdit: false, //是否为修改
|
|
|
+ relationConceptId: '' //关联父类ID
|
|
|
}
|
|
|
},
|
|
|
created(){
|
|
@@ -214,6 +215,10 @@ import api from '@api/icss.js';
|
|
|
"relationId": 17,
|
|
|
"relationPosition": 1,
|
|
|
}
|
|
|
+ if(this.addLevel == '1') {
|
|
|
+ param.relationPosition = 2
|
|
|
+ param.relationConceptId = this.relationConceptId
|
|
|
+ }
|
|
|
|
|
|
api.getConceptInfoAssay(param).then((res) => {
|
|
|
const { data } = res
|
|
@@ -249,6 +254,7 @@ import api from '@api/icss.js';
|
|
|
},
|
|
|
append(data, e) {
|
|
|
this.addLevel = 1;
|
|
|
+ this.relationConceptId = data.conceptId
|
|
|
this.operaList = data;
|
|
|
this.openSearch(e);
|
|
|
|