From 843a79228320f0a9e51b37996fa9009e9856cd2a Mon Sep 17 00:00:00 2001 From: huangdeliang Date: Wed, 30 Jun 2021 18:25:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B6=88=E6=81=AF=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/impl/SysCustomerServiceImpl.java | 4 +++ .../src/components/BodySignView/index.vue | 25 ++++++++++++++++ .../src/components/HealthyView/index.vue | 21 +++++++++++++- stdiet-ui/src/store/modules/message.js | 29 +++++++------------ .../custom/message/messageBrowser/index.vue | 7 ++++- .../views/custom/message/userInfo/index.vue | 23 +-------------- .../custom/recipesBuild/InfoView/index.vue | 2 ++ 7 files changed, 69 insertions(+), 42 deletions(-) diff --git a/stdiet-custom/src/main/java/com/stdiet/custom/service/impl/SysCustomerServiceImpl.java b/stdiet-custom/src/main/java/com/stdiet/custom/service/impl/SysCustomerServiceImpl.java index 31d881c9d..447cb6d86 100644 --- a/stdiet-custom/src/main/java/com/stdiet/custom/service/impl/SysCustomerServiceImpl.java +++ b/stdiet-custom/src/main/java/com/stdiet/custom/service/impl/SysCustomerServiceImpl.java @@ -154,6 +154,10 @@ public class SysCustomerServiceImpl implements ISysCustomerService { @Override public Map getPhysicalSignsById(Long id) { Map result = new HashMap<>(); + + SysCustomer customer = sysCustomerMapper.selectSysCustomerById(id); + result.put("customerInfo", customer); + String key = "customerHealthy"; result.put("type", 0); //查询健康评估信息 diff --git a/stdiet-ui/src/components/BodySignView/index.vue b/stdiet-ui/src/components/BodySignView/index.vue index baa172dea..1f379cf07 100644 --- a/stdiet-ui/src/components/BodySignView/index.vue +++ b/stdiet-ui/src/components/BodySignView/index.vue @@ -20,6 +20,12 @@ :value.sync="data.avoidFood" @onConfirm="handleOnConfirm" /> +