From d3d8fde64c4df263fd696f1599cb79fe9efb7623 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期五, 29 八月 2025 15:22:20 +0800
Subject: [PATCH] feat: 签约

---
 src/services/api/typings.d.ts |  338 +++++++++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 318 insertions(+), 20 deletions(-)

diff --git a/src/services/api/typings.d.ts b/src/services/api/typings.d.ts
index 9b8595f..c677790 100644
--- a/src/services/api/typings.d.ts
+++ b/src/services/api/typings.d.ts
@@ -66,6 +66,16 @@
     withChildren?: boolean;
   }
 
+  interface APIgetEnabledElectronSignSettingsParams {
+    /** 浼佷笟Id */
+    enterpriseId?: string;
+  }
+
+  interface APIgetEnterpriseContractTemplateSelectParams {
+    /** 鏌ヨ浼佷笟鍚堝悓妯℃澘閫夋嫨鍣ㄦ暟鎹� */
+    request?: GetEnterpriseContractTemplateSelectQuery;
+  }
+
   interface APIgetEnterpriseElectronSignSettingParams {
     /** Id */
     id?: string;
@@ -117,6 +127,13 @@
   interface APIgetPersonalLoginInfoParams {
     /** 鏌ヨ涓汉鐢ㄦ埛鐧诲綍淇℃伅 */
     request?: GetPersonalLoginInfoQuery;
+  }
+
+  interface APIgetPersonalUserElectronSignParams {
+    /** 鐏靛伐Id */
+    id?: string;
+    /** 鍚堝悓妯℃澘涓氬姟缂栫爜 */
+    code?: string;
   }
 
   interface APIgetPersonalUserRealResultParams {
@@ -278,6 +295,16 @@
     verifyCode: string;
   }
 
+  interface CheckContractTemplateCommand {
+    /** 鍚堝悓妯℃澘Id */
+    id?: string;
+  }
+
+  interface CheckElectronSignAccessEnabledsCommand {
+    /** 閫氶亾 */
+    accesses?: EnumElectronSignAccess[];
+  }
+
   type CheckHealthQuery = Record<string, any>;
 
   interface CheckReceiveTaskCommand {
@@ -362,6 +389,18 @@
     data?: any;
   }
 
+  interface EnterpriseUserElectronSignCommand {
+    /** 鐏靛伐Id */
+    id?: string;
+  }
+
+  interface EnterpriseUserElectronSignCommandResult {
+    /** 绛剧讲鍚堝悓鐭摼鎺� */
+    signContractShortUrl?: string;
+    /** 绛剧讲鍚堝悓闀块摼鎺� */
+    signContractLongUrl?: string;
+  }
+
   enum EnumBillingMethod {
     /**鎸夋湀 */
     Month = 10,
@@ -422,6 +461,20 @@
     BestSign = 10,
     /**鏀粯瀹濅俊浠荤 */
     AlipaySign = 20,
+  }
+
+  enum EnumEnterpriseCostStatus {
+    /**鎵h垂鎴愬姛 */
+    Success = 10,
+    /**鎵h垂澶辫触 */
+    Fail = 20,
+  }
+
+  enum EnumEnterpriseCostType {
+    /**鐭俊 */
+    SMS = 10,
+    /**鐢靛瓙绛� */
+    ElectronSign = 20,
   }
 
   enum EnumEnterpriseRealMethod {
@@ -660,6 +713,8 @@
     Pass = 20,
     /**宸叉嫆绛� */
     Refuse = 30,
+    /**宸茬粓姝� */
+    Stop = 50,
   }
 
   enum EnumTaskUserSubmitCheckReceiveStatus {
@@ -719,6 +774,24 @@
     errorCode?: string;
     /** 鏁版嵁 */
     data?: boolean;
+    /** 鎵ц鎴愬姛 */
+    success?: boolean;
+    /** 閿欒淇℃伅 */
+    msg?: any;
+    /** 闄勫姞鏁版嵁 */
+    extras?: any;
+    /** 鏃堕棿鎴� */
+    timestamp?: number;
+  }
+
+  interface FriendlyResultEnterpriseUserElectronSignCommandResult {
+    /** 璺熻釜Id */
+    traceId?: string;
+    /** 鐘舵�佺爜 */
+    code?: number;
+    /** 閿欒鐮� */
+    errorCode?: string;
+    data?: EnterpriseUserElectronSignCommandResult;
     /** 鎵ц鎴愬姛 */
     success?: boolean;
     /** 閿欒淇℃伅 */
@@ -1197,6 +1270,42 @@
     timestamp?: number;
   }
 
+  interface FriendlyResultGetPersonalUserElectronSignQueryResult {
+    /** 璺熻釜Id */
+    traceId?: string;
+    /** 鐘舵�佺爜 */
+    code?: number;
+    /** 閿欒鐮� */
+    errorCode?: string;
+    data?: GetPersonalUserElectronSignQueryResult;
+    /** 鎵ц鎴愬姛 */
+    success?: boolean;
+    /** 閿欒淇℃伅 */
+    msg?: any;
+    /** 闄勫姞鏁版嵁 */
+    extras?: any;
+    /** 鏃堕棿鎴� */
+    timestamp?: number;
+  }
+
+  interface FriendlyResultGetPersonalUserElectronSignsQueryResult {
+    /** 璺熻釜Id */
+    traceId?: string;
+    /** 鐘舵�佺爜 */
+    code?: number;
+    /** 閿欒鐮� */
+    errorCode?: string;
+    data?: GetPersonalUserElectronSignsQueryResult;
+    /** 鎵ц鎴愬姛 */
+    success?: boolean;
+    /** 閿欒淇℃伅 */
+    msg?: any;
+    /** 闄勫姞鏁版嵁 */
+    extras?: any;
+    /** 鏃堕棿鎴� */
+    timestamp?: number;
+  }
+
   interface FriendlyResultGetPersonalUserInfoSignContractsQueryResult {
     /** 璺熻釜Id */
     traceId?: string;
@@ -1596,6 +1705,25 @@
     timestamp?: number;
   }
 
+  interface FriendlyResultListGetEnabledElectronSignSettingsQueryResultItem {
+    /** 璺熻釜Id */
+    traceId?: string;
+    /** 鐘舵�佺爜 */
+    code?: number;
+    /** 閿欒鐮� */
+    errorCode?: string;
+    /** 鏁版嵁 */
+    data?: GetEnabledElectronSignSettingsQueryResultItem[];
+    /** 鎵ц鎴愬姛 */
+    success?: boolean;
+    /** 閿欒淇℃伅 */
+    msg?: any;
+    /** 闄勫姞鏁版嵁 */
+    extras?: any;
+    /** 鏃堕棿鎴� */
+    timestamp?: number;
+  }
+
   interface FriendlyResultListGetMenusQueryResultItem {
     /** 璺熻釜Id */
     traceId?: string;
@@ -1729,6 +1857,25 @@
     timestamp?: number;
   }
 
+  interface FriendlyResultListSelectOptionGuidGetEnterpriseContractTemplateSelectQueryOption {
+    /** 璺熻釜Id */
+    traceId?: string;
+    /** 鐘舵�佺爜 */
+    code?: number;
+    /** 閿欒鐮� */
+    errorCode?: string;
+    /** 鏁版嵁 */
+    data?: SelectOptionGuidGetEnterpriseContractTemplateSelectQueryOption[];
+    /** 鎵ц鎴愬姛 */
+    success?: boolean;
+    /** 閿欒淇℃伅 */
+    msg?: any;
+    /** 闄勫姞鏁版嵁 */
+    extras?: any;
+    /** 鏃堕棿鎴� */
+    timestamp?: number;
+  }
+
   interface FriendlyResultListSelectOptionStringGetDictionaryDataSelectQueryResultOption {
     /** 璺熻釜Id */
     traceId?: string;
@@ -1846,6 +1993,24 @@
     /** 閿欒鐮� */
     errorCode?: string;
     data?: PagedListQueryResultGetRolesQueryResultItem;
+    /** 鎵ц鎴愬姛 */
+    success?: boolean;
+    /** 閿欒淇℃伅 */
+    msg?: any;
+    /** 闄勫姞鏁版嵁 */
+    extras?: any;
+    /** 鏃堕棿鎴� */
+    timestamp?: number;
+  }
+
+  interface FriendlyResultPersonalUserElectronSignCommandResult {
+    /** 璺熻釜Id */
+    traceId?: string;
+    /** 鐘舵�佺爜 */
+    code?: number;
+    /** 閿欒鐮� */
+    errorCode?: string;
+    data?: PersonalUserElectronSignCommandResult;
     /** 鎵ц鎴愬姛 */
     success?: boolean;
     /** 閿欒淇℃伅 */
@@ -2077,6 +2242,8 @@
     /** 鎻愪氦Id */
     id?: string;
     enterpriseEmployeeUser?: GetCheckReceiveTaskUserSubmitsQueryResultObjectDataEnterpriseEmployeeUser;
+    /** 楠屾敹鏃堕棿 */
+    date?: string;
     /** 鎻愪氦鏃堕棿 */
     createdTime?: string;
     /** 楠屾敹鐓х墖 */
@@ -2101,6 +2268,8 @@
   interface GetCheckReceiveTaskUserSubmitsQueryResultItem {
     /** 鎻愪氦Id */
     id?: string;
+    /** 楠屾敹鏃堕棿 */
+    date?: string;
     /** 鎻愪氦鏃堕棿 */
     createdTime?: string;
     /** 楠屾敹鐓х墖 */
@@ -2184,6 +2353,8 @@
     name?: string;
     /** 妯℃澘 */
     file?: string;
+    /** 灏忕▼搴忕爜 */
+    wxmpQrCode?: string;
     /** 鍒剁増妯℃澘鐓х墖 */
     templateEditData?: string;
     /** 鍒剁増鍙橀噺JSON */
@@ -2195,6 +2366,10 @@
     templateId?: string;
     /** 鍙橀噺 */
     values?: GetContractTemplateQueryResultValue[];
+    /** 鍒涘缓鎿嶄綔浜� */
+    createdUserId?: string;
+    /** 鏄惁浼佷笟鐢ㄦ埛鍒涘缓 */
+    isEnterpriseUserCreated?: boolean;
   }
 
   interface GetContractTemplateQueryResultValue {
@@ -2207,6 +2382,8 @@
     label?: string;
     /** 鍙橀噺浠g爜 */
     name?: string;
+    /** 缁戝畾瀛楁 */
+    bindProperty?: string;
     /** 鏄惁蹇呭~ */
     required?: boolean;
   }
@@ -2356,6 +2533,16 @@
     isDisabled?: boolean;
   }
 
+  interface GetEnabledElectronSignSettingsQueryResultItem {
+    access?: EnumElectronSignAccess;
+    /** 瀹炲悕璐圭敤 */
+    realVerifyCost?: number;
+    /** 绛剧害璐圭敤 */
+    signCost?: number;
+    /** 涓�鍙d环 */
+    mergeSignCost?: number;
+  }
+
   interface GetEnterpriseContractTemplateLogsQuery {
     /** 妯℃澘Id */
     id?: string;
@@ -2378,6 +2565,17 @@
     operate?: EnumDbAuditOperate;
     /** 鎿嶄綔鍐呭 */
     content?: string[];
+  }
+
+  type GetEnterpriseContractTemplateSelectQuery = Record<string, any>;
+
+  interface GetEnterpriseContractTemplateSelectQueryOption {
+    /** Id */
+    id?: string;
+    /** 妯℃澘鍚嶇О */
+    name?: string;
+    /** 妯℃澘Id */
+    templateId?: string;
   }
 
   interface GetEnterpriseContractTemplatesQuery {
@@ -2417,6 +2615,8 @@
     code?: string;
     /** 妯℃澘 */
     file?: string;
+    /** 灏忕▼搴忕爜 */
+    wxmpQrCode?: string;
     status?: EnumContractTemplateStatus;
     /** 鍒剁増鏃堕棿 */
     completedTime?: string;
@@ -2427,13 +2627,8 @@
   interface GetEnterpriseElectronSignSettingQueryResult {
     /** Id */
     id?: string;
-    realAccess?: EnumRealAccess;
-    /** 瀹炲悕璐圭敤 */
-    realVerifyCost?: number;
-    /** 绛剧害璐圭敤 */
-    signCost?: number;
-    /** 涓�鍙d环 */
-    mergeSignCost?: number;
+    /** 鐢靛瓙绛鹃�氶亾 */
+    electronSignAccesses?: EnumElectronSignAccess[];
   }
 
   interface GetEnterpriseEmployeeQueryResult {
@@ -2462,6 +2657,7 @@
     enterpriseSignContractTime?: string;
     /** 鐢靛瓙鍚堝悓 */
     contractUrl?: string;
+    userSignContractStatus?: EnumTaskUserSignContractStatus;
   }
 
   interface GetEnterpriseEmployeesQuery {
@@ -3030,6 +3226,47 @@
     hireRefuseTaskCount?: number;
   }
 
+  interface GetPersonalUserElectronSignQueryResult {
+    /** 鍚堝悓缂栧彿 */
+    contractCode?: string;
+    userSignContractStatus?: EnumTaskUserSignContractStatus;
+    /** 绛剧害鏂逛俊鎭�-鍛樺伐-濮撳悕 */
+    name?: string;
+    /** 绛剧害鏂逛俊鎭�-鍛樺伐-璇佷欢绫诲瀷 */
+    identityType?: string;
+    /** 绛剧害鏂逛俊鎭�-鍛樺伐-璇佷欢鍙风爜 */
+    identity?: string;
+    /** 绛剧害鏂逛俊鎭�-鍛樺伐-绛剧害鏃堕棿 */
+    userSignContractTime?: string;
+    /** 绛剧害鏂逛俊鎭�-鍏徃涓讳綋-涓讳綋绫诲瀷 */
+    enterpriseType?: string;
+    /** 绛剧害鏂逛俊鎭�-鍏徃涓讳綋-绛剧害涓讳綋 */
+    enterpriseName?: string;
+    /** 绛剧害鏂逛俊鎭�-鍏徃涓讳綋-绛剧害鏃堕棿 */
+    enterpriseSignContractTime?: string;
+    /** 鍗忚鍐呭 */
+    contractUrl?: string;
+  }
+
+  interface GetPersonalUserElectronSignsQuery {
+    userSignContractStatus?: EnumTaskUserSignContractStatus;
+    pageModel?: PagedListQueryPageModel;
+  }
+
+  interface GetPersonalUserElectronSignsQueryResult {
+    pageModel?: PagedListQueryResultPageModel;
+    /** 鏁版嵁 */
+    data?: GetPersonalUserElectronSignsQueryResultItem[];
+  }
+
+  interface GetPersonalUserElectronSignsQueryResultItem {
+    /** 鐏靛伐Id */
+    id?: string;
+    /** 浼佷笟鍏ㄧО */
+    enterpriseName?: string;
+    userSignContractStatus?: EnumTaskUserSignContractStatus;
+  }
+
   interface GetPersonalUserInfoSignContractsQuery {
     /** 鐢ㄦ埛Id */
     id?: string;
@@ -3391,6 +3628,8 @@
     status?: EnumTaskStatus;
     releaseStatus?: EnumTaskReleaseStatus;
     hireStatus?: EnumTaskUserHireStatus;
+    /** 鐏靛伐Id */
+    enterpriseEmployeeId?: string;
     applyButton?: GetTaskInfoQueryResultApplyButton;
     hireButton?: GetTaskInfoQueryResultHireButton;
   }
@@ -3887,6 +4126,13 @@
     identity?: string;
   }
 
+  interface InviteElectronSignCommand {
+    /** 鐏靛伐Id */
+    id?: string;
+    /** 鍚堝悓妯℃澘Id */
+    contractTemplateId?: string;
+  }
+
   interface LoginCommandCallback {
     /** 鐢ㄦ埛Id */
     id?: string;
@@ -3967,6 +4213,18 @@
     clientType?: EnumClientType;
   }
 
+  interface PersonalUserElectronSignCommand {
+    /** 鐏靛伐Id */
+    id?: string;
+  }
+
+  interface PersonalUserElectronSignCommandResult {
+    /** 绛剧讲鍚堝悓鐭摼鎺� */
+    signContractShortUrl?: string;
+    /** 绛剧讲鍚堝悓闀块摼鎺� */
+    signContractLongUrl?: string;
+  }
+
   interface PersonalUserFaceRealCommand {
     /** 濮撳悕 */
     name: string;
@@ -4042,6 +4300,8 @@
     label?: string;
     /** 鍙橀噺浠g爜 */
     name?: string;
+    /** 缁戝畾瀛楁 */
+    bindProperty?: string;
     /** 鏄惁蹇呭~ */
     required?: boolean;
   }
@@ -4117,6 +4377,17 @@
     password?: string;
     /** Id */
     id?: string;
+  }
+
+  interface SaveEnterpriseCostCommand {
+    /** 浼佷笟Id */
+    enterpriseId?: string;
+    type?: EnumEnterpriseCostType;
+    /** 鍚堝悓妯℃澘Id */
+    contractTemplateId?: string;
+    /** 鐏靛伐鍚堝悓Id */
+    enterpriseEmployeeContractId?: string;
+    status?: EnumEnterpriseCostStatus;
   }
 
   interface SaveMenuButtonCommand {
@@ -4365,6 +4636,14 @@
     data?: GetDictionaryCategorySelectQueryOption;
   }
 
