| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <script th:inline="javascript"> |
| | | var cameraId, opt, token; |
| | | <script th:inline="javascript" th:type="module"> |
| | | |
| | | var cameraId, opt, optOpen, optClose, token; |
| | | window.onload = function () { |
| | | $.ajax({ |
| | | url: "../hik/list", |
| | |
| | | } |
| | | } |
| | | }) |
| | | |
| | | opt = {"username": "admin", "password": "admin123"}; |
| | | $.ajax({ |
| | | headers: { |
| | |
| | | } else if (camera.type == "dh") { |
| | | realViewDh("127.0.0.1", ID, camera.username, camera.password, camera.ipaddr, camera.port); |
| | | } else { |
| | | realViewHik("192.168.1.15", ID, camera.username, camera.password, camera.ipaddr, camera.port); |
| | | realViewHik("127.0.0.1", ID, camera.username, camera.password, camera.ipaddr, camera.port); |
| | | } |
| | | } |
| | | }); |