|
@@ -15,7 +15,12 @@
|
15
|
15
|
</div>
|
16
|
16
|
<el-table :data="dealing" v-loading.body="listLoading" :summary-method="getSummaries" show-summary element-loading-text="Loading" border fit highlight-current-row
|
17
|
17
|
style="width: 100%">
|
18
|
|
- <el-table-column label="本期開獎" align="center">
|
|
18
|
+ <el-table-column label="本期開獎" align="center">
|
|
19
|
+ <el-table-column label="名稱">
|
|
20
|
+ <template slot-scope="scope">
|
|
21
|
+ <span>點數</span>
|
|
22
|
+ </template>
|
|
23
|
+ </el-table-column>
|
19
|
24
|
<el-table-column label="第一門">
|
20
|
25
|
<template slot-scope="scope">
|
21
|
26
|
<span>{{`${scope.row.point1_0} | ${scope.row.point2_0} / ${scope.row.totalPoints_0}`}}</span>
|
|
@@ -323,11 +328,12 @@ export default {
|
323
|
328
|
const { columns, data } = param
|
324
|
329
|
const sums = []
|
325
|
330
|
this.memberRecord.map((group,index) => {
|
|
331
|
+ if(index === 0) sums[index] = "每門總押注"
|
326
|
332
|
let doorTotal = 0
|
327
|
333
|
group.map((door) => {
|
328
|
334
|
doorTotal += door.wager
|
329
|
335
|
})
|
330
|
|
- sums[index] = doorTotal
|
|
336
|
+ sums[index+1] = doorTotal
|
331
|
337
|
})
|
332
|
338
|
return sums
|
333
|
339
|
},
|