新增批量下载桌码
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
</div>
|
||||
<addEara ref="addEara" @success="tbShopAreaGet" />
|
||||
<addTable ref="addTable" @success="tbShopTableGet" />
|
||||
<downloadTableCode ref="downloadTableCode" />
|
||||
<downloadTableCode :total="total" ref="downloadTableCode" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -83,6 +83,7 @@ export default {
|
||||
tabVlaue: '',
|
||||
tabs: [],
|
||||
loading: false,
|
||||
total: 0,
|
||||
tableList: [],
|
||||
status: {
|
||||
subscribe: {
|
||||
@@ -134,11 +135,12 @@ export default {
|
||||
async tbShopTableGet() {
|
||||
this.loading = true
|
||||
try {
|
||||
const { content } = await tbShopTableGet({
|
||||
const { content, total } = await tbShopTableGet({
|
||||
shopId: localStorage.getItem('shopId'),
|
||||
areaId: this.tabVlaue
|
||||
})
|
||||
this.tableList = content
|
||||
this.total = total
|
||||
setTimeout(() => {
|
||||
this.loading = false
|
||||
}, 300)
|
||||
|
||||
Reference in New Issue
Block a user