Commit d9066c17 by Jianli Ou

Merge branch 'master' of https://gitee.com/gs1-office-web-sit/gs1

parents c16b5406 f364109b
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div class="msg-cont"> <div class="msg-cont">
<div class="title">术语搜索</div> <div class="title">术语搜索</div>
<div class="keyletter" > <div class="keyletter" >
<span v-for="(item, i) in chaxun.keyArr" :key="i" @click="searchInfo(item)" > {{item}}</span> <span v-for="(item, i) in chaxun.keyArr" :key="i" :class="{isActive:keyArrStr==item}" @click="searchInfo(item)" > {{item}}</span>
</div> </div>
<div class="knowledge-top-form col-lg-24"> <div class="knowledge-top-form col-lg-24">
<el-select class="col-lg-3" <el-select class="col-lg-3"
...@@ -80,7 +80,8 @@ export default { ...@@ -80,7 +80,8 @@ export default {
keywords: "", keywords: "",
}, },
type:1, type:1,
tableList:[] tableList:[],
keyArrStr:''
}; };
}, },
created() { created() {
...@@ -92,9 +93,12 @@ export default { ...@@ -92,9 +93,12 @@ export default {
}, },
methods:{ methods:{
searchInfo(i){ searchInfo(i){
this.keyArrStr=i
this.chaxun.keywords=''
this.glossaryList(4,i) this.glossaryList(4,i)
}, },
getList(){ getList(){
this.keyArrStr=''
this.glossaryList(this.type,this.chaxun.keywords) this.glossaryList(this.type,this.chaxun.keywords)
}, },
// 专业术语列表 // 专业术语列表
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment