From c0dbc27d5f987276ee55f696c9467aefbe6aa456 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E7=8E=89=E7=90=A6?= <7507756+jiang_yuqi@user.noreply.gitee.com> Date: Tue, 11 Mar 2025 17:02:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/mapper/manage/WxMenuConfigMapper.xml | 2 +- .../src/main/resources/mapper/system/SysRoleMapper.xml | 8 +++++++- .../miniprogram/pages/components/file-uploader/index.wxss | 4 ++-- yanzhu-ui-app/miniprogram/pages/login/login.wxml | 5 +++-- yanzhu-ui-app/miniprogram/pages/project_qr/index.wxml | 2 +- .../src/views/manage/proProjectInfoSubdepts/index.vue | 1 + yanzhu-ui-vue3/src/views/manage/wxMenuConfig/index.vue | 2 +- 7 files changed, 16 insertions(+), 8 deletions(-) diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/WxMenuConfigMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/WxMenuConfigMapper.xml index 0743c669..a13a31dd 100644 --- a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/WxMenuConfigMapper.xml +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/manage/WxMenuConfigMapper.xml @@ -137,7 +137,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" left join wx_menu_config_role smcr on smcr.smcid = smc.id left join sys_user_role ur on ur.role_id = smcr.role_id where smc.del_flag = 0 - and (ur.user_id = #{currentUserId} or smcr.user_id = #{currentUserId} or smcr.role_id is null) + and (ur.user_id = #{currentUserId} or smcr.user_id = #{currentUserId}) and smc.project_id = #{activeProjectId} and smc.menu_type = #{menuType} order by smc.menu_sort asc diff --git a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/system/SysRoleMapper.xml b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/system/SysRoleMapper.xml index d12530b3..4b811740 100644 --- a/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/system/SysRoleMapper.xml +++ b/yanzhu-common/yanzhu-common-mapper/src/main/resources/mapper/system/SysRoleMapper.xml @@ -80,12 +80,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" order by r.role_sort + + + + + + diff --git a/yanzhu-ui-app/miniprogram/pages/components/file-uploader/index.wxss b/yanzhu-ui-app/miniprogram/pages/components/file-uploader/index.wxss index bb2866b7..11d8681a 100644 --- a/yanzhu-ui-app/miniprogram/pages/components/file-uploader/index.wxss +++ b/yanzhu-ui-app/miniprogram/pages/components/file-uploader/index.wxss @@ -58,7 +58,7 @@ height:180rpx; border: 1px dashed #28345a; border-radius: 10rpx; - background: #28345a url("https://xiangguan.sxyanzhu.com/profile/xmgl/static/z_card.png") no-repeat center/100%; + background: #28345a url("https://xiangguan.sxyanzhu.com/profile/static/z_card.png") no-repeat center/100%; } .in-fcard-click{ @@ -66,7 +66,7 @@ height:180rpx; border: 1px dashed #28345a; border-radius: 10rpx; - background: #28345a url("https://xiangguan.sxyanzhu.com/profile/xmgl/static/f_card.png") no-repeat center/100%; + background: #28345a url("https://xiangguan.sxyanzhu.com/profile/static/f_card.png") no-repeat center/100%; } .in-img-div image{ diff --git a/yanzhu-ui-app/miniprogram/pages/login/login.wxml b/yanzhu-ui-app/miniprogram/pages/login/login.wxml index b32c2538..05444c70 100644 --- a/yanzhu-ui-app/miniprogram/pages/login/login.wxml +++ b/yanzhu-ui-app/miniprogram/pages/login/login.wxml @@ -1,12 +1,13 @@ 数字工程项目管理系统 - + + 请使用手机号登录 diff --git a/yanzhu-ui-app/miniprogram/pages/project_qr/index.wxml b/yanzhu-ui-app/miniprogram/pages/project_qr/index.wxml index 8649c2d2..958165f3 100644 --- a/yanzhu-ui-app/miniprogram/pages/project_qr/index.wxml +++ b/yanzhu-ui-app/miniprogram/pages/project_qr/index.wxml @@ -1,7 +1,7 @@