|
@@ -51,7 +51,7 @@
|
|
<span class="lable">车牌</span>
|
|
<span class="lable">车牌</span>
|
|
<el-input v-model.trim="conditions.carPlate" placeholder="请输入内容车牌" style="width:150px;" />
|
|
<el-input v-model.trim="conditions.carPlate" placeholder="请输入内容车牌" style="width:150px;" />
|
|
</div>
|
|
</div>
|
|
- <div class="block"><el-button type="primary" @click="getData">查询</el-button></div>
|
|
|
|
|
|
+ <div class="block"><el-button type="primary" @click="search">查询</el-button></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<template v-if="tabType===0">
|
|
<template v-if="tabType===0">
|
|
@@ -138,6 +138,8 @@
|
|
<div class="el-pagination-wrap">
|
|
<div class="el-pagination-wrap">
|
|
<el-pagination
|
|
<el-pagination
|
|
small
|
|
small
|
|
|
|
+ :page-size="conditions.limit"
|
|
|
|
+ :current-page="conditions.page"
|
|
layout="prev, pager, next"
|
|
layout="prev, pager, next"
|
|
:total="total"
|
|
:total="total"
|
|
@size-change="handleSizeChange"
|
|
@size-change="handleSizeChange"
|
|
@@ -177,13 +179,15 @@ export default {
|
|
},
|
|
},
|
|
getData() {
|
|
getData() {
|
|
if (this.tabType === 0) {
|
|
if (this.tabType === 0) {
|
|
- delete this.conditions.transAbnormarlLicense
|
|
|
|
this.getAllinfoData()
|
|
this.getAllinfoData()
|
|
} else {
|
|
} else {
|
|
- delete this.conditions.transLicense
|
|
|
|
this.getAnomalyData()
|
|
this.getAnomalyData()
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ search() {
|
|
|
|
+ this.conditions.page = 1
|
|
|
|
+ this.getData()
|
|
|
|
+ },
|
|
getAllinfoData() {
|
|
getAllinfoData() {
|
|
const params = {
|
|
const params = {
|
|
page: this.conditions.page,
|
|
page: this.conditions.page,
|