23 files modified
1 files added
| | |
| | | <meta http-equiv="X-UA-Compatible" content="ie=edge" /> |
| | | <title>Document</title> |
| | | <link rel="stylesheet" type="text/css" |
| | | href="https://web.byisf.com:18001/arcgis_js_v318_api/arcgis_js_api/library/3.18/3.18/dijit/themes/tundra/tundra.css" /> |
| | | href="https://web.byisf.com/arcgis_js_v318_api/arcgis_js_api/library/3.18/3.18/dijit/themes/tundra/tundra.css" /> |
| | | <link rel="stylesheet" type="text/css" |
| | | href="https://web.byisf.com:18001/arcgis_js_v318_api/arcgis_js_api/library/3.18/3.18/esri/css/esri.css" /> |
| | | href="https://web.byisf.com/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="https://web.byisf.com:18001/arcgis_js_v318_api/arcgis_js_api/library/3.18/3.18/init.js"></script> |
| | | src="https://web.byisf.com/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; |
| | |
| | | |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/equipment/equipment/detail?id=' + code, |
| | | url: 'https://web.byisf.com/api/blade-jfpts/equipment/equipment/detail?id=' + code, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | $("#client_bc").off("click").click(function () { |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/equipment/equipment/updateClinent?', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/equipment/equipment/updateClinent?', |
| | | data: { |
| | | "id": code, |
| | | |
| | |
| | | |
| | | // 查看设备的详细信息 |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/equipment/equipment/detail?id=' + code, |
| | | url: 'https://web.byisf.com/api/blade-jfpts/equipment/equipment/detail?id=' + code, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | console.log(code, 1212121); |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 查看警情的详细信息 |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/suser/suser/detail?id=' + code, |
| | | url: 'https://web.byisf.com/api/blade-jfpts/suser/suser/detail?id=' + code, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | var viewVideoLayer = null; |
| | | // 查看保安人员的详细信息 |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/security/security/selectInfo?snumber=' + code, |
| | | url: 'https://web.byisf.com/api/blade-jfpts/security/security/selectInfo?snumber=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 查看警情的详细信息 |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + code, |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | console.log(code, 1212121); |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 查看警情的详细信息 |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/alarm/alarm/selectInfo?id=' + code, |
| | | url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/selectInfo?id=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | return |
| | | } |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/saves', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/saves', |
| | | type: 'POST', |
| | | data: { |
| | | rName: result.rname, |
| | |
| | | $(this).addClass('on'); |
| | | |
| | | $.ajax({ |
| | | url: "https://web.byisf.com:18001/talk?deviceCode=" + $('.realtime-police-details-box>div:eq(1)').data('code'), |
| | | url: "https://web.byisf.com/talk?deviceCode=" + $('.realtime-police-details-box>div:eq(1)').data('code'), |
| | | type: "POST", |
| | | data: '12345', |
| | | dataType: 'JSON', |
| | |
| | | var getPCMBlob = recorder.getPCMBlob(); |
| | | |
| | | $.ajax({ |
| | | url: "https://web.byisf.com:18001/talk", |
| | | url: "https://web.byisf.com/talk", |
| | | type: 'POST', |
| | | data: { |
| | | PktType: URL.createObjectURL(getPCMBlob), |
| | |
| | | layer.confirm('确定撤销该警情?', { icon: 3, title: '提示' }, function (index) { |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/alarm/alarm/deletejj', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/deletejj', |
| | | type: 'POST', |
| | | data: { |
| | | id: id |
| | |
| | | function updateJType(id, czTime, bz, jjTime) { |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/alarm/alarm/updateJtype', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/updateJtype', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | // 查看保安人员下拉 |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/security/security/selectry', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/security/security/selectry', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 查看保安人员下拉 |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/security/security/selectry', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/security/security/selectry', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | $('.police-container-distribute-details .content table tbody').empty(); |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'https://web.byisf.com/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: 'https://web.byisf.com:18001/api/blade-jfpts/position/position/selectry', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/position/position/selectry', |
| | | type: 'POST', |
| | | data: { |
| | | coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")" |
| | |
| | | } |
| | | // 发送请求修改警单数据 |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/updateInfo', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/updateInfo', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'https://web.byisf.com/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: 'https://web.byisf.com:18001/api/blade-jfpts/regions/regions/selectqy', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | |
| | | that.layuiLayer.msg('人员未更改!'); |
| | | } else { |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/duty/duty/updatedtInfo', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/duty/duty/updatedtInfo', |
| | | type: 'POST', |
| | | data: { |
| | | rid: routeId, |
| | |
| | | if (that.tabIndex == 1) { |
| | | if (that.patrolIndex == 1) { |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/routeIn/routein/insertlx', |
| | | url: 'https://web.byisf.com/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: 'https://web.byisf.com:18001/api/blade-jfpts/duty/duty/insertduty', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/duty/duty/insertduty', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | // that.pepleRealId = pepleRealId; |
| | | } else { |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/regions/regions/insterqy', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/insterqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | } else if (that.tabIndex == 2) { |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/enclosure/enclosure/insertes', |
| | | url: 'https://web.byisf.com/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: 'https://web.byisf.com:18001/api/blade-jfpts/district/district/selectList', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/district/district/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/regions/regions/selectList', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/routeIn/routein/selectList', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.entityPolygonAll.clear(); |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/alarm/alarm/queryBa', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/queryBa', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | } |
| | | }) |
| | | // $.ajax({ |
| | | // url: 'https://web.byisf.com:18001/api/blade-jfpts/security/security/selectList', |
| | | // url: 'https://web.byisf.com/api/blade-jfpts/security/security/selectList', |
| | | // type: 'POST', |
| | | // dataType: 'JSON', |
| | | // success: function (data) { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/routeIn/routein/updatelx', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/updatelx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/regions/regions/updateqy', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/updateqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/enclosure/enclosure/updatee', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/enclosure/enclosure/updatee', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | var lttd = that.getQueryStringByKey('wd'); |
| | | |
| | | $.ajax({ |
| | | url: "https://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/detail?id=" + openid, |
| | | url: "https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/detail?id=" + openid, |
| | | type: 'get', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | }) |
| | | |
| | | $.ajax({ |
| | | url: "https://web.byisf.com:18001/api/blade-jfpts/position/position/selectfj", |
| | | url: "https://web.byisf.com/api/blade-jfpts/position/position/selectfj", |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dom.children('.select-list').children('ul').append($("<li areaid='all'>全部</li>")); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-system/region/select?code=3601', |
| | | url: 'https://web.byisf.com/api/blade-system/region/select?code=3601', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: "https://web.byisf.com:18001/api/blade-jfpts/alarm/alarm/page?current=1&size=99999&waringType=&beginTime=" + beginTime + "&endTime=" +endTime +"&province=36&city=3601&district=" + addvcd, |
| | | url: "https://web.byisf.com/api/blade-jfpts/alarm/alarm/page?current=1&size=99999&waringType=&beginTime=" + beginTime + "&endTime=" +endTime +"&province=36&city=3601&district=" + addvcd, |
| | | type: 'get', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.children('.select-list').children('ul').empty(); |
| | | dom.children('.select-list').children('ul').append($("<li ownerid='all'>全部</li>")); |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/lx/lx/seleclx', |
| | | url: 'https://web.byisf.com/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: 'https://web.byisf.com:18001/api/blade-jfpts/dj/dj/selectName?tnumbers=' + tnumbers, |
| | | url: 'https://web.byisf.com/api/blade-jfpts/dj/dj/selectName?tnumbers=' + tnumbers, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/suser/suser/selectList?type=' + type + '&dj=' + dj, |
| | | url: 'https://web.byisf.com/api/blade-jfpts/suser/suser/selectList?type=' + type + '&dj=' + dj, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/equipment/equipment/selectList?deviceType=' + deviceType, |
| | | url: 'https://web.byisf.com/api/blade-jfpts/equipment/equipment/selectList?deviceType=' + deviceType, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | $('.police-container-distribute-details .content table tbody').empty(); |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'https://web.byisf.com/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: 'https://web.byisf.com:18001/api/blade-jfpts/position/position/selectry', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/position/position/selectry', |
| | | type: 'POST', |
| | | data: { |
| | | coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")" |
| | |
| | | } |
| | | // 发送请求修改警单数据 |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/updateInfo', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/updateInfo', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'https://web.byisf.com/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: 'https://web.byisf.com:18001/api/blade-jfpts/regions/regions/selectqy', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | |
| | | that.layuiLayer.msg('人员未更改!'); |
| | | } else { |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/duty/duty/updatedtInfo', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/duty/duty/updatedtInfo', |
| | | type: 'POST', |
| | | data: { |
| | | rid: routeId, |
| | |
| | | if (that.tabIndex == 1) { |
| | | if (that.patrolIndex == 1) { |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/routeIn/routein/insertlx', |
| | | url: 'https://web.byisf.com/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: 'https://web.byisf.com:18001/api/blade-jfpts/duty/duty/insertduty', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/duty/duty/insertduty', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | // that.pepleRealId = pepleRealId; |
| | | } else { |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/regions/regions/insterqy', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/insterqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | } else if (that.tabIndex == 2) { |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/enclosure/enclosure/insertes', |
| | | url: 'https://web.byisf.com/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: 'https://web.byisf.com:18001/api/blade-jfpts/district/district/selectList', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/district/district/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/regions/regions/selectList', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/routeIn/routein/selectList', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/security/security/selectList', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/security/security/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/routeIn/routein/updatelx', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/updatelx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/regions/regions/updateqy', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/updateqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/enclosure/enclosure/updatee', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/enclosure/enclosure/updatee', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | $('.police-container-distribute-details .content table tbody').empty(); |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'https://web.byisf.com/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: 'https://web.byisf.com:18001/api/blade-jfpts/position/position/selectry', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/position/position/selectry', |
| | | type: 'POST', |
| | | data: { |
| | | coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")" |
| | |
| | | } |
| | | // 发送请求修改警单数据 |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/updateInfo', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/updateInfo', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'https://web.byisf.com/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: 'https://web.byisf.com:18001/api/blade-jfpts/regions/regions/selectqy', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | |
| | | that.layuiLayer.msg('人员未更改!'); |
| | | } else { |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/duty/duty/updatedtInfo', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/duty/duty/updatedtInfo', |
| | | type: 'POST', |
| | | data: { |
| | | rid: routeId, |
| | |
| | | if (that.tabIndex == 1) { |
| | | if (that.patrolIndex == 1) { |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/routeIn/routein/insertlx', |
| | | url: 'https://web.byisf.com/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: 'https://web.byisf.com:18001/api/blade-jfpts/duty/duty/insertduty', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/duty/duty/insertduty', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | // that.pepleRealId = pepleRealId; |
| | | } else { |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/regions/regions/insterqy', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/insterqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | } else if (that.tabIndex == 2) { |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/enclosure/enclosure/insertes', |
| | | url: 'https://web.byisf.com/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: 'https://web.byisf.com:18001/api/blade-jfpts/district/district/selectList', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/district/district/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/regions/regions/selectList', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/routeIn/routein/selectList', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/security/security/selectList', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/security/security/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/routeIn/routein/updatelx', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/updatelx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/regions/regions/updateqy', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/updateqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/enclosure/enclosure/updatee', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/enclosure/enclosure/updatee', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/jingdan/jingdan/saves', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/saves', |
| | | type: 'POST', |
| | | data: { |
| | | rName: $(_self).data('rname'), |
| | |
| | | |
| | | // 行政区 |
| | | // $.ajax({ |
| | | // url: 'https://web.byisf.com:18001/api/blade-jfpts/district/district/selectList', |
| | | // url: 'https://web.byisf.com/api/blade-jfpts/district/district/selectList', |
| | | // type: 'POST', |
| | | // dataType: 'JSON', |
| | | // success: function (data) { |
| | |
| | | |
| | | // // 警情类型下拉 |
| | | // $.ajax({ |
| | | // url: 'https://web.byisf.com:18001/api/blade-jfpts/alarm/alarm/selectScount', |
| | | // url: 'https://web.byisf.com/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: 'https://web.byisf.com:18001/api/blade-jfpts/alarm/alarm/selectList' //数据接口 |
| | | , url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/selectList' //数据接口 |
| | | , method: "post" |
| | | , where: { jtype: '', beginTime: that.realBeginTime, endTime: that.realEndTime } |
| | | , parseData: function (res) { //res 即为原始返回的数据 |
| | |
| | | that.realTimeQuery = setInterval(function () { |
| | | if (that.historyPoliceId != null) { |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/alarm/alarm/selecttx', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/selecttx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | layer.confirm('确定撤销该警情?', { icon: 3, title: '提示' }, function (index) { |
| | | |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/alarm/alarm/deletejj', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/deletejj', |
| | | type: 'POST', |
| | | data: { |
| | | id: id |
| | |
| | | |
| | | updateJType: function (id, czTime, bz, jjTime) { |
| | | $.ajax({ |
| | | url: 'https://web.byisf.com:18001/api/blade-jfpts/alarm/alarm/updateJtype', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/updateJtype', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | peopleList: [], |
| | | peopleName: "", |
| | | peoplePhone: "", |
| | | ofX: null, |
| | | ofY: null, |
| | | }; |
| | | }, |
| | | created() { |
| | |
| | | that.peopleName = that.form.oneContacts; |
| | | that.peoplePhone = that.form.onePhone; |
| | | that.dialogTableVisible = true; |
| | | |
| | | that.ofX = null; |
| | | that.ofY = null; |
| | | |
| | | window.addEventListener("mousemove", that.handleMousemove); |
| | | |
| | | that.$refs.realAudio.src = "./realVideo/audio.mp3"; |
| | | that.$refs.realAudio.play(); |
| | | } |
| | |
| | | }, |
| | | closeDialog() { |
| | | //关闭窗口回调,关闭警报 |
| | | this.$refs.realAudio.pause(); |
| | | this.videoConversationReal = false; |
| | | this.oldVideoSatart = false; |
| | | }, |
| | | |
| | | getDate() { |
| | | // 当前时间 |
| | | var timestamp = Date.parse(new Date()); |
| | |
| | | ) |
| | | .then(function () { |
| | | that.dialogTableVisible = false; |
| | | |
| | | that.$router.push({ |
| | | path: "/policeTracking/track", |
| | | query: that.form, |
| | | }); |
| | | }); |
| | | }, |
| | | beginTimeOrEndTime(time) { |
| | |
| | | } |
| | | }); |
| | | }, |
| | | |
| | | // 监听鼠标的移动事件 |
| | | handleMousemove(e) { |
| | | if ( |
| | | (this.ofX != null && e.offsetX != this.ofX) || |
| | | (this.ofY != null && e.offsetY != this.ofY) |
| | | ) { |
| | | this.$refs.realAudio.pause(); |
| | | window.removeEventListener("mousemove", this.handleMousemove); |
| | | } |
| | | |
| | | this.ofX = e.offsetX; |
| | | this.ofY = e.offsetY; |
| | | }, |
| | | }, |
| | | }; |
| | | </script> |
| | |
| | | |
| | | } |
| | | |
| | | // 警情追踪图片放大中的关闭按钮的样式调整 |
| | | .el-icon-circle-close { |
| | | width: 40px; |
| | | height: 40px; |
| | | background: url(/img/big-img-close.png) no-repeat; |
| | | background-size: 100% 100%; |
| | | } |
| | | .el-icon-circle-close:before { |
| | | content: ''; |
| | | } |
| | |
| | | } |
| | | |
| | | var newAxios = axios.create({ |
| | | baseURL: "https://web.byisf.com:18001", |
| | | baseURL: "https://web.byisf.com", |
| | | withCredentials: false, |
| | | headers: {}, |
| | | }); |
| | |
| | | |
| | | getSelectOptions() { |
| | | var newAxios = axios.create({ |
| | | baseURL: "https://web.byisf.com:18001", |
| | | baseURL: "https://web.byisf.com", |
| | | withCredentials: false, |
| | | headers: {}, |
| | | }); |
| | |
| | | --> |
| | | <template> |
| | | <iframe v-show="iframeState" id="show-iframe" frameborder=0 name="showHere" scrolling=auto |
| | | src="https://web.byisf.com:18001/bigScreen/view/1349193280059879426"></iframe> |
| | | src="https://web.byisf.com/bigScreen/view/1349193280059879426"></iframe> |
| | | </template> |
| | | |
| | | <script> |
| | |
| | | * @Author: Morpheus |
| | | * @Date: 2021-03-17 15:21:33 |
| | | * @Last Modified by: Morpheus |
| | | * @Last Modified time: 2021-03-22 09:29:16 |
| | | * @Last Modified time: 2021-03-22 11:52:42 |
| | | */ |
| | | <template> |
| | | <basic-container> |
| | |
| | | } |
| | | ) |
| | | .then(function () { |
| | | that.onLoad(that.page, that.query); |
| | | that.dialogTableVisible = false; |
| | | that.onLoad(that.page, that.query); |
| | | that.$router.push({ path: "/policeTracking/track", query: that.form }); |
| | | }); |
| | | }, |
| | | beginTimeOrEndTime(time) { |
| | |
| | | '/api': { |
| | | //本地服务接口地址 |
| | | //target: 'http://localhost:82/', |
| | | target: 'https://web.byisf.com:18001/api/', |
| | | target: 'https://web.byisf.com/api/', |
| | | //远程演示服务地址,可用于直接启动项目 |
| | | //target: 'https://saber.bladex.vip/api', |
| | | ws: true, |