新增下载桌码静态页面

This commit is contained in:
gyq
2024-06-12 18:21:53 +08:00
parent 56477f87b5
commit 49569e348f

View File

@@ -1,5 +1,5 @@
// 桌台管理
import request from '@/utils/request'
import request from "@/utils/request";
/**
* 台桌列表
@@ -8,9 +8,9 @@ import request from '@/utils/request'
export function tbShopTableGet(params) {
return request({
url: `/api/tbShopTable`,
method: 'get',
method: "get",
params
})
});
}
/**
@@ -20,9 +20,9 @@ export function tbShopTableGet(params) {
export function tbShopAreaGet(params) {
return request({
url: `/api/tbShopArea`,
method: 'get',
method: "get",
params
})
});
}
/**
@@ -34,7 +34,7 @@ export function tbShopArea(data, method) {
url: `/api/tbShopArea`,
method: method,
data
})
});
}
/**
@@ -44,9 +44,9 @@ export function tbShopArea(data, method) {
export function tbShopAreaDelete(data) {
return request({
url: `/api/tbShopArea`,
method: 'DELETE',
method: "DELETE",
data
})
});
}
/**
@@ -58,7 +58,7 @@ export function tbShopTable(data, method) {
url: `/api/tbShopTable`,
method: method,
data
})
});
}
/**
@@ -68,9 +68,19 @@ export function tbShopTable(data, method) {
export function tbShopTableDelete(data) {
return request({
url: `/api/tbShopTable`,
method: 'DELETE',
method: "DELETE",
data
})
});
}
/**
* 下载桌码
* @returns
*/
export function downloadTableCode(data) {
return request({
url: `/api/tbShopTable`,
method: "post",
data
});
}