Commit 25eea0a8 by liuyong

修改代码

1 parent 62d5b6c0
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
</div> </div>
</div> </div>
<div class="search_menu_btn_container"> <div class="search_menu_btn_container">
<div class="query_btn" @click="get_table"> <div class="query_btn" @click="search_table">
<img class="btn_icon" src="@/assets/archi-ele-list/search.png" alt="" /> <img class="btn_icon" src="@/assets/archi-ele-list/search.png" alt="" />
<p>查询</p> <p>查询</p>
</div> </div>
...@@ -512,6 +512,10 @@ export default { ...@@ -512,6 +512,10 @@ export default {
}); });
}) })
}, },
search_table() {//搜索
this.pager.current = 1;
this.get_table();
},
reset() {//重置 reset() {//重置
this.query_item1 = null; this.query_item1 = null;
this.query_item3 = null; this.query_item3 = null;
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
</div> </div>
</div> </div>
<div class="search_menu_btn_container"> <div class="search_menu_btn_container">
<div class="query_btn" @click="get_table"> <div class="query_btn" @click="search_table">
<img class="btn_icon" src="@/assets/archi-ele-list/search.png" alt="" /> <img class="btn_icon" src="@/assets/archi-ele-list/search.png" alt="" />
<p>查询</p> <p>查询</p>
</div> </div>
...@@ -403,6 +403,10 @@ export default { ...@@ -403,6 +403,10 @@ export default {
}); });
} }
}, },
search_table() {//搜索
this.pager.current = 1;
this.get_table();
},
reset() {//重置 reset() {//重置
this.searchParams.tempName = null; this.searchParams.tempName = null;
this.searchParams.tempType = null; this.searchParams.tempType = null;
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
</div> </div>
</div> </div>
<div class="search_menu_btn_container"> <div class="search_menu_btn_container">
<div class="query_btn" @click="get_table"> <div class="query_btn" @click="search_table">
<img class="btn_icon" src="@/assets/archi-ele-list/search.png" alt="" /> <img class="btn_icon" src="@/assets/archi-ele-list/search.png" alt="" />
<p>查询</p> <p>查询</p>
</div> </div>
...@@ -436,6 +436,10 @@ export default { ...@@ -436,6 +436,10 @@ export default {
}); });
} }
}, },
search_table() {//搜索
this.pager.current = 1;
this.get_table();
},
reset() {//重置 reset() {//重置
this.searchParams.deptName = null; this.searchParams.deptName = null;
this.searchParams.appName = null; this.searchParams.appName = null;
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
</div> </div>
</div> </div>
<div class="search_menu_btn_container"> <div class="search_menu_btn_container">
<div class="query_btn" @click="get_table"> <div class="query_btn" @click="search_table">
<img class="btn_icon" src="@/assets/archi-ele-list/search.png" alt="" /> <img class="btn_icon" src="@/assets/archi-ele-list/search.png" alt="" />
<p>查询</p> <p>查询</p>
</div> </div>
...@@ -550,6 +550,10 @@ export default { ...@@ -550,6 +550,10 @@ export default {
}); });
} }
}, },
search_table() {//搜索
this.pager.current = 1;
this.get_table();
},
reset() {//重置 reset() {//重置
this.searchParams.tpoName = null; this.searchParams.tpoName = null;
this.searchParams.startTime = null; this.searchParams.startTime = null;
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
</div> </div>
</div> </div>
<div class="search_menu_btn_container"> <div class="search_menu_btn_container">
<div class="query_btn" @click="get_table"> <div class="query_btn" @click="search_table">
<img class="btn_icon" src="@/assets/archi-ele-list/search.png" alt="" /> <img class="btn_icon" src="@/assets/archi-ele-list/search.png" alt="" />
<p>查询</p> <p>查询</p>
</div> </div>
...@@ -126,6 +126,10 @@ export default { ...@@ -126,6 +126,10 @@ export default {
const search_menu_height = $(".search_menu").height(); const search_menu_height = $(".search_menu").height();
this.tableHeight = table_container_height - search_menu_height - 120 + 'px'; this.tableHeight = table_container_height - search_menu_height - 120 + 'px';
}, },
search_table() {//搜索
this.pager.current = 1;
this.get_table();
},
reset() {//重置 reset() {//重置
this.searchParams.tpoName = null; this.searchParams.tpoName = null;
this.searchParams.conformCount = null; this.searchParams.conformCount = null;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!