|
@@ -31,7 +31,7 @@
|
|
<div class="bottomPartLeft fl">
|
|
<div class="bottomPartLeft fl">
|
|
<p class="assayTitle">关联标准术语</p>
|
|
<p class="assayTitle">关联标准术语</p>
|
|
<p class="symptomPoolTitle">术语搜索</p>
|
|
<p class="symptomPoolTitle">术语搜索</p>
|
|
- <el-form>
|
|
|
|
|
|
+ <!-- <el-form>
|
|
<el-form-item label="类型:">
|
|
<el-form-item label="类型:">
|
|
<el-select v-model="type" placeholder="请选择" size="small">
|
|
<el-select v-model="type" placeholder="请选择" size="small">
|
|
<el-option
|
|
<el-option
|
|
@@ -42,7 +42,7 @@
|
|
</el-option>
|
|
</el-option>
|
|
</el-select>
|
|
</el-select>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- </el-form>
|
|
|
|
|
|
+ </el-form> -->
|
|
|
|
|
|
<div class="symptomPool">
|
|
<div class="symptomPool">
|
|
<el-input
|
|
<el-input
|
|
@@ -127,11 +127,16 @@ export default {
|
|
type:null,
|
|
type:null,
|
|
typeList:[],
|
|
typeList:[],
|
|
nodeList:[],
|
|
nodeList:[],
|
|
- saveDisable: false //保存按钮禁止点击
|
|
|
|
|
|
+ saveDisable: false, //保存按钮禁止点击
|
|
|
|
+ conceptType:'',
|
|
|
|
+ searchType:''
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created(){
|
|
created(){
|
|
- const { isEdit, data } = this.$route.params;
|
|
|
|
|
|
+ const { isEdit, data , filter} = this.$route.params;
|
|
|
|
+ const typeL = filter.type.toString().split('101');
|
|
|
|
+ this.conceptType = typeL[0];
|
|
|
|
+ this.searchType = typeL[1];
|
|
if(isEdit) {
|
|
if(isEdit) {
|
|
this.titleText = '修改';
|
|
this.titleText = '修改';
|
|
this.isEdit = isEdit;
|
|
this.isEdit = isEdit;
|
|
@@ -143,6 +148,7 @@ export default {
|
|
let typeList = JSON.parse(localStorage.getItem("knowledgeEnumsData"));
|
|
let typeList = JSON.parse(localStorage.getItem("knowledgeEnumsData"));
|
|
// this.typeList = typeList.lexiconTypeEnum;
|
|
// this.typeList = typeList.lexiconTypeEnum;
|
|
this.typeList = typeList.concatLexiconTypeEnum; //7-8 RGB
|
|
this.typeList = typeList.concatLexiconTypeEnum; //7-8 RGB
|
|
|
|
+ this.getTagList();//获取标签池内容
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
searchTagVal(newVal, preVal) {
|
|
searchTagVal(newVal, preVal) {
|
|
@@ -167,7 +173,8 @@ export default {
|
|
const param = {
|
|
const param = {
|
|
"name": this.searchDiagVal,
|
|
"name": this.searchDiagVal,
|
|
"relationId": 17,
|
|
"relationId": 17,
|
|
- "relationPosition": 1
|
|
|
|
|
|
+ "relationPosition": 1,
|
|
|
|
+ "typeId":this.conceptType
|
|
}
|
|
}
|
|
api.getConceptInfoAssay(param).then((res)=>{
|
|
api.getConceptInfoAssay(param).then((res)=>{
|
|
if(res.data.code === '0') {
|
|
if(res.data.code === '0') {
|
|
@@ -192,7 +199,8 @@ export default {
|
|
"name": this.searchTagVal,
|
|
"name": this.searchTagVal,
|
|
"relationId": 17,
|
|
"relationId": 17,
|
|
"relationPosition": 2,
|
|
"relationPosition": 2,
|
|
- "typeId": this.type, //选中类型的id
|
|
|
|
|
|
+ // "typeId": this.type, //选中类型的id
|
|
|
|
+ "typeId": this.searchType, //选中类型的id
|
|
"relationConceptId":this.form.conceptId,
|
|
"relationConceptId":this.form.conceptId,
|
|
"excludedConceptIds":notIds
|
|
"excludedConceptIds":notIds
|
|
}
|
|
}
|