|  |  |  | 
|---|
|  |  |  | <div class="charts_btn"> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <%-- <div class="search_box"> | 
|---|
|  |  |  | <button id="searchBtn" type="button">搜索</button> | 
|---|
|  |  |  | <textarea style="width: 300px;height:400px;" id="searchParam"></textarea> | 
|---|
|  |  |  | </div>--%> | 
|---|
|  |  |  | <%-- <div class="search_box"> | 
|---|
|  |  |  | <button id="searchBtn" type="button">搜索</button> | 
|---|
|  |  |  | <textarea style="width: 300px;height:400px;" id="searchParam"></textarea> | 
|---|
|  |  |  | </div>--%> | 
|---|
|  |  |  | <!-- <div id="popup_box"> | 
|---|
|  |  |  | <div id="equ_list" class="listview"> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | 
|---|
|  |  |  | <script> | 
|---|
|  |  |  | //页面初始化 | 
|---|
|  |  |  | (function ($) { | 
|---|
|  |  |  | var hostAndPort = document.location.host; | 
|---|
|  |  |  | var hostAddress = hostAndPort.substr(0, hostAndPort.length - 4); | 
|---|
|  |  |  | var moralMap = window.moralMap; | 
|---|
|  |  |  | var params = $.parseJSON($("#mapParams").html()); | 
|---|
|  |  |  | moralMap['params'] = params; | 
|---|
|  |  |  | 
|---|
|  |  |  | if (typeof (WebSocket) === "undefined") { | 
|---|
|  |  |  | alert("您的浏览器不支持WebSocket"); | 
|---|
|  |  |  | } else { | 
|---|
|  |  |  | ws = new WebSocket('ws://47.96.15.25:8080/screen/webSocket/' + orgId + '&' + regionCode); | 
|---|
|  |  |  | ws = new WebSocket('ws://' + hostAddress + '8080/screen/webSocket/' + orgId + '&' + regionCode); | 
|---|
|  |  |  | ws.onopen = function () { | 
|---|
|  |  |  | }; | 
|---|
|  |  |  |  | 
|---|