Ver Código Fonte

change order

ethan 6 anos atrás
pai
commit
3dd6c85777
1 arquivos alterados com 15 adições e 15 exclusões
  1. 15 15
      src/views/gambleGameBucket/detail/index.vue

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

@@ -110,9 +110,23 @@
110 110
         </el-table-column>
111 111
       </el-table-column>      
112 112
     </el-table>
113
+    <el-table v-show="hasPunishment(punishmentRecord)" :data="punishmentRecord" v-loading.body="listLoading" element-loading-text="Loading" border fit highlight-current-row
114
+      style="width: 100%">
115
+      <el-table-column label="懲罰名單" align="center">
116
+        <el-table-column prop="GambleMember.name" label="玩家">
117
+        </el-table-column>
118
+        <el-table-column label="原因">
119
+          <template slot-scope="scope">
120
+            <div>{{reason(scope.row.rule)}}</div>
121
+          </template>
122
+        </el-table-column>
123
+        <el-table-column prop="chips" label="金額">
124
+        </el-table-column>
125
+      </el-table-column>      
126
+    </el-table>
113 127
     <el-table :data="detail" :span-method="objectSpanMethod"  v-loading.body="listLoading" element-loading-text="Loading" border fit highlight-current-row
114 128
       style="width: 100%">
115
-      <el-table-column label="此關結果" align="center">
129
+      <el-table-column label="關結果" align="center">
116 130
         <el-table-column prop="MemberRecord.GambleMember.name" label="玩家">
117 131
         </el-table-column>
118 132
         <!-- <el-table-column prop="MemberRecord.GambleMember.name" label="門主">
@@ -147,20 +161,6 @@
147 161
       </el-table-column>      
148 162
     </el-table>
149 163
 
150
-    <el-table v-show="hasPunishment(punishmentRecord)" :data="punishmentRecord" v-loading.body="listLoading" element-loading-text="Loading" border fit highlight-current-row
151
-      style="width: 100%">
152
-      <el-table-column label="懲罰名單" align="center">
153
-        <el-table-column prop="GambleMember.name" label="玩家">
154
-        </el-table-column>
155
-        <el-table-column label="原因">
156
-          <template slot-scope="scope">
157
-            <div>{{reason(scope.row.rule)}}</div>
158
-          </template>
159
-        </el-table-column>
160
-        <el-table-column prop="chips" label="金額">
161
-        </el-table-column>
162
-      </el-table-column>      
163
-    </el-table>
164 164
     <el-table :data="members" v-loading.body="listLoading" element-loading-text="Loading" border fit highlight-current-row
165 165
       style="width: 100%">
166 166
       <el-table-column label="當前玩家餘額" align="center">