|
@@ -324,7 +324,7 @@
|
|
|
<el-pagination
|
|
|
background
|
|
|
:page-sizes="[15, 20, 25, 30]"
|
|
|
- :page-size="100"
|
|
|
+ :page-size="15"
|
|
|
layout="total, prev, pager, next, jumper"
|
|
|
:total="total"
|
|
|
@size-change="handleSizeChange"
|
|
@@ -773,8 +773,8 @@ export default {
|
|
|
this.projectId = url.split('?id=')
|
|
|
projectList({
|
|
|
id: Number(this.projectId[1]),
|
|
|
- curIndex: 1,
|
|
|
- pageSize: 15
|
|
|
+ curIndex: this.curIndex,
|
|
|
+ pageSize: this.pageSize
|
|
|
}).then(res => {
|
|
|
this.form_query = res.data[0]
|
|
|
this.project_from = res.data[0]
|
|
@@ -1086,9 +1086,11 @@ export default {
|
|
|
},
|
|
|
handleSizeChange(size) { // 分页
|
|
|
this.pageSize = size
|
|
|
+ this.get_list()
|
|
|
},
|
|
|
handleCurrentChange(curIndex) { // 分页
|
|
|
this.curIndex = curIndex
|
|
|
+ this.get_list()
|
|
|
}
|
|
|
}
|
|
|
}
|