ethan 6 years ago
parent
commit
f68d7c1944
1 changed files with 7 additions and 3 deletions
  1. 7 3
      src/views/agnetManagement/gambleMemberManagement/index.vue

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

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