Browse Source

Z991239-4839 #comment feat: 告警页面和关闭功能暂时屏蔽

陈纪林80310970 2 years ago
parent
commit
e4f3706d41

+ 4 - 2
Module/mod_healthmanager/mod_healthmanager.cpp

@@ -1958,14 +1958,16 @@ void CHealthManagerEntity::OnLog(const CAutoArray<CUUID>& SubIDs, const CUUID nL
 		m_dwTimeOfAuthSuc = GetTickCount64() / 1000;
 		GetFunction()->SetTimer(HEALTHMANAGER_WAIT_MAINPAGE_OPEN_TIMER_ID, this, m_maxWaitMainpageTime);
 
-		CSimpleStringA msg(true);
+		//信创暂不支持手动关闭弹窗,暂不进行告警
+		/*CSimpleStringA msg(true);
 		GetFunction()->GetSysVar("AuthErrMsg", msg);
 		Dbg("AuthErrMsg 在healthmanager的内容是: %s.", msg.GetData());
 
 		if (msg.GetLength() != 0)
 		{
 			StartManagerDesktopPage("warnPrompt.html");
-		}
+		}*/
+
 		break;
 	}	//oilyang@20210331 distinguish reasons of accessauth failed to decide what to do next
 	//case EVENT_ACCESSAUTH_FAILED:

+ 0 - 1
addin/res/ManagerDesktop/js/getTerminalInfo.js

@@ -36,7 +36,6 @@ window.onload=function(){
   HealthManagerService.init();
   CenterSettingService.init();
 	ResourceWatcherService.init();
-	ChromiumSrv.init();
   getHardwareInfo()
   // getAccessUrl()
 	getCertainAceessUrl() //准入接口