|
|
|
@ -77,9 +77,10 @@ |
|
|
|
</el-table> |
|
|
|
<el-pagination |
|
|
|
@size-change="sizeChangeHandle" |
|
|
|
:current-page="pageIndex" |
|
|
|
@current-change="currentChangeHandle" |
|
|
|
:current-page="searchData.pageIndex" |
|
|
|
:page-sizes="[20, 50, 100, 1000]" |
|
|
|
:page-size="pageSize" |
|
|
|
:page-size="searchData.pageSize" |
|
|
|
:total="totalPage" |
|
|
|
layout="total, sizes, prev, pager, next, jumper"> |
|
|
|
</el-pagination> |
|
|
|
@ -869,8 +870,6 @@ export default { |
|
|
|
|
|
|
|
/*刷新工具信息*/ |
|
|
|
refreshTooInfoData() { |
|
|
|
this.searchData.pageSize = this.pageSize |
|
|
|
this.searchData.pageIndex = this.pageIndex |
|
|
|
getToolInfoList(this.searchData).then(({data}) => { |
|
|
|
if (data.code == 200) { |
|
|
|
this.dataList = data.rows; |
|
|
|
@ -1021,8 +1020,6 @@ export default { |
|
|
|
|
|
|
|
// 获取数据列表 |
|
|
|
search () { |
|
|
|
this.searchData.pageSize = this.pageSize |
|
|
|
this.searchData.pageIndex = this.pageIndex |
|
|
|
getToolInfoList(this.searchData).then(({data}) => { |
|
|
|
if (data.code == 200) { |
|
|
|
this.dataList = data.rows; |
|
|
|
@ -1098,9 +1095,15 @@ export default { |
|
|
|
}, |
|
|
|
// 每页数 |
|
|
|
sizeChangeHandle (val) { |
|
|
|
this.pageSize = val |
|
|
|
this.pageIndex = 1 |
|
|
|
this.search() |
|
|
|
this.searchData.pageSize = val; |
|
|
|
this.searchData.pageIndex = 1; |
|
|
|
this.search(); |
|
|
|
}, |
|
|
|
|
|
|
|
// 当前页 |
|
|
|
currentChangeHandle(val) { |
|
|
|
this.searchData.pageIndex = val |
|
|
|
this.search(); |
|
|
|
}, |
|
|
|
|
|
|
|
/*调整等待派工单的等待时间*/ |
|
|
|
|