From 2fe410f8180e2e354712e9278414e855e2b223eb Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Thu, 29 May 2025 14:44:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8F=9C=E8=B0=B1=E7=BB=91=E5=AE=9A=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/dish/menu.js | 4 ++-- src/views/dish/menu/edit.vue | 3 +-- src/views/dish/menu/index.vue | 10 +++++----- 3 files changed, 8 insertions(+), 9 deletions(-) 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;