feat(performance): 新增绩效下签功能支持

- 在月报审批页面增加 sign-off 场景支持
- 添加绩效下签对话框组件实现批量下签功能
- 增加导入绩效压缩包和直接下签两种操作模式
- 实现电子签名预览和日期格式化显示功能
- 更新绩效权限配置增加下签相关权限
- 优化审批对话框标题和按钮文案显示
- 添加导入结果提示和文件验证功能
- 实现团队模式下的下签操作入口
- 完善绩效表格状态和操作权限判断逻辑
This commit is contained in:
dk
2026-07-19 18:21:14 +08:00
parent c2f9c922cf
commit 08fff8bbc5
17 changed files with 1523 additions and 116 deletions

View File

@@ -74,6 +74,8 @@ declare namespace Api {
fileVersion: number;
statusCode: Common.SheetStatusCode;
statusName: string;
signOffStatus?: string | null;
signOffStatusName?: string | null;
actualScoreTotal?: string | number | null;
baseScoreTotal?: string | number | null;
extraScoreTotal?: string | number | null;
@@ -96,6 +98,7 @@ declare namespace Api {
managerId: string;
managerName: string;
statusCode: Common.SheetStatusCode;
signOffStatus: string;
}
>;
@@ -121,6 +124,27 @@ declare namespace Api {
ids: string[];
}
interface ImportZipParams {
file: File;
periodMonth: string;
employeeIds?: string[] | null;
}
interface ImportZipResult {
workbookCount: number;
sheetCount: number;
successCount: number;
skippedCount: number;
failedCount: number;
messages: string[];
}
interface SignOffParams {
periodMonth: string;
employeeIds?: string[] | null;
remark?: string | null;
}
interface StatusDict {
statusCode: Common.SheetStatusCode;
statusName: string;