From 3bac4995fc679a3237585ed2ca40fd71b336774e Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期一, 27 五月 2024 17:51:51 +0800
Subject: [PATCH] 日历不可用事件界面布局

---
 _Main/UI/MacroPlannerWebApp/Component_LibCal_dlgMultipleEvent/Method_CreateUpdateEventAndParticipation.def |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/_Main/UI/MacroPlannerWebApp/Component_LibCal_dlgMultipleEvent/Method_CreateUpdateEventAndParticipation.def b/_Main/UI/MacroPlannerWebApp/Component_LibCal_dlgMultipleEvent/Method_CreateUpdateEventAndParticipation.def
index ba11fff..0587aa7 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_LibCal_dlgMultipleEvent/Method_CreateUpdateEventAndParticipation.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_LibCal_dlgMultipleEvent/Method_CreateUpdateEventAndParticipation.def
@@ -13,6 +13,7 @@
     // Event and LeadingParticipation
     subject        := edtName.Text();
     description    := edtDescription.Text();
+    eventTypeList  := edtEventType.Text();
     category       := sEvent.EventCategory(); 
     isDefault      := ckbApplyToNewResources.Checked();
     startDate      := dsStartDate.Date();
@@ -57,7 +58,7 @@
     
     // All values are passed to the Server, only the relevant values are used there.
     event := LibCal_Event::CreateUpdateFromUI( sEvent.Calendar(), sLeadPart.WrappedInstance(),
-                                               subject, description, eventType, capacity, category, isDefault,
+                                               subject, description, eventType, eventTypeList, capacity, category, isDefault,
                                                startDate, startTimeOfDay, endDate, endTimeOfDay, isAllDay,
                                                // RecurrencePattern
                                                isRecurring, recurrenceInterval, patternType,
@@ -69,9 +70,7 @@
                                                periodType, periodStartDate, nrOfOccurrences, periodEndDate,
                                                // Subscribers
                                                dhSubscribers.Data() );
-    info( '------------2----------', isnull( sEvent ), isnull( sLeadPart.WrappedInstance() ) );
-    info( sEvent.Subject(), '---', sEvent.EventID(), '---', sEvent.Info() );
-    //info( sLeadPart.WrappedInstance().Info() );
+    
     return event;
   *]
 }

--
Gitblit v1.9.3