|
@@ -57,7 +57,8 @@
|
|
</div>
|
|
</div>
|
|
<div class="btmFix"></div>
|
|
<div class="btmFix"></div>
|
|
<SearchList
|
|
<SearchList
|
|
- v-if="showSearch"
|
|
|
|
|
|
+ v-if="showSearch"
|
|
|
|
+ ref="searchDom"
|
|
:conceptList="conceptList||[]"
|
|
:conceptList="conceptList||[]"
|
|
:addLevel="addLevel"
|
|
:addLevel="addLevel"
|
|
placeTxt="请输入术语"
|
|
placeTxt="请输入术语"
|
|
@@ -335,11 +336,17 @@ export default {
|
|
this.showSearch = true
|
|
this.showSearch = true
|
|
},
|
|
},
|
|
closeSearch() {
|
|
closeSearch() {
|
|
- this.conceptText = ''
|
|
|
|
this.conceptList = []
|
|
this.conceptList = []
|
|
this.showSearch = false
|
|
this.showSearch = false
|
|
},
|
|
},
|
|
append(data, e) {
|
|
append(data, e) {
|
|
|
|
+ if(this.$refs.searchDom){console.log(this.$refs.searchDom.$refs.conceptInput)
|
|
|
|
+ this.conceptList = [];
|
|
|
|
+ setTimeout(()=>{
|
|
|
|
+ this.$refs.searchDom.$refs.conceptInput.value="";
|
|
|
|
+ })
|
|
|
|
+
|
|
|
|
+ }
|
|
this.addLevel = data.level+1;
|
|
this.addLevel = data.level+1;
|
|
this.relationConceptId = data.conceptId
|
|
this.relationConceptId = data.conceptId
|
|
this.operaList = data;
|
|
this.operaList = data;
|