From b4e546c58fa771bc2c692e7ff5f9f0d416b7cd1a 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: Mon, 25 Dec 2023 00:54:26 +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 --- ruoyi-ui/src/components/ImageUpload/index.vue | 2 +- ruoyi-ui/src/layout/components/Navbar.vue | 4 +- ruoyi-ui/src/views/system/user/index.vue | 2 +- .../src/views/wxsetting/wxMenConfig/index.vue | 120 +++++++++++------- 4 files changed, 80 insertions(+), 48 deletions(-) diff --git a/ruoyi-ui/src/components/ImageUpload/index.vue b/ruoyi-ui/src/components/ImageUpload/index.vue index b57a15e7..43c13075 100644 --- a/ruoyi-ui/src/components/ImageUpload/index.vue +++ b/ruoyi-ui/src/components/ImageUpload/index.vue @@ -93,7 +93,7 @@ export default { // 然后将数组转为对象数组 this.fileList = list.map(item => { if (typeof item === "string") { - if (item.indexOf(this.baseUrl) === -1) { + if (item.indexOf(this.baseUrl) === -1 && item.indexOf('http') === -1) { item = { name: this.baseUrl + item, url: this.baseUrl + item }; } else { item = { name: item, url: item }; diff --git a/ruoyi-ui/src/layout/components/Navbar.vue b/ruoyi-ui/src/layout/components/Navbar.vue index 48f6b75c..2804752b 100644 --- a/ruoyi-ui/src/layout/components/Navbar.vue +++ b/ruoyi-ui/src/layout/components/Navbar.vue @@ -90,7 +90,9 @@ export default { window.open("/jhbs/") }, toggleSideBar() { - this.$store.dispatch('app/toggleSideBar') + this.$store.dispatch('app/toggleSideBar'); + //查询任务tips + this.$store.dispatch('settingAwaitNum'); }, async logout() { this.$confirm('确定注销并退出系统吗?', '提示', { diff --git a/ruoyi-ui/src/views/system/user/index.vue b/ruoyi-ui/src/views/system/user/index.vue index 03f61378..834df7c6 100644 --- a/ruoyi-ui/src/views/system/user/index.vue +++ b/ruoyi-ui/src/views/system/user/index.vue @@ -314,8 +314,8 @@
“总包公司” 有总包公司所有项目权限。
“总包公司个人” 有项目人员中担任职务项目的权限。
+“【工作流】”标记角色,对应项目审批相关。
监理单位,分包单位同上。总包公司权限大于个人权限,请选择角色时以个人角色为主