Commit cf955c5a by 张杰

修复bug

1 parent 2a4bac46
......@@ -103,6 +103,7 @@ export default {
*/
changePageSize: function (e) {
this.pageSize = e;
this.currentPage = 1;
this.getList();
},
......
......@@ -80,7 +80,7 @@
</el-table-column>
<el-table-column label="操作" prop="lastGpsAddress">
<template slot-scope="{row}">
<el-link class="el_link" type="primary" @click="lookDetail(row)">常住地</el-link>
<el-link class="el_link" type="primary" @click="lookDetail(row)">常驻地</el-link>
</template>
</el-table-column>
</el-table>
......
......@@ -60,7 +60,7 @@
</el-select>
</el-form-item>
<el-form-item>
<el-button type="primary" :size="btn_size" icon="el-icon-search" @click="getList()">搜索</el-button>
<el-button type="primary" :size="btn_size" icon="el-icon-search" @click="searchEvent()">搜索</el-button>
<el-button type="primary" :size="btn_size" icon="el-icon-refresh" @click="refresh">重置</el-button>
</el-form-item>
</el-form>
......@@ -439,7 +439,7 @@ export default {
return {
VEHICLE_USE_LIST,
VEHICLE_TAG_LIST,
searchForm: {},
searchForm: {settleFlag:''},
getListApi: getVehicleList,
authList: [
......@@ -1715,6 +1715,12 @@ export default {
// 是否有权限
hasPermission(id){
return this.$hasPermission(id)
},
// 搜索
searchEvent(){
this.pageNumber = 1;
this.getList()
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!