fix(加班申请、工作报告、我的绩效): 重构页面样式、修复一系列bug、对不合理的地方进行调整。

This commit is contained in:
dk
2026-06-22 23:07:21 +08:00
parent b1d52b852f
commit 632c123112
30 changed files with 1574 additions and 451 deletions

View File

@@ -14,6 +14,7 @@ declare namespace Api {
userId: string;
userName: string;
nickname: string;
deptId?: string | null;
roles: string[];
buttons: string[];
}

View File

@@ -98,11 +98,13 @@ declare namespace Api {
}
interface TeamOvertimeSummaryParams {
month?: string | null;
overtimeDateStart?: string | null;
overtimeDateEnd?: string | null;
}
interface TeamOvertimeSummary {
month: string;
overtimeDateStart: string;
overtimeDateEnd: string;
totalApplicationCount: number;
pendingCount: number;
approvedCount: number;

View File

@@ -98,6 +98,8 @@ declare namespace Api {
type DeptSimpleList = DeptSimple[];
type DeptSelfAndChildrenList = DeptSimple[];
type DeptSearchParams = CommonType.RecordNullable<Pick<Dept, 'name' | 'orgType' | 'status'>>;
type SaveDeptParams = Pick<Dept, 'name' | 'parentId' | 'orgType' | 'code' | 'sort' | 'status'>;
@@ -457,5 +459,7 @@ declare namespace Api {
/** 部门名称 */
deptName?: string | null;
}
type UserSimpleList = UserSimple[];
}
}

View File

@@ -78,6 +78,8 @@ declare namespace Api {
}
interface TeamReportSummary {
periodStartDate?: string | null;
periodEndDate?: string | null;
totalShouldSubmit: number;
submittedCount: number;
unsubmittedCount: number;
@@ -87,7 +89,9 @@ declare namespace Api {
interface TeamReportSummaryParams {
reportType: ReportType;
periodKey: string;
periodKey?: string | null;
periodStartDate?: string | null;
periodEndDate?: string | null;
}
interface TeamReportRemindParams {

View File

@@ -130,6 +130,7 @@ declare module 'vue' {
IconMdiFolderOpen: typeof import('~icons/mdi/folder-open')['default']
IconMdiFolderOutline: typeof import('~icons/mdi/folder-outline')['default']
IconMdiFolderPlusOutline: typeof import('~icons/mdi/folder-plus-outline')['default']
IconMdiInformationOutline: typeof import('~icons/mdi/information-outline')['default']
IconMdiKeyboardEsc: typeof import('~icons/mdi/keyboard-esc')['default']
IconMdiKeyboardReturn: typeof import('~icons/mdi/keyboard-return')['default']
IconMdiLinkVariant: typeof import('~icons/mdi/link-variant')['default']