From 97f29024ce18babeb4b635c5d73f907ac493976e Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期五, 22 八月 2025 16:15:48 +0800 Subject: [PATCH] fix: 签约 --- src/services/api/enterpriseEmployee.ts | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 51 insertions(+), 0 deletions(-) diff --git a/src/services/api/enterpriseEmployee.ts b/src/services/api/enterpriseEmployee.ts index dfe7822..4f7e0c8 100644 --- a/src/services/api/enterpriseEmployee.ts +++ b/src/services/api/enterpriseEmployee.ts @@ -35,6 +35,42 @@ ); } +/** 鏌ヨ涓汉鐢ㄦ埛绛剧害璇︽儏 GET /api/user/enterpriseEmployee/getEnterpriseEmployeeElectronSign */ +export async function getEnterpriseEmployeeElectronSign( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetEnterpriseEmployeeElectronSignParams, + options?: API.RequestConfig +) { + return request<API.GetEnterpriseEmployeeElectronSignQueryResult>( + '/api/user/enterpriseEmployee/getEnterpriseEmployeeElectronSign', + { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + } + ); +} + +/** 鏌ヨ涓汉鐢ㄦ埛绛剧害鍒楄〃 POST /api/user/enterpriseEmployee/getEnterpriseEmployeeElectronSigns */ +export async function getEnterpriseEmployeeElectronSigns( + body: API.GetEnterpriseEmployeeElectronSignsQuery, + options?: API.RequestConfig +) { + return request<API.GetEnterpriseEmployeeElectronSignsQueryResult>( + '/api/user/enterpriseEmployee/getEnterpriseEmployeeElectronSigns', + { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + } + ); +} + /** 鏌ヨ鐏靛伐鍒嗛〉鍒楄〃鏁版嵁 POST /api/user/enterpriseEmployee/getEnterpriseEmployees */ export async function getEnterpriseEmployees( body: API.GetEnterpriseEmployeesQuery, @@ -70,3 +106,18 @@ } ); } + +/** 閭�璇风伒宸ョ绾� POST /api/user/enterpriseEmployee/inviteEnterpriseEmployeeElectronSign */ +export async function inviteEnterpriseEmployeeElectronSign( + body: API.InviteEnterpriseEmployeeElectronSignCommand, + options?: API.RequestConfig +) { + return request<string>('/api/user/enterpriseEmployee/inviteEnterpriseEmployeeElectronSign', { + method: 'POST', + headers: { + 'Content-Type': 'application/json-patch+json', + }, + data: body, + ...(options || {}), + }); +} -- Gitblit v1.9.1