feat: 筛选栏改标签式+计划总览图表修复+tip位置调整
- 计划/实际模块筛选栏: 下拉框改为标签按钮(总视图|按季度|按月度) - utils.js新增setFinQuarter/setFinMonth/setPlanQuarter/setPlanMonth - 计划总览图表: 修复canvas ID和渲染函数调用 - 计划模块tab和tip位置对换(tab在上,tip在下) - 版本号 v1.0.0.24
This commit is contained in:
@@ -204,6 +204,8 @@ window.setFinView = (view) => {
|
||||
state.finView = view;
|
||||
renderFinance();
|
||||
};
|
||||
window.setFinQuarter = (q) => { state.finQuarter = q; state.finView = 'quarterly'; renderFinance(); };
|
||||
window.setFinMonth = (month) => { state.finMonth = month; state.finView = 'monthly'; renderFinance(); };
|
||||
window.switchFinFilter = (filter) => {
|
||||
state.finFilter = filter;
|
||||
state.finSort = null;
|
||||
@@ -220,6 +222,8 @@ window.setPlanView = (view) => {
|
||||
state.planView = view;
|
||||
renderPlan();
|
||||
};
|
||||
window.setPlanQuarter = (q) => { state.planQuarter = q; state.planView = 'quarterly'; renderPlan(); };
|
||||
window.setPlanMonth = (month) => { state.planMonth = month; state.planView = 'monthly'; renderPlan(); };
|
||||
window.switchPlanFilter = (filter) => {
|
||||
state.planFilter = filter;
|
||||
state.planSort = null;
|
||||
|
||||
Reference in New Issue
Block a user