|
@@ -216,14 +216,16 @@
|
|
|
</el-table>
|
|
|
</section>
|
|
|
<!-- 分页 -->
|
|
|
- <!-- <el-pagination-->
|
|
|
- <!-- @size-change="handleSizeChange"-->
|
|
|
- <!-- @current-change="handleCurrentChange"-->
|
|
|
- <!-- :current-page="currentPage"-->
|
|
|
- <!-- :page-sizes="pageSizes"-->
|
|
|
- <!-- :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="total"-->
|
|
|
- <!-- style="float:right;margin-top:10px;padding:2px 5px;">-->
|
|
|
- <!-- </el-pagination>-->
|
|
|
+ <el-pagination
|
|
|
+ @size-change="handleSizeChange"
|
|
|
+ @current-change="handleCurrentChange"
|
|
|
+ :current-page="currentPage"
|
|
|
+ :page-sizes="pageSizes"
|
|
|
+ :page-size="pageSize"
|
|
|
+ layout="total, sizes, prev, pager, next, jumper"
|
|
|
+ :total="total"
|
|
|
+ style="float:right;margin-top:10px;padding:2px 5px;">
|
|
|
+ </el-pagination>
|
|
|
<el-dialog
|
|
|
title="提示"
|
|
|
:visible.sync="visible"
|
|
@@ -392,13 +394,14 @@
|
|
|
projectId: this.projectId,
|
|
|
ObjectType: 1,
|
|
|
RelType: localStorage.getItem('RelManualType'),
|
|
|
- // PageSize: this.pageSize,
|
|
|
- PageSize: 10000000,
|
|
|
+ PageSize: this.pageSize,
|
|
|
+ // PageSize: 10000000,
|
|
|
PageNumber: this.currentPage
|
|
|
};
|
|
|
relQuery(data, res => {
|
|
|
this.filterTable(res)
|
|
|
this.length = res.Total || 0
|
|
|
+ this.total = res.Total
|
|
|
this.loading = false
|
|
|
})
|
|
|
},
|
|
@@ -455,7 +458,7 @@
|
|
|
}
|
|
|
relQuery(param, res => {
|
|
|
this.filterTable(res)
|
|
|
- console.log(res, '==object==')
|
|
|
+ // console.log(res, '==object==')
|
|
|
})
|
|
|
},
|
|
|
//分页更换size
|