From b2a7528d89d6e01276b2667f6620ee709ac3281b Mon Sep 17 00:00:00 2001
From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com>
Date: 星期四, 29 八月 2024 16:56:00 +0800
Subject: [PATCH] 修复计划汇总报表的一些bug
---
_Main/UI/MacroPlannerWebApp/Component_FormScheduleSummaryReport/Response_PanelRibbon322_88_bExport_OnClick.def | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormScheduleSummaryReport/Response_PanelRibbon322_88_bExport_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormScheduleSummaryReport/Response_PanelRibbon322_88_bExport_OnClick.def
index 71cef3e..954011e 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormScheduleSummaryReport/Response_PanelRibbon322_88_bExport_OnClick.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormScheduleSummaryReport/Response_PanelRibbon322_88_bExport_OnClick.def
@@ -11,7 +11,20 @@
[*
rows := selectset( dhComparisonData854.Data(),LocalRow,row,exists( dhFinelEntity.Data(),Elements,entity,entity.DisplayName() = row.Name() ));
columns := selectset( dhComparisonData854.Data(),LocalColumn,column,dhStartDate.Data() <= column.Date() and dhEndDate.Data() > column.Date() );
- LocalCell_ScheduleSummary::AsyncExport( RecycleBin,rows,columns );
+ attrbutes := construct( Strings );
+ if( cbShiftPlan.Checked() ){
+ attrbutes.Add( "ShiftPattern" );
+ }
+ if( cbWorkday.Checked() ){
+ attrbutes.Add( "WorkingDay" );
+ }
+ if( cbCapacity.Checked() ){
+ attrbutes.Add( "Capacity" );
+ }
+ if( cbOutput.Checked() ){
+ attrbutes.Add( "Output" );
+ }
+ LocalCell_ScheduleSummary::AsyncExport( RecycleBin,rows,columns ,attrbutes );
//Application.Download( "浜у嚭瀵煎叆妯℃澘.xlsx",data.AsBinaryData() );
*]
GroupServerCalls: false
--
Gitblit v1.9.3