mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-16 07:57:33 +08:00
code refactor
This commit is contained in:
@@ -76,7 +76,7 @@ interface TransactionStatisticResponseWithInfo {
|
||||
|
||||
interface TransactionStatisticTrendsResponseItemWithInfo {
|
||||
readonly year: number;
|
||||
readonly month: number;
|
||||
readonly month: number; // 1-based (1 = January, 12 = December)
|
||||
readonly items: TransactionStatisticResponseItemWithInfo[];
|
||||
}
|
||||
|
||||
@@ -412,7 +412,7 @@ export const useStatisticsStore = defineStore('statistics', () => {
|
||||
|
||||
combinedData.items.push({
|
||||
year: trendItem.year,
|
||||
month: trendItem.month,
|
||||
month1base: trendItem.month,
|
||||
totalAmount: item.totalAmount
|
||||
});
|
||||
|
||||
|
||||
@@ -96,7 +96,7 @@ export interface TransactionTotalAmount {
|
||||
|
||||
export interface TransactionMonthList {
|
||||
readonly year: number;
|
||||
readonly month: number;
|
||||
readonly month: number; // 1-based (1 = January, 12 = December)
|
||||
readonly yearMonth: string;
|
||||
opened: boolean;
|
||||
readonly items: Transaction[];
|
||||
|
||||
Reference in New Issue
Block a user