Commit cf955c5a by 张杰

修复bug

1 parent 2a4bac46
...@@ -103,6 +103,7 @@ export default { ...@@ -103,6 +103,7 @@ export default {
*/ */
changePageSize: function (e) { changePageSize: function (e) {
this.pageSize = e; this.pageSize = e;
this.currentPage = 1;
this.getList(); this.getList();
}, },
......
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" prop="lastGpsAddress"> <el-table-column label="操作" prop="lastGpsAddress">
<template slot-scope="{row}"> <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> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<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-button type="primary" :size="btn_size" icon="el-icon-refresh" @click="refresh">重置</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
...@@ -439,7 +439,7 @@ export default { ...@@ -439,7 +439,7 @@ export default {
return { return {
VEHICLE_USE_LIST, VEHICLE_USE_LIST,
VEHICLE_TAG_LIST, VEHICLE_TAG_LIST,
searchForm: {}, searchForm: {settleFlag:''},
getListApi: getVehicleList, getListApi: getVehicleList,
authList: [ authList: [
...@@ -1715,6 +1715,12 @@ export default { ...@@ -1715,6 +1715,12 @@ export default {
// 是否有权限 // 是否有权限
hasPermission(id){ hasPermission(id){
return this.$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!