|
|
@ -148,7 +148,7 @@ |
|
|
|
width="'100%'" |
|
|
|
:page-size="pageSize" |
|
|
|
:current-page.sync="pageIndex" |
|
|
|
layout="prev, pager, next" |
|
|
|
layout="total, sizes, prev, pager, next" |
|
|
|
:total="pageTotal"> |
|
|
|
</Pagination> |
|
|
|
</div> |
|
|
@ -545,6 +545,10 @@ import * as echarts from "echarts"; |
|
|
|
this.pageSize = pageSize; |
|
|
|
this.pageTotal = res.total; |
|
|
|
this.tableData = res.rows; |
|
|
|
|
|
|
|
this.tableData.forEach((it,index)=>{ |
|
|
|
it.nem = (pageIndex - 1 ) * ( pageSize ) + index + 1; |
|
|
|
}) |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|