新增下载桌码静态页面
This commit is contained in:
@@ -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) {
|
export function tbShopTableGet(params) {
|
||||||
return request({
|
return request({
|
||||||
url: `/api/tbShopTable`,
|
url: `/api/tbShopTable`,
|
||||||
method: 'get',
|
method: "get",
|
||||||
params
|
params
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -20,9 +20,9 @@ export function tbShopTableGet(params) {
|
|||||||
export function tbShopAreaGet(params) {
|
export function tbShopAreaGet(params) {
|
||||||
return request({
|
return request({
|
||||||
url: `/api/tbShopArea`,
|
url: `/api/tbShopArea`,
|
||||||
method: 'get',
|
method: "get",
|
||||||
params
|
params
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -34,7 +34,7 @@ export function tbShopArea(data, method) {
|
|||||||
url: `/api/tbShopArea`,
|
url: `/api/tbShopArea`,
|
||||||
method: method,
|
method: method,
|
||||||
data
|
data
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -44,9 +44,9 @@ export function tbShopArea(data, method) {
|
|||||||
export function tbShopAreaDelete(data) {
|
export function tbShopAreaDelete(data) {
|
||||||
return request({
|
return request({
|
||||||
url: `/api/tbShopArea`,
|
url: `/api/tbShopArea`,
|
||||||
method: 'DELETE',
|
method: "DELETE",
|
||||||
data
|
data
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -58,7 +58,7 @@ export function tbShopTable(data, method) {
|
|||||||
url: `/api/tbShopTable`,
|
url: `/api/tbShopTable`,
|
||||||
method: method,
|
method: method,
|
||||||
data
|
data
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -68,9 +68,19 @@ export function tbShopTable(data, method) {
|
|||||||
export function tbShopTableDelete(data) {
|
export function tbShopTableDelete(data) {
|
||||||
return request({
|
return request({
|
||||||
url: `/api/tbShopTable`,
|
url: `/api/tbShopTable`,
|
||||||
method: 'DELETE',
|
method: "DELETE",
|
||||||
data
|
data
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 下载桌码
|
||||||
|
* @returns
|
||||||
|
*/
|
||||||
|
export function downloadTableCode(data) {
|
||||||
|
return request({
|
||||||
|
url: `/api/tbShopTable`,
|
||||||
|
method: "post",
|
||||||
|
data
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user