xiaoding721
2024-09-04 cbc816dac90283b293d5a955722ee6b92270d42b
添加Warn message 的支持
已修改2个文件
8 ■■■■ 文件已修改
_Main/BL/Type_Archive/StaticMethod_Success.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_abgRequirementPreprocessing_dhRequirementImportExecuti.def 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_Archive/StaticMethod_Success.qbl
@@ -12,7 +12,7 @@
    code    := respJSON.Get( "code" ).GetNumber();
    message := respJSON.Get( "message" ).GetString();
    
    if ( code = 200 ) { // 执行成功,处理需求
    if ( code = 200 or code = 201 ) { // 执行成功,处理需求
      // 获取需求
      archiveExecutionStatus.AES_TemporaryDemandData().Execute();
      
_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, "" );