| | |
| | | team: "你,他,它", |
| | | time: "2022-02-18 14:15:52", |
| | | type: "0", |
| | | url: "http://223.82.109.183:2081/zhba/upload/20220218/67f0c8bf3e7b5024c64133691f265072.ico", |
| | | url: "http://61.131.136.25:2081/zhba/upload/20220218/67f0c8bf3e7b5024c64133691f265072.ico", |
| | | }, |
| | | that = this; |
| | | //url解码 |
| | |
| | | // desc = "+proj=longlat +datum=WGS84 +no_defs ", |
| | | // crs = new L.CRS("EPSG:4326", desc, {}); |
| | | // center = [data[0].wd, data[0].jd], |
| | | // url = `http://223.82.109.183:2082/api/alarm/alarm/APP-getAlarm?id=${data[0].id}`; |
| | | // url = `http://61.131.136.25:2082/api/alarm/alarm/APP-getAlarm?id=${data[0].id}`; |
| | | // url = `http://localhost:89/alarm/alarm/APP-getAlarm?id=${data[0].id}`; |
| | | // this.nowPosition = center; |
| | | // axios.post(url).then((res) => { |
| | |
| | | beginMap (map, data) { |
| | | var that = this, |
| | | center = [data[0].wd, data[0].jd], |
| | | url = `http://223.82.109.183:2082/api/alarm/alarm/APP-getAlarm?id=${data[0].id}` |
| | | url = `http://61.131.136.25:2082/api/alarm/alarm/APP-getAlarm?id=${data[0].id}` |
| | | // url = `http://localhost:89/alarm/alarm/APP-getAlarm?id=${data[0].id}`; |
| | | this.nowPosition = center |
| | | |
| | |
| | | |
| | | |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/equipment/equipment/detail?id=' + code, |
| | | url: 'http://61.131.136.25:2082/api/equipment/equipment/detail?id=' + code, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | $("#client_bc").off("click").click(function () { |
| | | |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/equipment/equipment/updateClinent?', |
| | | url: 'http://61.131.136.25:2082/api/equipment/equipment/updateClinent?', |
| | | data: { |
| | | "id": code, |
| | | |
| | |
| | | |
| | | // 查看设备的详细信息 |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/equipment/equipment/detail?id=' + code, |
| | | url: 'http://61.131.136.25:2082/api/equipment/equipment/detail?id=' + code, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | console.log(code, 1212121); |
| | | |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | url: 'http://61.131.136.25:2082/api/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 查看警情的详细信息 |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/suser/suser/detail?id=' + code, |
| | | url: 'http://61.131.136.25:2082/api/suser/suser/detail?id=' + code, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | var viewVideoLayer = null; |
| | | // 查看保安人员的详细信息 |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/security/security/selectInfo?snumber=' + code, |
| | | url: 'http://61.131.136.25:2082/api/security/security/selectInfo?snumber=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 查看警情的详细信息 |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + code, |
| | | url: 'http://61.131.136.25:2082/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | console.log(code, 1212121); |
| | | |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | url: 'http://61.131.136.25:2082/api/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 查看警情的详细信息 |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/alarm/alarm/selectInfo?id=' + code, |
| | | url: 'http://61.131.136.25:2082/api/alarm/alarm/selectInfo?id=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | return |
| | | } |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/saves', |
| | | url: 'http://61.131.136.25:2082/api/jingdan/jingdan/saves', |
| | | type: 'POST', |
| | | data: { |
| | | rName: result.rname, |
| | |
| | | layer.confirm('确定撤销该警情?', { icon: 3, title: '提示' }, function (index) { |
| | | |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/alarm/alarm/deletejj', |
| | | url: 'http://61.131.136.25:2082/api/alarm/alarm/deletejj', |
| | | type: 'POST', |
| | | data: { |
| | | id: id |
| | |
| | | function updateJType(id, czTime, bz, jjTime) { |
| | | |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/alarm/alarm/updateJtype', |
| | | url: 'http://61.131.136.25:2082/api/alarm/alarm/updateJtype', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | // 查看保安人员下拉 |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/security/security/selectry', |
| | | url: 'http://61.131.136.25:2082/api/security/security/selectry', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 查看保安人员下拉 |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/security/security/selectry', |
| | | url: 'http://61.131.136.25:2082/api/security/security/selectry', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | $('.police-container-distribute-details .content table tbody').empty(); |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://61.131.136.25:2082/api/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://223.82.109.183:2082/api/position/position/selectry', |
| | | url: 'http://61.131.136.25:2082/api/position/position/selectry', |
| | | type: 'POST', |
| | | data: { |
| | | coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")" |
| | |
| | | } |
| | | // 发送请求修改警单数据 |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/updateInfo', |
| | | url: 'http://61.131.136.25:2082/api/jingdan/jingdan/updateInfo', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://61.131.136.25:2082/api/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://223.82.109.183:2082/api/regions/regions/selectqy', |
| | | url: 'http://61.131.136.25:2082/api/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | |
| | | that.layuiLayer.msg('人员未更改!'); |
| | | } else { |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/duty/duty/updatedtInfo', |
| | | url: 'http://61.131.136.25:2082/api/duty/duty/updatedtInfo', |
| | | type: 'POST', |
| | | data: { |
| | | rid: routeId, |
| | |
| | | if (that.tabIndex == 1) { |
| | | if (that.patrolIndex == 1) { |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/routeIn/routein/insertlx', |
| | | url: 'http://61.131.136.25:2082/api/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://223.82.109.183:2082/api/duty/duty/insertduty', |
| | | url: 'http://61.131.136.25:2082/api/duty/duty/insertduty', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | // that.pepleRealId = pepleRealId; |
| | | } else { |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/insterqy', |
| | | url: 'http://61.131.136.25:2082/api/regions/regions/insterqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | } else if (that.tabIndex == 2) { |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/enclosure/enclosure/insertes', |
| | | url: 'http://61.131.136.25:2082/api/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://223.82.109.183:2082/api/district/district/selectList', |
| | | url: 'http://61.131.136.25:2082/api/district/district/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectList', |
| | | url: 'http://61.131.136.25:2082/api/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/selectList', |
| | | url: 'http://61.131.136.25:2082/api/regions/regions/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/routeIn/routein/selectList', |
| | | url: 'http://61.131.136.25:2082/api/routeIn/routein/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.entityPolygonAll.clear(); |
| | | |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/alarm/alarm/queryBa', |
| | | url: 'http://61.131.136.25:2082/api/alarm/alarm/queryBa', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | } |
| | | }) |
| | | // $.ajax({ |
| | | // url: 'http://223.82.109.183:2082/api/security/security/selectList', |
| | | // url: 'http://61.131.136.25:2082/api/security/security/selectList', |
| | | // type: 'POST', |
| | | // dataType: 'JSON', |
| | | // success: function (data) { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/routeIn/routein/updatelx', |
| | | url: 'http://61.131.136.25:2082/api/routeIn/routein/updatelx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/updateqy', |
| | | url: 'http://61.131.136.25:2082/api/regions/regions/updateqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/enclosure/enclosure/updatee', |
| | | url: 'http://61.131.136.25:2082/api/enclosure/enclosure/updatee', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | |
| | | if (baid != null && baid != "") { |
| | | $.ajax({ |
| | | url: "http://223.82.109.183:2082/api/routeIn/routein/selectList?id=" + baid, |
| | | url: "http://61.131.136.25:2082/api/routeIn/routein/selectList?id=" + baid, |
| | | type: 'post', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | |
| | | that.createTwinkleEntitys(that.addEntitys, lgtd, lttd, './images/real-time-callPolice-opcity.png'); |
| | | // console.log(deptId,153454) |
| | | $.ajax({ |
| | | url: "http://223.82.109.183:2082/api/blade-user/pages?current=1&size=9999&work_status=&deptId=" + deptId, |
| | | url: "http://61.131.136.25:2082/api/blade-user/pages?current=1&size=9999&work_status=&deptId=" + deptId, |
| | | type: 'get', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | |
| | | dom.children('.select-list').children('ul').append($("<li areaid='all'>全部</li>")); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/blade-system/region/select?code=3601', |
| | | url: 'http://61.131.136.25:2082/api/blade-system/region/select?code=3601', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: "http://223.82.109.183:2082/api/alarm/alarm/page?current=1&size=99999&waringType=&beginTime=" + beginTime + "&endTime=" +endTime +"&province=36&city=3601&district=" + addvcd, |
| | | url: "http://61.131.136.25:2082/api/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: 'http://223.82.109.183:2082/api/lx/lx/seleclx', |
| | | url: 'http://61.131.136.25:2082/api/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://223.82.109.183:2082/api/dj/dj/selectName?tnumbers=' + tnumbers, |
| | | url: 'http://61.131.136.25:2082/api/dj/dj/selectName?tnumbers=' + tnumbers, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/suser/suser/selectList?type=' + type + '&dj=' + dj, |
| | | url: 'http://61.131.136.25:2082/api/suser/suser/selectList?type=' + type + '&dj=' + dj, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/equipment/equipment/selectList?deviceType=' + deviceType, |
| | | url: 'http://61.131.136.25:2082/api/equipment/equipment/selectList?deviceType=' + deviceType, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | $('.police-container-distribute-details .content table tbody').empty(); |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://61.131.136.25:2082/api/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://223.82.109.183:2082/api/position/position/selectry', |
| | | url: 'http://61.131.136.25:2082/api/position/position/selectry', |
| | | type: 'POST', |
| | | data: { |
| | | coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")" |
| | |
| | | } |
| | | // 发送请求修改警单数据 |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/updateInfo', |
| | | url: 'http://61.131.136.25:2082/api/jingdan/jingdan/updateInfo', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://61.131.136.25:2082/api/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://223.82.109.183:2082/api/regions/regions/selectqy', |
| | | url: 'http://61.131.136.25:2082/api/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function(res) { |
| | |
| | | |
| | | |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/duty/duty/updatedtInfo', |
| | | url: 'http://61.131.136.25:2082/api/duty/duty/updatedtInfo', |
| | | type: 'POST', |
| | | data: { |
| | | rid: routeId, |
| | |
| | | if (that.tabIndex == 1) { |
| | | if (that.patrolIndex == 1) { |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/routeIn/routein/insertlx', |
| | | url: 'http://61.131.136.25:2082/api/routeIn/routein/insertlx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | // that.pepleRealId = pepleRealId; |
| | | } else { |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/insterqy', |
| | | url: 'http://61.131.136.25:2082/api/regions/regions/insterqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | } else if (that.tabIndex == 2) { |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/enclosure/enclosure/insertes', |
| | | url: 'http://61.131.136.25:2082/api/enclosure/enclosure/insertes', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | |
| | | // $('.police-dispatching .police-container .police-container-patrol .main-content .select-list ul').empty(); |
| | | // $.ajax({ |
| | | // url: 'http://223.82.109.183:2082/api/regions/regions/selectqy', |
| | | // url: 'http://61.131.136.25:2082/api/regions/regions/selectqy', |
| | | // type: 'GET', |
| | | // dataType: 'JSON', |
| | | // success: function (res) { |
| | |
| | | $('.police-dispatching .police-container .distribute-district .select-list ul').append("<li key='addvcd' addvcd=''>全部</li>"); |
| | | |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/selectqy', |
| | | url: 'http://61.131.136.25:2082/api/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function(res) { |
| | |
| | | }) |
| | | that.getRouteInformation($('.police-dispatching .police-container .police-container-patrol .main-content>li:eq(1) .table .tbody tbody'), ''); |
| | | // $.ajax({ |
| | | // url: 'http://223.82.109.183:2082/api/district/district/selectList', |
| | | // url: 'http://61.131.136.25:2082/api/district/district/selectList', |
| | | // type: 'POST', |
| | | // dataType: 'JSON', |
| | | // success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectList', |
| | | url: 'http://61.131.136.25:2082/api/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/selectList', |
| | | url: 'http://61.131.136.25:2082/api/regions/regions/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/routeIn/routein/selectList', |
| | | url: 'http://61.131.136.25:2082/api/routeIn/routein/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/security/security/selectList', |
| | | url: 'http://61.131.136.25:2082/api/security/security/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function(data) { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/routeIn/routein/updatelx', |
| | | url: 'http://61.131.136.25:2082/api/routeIn/routein/updatelx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/updateqy', |
| | | url: 'http://61.131.136.25:2082/api/regions/regions/updateqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/enclosure/enclosure/updatee', |
| | | url: 'http://61.131.136.25:2082/api/enclosure/enclosure/updatee', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | $('.police-container-distribute-details .content table tbody').empty(); |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://61.131.136.25:2082/api/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://223.82.109.183:2082/api/position/position/selectry', |
| | | url: 'http://61.131.136.25:2082/api/position/position/selectry', |
| | | type: 'POST', |
| | | data: { |
| | | coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")" |
| | |
| | | } |
| | | // 发送请求修改警单数据 |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/updateInfo', |
| | | url: 'http://61.131.136.25:2082/api/jingdan/jingdan/updateInfo', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://61.131.136.25:2082/api/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://223.82.109.183:2082/api/regions/regions/selectqy', |
| | | url: 'http://61.131.136.25:2082/api/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | |
| | | |
| | | |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/duty/duty/updatedtInfo', |
| | | url: 'http://61.131.136.25:2082/api/duty/duty/updatedtInfo', |
| | | type: 'POST', |
| | | data: { |
| | | rid: routeId, |
| | |
| | | if (that.tabIndex == 1) { |
| | | if (that.patrolIndex == 1) { |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/routeIn/routein/insertlx', |
| | | url: 'http://61.131.136.25:2082/api/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://223.82.109.183:2082/api/duty/duty/insertduty', |
| | | url: 'http://61.131.136.25:2082/api/duty/duty/insertduty', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | // that.pepleRealId = pepleRealId; |
| | | } else { |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/insterqy', |
| | | url: 'http://61.131.136.25:2082/api/regions/regions/insterqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | } else if (that.tabIndex == 2) { |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/enclosure/enclosure/insertes', |
| | | url: 'http://61.131.136.25:2082/api/enclosure/enclosure/insertes', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | |
| | | // $('.police-dispatching .police-container .police-container-patrol .main-content .select-list ul').empty(); |
| | | // $.ajax({ |
| | | // url: 'http://223.82.109.183:2082/api/regions/regions/selectqy', |
| | | // url: 'http://61.131.136.25:2082/api/regions/regions/selectqy', |
| | | // type: 'GET', |
| | | // dataType: 'JSON', |
| | | // success: function (res) { |
| | |
| | | $('.police-dispatching .police-container .distribute-district .select-list ul').append("<li key='addvcd' addvcd=''>全部</li>"); |
| | | |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/selectqy', |
| | | url: 'http://61.131.136.25:2082/api/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | |
| | | }) |
| | | that.getRouteInformation($('.police-dispatching .police-container .police-container-patrol .main-content>li:eq(1) .table .tbody tbody'), ''); |
| | | // $.ajax({ |
| | | // url: 'http://223.82.109.183:2082/api/district/district/selectList', |
| | | // url: 'http://61.131.136.25:2082/api/district/district/selectList', |
| | | // type: 'POST', |
| | | // dataType: 'JSON', |
| | | // success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectList', |
| | | url: 'http://61.131.136.25:2082/api/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/selectList', |
| | | url: 'http://61.131.136.25:2082/api/regions/regions/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/routeIn/routein/selectList', |
| | | url: 'http://61.131.136.25:2082/api/routeIn/routein/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/security/security/selectList', |
| | | url: 'http://61.131.136.25:2082/api/security/security/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/routeIn/routein/updatelx', |
| | | url: 'http://61.131.136.25:2082/api/routeIn/routein/updatelx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/updateqy', |
| | | url: 'http://61.131.136.25:2082/api/regions/regions/updateqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/enclosure/enclosure/updatee', |
| | | url: 'http://61.131.136.25:2082/api/enclosure/enclosure/updatee', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | $('.police-container-distribute-details .content table tbody').empty(); |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://61.131.136.25:2082/api/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://223.82.109.183:2082/api/position/position/selectry', |
| | | url: 'http://61.131.136.25:2082/api/position/position/selectry', |
| | | type: 'POST', |
| | | data: { |
| | | coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")" |
| | |
| | | } |
| | | // 发送请求修改警单数据 |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/updateInfo', |
| | | url: 'http://61.131.136.25:2082/api/jingdan/jingdan/updateInfo', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://61.131.136.25:2082/api/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://223.82.109.183:2082/api/regions/regions/selectqy', |
| | | url: 'http://61.131.136.25:2082/api/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function(res) { |
| | |
| | | that.layuiLayer.msg('人员未更改!'); |
| | | } else { |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/duty/duty/updatedtInfo', |
| | | url: 'http://61.131.136.25:2082/api/duty/duty/updatedtInfo', |
| | | type: 'POST', |
| | | data: { |
| | | rid: routeId, |
| | |
| | | if (that.tabIndex == 1) { |
| | | if (that.patrolIndex == 1) { |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/routeIn/routein/insertlx', |
| | | url: 'http://61.131.136.25:2082/api/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://223.82.109.183:2082/api/duty/duty/insertduty', |
| | | url: 'http://61.131.136.25:2082/api/duty/duty/insertduty', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | // that.pepleRealId = pepleRealId; |
| | | } else { |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/insterqy', |
| | | url: 'http://61.131.136.25:2082/api/regions/regions/insterqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | } else if (that.tabIndex == 2) { |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/enclosure/enclosure/insertes', |
| | | url: 'http://61.131.136.25:2082/api/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://223.82.109.183:2082/api/district/district/selectList', |
| | | url: 'http://61.131.136.25:2082/api/district/district/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function(data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectList', |
| | | url: 'http://61.131.136.25:2082/api/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/selectList', |
| | | url: 'http://61.131.136.25:2082/api/regions/regions/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/routeIn/routein/selectList', |
| | | url: 'http://61.131.136.25:2082/api/routeIn/routein/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/security/security/selectList', |
| | | url: 'http://61.131.136.25:2082/api/security/security/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function(data) { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/routeIn/routein/updatelx', |
| | | url: 'http://61.131.136.25:2082/api/routeIn/routein/updatelx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/updateqy', |
| | | url: 'http://61.131.136.25:2082/api/regions/regions/updateqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/enclosure/enclosure/updatee', |
| | | url: 'http://61.131.136.25:2082/api/enclosure/enclosure/updatee', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | $('.police-container-distribute-details .content table tbody').empty(); |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://61.131.136.25:2082/api/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://223.82.109.183:2082/api/position/position/selectry', |
| | | url: 'http://61.131.136.25:2082/api/position/position/selectry', |
| | | type: 'POST', |
| | | data: { |
| | | coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")" |
| | |
| | | } |
| | | // 发送请求修改警单数据 |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/updateInfo', |
| | | url: 'http://61.131.136.25:2082/api/jingdan/jingdan/updateInfo', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://61.131.136.25:2082/api/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://223.82.109.183:2082/api/regions/regions/selectqy', |
| | | url: 'http://61.131.136.25:2082/api/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | |
| | | that.layuiLayer.msg('人员未更改!'); |
| | | } else { |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/duty/duty/updatedtInfo', |
| | | url: 'http://61.131.136.25:2082/api/duty/duty/updatedtInfo', |
| | | type: 'POST', |
| | | data: { |
| | | rid: routeId, |
| | |
| | | if (that.tabIndex == 1) { |
| | | if (that.patrolIndex == 1) { |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/routeIn/routein/insertlx', |
| | | url: 'http://61.131.136.25:2082/api/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://223.82.109.183:2082/api/duty/duty/insertduty', |
| | | url: 'http://61.131.136.25:2082/api/duty/duty/insertduty', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | // that.pepleRealId = pepleRealId; |
| | | } else { |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/insterqy', |
| | | url: 'http://61.131.136.25:2082/api/regions/regions/insterqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | } else if (that.tabIndex == 2) { |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/enclosure/enclosure/insertes', |
| | | url: 'http://61.131.136.25:2082/api/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://223.82.109.183:2082/api/district/district/selectList', |
| | | url: 'http://61.131.136.25:2082/api/district/district/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectList', |
| | | url: 'http://61.131.136.25:2082/api/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/selectList', |
| | | url: 'http://61.131.136.25:2082/api/regions/regions/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/routeIn/routein/selectList', |
| | | url: 'http://61.131.136.25:2082/api/routeIn/routein/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/security/security/selectList', |
| | | url: 'http://61.131.136.25:2082/api/security/security/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/routeIn/routein/updatelx', |
| | | url: 'http://61.131.136.25:2082/api/routeIn/routein/updatelx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/updateqy', |
| | | url: 'http://61.131.136.25:2082/api/regions/regions/updateqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/enclosure/enclosure/updatee', |
| | | url: 'http://61.131.136.25:2082/api/enclosure/enclosure/updatee', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/saves', |
| | | url: 'http://61.131.136.25:2082/api/jingdan/jingdan/saves', |
| | | type: 'POST', |
| | | data: { |
| | | rName: $(_self).data('rname'), |
| | |
| | | |
| | | // 行政区 |
| | | // $.ajax({ |
| | | // url: 'http://223.82.109.183:2082/api/district/district/selectList', |
| | | // url: 'http://61.131.136.25:2082/api/district/district/selectList', |
| | | // type: 'POST', |
| | | // dataType: 'JSON', |
| | | // success: function (data) { |
| | |
| | | |
| | | // // 警情类型下拉 |
| | | // $.ajax({ |
| | | // url: 'http://223.82.109.183:2082/api/alarm/alarm/selectScount', |
| | | // url: 'http://61.131.136.25:2082/api/alarm/alarm/selectScount', |
| | | // type: 'GET', |
| | | // dataType: 'JSON', |
| | | // success: function (data) { |
| | |
| | | that.updateRealTable = table.render({ |
| | | elem: '#real_time_table' |
| | | , height: (layerTabHei - 20) |
| | | , url: 'http://223.82.109.183:2082/api/alarm/alarm/selectList' //数据接口 |
| | | , url: 'http://61.131.136.25:2082/api/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: 'http://223.82.109.183:2082/api/alarm/alarm/selecttx', |
| | | url: 'http://61.131.136.25:2082/api/alarm/alarm/selecttx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | layer.confirm('确定撤销该警情?', { icon: 3, title: '提示' }, function (index) { |
| | | |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/alarm/alarm/deletejj', |
| | | url: 'http://61.131.136.25:2082/api/alarm/alarm/deletejj', |
| | | type: 'POST', |
| | | data: { |
| | | id: id |
| | |
| | | |
| | | updateJType: function (id, czTime, bz, jjTime) { |
| | | $.ajax({ |
| | | url: 'http://223.82.109.183:2082/api/alarm/alarm/updateJtype', |
| | | url: 'http://61.131.136.25:2082/api/alarm/alarm/updateJtype', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | //基础路径 |
| | | //pathUrl: "http://localhost:89", |
| | | pathUrl: "http://223.82.109.183:2082/api/blade-jfpts", |
| | | pathUrl: "http://61.131.136.25:2082/api/blade-jfpts", |
| | | |
| | | // 电子围栏需要新增的Id |
| | | newElectronicFenceId: null, |
| | |
| | | |
| | | //基础路径 |
| | | pathUrl: "http://localhost:89", |
| | | //pathUrl: "http://223.82.109.183:2082/api/blade-jfpts", |
| | | //pathUrl: "http://61.131.136.25:2082/api/blade-jfpts", |
| | | |
| | | // 电子围栏需要新增的Id |
| | | newElectronicFenceId: null, |
| | |
| | | beginMap(map, data) { |
| | | var that = this, |
| | | center = [data[0].wd, data[0].jd], |
| | | url = `http://223.82.109.183:2082/api/alarm/alarm/APP-getAlarm?id=${data[0].id}`; |
| | | url = `http://61.131.136.25:2082/api/alarm/alarm/APP-getAlarm?id=${data[0].id}`; |
| | | // url = `http://localhost:89/alarm/alarm/APP-getAlarm?id=${data[0].id}`; |
| | | this.nowPosition = center; |
| | | axios.post(url).then((res) => { |
| | |
| | | beginMap(map, data) { |
| | | var that = this, |
| | | center = [data[0].wd, data[0].jd], |
| | | url = `http://223.82.109.183:2082/api/alarm/alarm/APP-getAlarm?id=${data[0].id}`; |
| | | url = `http://61.131.136.25:2082/api/alarm/alarm/APP-getAlarm?id=${data[0].id}`; |
| | | // url = `http://localhost:89/alarm/alarm/APP-getAlarm?id=${data[0].id}`; |
| | | this.nowPosition = center; |
| | | axios.post(url).then((res) => { |
| | |
| | | //保安信息查询 |
| | | axios({ |
| | | method: "POST", |
| | | url: `http://223.82.109.183:2082/api/blade-user/details`, |
| | | url: `http://61.131.136.25:2082/api/blade-user/details`, |
| | | params: { |
| | | id: that.snumber, |
| | | }, |
| | |
| | | //警情点查询 |
| | | axios({ |
| | | method: "post", |
| | | url: `http://223.82.109.183:2082/api/alarm/alarm/APP-getAlarming`, |
| | | url: `http://61.131.136.25:2082/api/alarm/alarm/APP-getAlarming`, |
| | | params: { |
| | | securityId: "1370564873280430082", |
| | | }, |
| | |
| | | // target: 'http://192.168.0.114:82/', |
| | | // target: 'http://192.168.0.108:83/',//曾 |
| | | //target: 'http://localhost:82/', |
| | | // target: 'http://223.82.109.183:2082/api/', |
| | | // target: 'http://61.131.136.25:2082/api/', |
| | | // target: 'http://192.168.0.107:85/',//唐 |
| | | // target: 'http://localhost:83/', |
| | | //target: 'http://223.82.109.183:2082/api/', |
| | | //target: 'http://61.131.136.25:2082/api/', |
| | | target: 'http://localhost:83/', |
| | | //target: 'https://web.byisf.com/api/', |
| | | //远程演示服务地址,可用于直接启动项目 |