diff --git a/.env b/.env index a90ebb1..8dc6b70 100644 --- a/.env +++ b/.env @@ -30,7 +30,7 @@ VITE_OAUTH2_MOBILE_CLIENT='app:app' VITE_OAUTH2_SOCIAL_CLIENT='social:social' # 是否开启前端滑块验证码 -VITE_VERIFY_ENABLE = true +VITE_VERIFY_ENABLE = false # 是否开启前端图形验证码 VITE_VERIFY_IMAGE_ENABLE = false diff --git a/.env.development b/.env.development index dfa7812..2b76bcc 100644 --- a/.env.development +++ b/.env.development @@ -8,7 +8,7 @@ VITE_OPEN = true ENV = 'development' # ADMIN 服务地址 -VITE_ADMIN_PROXY_PATH = http://panel1.nanxiislet.com:9999 +# VITE_ADMIN_PROXY_PATH = http://panel1.nanxiislet.com:9999 # VITE_ADMIN_PROXY_PATH = http://192.168.2.102:9999 # 罗老师本地 -# VITE_ADMIN_PROXY_PATH = http://10.30.148.198:7777 +VITE_ADMIN_PROXY_PATH = http://10.30.148.198:7777 diff --git a/src/api/h5/expert.ts b/src/api/h5/expert.ts index 0d36def..51f2cbc 100644 --- a/src/api/h5/expert.ts +++ b/src/api/h5/expert.ts @@ -9,4 +9,15 @@ export const getByProcessInstanceId = (processInstanceId: any) => { processInstanceId } }); +} +// 企业微信登录 +export const loginWx = (code: any) => { + return request({ + url: '/oauth2/token', + method: 'post', + data:{ + grant_type: 'wechat_work', + code:'' + } + }); } \ No newline at end of file diff --git a/src/api/workbench/miOwLibr/ownershipCreate/index.ts b/src/api/workbench/miOwLibr/ownershipCreate/index.ts index 41e624b..cb8cd5c 100644 --- a/src/api/workbench/miOwLibr/ownershipCreate/index.ts +++ b/src/api/workbench/miOwLibr/ownershipCreate/index.ts @@ -53,3 +53,11 @@ export const getPropertyRightsByProcessInstanceIdAPI = (processInstanceId: strin params: { processInstanceId }, }); } +// 根据id查询流程详情 +export const getProcessInfoByIdAPI = (id: string | number) => { + return request({ + url:'/admin/flow/form/processInfo', + method: 'get', + params: { id }, + }) +} \ No newline at end of file diff --git a/src/components/Upload/Image.vue b/src/components/Upload/Image.vue index 353d623..891d54f 100644 --- a/src/components/Upload/Image.vue +++ b/src/components/Upload/Image.vue @@ -16,7 +16,9 @@ >