移除一些不必要的依赖

main
wuyize 2023-01-04 18:14:07 +08:00
parent 6578760a87
commit 5db802be6c
3 changed files with 35 additions and 1467 deletions

1465
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -4,7 +4,6 @@
"private": true, "private": true,
"dependencies": { "dependencies": {
"@ant-design/pro-components": "^2.3.47", "@ant-design/pro-components": "^2.3.47",
"@antv/l7": "^2.13.0",
"@reduxjs/toolkit": "^1.9.1", "@reduxjs/toolkit": "^1.9.1",
"@testing-library/jest-dom": "^5.16.5", "@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0", "@testing-library/react": "^13.4.0",
@ -16,7 +15,6 @@
"antd": "^5.1.0", "antd": "^5.1.0",
"axios": "^1.2.1", "axios": "^1.2.1",
"echarts": "^5.4.1", "echarts": "^5.4.1",
"echarts-china-counties-js": "^1.0.1",
"echarts-for-react": "^3.0.2", "echarts-for-react": "^3.0.2",
"history": "^5.3.0", "history": "^5.3.0",
"react": "^18.2.0", "react": "^18.2.0",

35
src/models/Stat.ts Normal file
View File

@ -0,0 +1,35 @@
export interface StatResponse {
/**
* yearly=true1212
*/
departmentStats: Array<DepartmentStat[]>;
invoiceKindsStats: InvoiceKindsStat[];
invoiceLaunchCount: number;
lastAdditionalTotalAmount: number;
lastAllTotalAmount: number;
reimbursementAdditionalTotalAmount: number;
reimbursementAllTotalAmount: number;
reimbursementDepartureStats: ReimbursementDepartureStat[];
reimbursementDestinationStats: ReimbursementDestinationStat[];
reimbursementLaunchCount: number;
}
export interface DepartmentStat {
departmentName: string;
reimbursementAmount: string;
}
export interface InvoiceKindsStat {
invoiceKind: number;
invoiceLaunchCount: number;
}
export interface ReimbursementDepartureStat {
placeName: string;
reimbursementLaunchCount: number;
}
export interface ReimbursementDestinationStat {
placeName: string;
reimbursementLaunchCount: number;
}