Przeglądaj źródła

add totalpunishment

bucket 6 lat temu
rodzic
commit
a4c5c95a26
1 zmienionych plików z 13 dodań i 6 usunięć
  1. 13 6
      src/views/agnetManagement/index.vue

+ 13 - 6
src/views/agnetManagement/index.vue

@@ -36,7 +36,12 @@
36 36
             <span :style="moneyColor(scope.row.all70)">{{scope.row.all70}}</span>
37 37
           </template>
38 38
         </el-table-column>
39
-        <el-table-column align="center" label="操作" width="450">
39
+        <el-table-column label="總逞罰" align="center">
40
+          <template slot-scope="scope">
41
+            {{scope.row.fredPunishment}}
42
+          </template>
43
+        </el-table-column> 
44
+        <el-table-column align="center" label="操作">
40 45
           <template slot-scope="scope">          
41 46
             <router-link to="/agent/index/gambleMemberManagement">
42 47
               <el-button type="primary" size="mini" icon="el-icon-tickets" @click="handlePage(scope.row)">會員管理</el-button>
@@ -92,6 +97,7 @@ export default {
92 97
       listQuery: {
93 98
         page: 1,
94 99
         limit: 9999999,
100
+        name: ''
95 101
         // startAt: moment.utc(moment().day('sunday').hour(12).minute(0).second(0).subtract(1, 'weeks').day(7).hour(16).minute(0).second(0)).format(),
96 102
         // endAt: moment.utc(moment().day('sunday').hour(12).minute(0).second(0).day(7).hour(11).minute(59).second(59)).format()
97 103
       },
@@ -146,7 +152,8 @@ export default {
146 152
               createdAt: agent.GambleMember.createdAt,
147 153
               feeRatio: response.data.feeRatio,
148 154
               all: response.data.all,
149
-              all70: response.data.all70
155
+              all70: response.data.all70,
156
+              fredPunishment: response.data.fredPunishment
150 157
             })
151 158
           }) : false
152 159
           // fetchMemberList(agent, this.listQuery).then(response => {
@@ -278,10 +285,10 @@ export default {
278 285
         }
279 286
       }))
280 287
     },
281
-    // handleFilter() {
282
-    //   this.listQuery.page = 1
283
-    //   this.getList()
284
-    // },
288
+    handleFilter() {
289
+      this.listQuery.page = 1
290
+      this.getList()
291
+    },
285 292
     // handleSizeChange(val) {
286 293
     //   this.listQuery.limit = val
287 294
     //   this.getList()