|
|
@@ -1,7 +1,7 @@ |
|
|
|
<!-- |
|
|
|
* @Author: your name |
|
|
|
* @Date: 2021-12-07 15:14:51 |
|
|
|
* @LastEditTime: 2021-12-08 14:27:16 |
|
|
|
* @LastEditTime: 2021-12-08 15:43:52 |
|
|
|
* @LastEditors: Please set LastEditors |
|
|
|
* @Description: 自动报警分类 |
|
|
|
* @FilePath: \GpsCardAdmin\src\views\off-limits-manage\off-limits-main\off-limits-type\newIndex.vue |
|
|
@@ -55,6 +55,8 @@ |
|
|
|
style="width: 200px; margin-left: 10px" |
|
|
|
class="filter-item" |
|
|
|
@keyup.enter.native="onSearch" |
|
|
|
@clear="onClear" |
|
|
|
clearable |
|
|
|
/> |
|
|
|
<el-button |
|
|
|
class="filter-item" |
|
|
@@ -85,10 +87,10 @@ |
|
|
|
<!-- 分页 --> |
|
|
|
<pagination |
|
|
|
v-show="total > 0" |
|
|
|
ref="pages" |
|
|
|
:total="total" |
|
|
|
:page.sync="page" |
|
|
|
:limit.sync="limit" |
|
|
|
:page-sizes="[5,10,100, 200, 300, 400]" |
|
|
|
@pagination="getList" |
|
|
|
/> |
|
|
|
</div> |
|
|
@@ -196,6 +198,11 @@ export default { |
|
|
|
onSearch() { |
|
|
|
this.getList(); |
|
|
|
}, |
|
|
|
// 点击清除按钮时 |
|
|
|
onClear() { |
|
|
|
this.$refs["pages"].currentPage = 1; |
|
|
|
this.getList(); |
|
|
|
}, |
|
|
|
// 获取分页数据 |
|
|
|
getList() { |
|
|
|
let reqBody = { |
|
|
|