From bddc3c7f8514bd3eaa3ce722713c1291d3e91771 Mon Sep 17 00:00:00 2001 From: huangdeliang Date: Mon, 8 Mar 2021 18:51:40 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=A3=9F=E8=B0=B1?= =?UTF-8?q?=E8=AE=A1=E5=88=92=E8=8E=B7=E5=8F=96id=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/HeatStatisticsDrawer/index.vue | 4 +- .../src/components/OrderDrawer/index.vue | 19 +++--- .../components/RecipesPlanDrawer/index.vue | 11 ++- .../RecipesView/RecipesCom/index.vue | 11 +-- .../MenuDetail/DishesDetailDialog/index.vue | 5 ++ .../MenuDetail/NutriComputeCom/index.vue | 2 +- .../PlanDrawer/PlanTimeDialog/index.vue | 67 +++++++++++++++++++ .../custom/recipesShow/PlanDrawer/index.vue | 40 ++++++++++- 8 files changed, 135 insertions(+), 24 deletions(-) create mode 100644 stdiet-ui/src/views/custom/recipesShow/PlanDrawer/PlanTimeDialog/index.vue 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" > - + + 食谱链接 - + {{ scope.row.igdName }} @@ -357,7 +358,6 @@ export default { } // console.log(cur); - arr.push({ id: cur.id, dishesId: cur.dishesId, @@ -368,6 +368,7 @@ export default { methods: cur.methods, remark: cur.remark, igdId: igd.id, + igdType: igd.type, igdName: igd.name, proteinRatio: igd.proteinRatio, fatRatio: igd.fatRatio, @@ -400,7 +401,7 @@ export default { } return arr; }, []); - // console.log(mData); + console.log(mData); return mData; }, @@ -548,7 +549,7 @@ export default { this.$refs.remarkDialogRef.showDialog(data); }, handleOnRemarkConfirm(data) { - console.log(data); + // console.log(data); const { id, remark } = data; this.updateDishes({ num: this.num, diff --git a/stdiet-ui/src/views/custom/recipesShow/MenuDetail/DishesDetailDialog/index.vue b/stdiet-ui/src/views/custom/recipesShow/MenuDetail/DishesDetailDialog/index.vue index eb955493e..5b0c5df8b 100644 --- a/stdiet-ui/src/views/custom/recipesShow/MenuDetail/DishesDetailDialog/index.vue +++ b/stdiet-ui/src/views/custom/recipesShow/MenuDetail/DishesDetailDialog/index.vue @@ -84,4 +84,9 @@ export default { .el-dialog__body { padding: 12px 18px; } +.dishes_detail_dialog_wrapper { + .el-dialog:not(.is-fullscreen) { + margin-top: 20vh !important; + } +} diff --git a/stdiet-ui/src/views/custom/recipesShow/MenuDetail/NutriComputeCom/index.vue b/stdiet-ui/src/views/custom/recipesShow/MenuDetail/NutriComputeCom/index.vue index beedb4c82..5d03012c8 100644 --- a/stdiet-ui/src/views/custom/recipesShow/MenuDetail/NutriComputeCom/index.vue +++ b/stdiet-ui/src/views/custom/recipesShow/MenuDetail/NutriComputeCom/index.vue @@ -56,7 +56,7 @@ export default { }, watch: { value(val) { - console.log({ val }); + // console.log({ val }); if (!val || !val.length) { return; } diff --git a/stdiet-ui/src/views/custom/recipesShow/PlanDrawer/PlanTimeDialog/index.vue b/stdiet-ui/src/views/custom/recipesShow/PlanDrawer/PlanTimeDialog/index.vue new file mode 100644 index 000000000..49efe02e7 --- /dev/null +++ b/stdiet-ui/src/views/custom/recipesShow/PlanDrawer/PlanTimeDialog/index.vue @@ -0,0 +1,67 @@ + + + + + diff --git a/stdiet-ui/src/views/custom/recipesShow/PlanDrawer/index.vue b/stdiet-ui/src/views/custom/recipesShow/PlanDrawer/index.vue index 1a6cf3d92..b69a9d64a 100644 --- a/stdiet-ui/src/views/custom/recipesShow/PlanDrawer/index.vue +++ b/stdiet-ui/src/views/custom/recipesShow/PlanDrawer/index.vue @@ -14,10 +14,18 @@ +
+ +