diff --git a/strategies/rotation/report.py b/strategies/rotation/report.py index 6cceed1..ab9e245 100644 --- a/strategies/rotation/report.py +++ b/strategies/rotation/report.py @@ -581,13 +581,13 @@ def _plot_report_chart( # 数据行按操作着色 for i in range(len(table_data)): - action = table_data[i][7] # 操作列在第8列 + action = table_data[i][10] # 操作列在第11列(索引10) if action == "调入": color = "#d4edda" # 绿色 elif action == "调出": color = "#f8d7da" # 红色 else: - color = "#fff3cd" # 黄色 + color = "#fff3cd" # 黄色(维持) for j in range(len(col_labels)): table[i + 1, j].set_facecolor(color)