Skip to content

Commit 3d59191

Browse files
committed
Merge branch 'feature/bpm' of https://github.com/GoldenZqqq/yudao-ui-admin-vue3 into feature/bpm
2 parents b3a97b0 + fea238e commit 3d59191

File tree

92 files changed

+2992
-2423
lines changed

Some content is hidden

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

92 files changed

+2992
-2423
lines changed

.env.dev

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,6 @@ VITE_MALL_H5_DOMAIN='http://mall.yudao.iocoder.cn'
3232

3333
# 验证码的开关
3434
VITE_APP_CAPTCHA_ENABLE=true
35+
36+
# GoView域名
37+
VITE_GOVIEW_URL='http://127.0.0.1:3000'

.env.local

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@ VITE_MALL_H5_DOMAIN='http://localhost:3000'
2929

3030
# 验证码的开关
3131
VITE_APP_CAPTCHA_ENABLE=false
32+
33+
# GoView域名
34+
VITE_GOVIEW_URL='http://127.0.0.1:3000'

.env.prod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@ VITE_OUT_DIR=dist-prod
2929

3030
# 商城H5会员端域名
3131
VITE_MALL_H5_DOMAIN='http://mall.yudao.iocoder.cn'
32+
33+
# GoView域名
34+
VITE_GOVIEW_URL='http://127.0.0.1:3000'

.env.stage

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@ VITE_OUT_DIR=dist-stage
2929

3030
# 商城H5会员端域名
3131
VITE_MALL_H5_DOMAIN='http://mall.yudao.iocoder.cn'
32+
33+
# GoView域名
34+
VITE_GOVIEW_URL='http://127.0.0.1:3000'

.env.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,6 @@ VITE_OUT_DIR=dist-test
2929

3030
# 商城H5会员端域名
3131
VITE_MALL_H5_DOMAIN='http://mall.yudao.iocoder.cn'
32+
33+
# GoView域名
34+
VITE_GOVIEW_URL='http://127.0.0.1:3000'

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "yudao-ui-admin-vue3",
3-
"version": "2.3.0-snapshot",
3+
"version": "2.4.0-snapshot",
44
"description": "基于vue3、vite4、element-plus、typesScript",
55
"author": "xingyu",
66
"private": false,
@@ -38,7 +38,7 @@
3838
"animate.css": "^4.1.1",
3939
"axios": "^1.6.8",
4040
"benz-amr-recorder": "^1.1.5",
41-
"bpmn-js-token-simulation": "^0.10.0",
41+
"bpmn-js-token-simulation": "^0.36.0",
4242
"camunda-bpmn-moddle": "^7.0.1",
4343
"cropperjs": "^1.6.1",
4444
"crypto-js": "^4.2.0",
@@ -47,7 +47,7 @@
4747
"driver.js": "^1.3.1",
4848
"echarts": "^5.5.0",
4949
"echarts-wordcloud": "^2.1.0",
50-
"element-plus": "2.8.4",
50+
"element-plus": "2.9.1",
5151
"fast-xml-parser": "^4.3.2",
5252
"highlight.js": "^11.9.0",
5353
"jsencrypt": "^3.3.2",
@@ -73,6 +73,7 @@
7373
"vue-i18n": "9.10.2",
7474
"vue-router": "4.4.5",
7575
"vue-types": "^5.1.1",
76+
"vue3-signature": "^0.2.4",
7677
"vuedraggable": "^4.1.0",
7778
"web-storage-cache": "^1.1.1",
7879
"xml-js": "^1.6.11"

pnpm-lock.yaml

Lines changed: 39 additions & 74 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/api/bpm/model/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,7 @@ export const deleteModel = async (id: number) => {
7272
export const deployModel = async (id: number) => {
7373
return await request.post({ url: '/bpm/model/deploy?id=' + id })
7474
}
75+
76+
export const cleanModel = async (id: number) => {
77+
return await request.delete({ url: '/bpm/model/clean?id=' + id })
78+
}

src/api/bpm/processInstance/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export type ApprovalTaskInfo = {
3636
assigneeUser: User
3737
status: number
3838
reason: string
39+
signPicUrl: string
3940
}
4041

4142
// 审批节点信息
@@ -89,7 +90,7 @@ export const getProcessInstanceCopyPage = async (params: any) => {
8990

9091
// 获取审批详情
9192
export const getApprovalDetail = async (params: any) => {
92-
return await request.get({ url: 'bpm/process-instance/get-approval-detail' , params })
93+
return await request.get({ url: 'bpm/process-instance/get-approval-detail', params })
9394
}
9495

9596
// 获取表单字段权限

src/api/login/index.ts

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ export const register = (data: RegisterVO) => {
2222
return request.post({ url: '/system/auth/register', data })
2323
}
2424

25-
// 刷新访问令牌
26-
export const refreshToken = () => {
27-
return request.post({ url: '/system/auth/refresh-token?refreshToken=' + getRefreshToken() })
28-
}
29-
3025
// 使用租户名,获得租户编号
3126
export const getTenantIdByName = (name: string) => {
3227
return request.get({ url: '/system/tenant/get-id-by-name?name=' + name })
@@ -76,11 +71,17 @@ export const socialAuthRedirect = (type: number, redirectUri: string) => {
7671
})
7772
}
7873
// 获取验证图片以及 token
79-
export const getCode = (data) => {
74+
export const getCode = (data: any) => {
75+
debugger
8076
return request.postOriginal({ url: 'system/captcha/get', data })
8177
}
8278

8379
// 滑动或者点选验证
84-
export const reqCheck = (data) => {
80+
export const reqCheck = (data: any) => {
8581
return request.postOriginal({ url: 'system/captcha/check', data })
8682
}
83+
84+
// 通过短信重置密码
85+
export const smsResetPassword = (data: any) => {
86+
return request.post({ url: '/system/auth/sms-reset-password', data })
87+
}

0 commit comments

Comments
 (0)