diff --git a/stdiet-ui/src/components/HeatStatisticsDrawer/index.vue b/stdiet-ui/src/components/HeatStatisticsDrawer/index.vue index cd7482cc6..b2058ef51 100644 --- a/stdiet-ui/src/components/HeatStatisticsDrawer/index.vue +++ b/stdiet-ui/src/components/HeatStatisticsDrawer/index.vue @@ -21,8 +21,8 @@ >外食计算器 - - + + 二维码 diff --git a/stdiet-ui/src/components/OrderDrawer/index.vue b/stdiet-ui/src/components/OrderDrawer/index.vue index 1fb29742c..75e2b6430 100644 --- a/stdiet-ui/src/components/OrderDrawer/index.vue +++ b/stdiet-ui/src/components/OrderDrawer/index.vue @@ -41,10 +41,7 @@ > {{ scope.row.reviewStatus === "yes" ? "已审核" : "未审核" }} - + 分单 @@ -55,11 +52,13 @@ align="center" width="160" > - + + 食谱链接 - + @@ -111,7 +131,7 @@ export default { listRecipesPlanByCusId(data.id).then((response) => { this.planList = response.data; this.cusOutId = response.data.reduce((str, cur) => { - if (!str && cur.recipesId) { + if (!str && cur.recipesId && cur.reviewStatus === 2) { str = cur.outId; } return str; @@ -142,8 +162,8 @@ export default { }, handleOnRecipesEditClick(data) { // console.log(data); - const { id, name } = this.data; - window.open("/recipes/build/" + name + "/" + id, "_blank"); + // const { id, name } = this.data; + window.open("/recipes/build/" + this.data.name + "/" + data.id, "_blank"); }, }, }; diff --git a/stdiet-ui/src/views/custom/recipesBuild/RecipesView/RecipesCom/index.vue b/stdiet-ui/src/views/custom/recipesBuild/RecipesView/RecipesCom/index.vue index c508bd959..121079fee 100644 --- a/stdiet-ui/src/views/custom/recipesBuild/RecipesView/RecipesCom/index.vue +++ b/stdiet-ui/src/views/custom/recipesBuild/RecipesView/RecipesCom/index.vue @@ -112,8 +112,9 @@