This commit is contained in:
shijingjing
2022-08-15 15:02:55 +08:00
parent ef00fa435c
commit deed632085

View File

@@ -44,7 +44,7 @@
</ai-download>
</template>
</ai-search-bar>
<ai-table :tableData="tableData" :total="search.total" :current.sync="search.current" :size.sync="search.size"
<ai-table :tableData="tableData" :total="total" :current.sync="search.current" :size.sync="search.size"
@getList="getIntegralChange" :col-configs="colConfigs" :dict="dict">
<el-table-column slot="eventDesc" label="事件" align="center">
@@ -72,8 +72,9 @@ export default {
type: '',
current: 1,
size: 10,
total: 0
},
total: 0,
girdList: [],
timeList: [],
data: {},
@@ -144,11 +145,13 @@ export default {
this.instance.post(`/app/appintegraluser/getChangeDetail`, null, {
params: {
...this.search, //积分类型
total: this.total,
id: this.$route.query.id,
}
}).then(res => {
if(res?.data) {
this.tableData = res.data.records
this.total = res.data.total
}
})
},