bucket 6 years ago
parent
commit
f2655685d9

+ 9 - 6
src/views/agnetManagement/gambleMemberManagement/index.vue

@@ -176,7 +176,9 @@ export default {
176 176
       this.listLoading = true
177 177
       this.allCombine = []
178 178
       this.combine = []
179
+       let combine = []
179 180
       await fetchMemberList(this.data.secondLayer, this.listQuery).then(response => {
181
+       
180 182
         response.data.rows.map(member => {
181 183
           let row = {
182 184
             id: member.id,
@@ -253,17 +255,18 @@ export default {
253 255
           }
254 256
           // console.log('www',row)
255 257
 
256
-          this.combine.push(row)
258
+          combine.push(row)
257 259
         })
258 260
         // console.log('cimbine' , this.combine)
259 261
         this.allCombine.push({
260 262
           name: (this.data.secondLayer.GambleMember.name).slice(19),
261
-          allUp: _.sumBy(this.combine, 'totalUp'),
262
-          allDown: _.sumBy(this.combine, 'totalDown'),
263
-          allChips: _.sumBy(this.combine, 'chips'),
264
-          allEarned: _.sumBy(this.combine, (item) => {return item.bookieEarned + item.memberEarned}),
265
-          allServiceFees: _.sumBy(this.combine, (item) => {return item.totalServiceFees }).toFixed(2),
263
+          allUp: _.sumBy(combine, 'totalUp'),
264
+          allDown: _.sumBy(combine, 'totalDown'),
265
+          allChips: _.sumBy(combine, 'chips'),
266
+          allEarned: _.sumBy(combine, (item) => {return item.bookieEarned + item.memberEarned}),
267
+          allServiceFees: _.sumBy(combine, (item) => {return item.totalServiceFees }).toFixed(2),
266 268
         })
269
+        this.combine = combine
267 270
         this.listLoading = false
268 271
       })
269 272
       

+ 1 - 1
src/views/gambleGameBucket/detail/index.vue

@@ -425,7 +425,7 @@ export default {
425 425
       memberRecordTemp: [],
426 426
       wagerRecord: [],
427 427
       roundTime: 0,
428
-      dialogVisible: true,
428
+      dialogVisible: false,
429 429
     }
430 430
   },
431 431
   async created() {