From 1ba69c3cf5c9e88d36db217bcc84ec8cda5d29b7 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期三, 27 十一月 2024 12:10:01 +0800
Subject: [PATCH] 添加确认对话框

---
 _Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_abgRequirementPreprocessing_dhRequirementImportExecuti.def |    6 +++++-
 1 files changed, 5 insertions(+), 1 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 4afacaf..0c815d4 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_abgRequirementPreprocessing_dhRequirementImportExecuti.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_abgRequirementPreprocessing_dhRequirementImportExecuti.def
@@ -16,7 +16,11 @@
           WebMessageBox::Success( ries.ExecutionRespMessage() );
           bRequirementUpload.Image( "FLASH" );
           bRequirementUpload.Enabled( true, "" );
-        } else if ( ries.ExecutionCode() = 500 ) {
+        }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, "" );

--
Gitblit v1.9.3