| | |
| | | $('.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: { |