|  |  |  | 
|---|
|  |  |  | </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": "liusuyi", "password": "5959932"}; | 
|---|
|  |  |  | opt = {"username": "admin", "password": "admin123"}; | 
|---|
|  |  |  | $.ajax({ | 
|---|
|  |  |  | headers: { | 
|---|
|  |  |  | 'Accept': 'application/json', | 
|---|
|  |  |  | 
|---|
|  |  |  | } 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); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | }); | 
|---|