ethan %!s(int64=6) %!d(string=před) roky
rodič
revize
f68d7c1944

+ 7 - 3
src/views/agnetManagement/gambleMemberManagement/index.vue

@@ -37,7 +37,7 @@
37 37
               <span>{{scope.row.allChips}}</span>
38 38
             </template>
39 39
           </el-table-column>
40
-          <el-table-column label="投注量" align="center">
40
+          <el-table-column label="有效投注量" align="center">
41 41
             <template slot-scope="scope">
42 42
               <span>{{scope.row.allEarned}}</span>
43 43
             </template>
@@ -85,6 +85,11 @@
85 85
               <span>{{scope.row.totalPunishment}}</span>
86 86
             </template>
87 87
           </el-table-column>
88
+          <el-table-column label="有效投注量" align="center">
89
+            <template slot-scope="scope">
90
+              <span>{{0}}</span>
91
+            </template>
92
+          </el-table-column>
88 93
           <!-- <el-table-column label="莊家贏錢" align="center">
89 94
             <template slot-scope="scope">
90 95
               <span :style="moneyColor(scope.row.bookieEarned)">{{scope.row.bookieEarned}}</span>
@@ -209,8 +214,6 @@ export default {
209 214
       this.allCombine = []
210 215
       this.combine = []
211 216
       fetchMemberList(this.data.secondLayer, this.listQuery).then(response => {
212
-        // this.memberRecord = response.data.rows
213
-        console.log(response.data.rows)
214 217
         response.data.rows.map(member => {
215 218
           let row = {
216 219
             id: member.id,
@@ -241,6 +244,7 @@ export default {
241 244
             row.bookieWagerFee = _.sumBy(bookie.true, (item) => {
242 245
               return item.wagerServiceFees
243 246
             }) * this.data.secondLayer.feeRatio/100;
247
+            console.log('eeee', bookie.true)
244 248
             row.bookieEarned = _.sumBy(bookie.true, item => {
245 249
               return Math.abs(item.earned)
246 250
             });