-
- 近一周账户收支统计
-
-
- 近一月账户收支统计
-
+ 近一周账户收支统计
+ 近一月账户收支统计
@@ -528,6 +480,22 @@ let openCardChart = null
let netAssetTrendChart = null
let posCardChart = null
+// 切换Tab的方法
+const switchExpenseTab = (tab) => {
+ expenseActiveTab.value = tab
+ initWeeklyExpenseChart()
+}
+
+const switchInvestIncomeTab = (tab) => {
+ investIncomeActiveTab.value = tab
+ initWeeklyInvestIncomeChart()
+}
+
+const switchBalanceTab = (tab) => {
+ balanceActiveTab.value = tab
+ initBalanceChart()
+}
+
const initAssetStructureChart = () => {
const el = document.getElementById('assetStructureChart')
if (!el) return