Skip to content

Commit 2dc094c

Browse files
JavaLionLigitee-org
authored andcommitted
!212 发布 5.4.0-2.4.0 正式版
Merge pull request !212 from 疯狂的狮子Li/dev
2 parents 7de9f23 + 9c528d9 commit 2dc094c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+605
-642
lines changed

.eslintrc-auto-import.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,9 @@
315315
"watchThrottled": true,
316316
"watchTriggerable": true,
317317
"watchWithFilter": true,
318-
"whenever": true
318+
"whenever": true,
319+
"Slot": true,
320+
"Slots": true,
321+
"createRef": true
319322
}
320323
}

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
- 本仓库为前端技术栈 [Vue3](https://v3.cn.vuejs.org) + [TS](https://www.typescriptlang.org/) + [Element Plus](https://element-plus.org/zh-CN) + [Vite](https://cn.vitejs.dev) 版本。
44
- 成员项目: 基于 vben5(ant-design-vue) 的前端项目 [ruoyi-plus-vben5](https://gitee.com/dapppp/ruoyi-plus-vben5)
5+
- 成员项目: 基于soybean 的前端项目 [ruoyi-plus-soybean](https://gitee.com/xlsea/ruoyi-plus-soybean)
56

67
## 配套后端代码仓库地址
78

@@ -10,6 +11,11 @@
1011
| 🔥 分布式集群框架 | RuoYi-Vue-Plus | - [Gitee](https://gitee.com/dromara/RuoYi-Vue-Plus)<br> - [GitHub](https://github.com/dromara/RuoYi-Vue-Plus)<br> - [GitCode](https://gitcode.com/dromara/RuoYi-Vue-Plus) |
1112
| 🔥 微服务框架 | RuoYi-Cloud-Plus | - [Gitee](https://gitee.com/dromara/RuoYi-Cloud-Plus)<br>- [GitHub](https://github.com/dromara/RuoYi-Cloud-Plus)<br> - [GitCode](https://gitcode.com/dromara/RuoYi-Cloud-Plus) |
1213

14+
## 分支说明
15+
16+
- ts分支(稳定发布主分支 生产可用)
17+
- dev分支(开发分支 开发过程中使用)
18+
1319
## 前端运行
1420

1521
```bash

package.json

Lines changed: 26 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://json.schemastore.org/package",
33
"name": "ruoyi-vue-plus",
4-
"version": "5.3.1-2.3.0",
4+
"version": "5.4.0-2.4.0",
55
"description": "RuoYi-Vue-Plus多租户管理系统",
66
"author": "LionLi",
77
"license": "MIT",
@@ -23,31 +23,31 @@
2323
"@element-plus/icons-vue": "2.3.1",
2424
"@highlightjs/vue-plugin": "2.1.0",
2525
"@vueup/vue-quill": "1.2.0",
26-
"@vueuse/core": "12.7.0",
26+
"@vueuse/core": "13.1.0",
2727
"animate.css": "4.1.1",
2828
"await-to-js": "3.0.0",
29-
"axios": "1.7.8",
29+
"axios": "1.8.4",
3030
"crypto-js": "4.2.0",
31-
"echarts": "5.5.0",
32-
"element-plus": "2.8.8",
31+
"echarts": "5.6.0",
32+
"element-plus": "2.9.8",
3333
"file-saver": "2.0.5",
3434
"highlight.js": "11.9.0",
3535
"image-conversion": "2.1.1",
3636
"js-cookie": "3.0.5",
3737
"jsencrypt": "3.3.2",
3838
"nprogress": "0.2.0",
39-
"pinia": "2.2.6",
39+
"pinia": "3.0.2",
4040
"screenfull": "6.0.2",
4141
"vue": "3.5.13",
4242
"vue-cropper": "1.1.1",
43-
"vue-i18n": "10.0.5",
43+
"vue-i18n": "11.1.3",
4444
"vue-json-pretty": "2.4.0",
45-
"vue-router": "4.4.5",
46-
"vue-types": "5.1.3",
47-
"vxe-table": "4.5.22"
45+
"vue-router": "4.5.0",
46+
"vue-types": "6.0.0",
47+
"vxe-table": "4.13.7"
4848
},
4949
"devDependencies": {
50-
"@iconify/json": "2.2.276",
50+
"@iconify/json": "^2.2.276",
5151
"@types/crypto-js": "4.2.2",
5252
"@types/file-saver": "2.0.7",
5353
"@types/js-cookie": "3.0.6",
@@ -56,8 +56,8 @@
5656
"@unocss/preset-attributify": "66.0.0",
5757
"@unocss/preset-icons": "66.0.0",
5858
"@unocss/preset-uno": "66.0.0",
59-
"@vitejs/plugin-vue": "5.2.1",
60-
"@vue/compiler-sfc": "3.4.23",
59+
"@vitejs/plugin-vue": "5.2.3",
60+
"@vue/compiler-sfc": "3.5.13",
6161
"@vue/eslint-config-prettier": "10.2.0",
6262
"@vue/eslint-config-typescript": "14.4.0",
6363
"autoprefixer": "10.4.20",
@@ -66,19 +66,22 @@
6666
"eslint-plugin-vue": "9.32.0",
6767
"globals": "16.0.0",
6868
"prettier": "3.5.2",
69-
"sass": "1.84.0",
70-
"typescript": "~5.7.3",
69+
"sass": "1.87.0",
70+
"typescript": "~5.8.3",
7171
"unocss": "66.0.0",
72-
"unplugin-auto-import": "0.17.5",
73-
"unplugin-icons": "0.18.5",
74-
"unplugin-vue-components": "28.0.0",
72+
"unplugin-auto-import": "19.1.2",
73+
"unplugin-icons": "22.1.0",
74+
"unplugin-vue-components": "28.5.0",
7575
"unplugin-vue-setup-extend-plus": "1.0.1",
76-
"vite": "5.4.11",
76+
"vite": "6.3.2",
7777
"vite-plugin-compression": "0.5.1",
78-
"vite-plugin-svg-icons-ng": "^1.2.2",
79-
"vite-plugin-vue-devtools": "7.7.1",
80-
"vitest": "3.0.5",
81-
"vue-tsc": "^2.2.2"
78+
"vite-plugin-svg-icons-ng": "^1.4.0",
79+
"vite-plugin-vue-devtools": "7.7.5",
80+
"vitest": "3.1.2",
81+
"vue-tsc": "^2.2.8"
82+
},
83+
"overrides": {
84+
"quill": "2.0.2"
8285
},
8386
"engines": {
8487
"node": ">=18.18.0",

src/api/system/dept/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import request from '@/utils/request';
22
import { AxiosPromise } from 'axios';
3-
import {DeptForm, DeptQuery, DeptTreeVO, DeptVO} from './types';
3+
import { DeptForm, DeptQuery, DeptTreeVO, DeptVO } from './types';
44

55
// 查询部门列表
66
export const listDept = (query?: DeptQuery) => {

src/api/system/menu/index.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,11 @@ export const delMenu = (menuId: string | number) => {
6868
method: 'delete'
6969
});
7070
};
71+
72+
// 级联删除菜单
73+
export const cascadeDelMenu = (menuIds: Array<string | number>) => {
74+
return request({
75+
url: '/system/menu/cascade/' + menuIds,
76+
method: 'delete'
77+
});
78+
};

src/api/system/user/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {DeptTreeVO, DeptVO} from './../dept/types';
1+
import { DeptTreeVO, DeptVO } from './../dept/types';
22
import { RoleVO } from '@/api/system/role/types';
33
import request from '@/utils/request';
44
import { AxiosPromise } from 'axios';

src/api/system/user/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export interface UserInfo {
1515
*/
1616
export interface UserQuery extends PageQuery {
1717
userName?: string;
18+
nickName?: string;
1819
phonenumber?: string;
1920
status?: string;
2021
deptId?: string | number;

src/api/workflow/instance/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ export const pageByFinish = (query: FlowInstanceQuery): AxiosPromise<FlowInstanc
3131
/**
3232
* 通过业务id获取历史流程图
3333
*/
34-
export const flowImage = (businessId: string | number) => {
34+
export const flowHisTaskList = (businessId: string | number) => {
3535
return request({
36-
url: `/workflow/instance/flowImage/${businessId}` + '?t' + Math.random(),
36+
url: `/workflow/instance/flowHisTaskList/${businessId}` + '?t' + Math.random(),
3737
method: 'get'
3838
});
3939
};

src/assets/styles/sidebar.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
z-index: 1001;
2727
overflow: hidden;
2828
-webkit-box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35);
29-
box-shadow: 2px 0 6px rgba(0, 21, 41, 0.35);
29+
box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);
3030

3131
// reset element-ui css
3232
.horizontal-collapse-transition {

src/components/Breadcrumb/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const findPathNum = (str, char = '/') => {
4444
return str.split(char).length - 1;
4545
};
4646
const getMatched = (pathList, routeList, matched) => {
47-
let data = routeList.find((item) => item.path == pathList[0] || (item.name += '').toLowerCase() == pathList[0]);
47+
const data = routeList.find((item) => item.path == pathList[0] || (item.name += '').toLowerCase() == pathList[0]);
4848
if (data) {
4949
matched.push(data);
5050
if (data.children && pathList.length) {

0 commit comments

Comments
 (0)