|
@@ -1,4 +1,5 @@
|
1
|
1
|
<template>
|
|
2
|
+<div class="app-container calendar-list-container">
|
2
|
3
|
<div class="app-container">
|
3
|
4
|
<el-table :data="list" v-loading.body="listLoading" element-loading-text="Loading" border fit highlight-current-row
|
4
|
5
|
style="width: 100%">
|
|
@@ -19,9 +20,7 @@
|
19
|
20
|
</el-table-column>
|
20
|
21
|
<el-table-column align="center" label="操作">
|
21
|
22
|
<template slot-scope="scope">
|
22
|
|
- <router-link to="/gambleGameBucket/index/detail">
|
23
|
23
|
<el-button type="primary" size="mini" @click="handlePage(scope.row)">查看</el-button>
|
24
|
|
- </router-link>
|
25
|
24
|
</template>
|
26
|
25
|
</el-table-column>
|
27
|
26
|
</el-table>
|
|
@@ -31,33 +30,31 @@
|
31
|
30
|
:page-sizes="[10,20,30, 50]" :page-size="listQuery.limit" layout="total, sizes, prev, pager, next, jumper" :total="total">
|
32
|
31
|
</el-pagination>
|
33
|
32
|
</div>
|
34
|
|
-
|
35
|
|
- <!-- <el-dialog title="詳細" :visible.sync="dialogVisible">
|
36
|
|
- <el-table :data="list" v-loading.body="listLoading" element-loading-text="Loading" border fit highlight-current-row
|
37
|
|
- style="width: 100%">
|
38
|
|
- <el-table-column label="ID">
|
39
|
|
- <template slot-scope="scope">
|
40
|
|
- {{scope.row.id}}
|
41
|
|
- </template>
|
|
33
|
+ <el-dialog title="詳細" :visible.sync="dialogVisible">
|
|
34
|
+ <el-table :data="tableData6" :span-method="objectSpanMethod" border style="width: 100% margin-top: 20px">
|
|
35
|
+ <el-table-column prop="id" label="玩家" width="180">
|
42
|
36
|
</el-table-column>
|
43
|
|
- <el-table-column prop="GambleMember.name" label="莊家" width="200" align="center">
|
|
37
|
+ <el-table-column prop="name" label="押">
|
44
|
38
|
</el-table-column>
|
45
|
|
- <el-table-column align="center" label="時間" width="200">
|
46
|
|
- <template slot-scope="scope">
|
47
|
|
- <span>{{scope.row.createdAt}}</span>
|
48
|
|
- </template>
|
|
39
|
+ <el-table-column prop="amount1" label="點數">
|
49
|
40
|
</el-table-column>
|
50
|
|
- <el-table-column align="center" label="操作">
|
51
|
|
- <template slot-scope="scope">
|
52
|
|
- <el-button type="primary" size="mini" @click="handleView(scope.row)">查看</el-button>
|
53
|
|
- </template>
|
|
41
|
+ <el-table-column prop="amount2" label="輸贏">
|
|
42
|
+ </el-table-column>
|
|
43
|
+ <el-table-column prop="amount3" label="抽水">
|
|
44
|
+ </el-table-column>
|
|
45
|
+ <el-table-column prop="amount3" label="輸贏合計">
|
|
46
|
+ </el-table-column>
|
|
47
|
+ <el-table-column prop="amount3" label="福利">
|
|
48
|
+ </el-table-column>
|
|
49
|
+ <el-table-column prop="amount3" label="最終積分">
|
54
|
50
|
</el-table-column>
|
55
|
51
|
</el-table>
|
56
|
|
- <div slot="footer" align="center" class="dialog-footer">
|
|
52
|
+ <div slot="footer" align="center" class="dialog-footer">
|
57
|
53
|
<el-button type="primary" @click="closeDialog">確 定</el-button>
|
58
|
54
|
</div>
|
59
|
|
- </el-dialog> -->
|
|
55
|
+ </el-dialog>
|
60
|
56
|
</div>
|
|
57
|
+</div>
|
61
|
58
|
</template>
|
62
|
59
|
|
63
|
60
|
<script>
|
|
@@ -85,8 +82,7 @@ export default {
|
85
|
82
|
chips: '',
|
86
|
83
|
depositChips: ''
|
87
|
84
|
},
|
88
|
|
- // dialogVisible: false,
|
89
|
|
- // dialogStatus: ''
|
|
85
|
+ dialogVisible: false,
|
90
|
86
|
}
|
91
|
87
|
},
|
92
|
88
|
created() {
|
|
@@ -101,9 +97,9 @@ export default {
|
101
|
97
|
this.listLoading = false
|
102
|
98
|
})
|
103
|
99
|
},
|
104
|
|
- // closeDialog() {
|
105
|
|
- // this.dialogVisible = false
|
106
|
|
- // },
|
|
100
|
+ closeDialog() {
|
|
101
|
+ this.dialogVisible = false
|
|
102
|
+ },
|
107
|
103
|
handlePage(row) {
|
108
|
104
|
this.temp = Object.assign({}, row) // copy obj
|
109
|
105
|
// router.push({ path: '/gambleGameBucket/index/detail' })
|