Skip to content

Commit b5fa188

Browse files
AhJindeggitee-org
authored andcommitted
Merge branch 'dev' of gitee.com:yudaocode/yudao-ui-admin-vue3 into hotfix-role
Signed-off-by: AhJindeg <[email protected]>
2 parents db47957 + 8f8edc9 commit b5fa188

File tree

181 files changed

+8705
-2287
lines changed

Some content is hidden

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

181 files changed

+8705
-2287
lines changed

.eslintrc.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ module.exports = defineConfig({
6868
],
6969
'vue/multi-word-component-names': 'off',
7070
'vue/no-v-html': 'off',
71-
'prettier/prettier': 'off' // 芋艿:默认关闭 prettier 的 ESLint 校验,因为我们使用的是 IDE 的 Prettier 插件
71+
'prettier/prettier': 'off', // 芋艿:默认关闭 prettier 的 ESLint 校验,因为我们使用的是 IDE 的 Prettier 插件
72+
'@unocss/order': 'off', // 芋艿:禁用 unocss 【css】顺序的提示,因为暂时不需要这么严格,警告也有点繁琐
73+
'@unocss/order-attributify': 'off' // 芋艿:禁用 unocss 【属性】顺序的提示,因为暂时不需要这么严格,警告也有点繁琐
7274
}
7375
})

.image/common/bpm-feature.png

15.9 KB
Loading

.image/common/infra-feature.png

16.5 KB
Loading

.image/common/system-feature.png

13.3 KB
Loading

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@
117117
| 🚀 | 应用管理 | 管理 SSO 单点登录的应用,支持多种 OAuth2 授权方式 |
118118
| 🚀 | 地区管理 | 展示省份、城市、区镇等城市信息,支持 IP 对应城市 |
119119

120+
![功能图](/.image/common/system-feature.png)
121+
120122
### 工作流程
121123

122124
| | 功能 | 描述 |
@@ -129,6 +131,8 @@
129131
| 🚀 | 已办任务 | 查看自己【已】审批的工作任务,未来会支持回退操作 |
130132
| 🚀 | OA 请假 | 作为业务自定义接入工作流的使用示例,只需创建请求对应的工作流程,即可进行审批 |
131133

134+
![功能图](/.image/common/bpm-feature.png)
135+
132136
### 支付系统
133137

134138
| | 功能 | 描述 |
@@ -164,6 +168,8 @@ ps:核心功能已经实现,正在对接微信小程序中...
164168
| 🚀 | 日志服务 | 轻量级日志中心,查看远程服务器的日志 |
165169
| 🚀 | 单元测试 | 基于 JUnit + Mockito 实现单元测试,保证功能的正确性、代码的质量等 |
166170

171+
![功能图](/.image/common/infra-feature.png)
172+
167173
### 数据报表
168174

169175
| | 功能 | 描述 |

package.json

