diff --git a/src/api/dish/menu.js b/src/api/dish/menu.js index 29319eb2..759f4701 100644 --- a/src/api/dish/menu.js +++ b/src/api/dish/menu.js @@ -74,7 +74,7 @@ export function getPageRecipeListApi(data) { params: data }) } - + //菜谱-新增 export function addMenuRecipeApi(data) { return request({ @@ -145,14 +145,14 @@ export function getMenuRecipeTemplateDetailApi(data) { data: data }) } - + export function menuUpLoadApi(param){ const formData = new FormData() formData.append('file', param.file) formData.append('recipeId', param.recipeId) return request({ - url: '/smart-canteen/menu_recipe/recipe/import/dishes', + url: '/smart-canteen/cook_recipe/recipe/import/dishes', method: 'post', data: formData, header:'multipart/form-data' diff --git a/src/views/dish/menu/index.vue b/src/views/dish/menu/index.vue index e1822409..67715e89 100644 --- a/src/views/dish/menu/index.vue +++ b/src/views/dish/menu/index.vue @@ -2,8 +2,8 @@
- - + + {{ item.name }} @@ -11,14 +11,14 @@ 日期 - {{item.data}} {{ item.weekValue }} + {{item.data}} {{ item.weekValue }} - + @@ -41,8 +41,8 @@ :label="item.stallName" :value="item.stallId" > - - + + - + 搜索 重置 - + 新增 - + - +