From 87735820d9bd92c7d3eab219d1d34e71714a12cb Mon Sep 17 00:00:00 2001 From: xiezhijun <15270898033@163.com> Date: Fri, 5 Feb 2021 18:31:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E5=81=A5=E5=BA=B7=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E5=8A=A0=E4=B8=8A=E5=A4=87=E6=B3=A8=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mapper/system/SysUserMapper.xml | 2 +- .../components/PhysicalSignsDialog/index.vue | 35 ++++++-- .../components/PhysicalSignsRemark/index.vue | 88 +++++++++++++++++++ 3 files changed, 119 insertions(+), 6 deletions(-) create mode 100644 stdiet-ui/src/components/PhysicalSignsRemark/index.vue diff --git a/stdiet-system/src/main/resources/mapper/system/SysUserMapper.xml b/stdiet-system/src/main/resources/mapper/system/SysUserMapper.xml index 688050c38..27d26aa21 100644 --- a/stdiet-system/src/main/resources/mapper/system/SysUserMapper.xml +++ b/stdiet-system/src/main/resources/mapper/system/SysUserMapper.xml @@ -104,7 +104,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" ) AS up GROUP BY user_id ) AS ups USING(user_id) WHERE del_flag = '0' - AND user_name like concat('%', #{userName}, '%') + AND (user_name like concat('%', #{userName}, '%') OR nick_name like concat('%', #{userName}, '%')) AND status = #{status} diff --git a/stdiet-ui/src/components/PhysicalSignsDialog/index.vue b/stdiet-ui/src/components/PhysicalSignsDialog/index.vue index c1dee6968..20d16d686 100644 --- a/stdiet-ui/src/components/PhysicalSignsDialog/index.vue +++ b/stdiet-ui/src/components/PhysicalSignsDialog/index.vue @@ -3,7 +3,8 @@ - 修改信息 + 修改备注 + 修改信息 删除信息 @@ -14,6 +15,15 @@ {{titleArray[index]}} + + + + + + + + + @@ -59,7 +69,8 @@ - + + + +
{{titleArray[index]}}