From 02f93820496e0c14de3b9f8f9b5ef1435d342ddc Mon Sep 17 00:00:00 2001
From: admin <admin@admin.com>
Date: 星期二, 15 十月 2024 18:52:45 +0800
Subject: [PATCH] 上线计划优化
---
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_abgRequirementPreprocessing_dhRequirementImportExecuti.def | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_abgRequirementPreprocessing_dhRequirementImportExecuti.def b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_abgRequirementPreprocessing_dhRequirementImportExecuti.def
index 2860d95..0c815d4 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_abgRequirementPreprocessing_dhRequirementImportExecuti.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_abgRequirementPreprocessing_dhRequirementImportExecuti.def
@@ -10,7 +10,31 @@
Body:
[*
if ( not isnull( this.Data() ) ) {
+ ries := this.Data();
+ if ( ries.ExecutionCode() = 200 ) {
+ WebMessageBox::Success( ries.ExecutionRespMessage() );
+ bRequirementUpload.Image( "FLASH" );
+ bRequirementUpload.Enabled( true, "" );
+ }else if ( ries.ExecutionCode() = 201 ){
+ WebMessageBox::Warning( ries.ExecutionRespMessage() ,Translations::MessageBox_OKCancel());
+ bRequirementUpload.Image( "FLASH" );
+ bRequirementUpload.Enabled( true, "" );
+ }else if ( ries.ExecutionCode() = 500 ) {
+ WebMessageBox::Error( ries.ExecutionRespMessage() );
+ bRequirementUpload.Image( "FLASH" );
+ bRequirementUpload.Enabled( true, "" );
+ } else if ( ries.ExecutionCode() = 501 ) {
+ dlg := construct( DialogOverwriteFile );
+ ApplicationMacroPlanner.ShowFormModal( dlg );
+ bRequirementUpload.Image( "FLASH" );
+ bRequirementUpload.Enabled( true, "" );
+ } else if ( ries.ExecutionCode() = -1 ) {
+ bRequirementUpload.Image( "APPLICATION_STOP" );
+ bRequirementUpload.Enabled( false, "" );
+ }
+
+ this.Data().Delete();
}
*]
GroupServerCalls: false
--
Gitblit v1.9.3