Lines changed: 44 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "yudao-ui-admin-vue3",
3-
"version": "2.0.0-snapshot",
3+
"version": "2.0.1-snapshot",
44
"description": "基于vue3、vite4、element-plus、typesScript",
55
"author": "xingyu",
66
"private": false,
@@ -30,12 +30,12 @@
3030
"@form-create/element-ui": "^3.1.24",
3131
"@iconify/iconify": "^3.1.1",
3232
"@videojs-player/vue": "^1.0.0",
33-
"@vueuse/core": "^10.6.1",
33+
"@vueuse/core": "^10.9.0",
3434
"@wangeditor/editor": "^5.1.23",
3535
"@wangeditor/editor-for-vue": "^5.1.10",
3636
"@zxcvbn-ts/core": "^3.0.4",
3737
"animate.css": "^4.1.1",
38-
"axios": "^1.6.1",
38+
"axios": "^1.6.7",
3939
"benz-amr-recorder": "^1.1.5",
4040
"bpmn-js-token-simulation": "^0.10.0",
4141
"camunda-bpmn-moddle": "^7.0.1",
@@ -44,9 +44,9 @@
4444
"dayjs": "^1.11.10",
4545
"diagram-js": "^12.8.0",
4646
"driver.js": "^1.3.1",
47-
"echarts": "^5.4.3",
47+
"echarts": "^5.5.0",
4848
"echarts-wordcloud": "^2.1.0",
49-
"element-plus": "2.4.2",
49+
"element-plus": "2.5.3",
5050
"fast-xml-parser": "^4.3.2",
5151
"highlight.js": "^11.9.0",
5252
"jsencrypt": "^3.3.2",
@@ -55,77 +55,78 @@
5555
"mitt": "^3.0.1",
5656
"nprogress": "^0.2.0",
5757
"pinia": "^2.1.7",
58+
"pinia-plugin-persistedstate": "^3.2.0",
5859
"qrcode": "^1.5.3",
5960
"qs": "^6.11.2",
6061
"steady-xml": "^0.1.0",
6162
"url": "^0.11.3",
6263
"video.js": "^7.21.5",
63-
"vue": "^3.3.8",
64+
"vue": "3.4.20",
6465
"vue-dompurify-html": "^4.1.4",
65-
"vue-i18n": "^9.6.5",
66-
"vue-router": "^4.2.5",
66+
"vue-i18n": "9.9.1",
67+
"vue-router": "^4.3.0",
6768
"vue-types": "^5.1.1",
6869
"vuedraggable": "^4.1.0",
6970
"web-storage-cache": "^1.1.1",
7071
"xml-js": "^1.6.11"
7172
},
7273
"devDependencies": {
73-
"@commitlint/cli": "^18.4.1",
74-
"@commitlint/config-conventional": "^18.4.0",
75-
"@iconify/json": "^2.2.142",
76-
"@intlify/unplugin-vue-i18n": "^1.5.0",
74+
"@commitlint/cli": "^19.0.1",
75+
"@commitlint/config-conventional": "^19.0.0",
76+
"@iconify/json": "^2.2.187",
77+
"@intlify/unplugin-vue-i18n": "^2.0.0",
7778
"@purge-icons/generated": "^0.9.0",
78-
"@types/lodash-es": "^4.17.11",
79-
"@types/node": "^20.9.0",
79+
"@types/lodash-es": "^4.17.12",
80+
"@types/node": "^20.11.21",
8081
"@types/nprogress": "^0.2.3",
8182
"@types/qrcode": "^1.5.5",
82-
"@types/qs": "^6.9.10",
83-
"@typescript-eslint/eslint-plugin": "^6.11.0",
84-
"@typescript-eslint/parser": "^6.11.0",
85-
"@unocss/transformer-variant-group": "^0.57.4",
83+
"@types/qs": "^6.9.12",
84+
"@typescript-eslint/eslint-plugin": "^7.1.0",
85+
"@typescript-eslint/parser": "^7.1.0",
86+
"@unocss/transformer-variant-group": "^0.58.5",
8687
"@unocss/eslint-config": "^0.57.4",
87-
"@vitejs/plugin-legacy": "^4.1.1",
88-
"@vitejs/plugin-vue": "^4.4.1",
89-
"@vitejs/plugin-vue-jsx": "^3.0.2",
90-
"autoprefixer": "^10.4.16",
88+
"@vitejs/plugin-legacy": "^5.3.1",
89+
"@vitejs/plugin-vue": "^5.0.4",
90+
"@vitejs/plugin-vue-jsx": "^3.1.0",
91+
"autoprefixer": "^10.4.17",
9192
"bpmn-js": "8.9.0",
9293
"bpmn-js-properties-panel": "0.46.0",
9394
"consola": "^3.2.3",
94-
"eslint": "^8.53.0",
95-
"eslint-config-prettier": "^9.0.0",
96-
"eslint-define-config": "^1.24.1",
97-
"eslint-plugin-prettier": "^5.0.1",
98-
"eslint-plugin-vue": "^9.18.1",
99-
"lint-staged": "^15.1.0",
100-
"postcss": "^8.4.31",
101-
"postcss-html": "^1.5.0",
95+
"eslint": "^8.57.0",
96+
"eslint-config-prettier": "^9.1.0",
97+
"eslint-define-config": "^2.1.0",
98+
"eslint-plugin-prettier": "^5.1.3",
99+
"eslint-plugin-vue": "^9.22.0",
100+
"lint-staged": "^15.2.2",
101+
"postcss": "^8.4.35",
102+
"postcss-html": "^1.6.0",
102103
"postcss-scss": "^4.0.9",
103-
"prettier": "^3.1.0",
104+
"prettier": "^3.2.5",
104105
"prettier-eslint": "^16.3.0",
105106
"rimraf": "^5.0.5",
106-
"rollup": "^4.4.1",
107+
"rollup": "^4.12.0",
107108
"sass": "^1.69.5",
108-
"stylelint": "^15.11.0",
109+
"stylelint": "^16.2.1",
109110
"stylelint-config-html": "^1.1.0",
110-
"stylelint-config-recommended": "^13.0.0",
111-
"stylelint-config-standard": "^34.0.0",
112-
"stylelint-order": "^6.0.3",
113-
"terser": "^5.24.0",
114-
"typescript": "5.2.2",
115-
"unocss": "^0.57.4",
111+
"stylelint-config-recommended": "^14.0.0",
112+
"stylelint-config-standard": "^36.0.0",
113+
"stylelint-order": "^6.0.4",
114+
"terser": "^5.28.1",
115+
"typescript": "5.3.3",
116+
"unocss": "^0.58.5",
116117
"unplugin-auto-import": "^0.16.7",
117118
"unplugin-element-plus": "^0.8.0",
118119
"unplugin-vue-components": "^0.25.2",
119-
"vite": "4.5.0",
120+
"vite": "5.1.4",
120121
"vite-plugin-compression": "^0.5.1",
121-
"vite-plugin-ejs": "^1.6.4",
122+
"vite-plugin-ejs": "^1.7.0",
122123
"vite-plugin-eslint": "^1.8.1",
123124
"vite-plugin-progress": "^0.0.7",
124-
"vite-plugin-purge-icons": "^0.9.2",
125+
"vite-plugin-purge-icons": "^0.10.0",
125126
"vite-plugin-svg-icons": "^2.0.1",
126127
"vite-plugin-top-level-await": "^1.3.1",
127128
"vue-eslint-parser": "^9.3.2",
128-
"vue-tsc": "^1.8.22"
129+
"vue-tsc": "^1.8.27"
129130
},
130131
"license": "MIT",
131132
"repository": {

src/api/bpm/category/index.ts

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
import request from '@/config/axios'
2+
3+
// BPM 流程分类 VO
4+
export interface CategoryVO {
5+
id: number // 分类编号
6+
name: string // 分类名
7+
code: string // 分类标志
8+
status: number // 分类状态
9+
sort: number // 分类排序
10+
}
11+
12+
// BPM 流程分类 API
13+
export const CategoryApi = {
14+
// 查询流程分类分页
15+
getCategoryPage: async (params: any) => {
16+
return await request.get({ url: `/bpm/category/page`, params })
17+
},
18+
19+
// 查询流程分类列表
20+
getCategorySimpleList: async () => {
21+
return await request.get({ url: `/bpm/category/simple-list` })
22+
},
23+
24+
// 查询流程分类详情
25+
getCategory: async (id: number) => {
26+
return await request.get({ url: `/bpm/category/get?id=` + id })
27+
},
28+
29+
// 新增流程分类
30+
createCategory: async (data: CategoryVO) => {
31+
return await request.post({ url: `/bpm/category/create`, data })
32+
},
33+
34+
// 修改流程分类
35+
updateCategory: async (data: CategoryVO) => {
36+
return await request.put({ url: `/bpm/category/update`, data })
37+
},
38+
39+
// 删除流程分类
40+
deleteCategory: async (id: number) => {
41+
return await request.delete({ url: `/bpm/category/delete?id=` + id })
42+
}
43+
}

src/api/bpm/definition/index.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import request from '@/config/axios'
22

3-
export const getProcessDefinitionBpmnXML = async (id: number) => {
3+
export const getProcessDefinition = async (id: number, key: string) => {
44
return await request.get({
5-
url: '/bpm/process-definition/get-bpmn-xml?id=' + id
5+
url: '/bpm/process-definition/get',
6+
params: { id, key }
67
})
78
}
89

src/api/bpm/form/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ export const getFormPage = async (params) => {
4949
}
5050

5151
// 获得动态表单的精简列表
52-
export const getSimpleFormList = async () => {
52+
export const getFormSimpleList = async () => {
5353
return await request.get({
54-
url: '/bpm/form/list-all-simple'
54+
url: '/bpm/form/simple-list'
5555
})
5656
}

src/api/bpm/leave/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import request from '@/config/axios'
22

33
export type LeaveVO = {
44
id: number
5-
result: number
5+
status: number
66
type: number
77
reason: string
88
processInstanceId: string

0 commit comments

Comments
 (0)