diff --git a/src/api/dish/menu.js b/src/api/dish/menu.js index b8e7e75e..925b9a3d 100644 --- a/src/api/dish/menu.js +++ b/src/api/dish/menu.js @@ -56,8 +56,28 @@ export function getStallByCanteenApi(data) { }) } - - +// 获取当前菜谱 +export function getCurrentRecipeListApi(data) { + return request({ + url: '/smart-canteen/api/v2/menurecipe/query/current/recipe', + method: 'post', + headers: { + "merchant-id":"378915229716713472", + }, + data: data + }) + } +// 获取所有菜谱-分页 +export function getPageRecipeListApi(data) { + return request({ + url: '/smart-canteen/api/v2/menurecipe/page', + method: 'post', + headers: { + "merchant-id":"378915229716713472", + }, + data: data + }) + } diff --git a/src/views/dish/menu/index.vue b/src/views/dish/menu/index.vue index 0efb032e..3bc5e88d 100644 --- a/src/views/dish/menu/index.vue +++ b/src/views/dish/menu/index.vue @@ -79,9 +79,24 @@ {{(queryParams.pageNum - 1) * 10 + scope.$index + 1}} + + + + + + + + + + + - -