|
@@ -1,7 +1,7 @@
|
1
|
1
|
<template>
|
2
|
2
|
<div class="app-container calendar-list-container">
|
3
|
3
|
<div class="app-container">
|
4
|
|
- <el-table :data="tableData6" :span-method="objectSpanMethod" border style="width: 100% margin-top: 20px">
|
|
4
|
+ <el-table :data="memberRecords" :span-method="objectSpanMethod" border style="width: 100% margin-top: 20px">
|
5
|
5
|
<el-table-column prop="id" label="玩家" width="180">
|
6
|
6
|
</el-table-column>
|
7
|
7
|
<el-table-column prop="name" label="押">
|
|
@@ -44,13 +44,19 @@ export default {
|
44
|
44
|
getList() {
|
45
|
45
|
this.listLoading = true
|
46
|
46
|
fetchMemberRecords(this.bucket).then(response => {
|
47
|
|
- this.memberRecords = response.data
|
48
|
|
- console.log(response.data)
|
|
47
|
+ this.memberRecords = response.data.rows
|
|
48
|
+ // console.log(response.data.rows)
|
49
|
49
|
})
|
50
|
50
|
fetchDealingRecords(this.bucket).then(response => {
|
51
|
|
- this.dealingRecords = response.data
|
52
|
|
- console.log(response.data)
|
|
51
|
+ this.dealingRecords = response.data.rows
|
|
52
|
+ // console.log(response.data.rows)
|
53
|
53
|
})
|
|
54
|
+ console.log('wss', this.dealingRecords )
|
|
55
|
+
|
|
56
|
+ this.dealingRecords.map(record => {
|
|
57
|
+ console.log('w',record)
|
|
58
|
+ })
|
|
59
|
+ this.listLoading = false
|
54
|
60
|
},
|
55
|
61
|
objectSpanMethod({ row, column, rowIndex, columnIndex }) {
|
56
|
62
|
if (columnIndex === 0) {
|