|
@@ -113,7 +113,7 @@ import api from '@api/icss.js';
|
|
|
];
|
|
|
|
|
|
return{
|
|
|
- minTitle:'医学术语多层关联维护-添加',
|
|
|
+ minTitle:'分诊人体图数据维护-添加',
|
|
|
list: JSON.parse(JSON.stringify(data)),
|
|
|
defaultProps: {
|
|
|
children: 'nodeList',
|
|
@@ -135,7 +135,7 @@ import api from '@api/icss.js';
|
|
|
if(isEdit) {
|
|
|
// console.log('dataa', data)
|
|
|
this.isEdit = isEdit
|
|
|
- this.minTitle = '医学术语多层关联维护-修改'
|
|
|
+ this.minTitle = '分诊人体图数据维护-修改'
|
|
|
const item = JSON.parse(JSON.stringify(data))
|
|
|
item.level = 0
|
|
|
item.nodeList = this.IteraNodeList(item.nodeList, [], 1)
|
|
@@ -222,8 +222,9 @@ import api from '@api/icss.js';
|
|
|
"excludedConceptIds": this.excludedConceptIds,
|
|
|
"relationId": 17,
|
|
|
"relationPosition": 1,
|
|
|
+ "typeId": this.addLevel === 0 ? 52 : this.addLevel === 1 ? 3 : 1
|
|
|
}
|
|
|
- if(this.addLevel == '1') {
|
|
|
+ if(this.addLevel > 0) {
|
|
|
param.relationPosition = 2
|
|
|
param.relationConceptId = this.relationConceptId
|
|
|
}
|
|
@@ -261,7 +262,7 @@ import api from '@api/icss.js';
|
|
|
this.$refs['conceptSearch'].style.display = "none";
|
|
|
},
|
|
|
append(data, e) {
|
|
|
- this.addLevel = 1;
|
|
|
+ this.addLevel = data.level+1;
|
|
|
this.relationConceptId = data.conceptId
|
|
|
this.operaList = data;
|
|
|
this.openSearch(e);
|