feat: 接入下载桌台码接口,代客下单代码调整
This commit is contained in:
@@ -27,7 +27,9 @@
|
||||
<div class="">
|
||||
<el-button icon="plus" @click="addEaraShow()">添加区域</el-button>
|
||||
<el-button type="primary" icon="plus" @click="addTableShow()">添加台桌</el-button>
|
||||
<el-button type="primary" icon="download" @click="downloadTableCpde">下载桌台码</el-button>
|
||||
<el-button type="primary" icon="download" @click="showDownloadTableCode">
|
||||
下载桌台码
|
||||
</el-button>
|
||||
<el-button type="primary" icon="download" @click="downloadShopCpde">下载店铺码</el-button>
|
||||
</div>
|
||||
|
||||
@@ -218,6 +220,8 @@
|
||||
<!-- 弹窗 -->
|
||||
<addEara ref="refAddEara" @success="areainit" />
|
||||
<addTable ref="refAddTable" @success="tableinit" />
|
||||
<!-- 下载桌台码 -->
|
||||
<downloadTableCode ref="refDownloadTableCode" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -228,6 +232,13 @@ import shopAreaApi from "@/api/account/shopArea";
|
||||
import tableApi from "@/api/account/table";
|
||||
import addEara from "./components/addEara.vue";
|
||||
import addTable from "./components/addTable.vue";
|
||||
import downloadTableCode from "./components/downloadTableCode.vue";
|
||||
|
||||
//桌台二维码
|
||||
const refDownloadTableCode = ref();
|
||||
function showDownloadTableCode() {
|
||||
refDownloadTableCode.value.show();
|
||||
}
|
||||
|
||||
let loading = ref(false);
|
||||
//工具方法
|
||||
|
||||
Reference in New Issue
Block a user