新增下载桌码静态页面

This commit is contained in:
gyq 2024-06-12 18:21:53 +08:00
parent 56477f87b5
commit 49569e348f
1 changed files with 42 additions and 32 deletions

View File

@ -1,16 +1,16 @@
// 桌台管理
import request from '@/utils/request'
import request from "@/utils/request";
/**
* 台桌列表
* @returns
*/
export function tbShopTableGet(params) {
return request({
url: `/api/tbShopTable`,
method: 'get',
params
})
return request({
url: `/api/tbShopTable`,
method: "get",
params
});
}
/**
@ -18,11 +18,11 @@ export function tbShopTableGet(params) {
* @returns
*/
export function tbShopAreaGet(params) {
return request({
url: `/api/tbShopArea`,
method: 'get',
params
})
return request({
url: `/api/tbShopArea`,
method: "get",
params
});
}
/**
@ -30,11 +30,11 @@ export function tbShopAreaGet(params) {
* @returns
*/
export function tbShopArea(data, method) {
return request({
url: `/api/tbShopArea`,
method: method,
data
})
return request({
url: `/api/tbShopArea`,
method: method,
data
});
}
/**
@ -42,11 +42,11 @@ export function tbShopArea(data, method) {
* @returns
*/
export function tbShopAreaDelete(data) {
return request({
url: `/api/tbShopArea`,
method: 'DELETE',
data
})
return request({
url: `/api/tbShopArea`,
method: "DELETE",
data
});
}
/**
@ -54,11 +54,11 @@ export function tbShopAreaDelete(data) {
* @returns
*/
export function tbShopTable(data, method) {
return request({
url: `/api/tbShopTable`,
method: method,
data
})
return request({
url: `/api/tbShopTable`,
method: method,
data
});
}
/**
@ -66,11 +66,21 @@ export function tbShopTable(data, method) {
* @returns
*/
export function tbShopTableDelete(data) {
return request({
url: `/api/tbShopTable`,
method: 'DELETE',
data
})
return request({
url: `/api/tbShopTable`,
method: "DELETE",
data
});
}
/**
* 下载桌码
* @returns
*/
export function downloadTableCode(data) {
return request({
url: `/api/tbShopTable`,
method: "post",
data
});
}