diff --git a/src/api/dish/menu.js b/src/api/dish/menu.js index a3c002c2..f43a2983 100644 --- a/src/api/dish/menu.js +++ b/src/api/dish/menu.js @@ -51,7 +51,7 @@ export function getDishesByTypePageApi(data) { // 获取当前菜谱 export function getCurrentRecipeListApi(data) { return request({ - url: '/smart-canteen/cook_recipe/list', + url: '/smart-canteen/cook_recipe/currentList', method: 'get', headers: { "merchant-id":"378915229716713472", @@ -108,7 +108,7 @@ export function removeMenuRecipeApi(data) { //当日菜谱-绑定或解绑(handleType:1绑定,2解绑) export function unbindMenuRecipeApi(data) { return request({ - url: '/smart-canteen/menu_recipe/app/bind', + url: '/smart-canteen/cook_recipe/app/bind', method: 'post', headers: { "merchant-id":"378915229716713472", diff --git a/src/views/dish/menu/edit.vue b/src/views/dish/menu/edit.vue index 601879e9..05b6b343 100644 --- a/src/views/dish/menu/edit.vue +++ b/src/views/dish/menu/edit.vue @@ -161,8 +161,7 @@ - - +
菜品分类
diff --git a/src/views/dish/menu/index.vue b/src/views/dish/menu/index.vue index 4e1c2583..3f605ea4 100644 --- a/src/views/dish/menu/index.vue +++ b/src/views/dish/menu/index.vue @@ -516,11 +516,11 @@ this.queryParams.pageNum = this.queryParams.pageNum this.queryParams.pageSize = this.queryParams.pageSize if(this.activeName=='currentRecipe'){ - // getCurrentRecipeListApi(this.queryParams).then(response => { - // this.tableListData = response.rows; - // this.total = Number(response.total); - // this.loading = false; - // }); + getCurrentRecipeListApi(this.queryParams).then(response => { + this.tableListData = response.rows; + this.total = Number(response.total); + this.loading = false; + }); }else if(this.activeName=='pageRecipe'){ getPageRecipeListApi(this.queryParams).then(response => { this.tableListData = response.rows;