feat: 四所独立统计页日历,修复档案盈亏重复与日历交互
四所 index.html 统计分析页接入交易日历;内照明心剔除犯病盈亏列不再重复计入,犯病日点击显示全部交易,选中日历蓝色高亮。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -495,8 +495,6 @@
|
||||
"%</td><td>" +
|
||||
fmtPnlStat(e.pnl_total) +
|
||||
"</td><td>" +
|
||||
fmtPnlStat(e.pnl_total) +
|
||||
"</td><td>" +
|
||||
fmtPnlStat(e.pnl_ex_sick) +
|
||||
"</td><td>" +
|
||||
fmtVolStat(e.turnover_total) +
|
||||
@@ -536,11 +534,11 @@
|
||||
if (!data || !data.ok) return {};
|
||||
return data.days || {};
|
||||
},
|
||||
onDayClick: function (day, sick) {
|
||||
onDayClick: function (day) {
|
||||
selectedCalendarDay = day;
|
||||
setPeriodMode("today");
|
||||
if (elTradingDay) elTradingDay.value = day;
|
||||
if (elFilterSick) elFilterSick.checked = sick;
|
||||
if (elFilterSick) elFilterSick.checked = false;
|
||||
syncPeriodUI();
|
||||
void loadDailyTrades();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user