|
@@ -8,6 +8,9 @@
|
|
|
</head>
|
|
|
<body style=" margin: 0;overflow: hidden;background: #000033;width: 100%;height:100%;position: absolute;top: 0;">
|
|
|
<label id="distanceLength"></label>
|
|
|
+<div style="z-index: 9999999; position: absolute;left: 50%;top: 25%;color: #FFFFFF;">
|
|
|
+ <image th:src="@{/visualization/images/wrj.gif}"></image>
|
|
|
+</div>
|
|
|
<div id="map" style="margin:0 auto;width: 100%;height: 100%;background: none;"></div>
|
|
|
<script th:src="@{/js/jquery.min.js}"></script>
|
|
|
<script th:src="@{/js/bootstrap.min.js}"></script>
|
|
@@ -356,9 +359,9 @@
|
|
|
{
|
|
|
towerId:option.id
|
|
|
},function(res){
|
|
|
- window.open('/business/manager/hikcameracontroller/demo_window_simple_preview')
|
|
|
- // $.post('http://localhost:8899/camera_id='+res.hikIp+","+res.hikPort+","+
|
|
|
- // res.hikUsername+","+res.hikPassword+","+res.hikDeviceport,{});
|
|
|
+ // window.open('/business/manager/hikcameracontroller/demo_window_simple_preview')
|
|
|
+ $.post('http://localhost:8899/camera_id='+res.hikIp+","+res.hikPort+","+
|
|
|
+ res.hikUsername+","+res.hikPassword+","+res.hikDeviceport,{});
|
|
|
}
|
|
|
);
|
|
|
});
|
|
@@ -370,7 +373,8 @@
|
|
|
function sxtMarker(option,func){
|
|
|
var iconUrl = '[[@{/visualization/images/lwt-ho.gif}]]';
|
|
|
var title = '摄像头';
|
|
|
- if(option.model == '警戒头'){
|
|
|
+ console.log("*********",option.model)
|
|
|
+ if(option.model == '卡口警戒头'){
|
|
|
title = '警戒头';
|
|
|
iconUrl = '[[@{/visualization/images/lwt-hd.gif}]]';
|
|
|
}
|
|
@@ -408,8 +412,9 @@
|
|
|
});
|
|
|
|
|
|
markName.on("click", function(){
|
|
|
- //goCamera(option.hik_ip,option.hik_port,option.hik_username,option.hik_password,option.hik_deviceport);
|
|
|
- window.open('/business/manager/hikcameracontroller/demo_window_simple_preview?hik_cameraid='+option.hik_camera_id)
|
|
|
+ $.post('http://localhost:8899/camera_id='+option.hik_ip+","+option.hik_port+","+option.hik_username+","+option.hik_password+","+option.hik_deviceport,{});
|
|
|
+ // goCamera(option.hik_ip,option.hik_port,option.hik_username,option.hik_password,option.hik_deviceport);
|
|
|
+ // window.open('/business/manager/hikcameracontroller/demo_window_simple_preview?hik_cameraid='+option.hik_camera_id)
|
|
|
|
|
|
});
|
|
|
func(true);
|
|
@@ -1449,7 +1454,7 @@
|
|
|
|
|
|
function goCamera(hik_ip,hik_port,hik_username,hik_password,hik_deviceport){
|
|
|
$.post("[[@{/visualization/event/getRoleMenu}]]",function(e){
|
|
|
- window.open('/business/manager/hikcameracontroller/demo_window_simple_preview')
|
|
|
+ // window.open('/business/manager/hikcameracontroller/demo_window_simple_preview')
|
|
|
// var url = 'http://localhost:8899/camera_id='+hik_ip+","+hik_port+","+hik_username+","+hik_password+","+hik_deviceport;
|
|
|
// if(e == 0){
|
|
|
// url+=",no_controll";
|