+  interface SelectOptionGuidGetEnterpriseContractTemplateSelectQueryOption {
+    /** 鍊� */
+    value?: string;
+    /** 鏍囩 */
+    label?: string;
+    data?: GetEnterpriseContractTemplateSelectQueryOption;
+  }
+
   interface SelectOptionStringGetDictionaryDataSelectQueryResultOption {
     /** 鍊� */
     value?: string;
@@ -4396,13 +4675,8 @@
   interface SetEnterpriseElectronSignSettingCommand {
     /** Id */
     id?: string;
-    realAccess?: EnumRealAccess;
-    /** 瀹炲悕璐圭敤 */
-    realVerifyCost?: number;
-    /** 绛剧害璐圭敤 */
-    signCost?: number;
-    /** 涓�鍙d环 */
-    mergeSignCost?: number;
+    /** 鐢靛瓙绛鹃�氶亾 */
+    electronSignAccesses?: EnumElectronSignAccess[];
   }
 
   interface SetEnterpriseSmsSettingCommand {
@@ -4488,6 +4762,11 @@
     clientType?: EnumClientType;
   }
 
+  interface StopElectronSignCommand {
+    /** 鐏靛伐Id */
+    id?: string;
+  }
+
   interface SubmitCheckReceiveTaskCommand {
     /** 浠诲姟Id */
     taskInfoId?: string;
@@ -4495,6 +4774,23 @@
     date?: string;
     /** 闄勪欢 */
     files?: string[];
+  }
+
+  interface SyncElectronSignSettingsCommand {
+    /** 椤� */
+    items?: SyncElectronSignSettingsCommandItem[];
+  }
+
+  interface SyncElectronSignSettingsCommandItem {
+    access?: EnumElectronSignAccess;
+    /** 鏄惁绂佺敤 */
+    isDisabled?: boolean;
+    /** 瀹炲悕璐圭敤 */
+    realVerifyCost?: number;
+    /** 绛剧害璐圭敤 */
+    signCost?: number;
+    /** 涓�鍙d环 */
+    mergeSignCost?: number;
   }
 
   interface SyncEnterpriseUserCommand {
@@ -4545,13 +4841,9 @@
     bankCard?: string;
     /** 鏄惁宸叉牎楠岄摱琛岃处鎴� */
     isCheckedBankCard?: boolean;
+    /** 鐢靛瓙绛鹃�氶亾 */
+    electronSignAccesses?: EnumElectronSignAccess[];
     realAccess?: EnumRealAccess;
-    /** 瀹炲悕璐圭敤 */
-    realVerifyCost?: number;
-    /** 绛剧害璐圭敤 */
-    signCost?: number;
-    /** 涓�鍙d环 */
-    mergeSignCost?: number;
     /** 鏄惁瀹炲悕 */
     isReal?: boolean;
     enterpriseAuth?: SyncEnterpriseUserCommandEnterpriseAuth;
@@ -4560,6 +4852,10 @@
   interface SyncEnterpriseUserCommandEnterpriseAuth {
     enterpriseRealMethod?: EnumEnterpriseRealMethod;
     personalRealMethod?: EnumPersonalRealMethod;
+    /** 娉曚汉濮撳悕 */
+    legalPerson?: string;
+    /** 娉曚汉韬唤璇佸彿 */
+    legalIdentity?: string;
     /** 娉曚汉鎴栫粡鍔炰汉濮撳悕 */
     name?: string;
     /** 娉曚汉鎴栫粡鍔炰汉韬唤璇佸彿 */
@@ -4578,6 +4874,8 @@
     proxy?: boolean;
     /** 浼佷笟鎺堟潈涔� */
     proxyPowerAttorneyUrl?: string;
+    /** 绗笁鏂瑰疄鍚嶉�氶亾璐﹀彿 */
+    certAccount?: string;
   }
 
   type SyncHumanResourcesAreaDictionaryDataCommand = Record<string, any>;

--
Gitblit v1.9.1