From 709e02a04fb10bcc71f6c43402e8e9c7fc7faeb8 Mon Sep 17 00:00:00 2001 From: fuenmao <980740792@qq.com> Date: Tue, 8 Sep 2026 17:48:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E7=AC=AC=E4=B8=89=E6=96=B9?= =?UTF-8?q?=E7=AD=BE=E7=BD=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/modules/biz/onboarding.ts | 24 ++ .../components/VariableDefinitionPanel.vue | 26 +- src/views/biz/onboarding/setup/index.vue | 182 ++++++++-- src/views/biz/onboarding/task/index.vue | 332 +++++++++++++++--- src/views/onboarding/fill/index.vue | 8 +- 5 files changed, 489 insertions(+), 83 deletions(-) diff --git a/src/api/modules/biz/onboarding.ts b/src/api/modules/biz/onboarding.ts index a2fa423..3c14d4b 100644 --- a/src/api/modules/biz/onboarding.ts +++ b/src/api/modules/biz/onboarding.ts @@ -119,6 +119,13 @@ export interface OnboardingElectronicSignDocument { documentSort: number; originalDocxFileId?: number; signedPdfFileId?: number; + employeeSignedPreviewed: boolean; +} + +/** 员工已签、企业未盖章文件的契约锁只读预览。 */ +export interface OnboardingElectronicSignPreview { + signDocumentId: number; + previewUrl: string; } /** 管理端查看的入职电子签流程详情。 */ @@ -188,6 +195,8 @@ export interface OnboardingCompany extends OnboardingCompanyOption { legalRepresentative?: string; registeredAddress?: string; contactPhone?: string; + qiyuesuoCategoryId?: string; + qiyuesuoSealId?: string; remark?: string; status: string; } @@ -476,6 +485,21 @@ export const onboardingTaskApi = { }); }, + /** 获取一份员工已签合同的契约锁只读浏览页面。 */ + previewEmployeeSignedDocument(taskId: number, signDocumentId: number) { + return electronicSignHttp.post( + "preview-employee-signed", + { taskId, signDocumentId } + ); + }, + + /** 全部合同核对完成后,由后台管理员确认企业盖章。 */ + companySealElectronicSign(taskId: number) { + return electronicSignHttp.post("company-seal", { + taskId + }); + }, + /** 催办当前待签员工。 */ noticeElectronicSign(taskId: number) { return electronicSignHttp.post("notice", { taskId }); diff --git a/src/views/biz/onboarding/entry-config/components/VariableDefinitionPanel.vue b/src/views/biz/onboarding/entry-config/components/VariableDefinitionPanel.vue index 87c35d1..4131738 100644 --- a/src/views/biz/onboarding/entry-config/components/VariableDefinitionPanel.vue +++ b/src/views/biz/onboarding/entry-config/components/VariableDefinitionPanel.vue @@ -75,20 +75,22 @@ - + - + diff --git a/src/views/biz/onboarding/setup/index.vue b/src/views/biz/onboarding/setup/index.vue index e396e23..653d732 100644 --- a/src/views/biz/onboarding/setup/index.vue +++ b/src/views/biz/onboarding/setup/index.vue @@ -1,4 +1,4 @@ -