From 11ea1ee454cb2425223fef74706dd055e2f93112 Mon Sep 17 00:00:00 2001 From: Teo <2642673902@qq.com> Date: Wed, 17 Sep 2025 20:14:48 +0800 Subject: [PATCH] 1 --- src/api/system/oss/index.ts | 8 ++ src/api/system/user/index.ts | 10 ++ src/components/ImageUpload/index.vue | 34 ++++-- .../BasicData/enterRoad/index.vue | 111 ++++++++++++++---- src/views/system/user/index.vue | 46 +++++++- src/views/workflows/leave/leaveEdit.vue | 18 ++- 6 files changed, 178 insertions(+), 49 deletions(-) diff --git a/src/api/system/oss/index.ts b/src/api/system/oss/index.ts index eb7f6d2..3af6a66 100644 --- a/src/api/system/oss/index.ts +++ b/src/api/system/oss/index.ts @@ -48,3 +48,11 @@ export function recognizeBankCard(data: any) { data: data }); } +//识别人脸 +export function recognizeFace(data: any) { + return request({ + url: '/contractor/constructionUser/face/recognize', + method: 'post', + data: data + }); +} diff --git a/src/api/system/user/index.ts b/src/api/system/user/index.ts index 1f8e1bf..9d6d3ec 100644 --- a/src/api/system/user/index.ts +++ b/src/api/system/user/index.ts @@ -16,6 +16,16 @@ export const listUser = (query: UserQuery): AxiosPromise => { params: query }); }; +/** + * 查询用户列表 + * @param query + */ +export const appUserType = (userId, appUserType) => { + return request({ + url: '/system/user/appUserType/' + userId + '/' + appUserType, + method: 'put' + }); +}; /** * 通过用户ids查询用户 diff --git a/src/components/ImageUpload/index.vue b/src/components/ImageUpload/index.vue index ef092ef..5902ba2 100644 --- a/src/components/ImageUpload/index.vue +++ b/src/components/ImageUpload/index.vue @@ -41,7 +41,7 @@