Browse Source

add totalpunishment

bucket 6 years ago
parent
commit
a4c5c95a26
1 changed files with 13 additions and 6 deletions
  1. 13 6
      src/views/agnetManagement/index.vue

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

36
             <span :style="moneyColor(scope.row.all70)">{{scope.row.all70}}</span>
36
             <span :style="moneyColor(scope.row.all70)">{{scope.row.all70}}</span>
37
           </template>
37
           </template>
38
         </el-table-column>
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
           <template slot-scope="scope">          
45
           <template slot-scope="scope">          
41
             <router-link to="/agent/index/gambleMemberManagement">
46
             <router-link to="/agent/index/gambleMemberManagement">
42
               <el-button type="primary" size="mini" icon="el-icon-tickets" @click="handlePage(scope.row)">會員管理</el-button>
47
               <el-button type="primary" size="mini" icon="el-icon-tickets" @click="handlePage(scope.row)">會員管理</el-button>
92
       listQuery: {
97
       listQuery: {
93
         page: 1,
98
         page: 1,
94
         limit: 9999999,
99
         limit: 9999999,
100
+        name: ''
95
         // startAt: moment.utc(moment().day('sunday').hour(12).minute(0).second(0).subtract(1, 'weeks').day(7).hour(16).minute(0).second(0)).format(),
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
         // endAt: moment.utc(moment().day('sunday').hour(12).minute(0).second(0).day(7).hour(11).minute(59).second(59)).format()
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
               createdAt: agent.GambleMember.createdAt,
152
               createdAt: agent.GambleMember.createdAt,
147
               feeRatio: response.data.feeRatio,
153
               feeRatio: response.data.feeRatio,
148
               all: response.data.all,
154
               all: response.data.all,
149
-              all70: response.data.all70
155
+              all70: response.data.all70,
156
+              fredPunishment: response.data.fredPunishment
150
             })
157
             })
151
           }) : false
158
           }) : false
152
           // fetchMemberList(agent, this.listQuery).then(response => {
159
           // fetchMemberList(agent, this.listQuery).then(response => {
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
     // handleSizeChange(val) {
292
     // handleSizeChange(val) {
286
     //   this.listQuery.limit = val
293
     //   this.listQuery.limit = val
287
     //   this.getList()
294
     //   this.getList()