From 92755e844ce270b1fbd7055d657c90a831714516 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期四, 13 十一月 2025 13:51:21 +0800
Subject: [PATCH] feat: 1.3.0.2
---
packages/services/apiV2/enterpriseEmployee.ts | 116 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 115 insertions(+), 1 deletions(-)
diff --git a/packages/services/apiV2/enterpriseEmployee.ts b/packages/services/apiV2/enterpriseEmployee.ts
index 41ba82d..c1a0c1e 100644
--- a/packages/services/apiV2/enterpriseEmployee.ts
+++ b/packages/services/apiV2/enterpriseEmployee.ts
@@ -2,6 +2,39 @@
// @ts-ignore
import { request } from '@/utils/request';
+/** 娣诲姞鐏靛伐淇℃伅 POST /api/user/enterpriseEmployee/addEnterpriseEmployee */
+export async function addEnterpriseEmployee(
+ body: API.AddEnterpriseEmployeeCommand,
+ options?: API.RequestConfig
+) {
+ return request<string>('/api/user/enterpriseEmployee/addEnterpriseEmployee', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 浼佷笟鎵归噺绛剧害鍚堝悓 POST /api/user/enterpriseEmployee/batchEnterpriseSignContract */
+export async function batchEnterpriseSignContract(
+ body: API.BatchEnterpriseSignContractCommand,
+ options?: API.RequestConfig
+) {
+ return request<API.BatchEnterpriseSignContractCommandResult>(
+ '/api/user/enterpriseEmployee/batchEnterpriseSignContract',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
+
/** 缂栬緫鐏靛伐淇℃伅 POST /api/user/enterpriseEmployee/editEnterpriseEmployee */
export async function editEnterpriseEmployee(
body: API.EditEnterpriseEmployeeCommand,
@@ -15,6 +48,24 @@
data: body,
...(options || {}),
});
+}
+
+/** 浼佷笟鐢ㄦ埛绛剧害 POST /api/user/enterpriseEmployee/enterpriseUserElectronSign */
+export async function enterpriseUserElectronSign(
+ body: API.EnterpriseUserElectronSignCommand,
+ options?: API.RequestConfig
+) {
+ return request<API.EnterpriseUserElectronSignCommandResult>(
+ '/api/user/enterpriseEmployee/enterpriseUserElectronSign',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
}
/** 鏌ヨ鐏靛伐璇︽儏 GET /api/user/enterpriseEmployee/getEnterpriseEmployee */
@@ -112,7 +163,70 @@
body: API.InviteElectronSignCommand,
options?: API.RequestConfig
) {
- return request<string>('/api/user/enterpriseEmployee/inviteElectronSign', {
+ return request<number>('/api/user/enterpriseEmployee/inviteElectronSign', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 涓汉鐢ㄦ埛绛剧害 POST /api/user/enterpriseEmployee/personalUserElectronSign */
+export async function personalUserElectronSign(
+ body: API.PersonalUserElectronSignCommand,
+ options?: API.RequestConfig
+) {
+ return request<API.PersonalUserElectronSignCommandResult>(
+ '/api/user/enterpriseEmployee/personalUserElectronSign',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
+
+/** 淇1.3.0.2鐗堟湰鐏靛伐鏁版嵁 POST /api/user/enterpriseEmployee/repairEnterpriseEmployee_1_3_0_2 */
+export async function repairEnterpriseEmployee1302(
+ body: API.RepairEnterpriseEmployee1302Command,
+ options?: API.RequestConfig
+) {
+ return request<boolean>('/api/user/enterpriseEmployee/repairEnterpriseEmployee_1_3_0_2', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鍙戦�侀個璇风绾︾煭淇� POST /api/user/enterpriseEmployee/sendInviteElectronSignSms */
+export async function sendInviteElectronSignSms(
+ body: API.SendInviteElectronSignSmsCommand,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/user/enterpriseEmployee/sendInviteElectronSignSms', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json-patch+json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+}
+
+/** 鐏靛伐瑙g害 POST /api/user/enterpriseEmployee/stopElectronSign */
+export async function stopElectronSign(
+ body: API.StopElectronSignCommand,
+ options?: API.RequestConfig
+) {
+ return request<number>('/api/user/enterpriseEmployee/stopElectronSign', {
method: 'POST',
headers: {
'Content-Type': 'application/json-patch+json',
--
Gitblit v1.9.1