Explorar el Código

GameBucket modify setVisible

Unknown %!s(int64=7) %!d(string=hace) años
padre
commit
181d99b69c

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

@@ -173,7 +173,7 @@ export default {
173 173
         this.roundOptions.push({ label: `第 ${i} 關`, key: i })
174 174
       }
175 175
     })
176
-    this.SetVisible(false)
176
+    this.SetVisible(2)
177 177
     this.getList()
178 178
     fetchList({ page: 1, limit: 9999999999, chipsSort: 'DESC' }).then(response => {
179 179
       const { rows } = response.data
@@ -350,7 +350,7 @@ export default {
350 350
     }
351 351
   },
352 352
   destroyed() {
353
-    this.SetVisible(true)
353
+    this.SetVisible(1)
354 354
   }
355 355
 }
356 356
 </script>

+ 3 - 3
src/views/gambleGameBucket/index.vue

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
 <div class="app-container calendar-list-container">
3
-  <div class="app-container" v-show="visible">
3
+  <div class="app-container" v-show="visible.firstLayer">
4 4
     <div class="app-container">
5 5
       <el-input @keyup.enter.native="handleFilter" style="width: 200px;" class="filter-item" placeholder="莊家" v-model="listQuery.bookie">
6 6
       </el-input>
@@ -124,7 +124,7 @@ export default {
124 124
   },
125 125
   created() {
126 126
     this.getList()
127
-    this.SetVisible(true)
127
+    this.SetVisible(1)
128 128
   },
129 129
   computed: {
130 130
     ...mapGetters([
@@ -148,7 +148,7 @@ export default {
148 148
       fetchGameBid(row).then(response => {
149 149
         this.temp.bidChips = response.data
150 150
       })
151
-      this.SetVisible(false)
151
+      this.SetVisible(2)
152 152
       this.bucket = this.temp
153 153
       // fetchMemberRecords(row).then(response => {
154 154
       //   console.log(response.data)