Parcourir la Source

GameBucket modify setVisible

Unknown il y a 7 ans
Parent
commit
181d99b69c

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

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

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

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