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