| | |
| | | <div class="df_ac mb20"> |
| | | <span>搜索车辆:</span> |
| | | <el-input class="flex1 mr20" v-model="carCodeFront" placeholder="请输入车牌号"></el-input> |
| | | <el-button type="primary" @click="getList">查找</el-button> |
| | | <el-button type="primary" @click="getList(1)">查找</el-button> |
| | | <el-button @click="reset">重置</el-button> |
| | | </div> |
| | | <div class="list"> |
| | |
| | | this.getList() |
| | | }) |
| | | }, |
| | | getList() { |
| | | getList(page) { |
| | | const { activePlat, pagination, carCodeFront } = this |
| | | if(page){ |
| | | pagination.page = page |
| | | } |
| | | platformJobPage({ |
| | | model: { platformGroupId: activePlat.id, queryStatus: '0,1', carCodeFront }, |
| | | page: pagination.page, |
| | | capacity: pagination.pageSize |
| | | }).then(res => { |
| | | }).then(res => { |
| | | this.dataList = res.records |
| | | this.pagination.total = res.total |
| | | }) |