This commit is contained in:
shijingjing
2022-07-01 09:48:26 +08:00
parent 0b0b15fd55
commit 53daf5309b

View File

@@ -24,7 +24,7 @@
</ai-download>
</template>
<template #content>
<ai-table :tableData="detailTable" isShowPagination :total="page.total" :current.sync="page.current"
<ai-table :tableData="detailTable" isShowPagination :total="total" :current.sync="page.current"
:size.sync="page.size" @getList="getDetail()" :col-configs="colConfigs" :dict="dict"/>
</template>
</ai-card>
@@ -71,7 +71,8 @@ export default {
id: '',
name: '',
nowIntegral: '',
page: {current: 1, size: 10, total: 0},
page: {current: 1, size: 10},
total: 0
}
},
methods: {
@@ -85,7 +86,7 @@ export default {
}).then(res => {
if (res?.data) {
this.detailTable = res.data.records
this.page.total = res.data.total
this.total = res.data.total
this.name = name
this.nowIntegral = nowIntegral
this.id = id