移除一些不必要的依赖
parent
6578760a87
commit
5db802be6c
File diff suppressed because it is too large
Load Diff
|
@ -4,7 +4,6 @@
|
|||
"private": true,
|
||||
"dependencies": {
|
||||
"@ant-design/pro-components": "^2.3.47",
|
||||
"@antv/l7": "^2.13.0",
|
||||
"@reduxjs/toolkit": "^1.9.1",
|
||||
"@testing-library/jest-dom": "^5.16.5",
|
||||
"@testing-library/react": "^13.4.0",
|
||||
|
@ -16,7 +15,6 @@
|
|||
"antd": "^5.1.0",
|
||||
"axios": "^1.2.1",
|
||||
"echarts": "^5.4.1",
|
||||
"echarts-china-counties-js": "^1.0.1",
|
||||
"echarts-for-react": "^3.0.2",
|
||||
"history": "^5.3.0",
|
||||
"react": "^18.2.0",
|
||||
|
|
|
@ -0,0 +1,35 @@
|
|||
export interface StatResponse {
|
||||
/**
|
||||
* 当yearly=true时,此处会返回12项,对应12个月;否则按日返回
|
||||
*/
|
||||
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;
|
||||
}
|
Loading…
Reference in New Issue