|
|
@@ -95,7 +95,7 @@
|
|
|
:page-sizes="[10, 15, 20]"
|
|
|
:page-size="size"
|
|
|
layout="total, sizes, prev, pager, next, jumper"
|
|
|
- :total="totalsize">
|
|
|
+ :total="search.page.total">
|
|
|
</el-pagination>
|
|
|
</template>
|
|
|
</d2-container>
|
|
|
@@ -117,7 +117,6 @@ export default {
|
|
|
dialogvisible: false,
|
|
|
name: '',
|
|
|
details: false,
|
|
|
- totalsize: 0,
|
|
|
currpage: 1,
|
|
|
size: 10,
|
|
|
classificationlist: [],
|
|
|
@@ -133,7 +132,12 @@ export default {
|
|
|
search: {
|
|
|
Name: '',
|
|
|
Year: '',
|
|
|
- classification: ''
|
|
|
+ classification: '',
|
|
|
+ page: {
|
|
|
+ total: 0,
|
|
|
+ current: 1,
|
|
|
+ size: 10
|
|
|
+ }
|
|
|
},
|
|
|
// 列表排序
|
|
|
Column: {
|
|
|
@@ -188,6 +192,7 @@ export default {
|
|
|
ClassApi.getAllClass(params)
|
|
|
.then(res => {
|
|
|
_this.activities = res.records
|
|
|
+ _this.search.page.total = res.total
|
|
|
})
|
|
|
},
|
|
|
handleSizeChange (val) {
|