fix(工作报告、我的绩效、产品/项目、消息通知): 修复已知的一些问题。

This commit is contained in:
dk
2026-06-28 14:04:28 +08:00
parent a4884035cd
commit 499f2115b2
10 changed files with 189 additions and 58 deletions

View File

@@ -181,15 +181,17 @@ declare namespace Api {
}
interface PendingSendUser {
periodMonth: string;
userId: string;
userNickname: string;
managerUserId: string;
managerUserId?: string | null;
managerName: string;
sheetId?: string | null;
statusCode?: Common.SheetStatusCode | null;
}
interface PendingConfirmUser {
periodMonth: string;
userId: string;
userNickname: string;
sheetId: string;
@@ -207,7 +209,7 @@ declare namespace Api {
interface Summary {
periodMonthStart: string;
periodMonthEnd: string;
totalSheetCount: number;
expectedSheetCount: number;
pendingSendCount: number;
pendingConfirmCount: number;
confirmedRate: string | number;

View File

@@ -72,19 +72,23 @@ declare namespace Api {
list: T[];
}
interface TeamReportPendingUser {
interface TeamReportUnsubmittedReport {
userId: string;
userNickname: string;
periodKey: string;
periodLabel: string;
projectId?: string | null;
projectName?: string | null;
}
interface TeamReportSummary {
periodStartDate?: string | null;
periodEndDate?: string | null;
totalShouldSubmit: number;
submittedCount: number;
unsubmittedCount: number;
pendingApprovalCount: number;
unsubmittedUsers: TeamReportPendingUser[];
expectedReportCount: number;
submittedReportCount: number;
unsubmittedReportCount: number;
pendingApprovalReportCount: number;
unsubmittedReports: TeamReportUnsubmittedReport[];
}
interface TeamReportSummaryParams {
@@ -98,6 +102,7 @@ declare namespace Api {
reportType: ReportType;
periodKey: string;
userIds?: string[] | null;
projectId?: string | null;
}
interface TeamReportRemindResult {