| | |
| | | <meta http-equiv="X-UA-Compatible" content="ie=edge" /> |
| | | <title>Document</title> |
| | | <link rel="stylesheet" type="text/css" |
| | | href="http://36.134.81.48:18000/arcgis_js_v318_api/arcgis_js_api/library/3.18/3.18/dijit/themes/tundra/tundra.css" /> |
| | | href="http://36.134.81.48:18001/arcgis_js_v318_api/arcgis_js_api/library/3.18/3.18/dijit/themes/tundra/tundra.css" /> |
| | | <link rel="stylesheet" type="text/css" |
| | | href="http://36.134.81.48:18000/arcgis_js_v318_api/arcgis_js_api/library/3.18/3.18/esri/css/esri.css" /> |
| | | href="http://36.134.81.48:18001/arcgis_js_v318_api/arcgis_js_api/library/3.18/3.18/esri/css/esri.css" /> |
| | | <link rel="stylesheet" href="./lib/layui/css/layui.css" /> |
| | | <link rel="stylesheet" href="./css/forestry-map.css" /> |
| | | <link type="text/css" rel="stylesheet" href="framework.css" /> |
| | |
| | | <script src="env.js"></script> |
| | | |
| | | <script type="text/javascript" |
| | | src="http://36.134.81.48:18000/arcgis_js_v318_api/arcgis_js_api/library/3.18/3.18/init.js"></script> |
| | | src="http://36.134.81.48:18001/arcgis_js_v318_api/arcgis_js_api/library/3.18/3.18/init.js"></script> |
| | | <script src='./lib/zTree_v3/js/jquery.ztree.all.js'></script> |
| | | <script> |
| | | var _framework = null; |
| | |
| | | } |
| | | </script> |
| | | |
| | | </html> |
| | | </html> |
| | |
| | | |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/equipment/equipment/detail?id=' + code, |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/equipment/equipment/detail?id=' + code, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | $("#client_bc").off("click").click(function () { |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/equipment/equipment/updateClinent?', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/equipment/equipment/updateClinent?', |
| | | data: { |
| | | "id": code, |
| | | |
| | |
| | | |
| | | // 查看设备的详细信息 |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/equipment/equipment/detail?id=' + code, |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/equipment/equipment/detail?id=' + code, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | console.log(code, 1212121); |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | // $('.equipment-details-box tbody tr:eq(6) input').attr('id', result.id); |
| | | } |
| | | }) |
| | | |
| | | |
| | | |
| | | |
| | | |
| | |
| | | |
| | | // 查看警情的详细信息 |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/suser/suser/detail?id=' + code, |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/suser/suser/detail?id=' + code, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | var viewVideoLayer = null; |
| | | // 查看保安人员的详细信息 |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/security/security/selectInfo?snumber=' + code, |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/security/security/selectInfo?snumber=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | if (r != null) return unescape(r[2]); |
| | | return null; |
| | | } |
| | | |
| | | |
| | | }) |
| | | |
| | | }) |
| | |
| | | |
| | | // 查看警情的详细信息 |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + code, |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | | console.log(data); |
| | | var result = data.data[0]; |
| | | |
| | | |
| | | |
| | | var t = result.handleTime.substr(0, 10); |
| | | var e = result.handleTime.substr(11); |
| | |
| | | console.log(code, 1212121); |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | // $('.equipment-details-box tbody tr:eq(6) input').attr('id', result.id); |
| | | } |
| | | }) |
| | | |
| | | |
| | | |
| | | |
| | | |
| | |
| | | |
| | | // 查看警情的详细信息 |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/alarm/alarm/selectInfo?id=' + code, |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/alarm/alarm/selectInfo?id=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | return |
| | | } |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/jingdan/jingdan/saves', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/saves', |
| | | type: 'POST', |
| | | data: { |
| | | rName: result.rname, |
| | |
| | | $(this).addClass('on'); |
| | | |
| | | $.ajax({ |
| | | url: "http://36.134.81.48:18000/talk?deviceCode=" + $('.realtime-police-details-box>div:eq(1)').data('code'), |
| | | url: "http://36.134.81.48:18001/talk?deviceCode=" + $('.realtime-police-details-box>div:eq(1)').data('code'), |
| | | type: "POST", |
| | | data: '12345', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | | console.log(data , 12233) |
| | | } |
| | | } |
| | | }) |
| | | |
| | | |
| | |
| | | // console.log(`${error.name} : ${error.message}`); |
| | | // }); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } else { |
| | | |
| | |
| | | var getPCMBlob = recorder.getPCMBlob(); |
| | | |
| | | $.ajax({ |
| | | url: "http://36.134.81.48:18000/talk", |
| | | url: "http://36.134.81.48:18001/talk", |
| | | type: 'POST', |
| | | data: { |
| | | PktType: URL.createObjectURL(getPCMBlob), |
| | |
| | | console.log(res); |
| | | } |
| | | }) |
| | | |
| | | |
| | | console.log(getPCMBlob, recorder.getPCMBlob(), URL.createObjectURL(getPCMBlob)); |
| | | |
| | | flag = false; |
| | |
| | | layer.confirm('确定撤销该警情?', { icon: 3, title: '提示' }, function (index) { |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/alarm/alarm/deletejj', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/alarm/alarm/deletejj', |
| | | type: 'POST', |
| | | data: { |
| | | id: id |
| | |
| | | function updateJType(id, czTime, bz, jjTime) { |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/alarm/alarm/updateJtype', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/alarm/alarm/updateJtype', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | }; |
| | | } |
| | | |
| | | }) |
| | | }) |
| | |
| | | |
| | | // 查看保安人员下拉 |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/blade-user/selectry', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/blade-user/selectry', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | var res = data.data; |
| | | $('.route-name-layer-box .route-personnel').empty(); |
| | | $('.route-name-layer-box .route-personnel').append("<option value='' disabled selected style='display:none;'>选择人员</option>"); |
| | | |
| | | |
| | | for (var i = 0; i < res.length; i++) { |
| | | $('.route-name-layer-box .route-personnel').append('<option peopleid='+res[i].id+'>'+res[i].real_name+'</option>') |
| | | } |
| | |
| | | |
| | | // 查看保安人员下拉 |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/blade-user/selectry', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/blade-user/selectry', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | for (var i = 0; i < res.length; i++) { |
| | | |
| | | $('.routename-and-peoplename-box .peoplename-update').append('<option peopleid=' + res[i].id + '>' + res[i].real_name + '</option>') |
| | | |
| | | |
| | | if (peopleName == res[i].real_name) { |
| | | $('.routename-and-peoplename-box .peoplename-update').children('option:eq('+i+')').attr('selected', true); |
| | | } |
| | |
| | | /* |
| | | * @Description: |
| | | * @Description: |
| | | * @Version: 1.0 |
| | | * @Author: yangsx |
| | | * @Date: 2019-12-09 19:01:40 |
| | |
| | | $('.police-container-distribute-details .content table tbody').empty(); |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | var str = ''; |
| | | $('.police-container-distribute-details .security-guard-nearby .security-staff-content tbody').empty(); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/position/position/selectry', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/position/position/selectry', |
| | | type: 'POST', |
| | | data: { |
| | | coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")" |
| | |
| | | } |
| | | // 发送请求修改警单数据 |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/jingdan/jingdan/updateInfo', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/updateInfo', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | if ($(this).index() == 1) { |
| | | $('.police-dispatching .police-container .police-container-patrol .main-content .select-list ul').empty(); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/regions/regions/selectqy', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | |
| | | that.layuiLayer.msg('人员未更改!'); |
| | | } else { |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/duty/duty/updatedtInfo', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/duty/duty/updatedtInfo', |
| | | type: 'POST', |
| | | data: { |
| | | rid: routeId, |
| | |
| | | if (that.tabIndex == 1) { |
| | | if (that.patrolIndex == 1) { |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/routeIn/routein/insertlx', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/routeIn/routein/insertlx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.polygonData = []; |
| | | that.getRouteInformation($('.police-dispatching .police-container .police-container-patrol .table .tbody tbody'), ''); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/duty/duty/insertduty', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/duty/duty/insertduty', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | // that.pepleRealId = pepleRealId; |
| | | } else { |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/regions/regions/insterqy', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/regions/regions/insterqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | } else if (that.tabIndex == 2) { |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/enclosure/enclosure/insertes', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/enclosure/enclosure/insertes', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | $('.police-dispatching .police-container .distribute-district .select-list ul').empty(); |
| | | $('.police-dispatching .police-container .distribute-district .select-list ul').append("<li key='addvcd' addvcd=''>全部</li>"); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/district/district/selectList', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/district/district/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/regions/regions/selectList', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/regions/regions/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/routeIn/routein/selectList', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/routeIn/routein/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/security/security/selectList', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/security/security/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/routeIn/routein/updatelx', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/routeIn/routein/updatelx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/regions/regions/updateqy', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/regions/regions/updateqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/enclosure/enclosure/updatee', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/enclosure/enclosure/updatee', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | /* |
| | | * @Description: |
| | | * @Description: |
| | | * @Version: 1.0 |
| | | * @Author: yangsx |
| | | * @Date: 2019-12-09 19:01:40 |
| | |
| | | }); |
| | | return; |
| | | } else { |
| | | |
| | | |
| | | var text = $('#policeCategory div:eq(0)').text().trim(); |
| | | |
| | | var levelText = $('#policeArea > div:eq(0)').text().trim() == '全部' ? '' : $('#policeArea > div:eq(0)').attr('areaid'); |
| | |
| | | dom.children('.select-list').children('ul').append($("<li areaid='all'>全部</li>")); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/district/district/selectd', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/district/district/selectd', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dom.children('.select-list').children('ul').empty(); |
| | | dom.children('.select-list').children('ul').append($("<li ownerid='all'>全部</li>")); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/lx/lx/seleclx', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/lx/lx/seleclx', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.children('.select-list').children('ul').empty(); |
| | | dom.children('.select-list').children('ul').append($("<li>全部</li>")); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/dj/dj/selectName?tnumbers=' + tnumbers, |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/dj/dj/selectName?tnumbers=' + tnumbers, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/suser/suser/selectList?type=' + type + '&dj=' + dj, |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/suser/suser/selectList?type=' + type + '&dj=' + dj, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/equipment/equipment/selectList?deviceType=' + deviceType, |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/equipment/equipment/selectList?deviceType=' + deviceType, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | /* |
| | | * @Description: |
| | | * @Description: |
| | | * @Version: 1.0 |
| | | * @Author: yangsx |
| | | * @Date: 2019-12-09 19:01:40 |
| | |
| | | }, |
| | | // 警情详情弹框 |
| | | /** |
| | | * |
| | | * |
| | | * @param {number} id 警情ID |
| | | */ |
| | | policeDetails: function (id) { |
| | |
| | | }, |
| | | // 业主详情弹框 |
| | | /** |
| | | * |
| | | * |
| | | * @param {number} id 警情ID |
| | | */ |
| | | ownerDetails: function (id) { |
| | |
| | | }); |
| | | }) |
| | | }, |
| | | // 设备详情弹框 |
| | | // 设备详情弹框 |
| | | /** |
| | | * |
| | | * |
| | | * @param {number} id 设备ID |
| | | */ |
| | | equipmentDetails: function (id) { |
| | |
| | | } |
| | | // 获取警情信息列表 |
| | | /** |
| | | * |
| | | * |
| | | * @param {object} dom jq对象 |
| | | * @param {string} beginTime 开始时间 |
| | | * @param {string} endTime 结束时间 |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/suser/suser/selectList?type=' + type + '&dj=' + dj, |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/suser/suser/selectList?type=' + type + '&dj=' + dj, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/equipment/equipment/selectList?deviceType=' + deviceType, |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/equipment/equipment/selectList?deviceType=' + deviceType, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | /* |
| | | * @Description: |
| | | * @Description: |
| | | * @Version: 1.0 |
| | | * @Author: yangsx |
| | | * @Date: 2019-12-09 19:01:40 |
| | |
| | | $("#client-all-deploy").off('click').click(function () { |
| | | var nodes = that.zTree.getSelectedNodes(); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/netty/netty/selectNettyChannelb', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/netty/netty/selectNettyChannelb', |
| | | data: { |
| | | pid: nodes[0].id |
| | | }, |
| | |
| | | $("#client-all-retreat").off('click').click(function () { |
| | | var nodes = that.zTree.getSelectedNodes(); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/netty/netty/selectNettyChannelc', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/netty/netty/selectNettyChannelc', |
| | | data: { |
| | | pid: nodes[0].id |
| | | }, |
| | |
| | | ]; |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/catalogs/catalogs/catalogList', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/catalogs/catalogs/catalogList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | }); |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/district/district/selectList', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/district/district/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | break; |
| | | case 'deploy': //布防 |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/netty/netty/selectNettyChannelOb', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/netty/netty/selectNettyChannelOb', |
| | | data: { |
| | | deviceNumber: obj.data.deviceNumber, |
| | | ID: obj.data.id |
| | |
| | | break; |
| | | case 'retreat': //撤防 |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/netty/netty/selectNettyChannelOc', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/netty/netty/selectNettyChannelOc', |
| | | data: { |
| | | deviceNumber: obj.data.deviceNumber, |
| | | ID: obj.data.id |
| | |
| | | var that = this; |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/equipment/equipment/page', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/equipment/equipment/page', |
| | | data: { |
| | | pid: pid |
| | | }, |
| | |
| | | |
| | | //获取四个查询条件 |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/equipment/equipment/page', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/equipment/equipment/page', |
| | | data: where, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | |
| | | /* |
| | | * @Description: |
| | | * @Description: |
| | | * @Version: 1.0 |
| | | * @Author: yangsx |
| | | * @Date: 2019-12-09 19:01:40 |
| | |
| | | $('.police-container-distribute-details .content table tbody').empty(); |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | var str = ''; |
| | | $('.police-container-distribute-details .security-guard-nearby .security-staff-content tbody').empty(); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/position/position/selectry', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/position/position/selectry', |
| | | type: 'POST', |
| | | data: { |
| | | coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")" |
| | |
| | | } |
| | | // 发送请求修改警单数据 |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/jingdan/jingdan/updateInfo', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/updateInfo', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | if ($(this).index() == 1) { |
| | | $('.police-dispatching .police-container .police-container-patrol .main-content .select-list ul').empty(); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/regions/regions/selectqy', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | |
| | | that.layuiLayer.msg('人员未更改!'); |
| | | } else { |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/duty/duty/updatedtInfo', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/duty/duty/updatedtInfo', |
| | | type: 'POST', |
| | | data: { |
| | | rid: routeId, |
| | |
| | | if (that.tabIndex == 1) { |
| | | if (that.patrolIndex == 1) { |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/routeIn/routein/insertlx', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/routeIn/routein/insertlx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.polygonData = []; |
| | | that.getRouteInformation($('.police-dispatching .police-container .police-container-patrol .table .tbody tbody'), ''); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/duty/duty/insertduty', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/duty/duty/insertduty', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | // that.pepleRealId = pepleRealId; |
| | | } else { |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/regions/regions/insterqy', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/regions/regions/insterqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | } else if (that.tabIndex == 2) { |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/enclosure/enclosure/insertes', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/enclosure/enclosure/insertes', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | $('.police-dispatching .police-container .distribute-district .select-list ul').empty(); |
| | | $('.police-dispatching .police-container .distribute-district .select-list ul').append("<li key='addvcd' addvcd=''>全部</li>"); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/district/district/selectList', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/district/district/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | $('.police-dispatching-tab li:eq(1)').trigger('click'); |
| | | }, |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/regions/regions/selectList', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/regions/regions/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/routeIn/routein/selectList', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/routeIn/routein/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/security/security/selectList', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/security/security/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/routeIn/routein/updatelx', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/routeIn/routein/updatelx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/regions/regions/updateqy', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/regions/regions/updateqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/enclosure/enclosure/updatee', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/enclosure/enclosure/updatee', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | /* |
| | | * @Description: |
| | | * @Description: |
| | | * @Version: 1.0 |
| | | * @Author: yangsx |
| | | * @Date: 2019-12-09 19:01:40 |
| | |
| | | $('.police-container-distribute-details .content table tbody').empty(); |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | var str = ''; |
| | | $('.police-container-distribute-details .security-guard-nearby .security-staff-content tbody').empty(); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/position/position/selectry', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/position/position/selectry', |
| | | type: 'POST', |
| | | data: { |
| | | coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")" |
| | |
| | | } |
| | | // 发送请求修改警单数据 |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/jingdan/jingdan/updateInfo', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/updateInfo', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | if ($(this).index() == 1) { |
| | | $('.police-dispatching .police-container .police-container-patrol .main-content .select-list ul').empty(); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/regions/regions/selectqy', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | |
| | | that.layuiLayer.msg('人员未更改!'); |
| | | } else { |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/duty/duty/updatedtInfo', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/duty/duty/updatedtInfo', |
| | | type: 'POST', |
| | | data: { |
| | | rid: routeId, |
| | |
| | | if (that.tabIndex == 1) { |
| | | if (that.patrolIndex == 1) { |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/routeIn/routein/insertlx', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/routeIn/routein/insertlx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.polygonData = []; |
| | | that.getRouteInformation($('.police-dispatching .police-container .police-container-patrol .table .tbody tbody'), ''); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/duty/duty/insertduty', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/duty/duty/insertduty', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | // that.pepleRealId = pepleRealId; |
| | | } else { |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/regions/regions/insterqy', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/regions/regions/insterqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | } else if (that.tabIndex == 2) { |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/enclosure/enclosure/insertes', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/enclosure/enclosure/insertes', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | $('.police-dispatching .police-container .distribute-district .select-list ul').empty(); |
| | | $('.police-dispatching .police-container .distribute-district .select-list ul').append("<li key='addvcd' addvcd=''>全部</li>"); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/district/district/selectList', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/district/district/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/regions/regions/selectList', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/regions/regions/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/routeIn/routein/selectList', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/routeIn/routein/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/security/security/selectList', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/security/security/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/routeIn/routein/updatelx', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/routeIn/routein/updatelx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/regions/regions/updateqy', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/regions/regions/updateqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/enclosure/enclosure/updatee', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/enclosure/enclosure/updatee', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | /* |
| | | * @Description: |
| | | * @Description: |
| | | * @Version: 1.0 |
| | | * @Author: yangsx |
| | | * @Date: 2019-12-09 19:01:40 |
| | |
| | | } |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/jingdan/jingdan/saves', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/saves', |
| | | type: 'POST', |
| | | data: { |
| | | rName: $(_self).data('rname'), |
| | |
| | | |
| | | // 行政区 |
| | | // $.ajax({ |
| | | // url: 'http://36.134.81.48:18000/api/blade-jfpts/district/district/selectList', |
| | | // url: 'http://36.134.81.48:18001/api/blade-jfpts/district/district/selectList', |
| | | // type: 'POST', |
| | | // dataType: 'JSON', |
| | | // success: function (data) { |
| | |
| | | |
| | | // // 警情类型下拉 |
| | | // $.ajax({ |
| | | // url: 'http://36.134.81.48:18000/api/blade-jfpts/alarm/alarm/selectScount', |
| | | // url: 'http://36.134.81.48:18001/api/blade-jfpts/alarm/alarm/selectScount', |
| | | // type: 'GET', |
| | | // dataType: 'JSON', |
| | | // success: function (data) { |
| | |
| | | that.updateRealTable = table.render({ |
| | | elem: '#real_time_table' |
| | | , height: (layerTabHei - 20) |
| | | , url: 'http://36.134.81.48:18000/api/blade-jfpts/alarm/alarm/selectList' //数据接口 |
| | | , url: 'http://36.134.81.48:18001/api/blade-jfpts/alarm/alarm/selectList' //数据接口 |
| | | , method: "post" |
| | | , where: { jtype: '', beginTime: that.realBeginTime, endTime: that.realEndTime } |
| | | , parseData: function (res) { //res 即为原始返回的数据 |
| | |
| | | , { field: 'serialNumber', title: "序列号", width: 0, hide: true, align: 'center' } |
| | | , { field: 'jtype', title: "是否生成警单", width: 0, hide: true, align: 'center' } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | , { |
| | | field: '', |
| | | title: '操作', |
| | |
| | | that.realTimeQuery = setInterval(function () { |
| | | if (that.historyPoliceId != null) { |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/alarm/alarm/selecttx', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/alarm/alarm/selecttx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | layer.confirm('确定撤销该警情?', { icon: 3, title: '提示' }, function (index) { |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/alarm/alarm/deletejj', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/alarm/alarm/deletejj', |
| | | type: 'POST', |
| | | data: { |
| | | id: id |
| | |
| | | |
| | | updateJType: function (id, czTime, bz, jjTime) { |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/alarm/alarm/updateJtype', |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/alarm/alarm/updateJtype', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | $.ajax({ |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | url: "https://s16s652780.51mypc.cn/GetPlayUrl?deviceCode=" + channelNumber + "&chl=" + serialNumber, |
| | | url: "http://36.134.81.48:18000/GetPlayUrl?deviceCode=" + channelNumber + "&chl=" + serialNumber, |
| | | success: function (data) { |
| | | |
| | | realStartVideo($('.realtime-view-video-box video')[0], data.data.m3u8) |
| | | |
| | | } |
| | | }) |
| | | |
| | |
| | | }, |
| | | queryOldVideo(data) { |
| | | var newAxios = axios.create({ |
| | | baseURL: "https://s16s652780.51mypc.cn", |
| | | baseURL: "http://36.134.81.48:18000", |
| | | withCredentials: false, |
| | | headers: { |
| | | "Content-type": "application/x-www-form-urlencoded" |
| | |
| | | } |
| | | |
| | | var newAxios = axios.create({ |
| | | baseURL: "http://36.134.81.48:18000", |
| | | baseURL: "http://36.134.81.48:18001", |
| | | withCredentials: false, |
| | | headers: {} |
| | | }); |
| | |
| | | |
| | | getSelectOptions() { |
| | | var newAxios = axios.create({ |
| | | baseURL: "http://36.134.81.48:18000", |
| | | baseURL: "http://36.134.81.48:18001", |
| | | withCredentials: false, |
| | | headers: {} |
| | | }); |
| | |
| | | <template> |
| | | <iframe v-show="iframeState" id="show-iframe" frameborder=0 name="showHere" scrolling=auto |
| | | src="http://36.134.81.48:18000/bigScreen/view/1349193280059879426"></iframe> |
| | | src="http://36.134.81.48:18001/bigScreen/view/1349193280059879426"></iframe> |
| | | </template> |
| | | |
| | | <script> |
| | |
| | | } |
| | | }); |
| | | this.$store.state.tags.tagList = arr; |
| | | |
| | | this.$router.push({ path: "/distribution/index", query: data }); |
| | | } |
| | | } |
| | |
| | | <iframe |
| | | id="mapDiv" |
| | | ref="mapDiv" |
| | | src="http://36.134.81.48:18000/map/index.html" |
| | | src="http://36.134.81.48:18001/map/index.html" |
| | | frameborder="0" |
| | | width="100%" |
| | | height="100%" |
| | |
| | | } |
| | | }, |
| | | handleStart(row) { |
| | | debugger |
| | | this.$router.push({ |
| | | path: `/real/video/${row.channelNumber}/${row.serialNumber}` |
| | | }); |
| | |
| | | }, |
| | | queryOldVideo(data) { |
| | | var newAxios = axios.create({ |
| | | baseURL: "https://s16s652780.51mypc.cn", |
| | | baseURL: "http://36.134.81.48:18000", |
| | | withCredentials: false, |
| | | headers: { |
| | | "Content-type": "application/x-www-form-urlencoded" |
| | |
| | | }, |
| | | aKeyToCall(e, form) { |
| | | var newCallAxios = axios.create({ |
| | | baseURL: "https://s16s652780.51mypc.cn", |
| | | baseURL: "http://36.134.81.48:18000", |
| | | withCredentials: false, |
| | | headers: { |
| | | "Content-Type": "application/json;" |
| | |
| | | proxy: { |
| | | '/api': { |
| | | //本地服务接口地址 |
| | | //target: 'http://192.168.0.102:82/', |
| | | target: 'https://s16s652780.51mypc.cn/api/', |
| | | //target: 'http://localhost:82/', |
| | | target: 'http://36.134.81.48:18001/api/', |
| | | //远程演示服务地址,可用于直接启动项目 |
| | | //target: 'https://saber.bladex.vip/api', |
| | | ws: true, |