|
@@ -42,8 +42,9 @@
|
|
|
placeholder="请输入文档信息"
|
|
|
v-model="input"
|
|
|
class="searchs"
|
|
|
+ @keyup.enter.native="jumpSearch"
|
|
|
></el-input>
|
|
|
- <router-link class="cen—top-but" :to="{path:'/home/retrieval',query:{datas:this.input}}">快速搜索</router-link>
|
|
|
+ <div class="cen—top-but" @click="jumpSearch">快速搜索</div>
|
|
|
<img
|
|
|
src="../../assets/img/ri:search-2-line@2x.png"
|
|
|
class="cen—top-img"
|
|
@@ -363,11 +364,11 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
|
|
|
- //搜索跳转
|
|
|
- // searchs() {
|
|
|
- // this.$router.push("/home/retrieval");
|
|
|
- // sessionStorage.setItem("suju", this.input);
|
|
|
- // },
|
|
|
+ // 搜索跳转
|
|
|
+ jumpSearch() {
|
|
|
+ this.$router.push("/home/retrieval");
|
|
|
+ // sessionStorage.setItem("suju", this.input);
|
|
|
+ },
|
|
|
//底部表格更多跳转
|
|
|
mores() {
|
|
|
this.$router.push("/home/page/more");
|