fix(工作报告、我的绩效、产品/项目、消息通知): 修复已知的一些问题。
This commit is contained in:
6
src/typings/api/performance.d.ts
vendored
6
src/typings/api/performance.d.ts
vendored
@@ -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;
|
||||
|
||||
17
src/typings/api/work-report.d.ts
vendored
17
src/typings/api/work-report.d.ts
vendored
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user