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