测试报告导出优化

This commit is contained in:
2026-08-27 14:51:15 +08:00
parent 47b4d3837b
commit 61d7293afb
2 changed files with 16 additions and 2 deletions
@@ -82,6 +82,7 @@ namespace ExportModule.ViewModels
public ICommand LoadedCommand { get; }
public ICommand QueryCommand { get; }
public ICommand ExportCommand { get; }
public ICommand ExportReportCommand { get; }
#endregion
#region
@@ -95,6 +96,7 @@ namespace ExportModule.ViewModels
LoadedCommand = new AsyncDelegateCommand(OnLoad);
QueryCommand = new AsyncDelegateCommand(OnQuery);
ExportCommand = new AsyncDelegateCommand(OnExport);
ExportReportCommand = new AsyncDelegateCommand(OnExportReportCommand);
}
#region
@@ -183,6 +185,10 @@ namespace ExportModule.ViewModels
await Task.Run(() => ExportToExcel(dialog.FileName, entities));
ShowInfoMessageBox($"导出完成,共 {entities.Count} 条步骤记录,已保存至:{dialog.FileName}", () => { });
}
private async Task OnExportReportCommand()
{
}
#endregion