From 7d874e31cfa42163fe448a6d742a805492359fc1 Mon Sep 17 00:00:00 2001
From: Zeno <15270656234@163.com>
Date: Mon, 28 Nov 2022 10:29:38 +0000
Subject: [PATCH 01/12] =?UTF-8?q?update=20ruoyi-ui/src/plugins/download.js?=
=?UTF-8?q?.=20=E4=BF=AE=E5=A4=8D=E6=96=87=E4=BB=B6=E5=90=8D=E5=8C=85?=
=?UTF-8?q?=E5=90=AB=E7=89=B9=E6=AE=8A=E5=AD=97=E7=AC=A6=EF=BC=88+?=
=?UTF-8?q?=E3=80=81-=E3=80=81*...=EF=BC=89=E7=9A=84=E6=96=87=E4=BB=B6?=
=?UTF-8?q?=E6=97=A0=E6=B3=95=E4=B8=8B=E8=BD=BD=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Zeno <15270656234@163.com>
---
ruoyi-ui/src/plugins/download.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/ruoyi-ui/src/plugins/download.js b/ruoyi-ui/src/plugins/download.js
index 86e20311..a3bb8c4f 100644
--- a/ruoyi-ui/src/plugins/download.js
+++ b/ruoyi-ui/src/plugins/download.js
@@ -9,7 +9,7 @@ const baseURL = process.env.VUE_APP_BASE_API
export default {
name(name, isDelete = true) {
- var url = baseURL + "/common/download?fileName=" + encodeURI(name) + "&delete=" + isDelete
+ var url = baseURL + "/common/download?fileName=" + encodeURIComponent(name) + "&delete=" + isDelete
axios({
method: 'get',
url: url,
@@ -19,14 +19,14 @@ export default {
const isLogin = await blobValidate(res.data);
if (isLogin) {
const blob = new Blob([res.data])
- this.saveAs(blob, decodeURI(res.headers['download-filename']))
+ this.saveAs(blob, decodeURIComponent(res.headers['download-filename']))
} else {
this.printErrMsg(res.data);
}
})
},
resource(resource) {
- var url = baseURL + "/common/download/resource?resource=" + encodeURI(resource);
+ var url = baseURL + "/common/download/resource?resource=" + encodeURIComponent(resource);
axios({
method: 'get',
url: url,
@@ -36,7 +36,7 @@ export default {
const isLogin = await blobValidate(res.data);
if (isLogin) {
const blob = new Blob([res.data])
- this.saveAs(blob, decodeURI(res.headers['download-filename']))
+ this.saveAs(blob, decodeURIComponent(res.headers['download-filename']))
} else {
this.printErrMsg(res.data);
}
From 9aae863ce34c806cb337f38e97695516bfe2fc61 Mon Sep 17 00:00:00 2001
From: RuoYi
Date: Sat, 3 Dec 2022 12:42:50 +0800
Subject: [PATCH 02/12] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=BC=B9=E7=AA=97?=
=?UTF-8?q?=E5=86=85=E5=AE=B9=E8=BF=87=E5=A4=9A=E5=B1=95=E7=A4=BA=E4=B8=8D?=
=?UTF-8?q?=E5=85=A8=E9=97=AE=E9=A2=98(I645RU)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
ruoyi-ui/src/assets/styles/ruoyi.scss | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/ruoyi-ui/src/assets/styles/ruoyi.scss b/ruoyi-ui/src/assets/styles/ruoyi.scss
index 2b63c847..db8c29ba 100644
--- a/ruoyi-ui/src/assets/styles/ruoyi.scss
+++ b/ruoyi-ui/src/assets/styles/ruoyi.scss
@@ -60,6 +60,10 @@
color: inherit;
}
+.el-message-box__status + .el-message-box__message{
+ word-break: break-word;
+}
+
.el-dialog:not(.is-fullscreen) {
margin-top: 6vh !important;
}
From 3b8a68c4cf99abc789fb5b13f9017593298c8fe1 Mon Sep 17 00:00:00 2001
From: RuoYi
Date: Sat, 3 Dec 2022 12:43:37 +0800
Subject: [PATCH 03/12] =?UTF-8?q?=E5=8D=87=E7=BA=A7oshi=E5=88=B0=E6=9C=80?=
=?UTF-8?q?=E6=96=B0=E7=89=88=E6=9C=AC6.3.2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pom.xml | 2 +-
.../system/service/impl/SysDeptServiceImpl.java | 6 +-----
.../system/service/impl/SysMenuServiceImpl.java | 12 ++++--------
3 files changed, 6 insertions(+), 14 deletions(-)
diff --git a/pom.xml b/pom.xml
index f7280e97..16c88080 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,7 @@
2.2.2
1.4.5
2.0.16
- 6.3.0
+ 6.3.2
2.11.0
1.4
3.2.2
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java
index 1aa456f0..41423884 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysDeptServiceImpl.java
@@ -71,11 +71,7 @@ public class SysDeptServiceImpl implements ISysDeptService
public List buildDeptTree(List depts)
{
List returnList = new ArrayList();
- List tempList = new ArrayList();
- for (SysDept dept : depts)
- {
- tempList.add(dept.getDeptId());
- }
+ List tempList = depts.stream().map(SysDept::getDeptId).collect(Collectors.toList());
for (SysDept dept : depts)
{
// 如果是顶级节点, 遍历该父节点的所有子节点
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysMenuServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysMenuServiceImpl.java
index 481a9ec9..a85c3506 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysMenuServiceImpl.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/SysMenuServiceImpl.java
@@ -223,11 +223,7 @@ public class SysMenuServiceImpl implements ISysMenuService
public List buildMenuTree(List menus)
{
List returnList = new ArrayList();
- List tempList = new ArrayList();
- for (SysMenu dept : menus)
- {
- tempList.add(dept.getMenuId());
- }
+ List tempList = menus.stream().map(SysMenu::getMenuId).collect(Collectors.toList());
for (Iterator iterator = menus.iterator(); iterator.hasNext();)
{
SysMenu menu = (SysMenu) iterator.next();
@@ -479,8 +475,8 @@ public class SysMenuServiceImpl implements ISysMenuService
/**
* 递归列表
*
- * @param list
- * @param t
+ * @param list 分类表
+ * @param t 子节点
*/
private void recursionFn(List list, SysMenu t)
{
@@ -525,7 +521,7 @@ public class SysMenuServiceImpl implements ISysMenuService
/**
* 内链域名特殊字符替换
*
- * @return
+ * @return 替换后的内链域名
*/
public String innerLinkReplaceEach(String path)
{
From 09bb3e15c65c05f085b5cf4b715dc29b28d19fa2 Mon Sep 17 00:00:00 2001
From: RuoYi
Date: Sat, 3 Dec 2022 12:48:51 +0800
Subject: [PATCH 04/12] =?UTF-8?q?=E5=AE=9A=E6=97=B6=E4=BB=BB=E5=8A=A1?=
=?UTF-8?q?=E8=BF=9D=E8=A7=84=E7=9A=84=E5=AD=97=E7=AC=A6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/main/java/com/ruoyi/common/constant/Constants.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/constant/Constants.java b/ruoyi-common/src/main/java/com/ruoyi/common/constant/Constants.java
index 87fa40fc..f4ba2934 100644
--- a/ruoyi-common/src/main/java/com/ruoyi/common/constant/Constants.java
+++ b/ruoyi-common/src/main/java/com/ruoyi/common/constant/Constants.java
@@ -138,5 +138,5 @@ public class Constants
* 定时任务违规的字符
*/
public static final String[] JOB_ERROR_STR = { "java.net.URL", "javax.naming.InitialContext", "org.yaml.snakeyaml",
- "org.springframework", "org.apache", "com.ruoyi.common.utils.file" };
+ "org.springframework", "org.apache", "com.ruoyi.common.utils.file", "com.ruoyi.common.config" };
}
From 39298d803c7605961aa956d6dc20a8dfccc9752f Mon Sep 17 00:00:00 2001
From: RuoYi
Date: Sat, 3 Dec 2022 12:50:26 +0800
Subject: [PATCH 05/12] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=96=B0=E7=BE=A4?=
=?UTF-8?q?=E5=8F=B7=EF=BC=9A170801498?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
README.md | 2 +-
ruoyi-ui/src/views/index.vue | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index 364a3c88..d438bf59 100644
--- a/README.md
+++ b/README.md
@@ -94,4 +94,4 @@
## 若依前后端分离交流群
-QQ群: [](https://jq.qq.com/?_wv=1027&k=5bVB1og) [](https://jq.qq.com/?_wv=1027&k=5eiA4DH) [](https://jq.qq.com/?_wv=1027&k=5AxMKlC) [](https://jq.qq.com/?_wv=1027&k=51G72yr) [](https://jq.qq.com/?_wv=1027&k=VvjN2nvu) [](https://jq.qq.com/?_wv=1027&k=5vYAqA05) [](https://jq.qq.com/?_wv=1027&k=kOIINEb5) [](https://jq.qq.com/?_wv=1027&k=UKtX5jhs) [](https://jq.qq.com/?_wv=1027&k=EI9an8lJ) [](https://jq.qq.com/?_wv=1027&k=SWCtLnMz) [](https://jq.qq.com/?_wv=1027&k=96Dkdq0k) [](https://jq.qq.com/?_wv=1027&k=0fsNiYZt) 点击按钮入群。
\ No newline at end of file
+QQ群: [](https://jq.qq.com/?_wv=1027&k=5bVB1og) [](https://jq.qq.com/?_wv=1027&k=5eiA4DH) [](https://jq.qq.com/?_wv=1027&k=5AxMKlC) [](https://jq.qq.com/?_wv=1027&k=51G72yr) [](https://jq.qq.com/?_wv=1027&k=VvjN2nvu) [](https://jq.qq.com/?_wv=1027&k=5vYAqA05) [](https://jq.qq.com/?_wv=1027&k=kOIINEb5) [](https://jq.qq.com/?_wv=1027&k=UKtX5jhs) [](https://jq.qq.com/?_wv=1027&k=EI9an8lJ) [](https://jq.qq.com/?_wv=1027&k=SWCtLnMz) [](https://jq.qq.com/?_wv=1027&k=96Dkdq0k) [](https://jq.qq.com/?_wv=1027&k=0fsNiYZt) [](https://jq.qq.com/?_wv=1027&k=7xw4xUG1) 点击按钮入群。
\ No newline at end of file
diff --git a/ruoyi-ui/src/views/index.vue b/ruoyi-ui/src/views/index.vue
index 64ba37e2..f5295bc6 100644
--- a/ruoyi-ui/src/views/index.vue
+++ b/ruoyi-ui/src/views/index.vue
@@ -121,8 +121,8 @@
QQ群:满937441 满887144332
满180251782 满104180207 满186866453 满201396349
满101456076 满101539465 满264312783 满167385320
- 满104748341
- 160110482满104748341 满160110482
+ 170801498
From 3039b745a981ebb84b7417f39a597b08598e76d5 Mon Sep 17 00:00:00 2001
From: RuoYi
Date: Wed, 7 Dec 2022 10:12:15 +0800
Subject: [PATCH 06/12] =?UTF-8?q?=E5=8D=87=E7=BA=A7echarts=E5=88=B0?=
=?UTF-8?q?=E6=9C=80=E6=96=B0=E7=89=88=E6=9C=AC5.4.0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
ruoyi-ui/package.json | 2 +-
ruoyi-ui/src/components/RightPanel/index.vue | 6 ------
ruoyi-ui/src/views/dashboard/BarChart.vue | 2 +-
ruoyi-ui/src/views/dashboard/LineChart.vue | 2 +-
ruoyi-ui/src/views/dashboard/PieChart.vue | 2 +-
ruoyi-ui/src/views/dashboard/RaddarChart.vue | 2 +-
ruoyi-ui/src/views/monitor/cache/index.vue | 2 +-
7 files changed, 6 insertions(+), 12 deletions(-)
diff --git a/ruoyi-ui/package.json b/ruoyi-ui/package.json
index 06c1fc03..190bf2f1 100644
--- a/ruoyi-ui/package.json
+++ b/ruoyi-ui/package.json
@@ -40,7 +40,7 @@
"axios": "0.24.0",
"clipboard": "2.0.8",
"core-js": "3.25.3",
- "echarts": "4.9.0",
+ "echarts": "5.4.0",
"element-ui": "2.15.10",
"file-saver": "2.0.5",
"fuse.js": "6.4.3",
diff --git a/ruoyi-ui/src/components/RightPanel/index.vue b/ruoyi-ui/src/components/RightPanel/index.vue
index 42b5a6be..25ce3f81 100644
--- a/ruoyi-ui/src/components/RightPanel/index.vue
+++ b/ruoyi-ui/src/components/RightPanel/index.vue
@@ -39,7 +39,6 @@ export default {
}
},
mounted() {
- this.insertToBody()
this.addEventClick()
},
beforeDestroy() {
@@ -56,11 +55,6 @@ export default {
this.show = false
window.removeEventListener('click', this.closeSidebar)
}
- },
- insertToBody() {
- const elx = this.$refs.rightPanel
- const body = document.querySelector('body')
- body.insertBefore(elx, body.firstChild)
}
}
}
diff --git a/ruoyi-ui/src/views/dashboard/BarChart.vue b/ruoyi-ui/src/views/dashboard/BarChart.vue
index 6b464e1c..5be49bca 100644
--- a/ruoyi-ui/src/views/dashboard/BarChart.vue
+++ b/ruoyi-ui/src/views/dashboard/BarChart.vue
@@ -3,7 +3,7 @@