| | |
| | | |
| | | |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/equipment/equipment/detail?id=' + code, |
| | | url: 'http://223.82.109.183:2082/api/equipment/equipment/detail?id=' + code, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | $("#client_bc").off("click").click(function () { |
| | | |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/equipment/equipment/updateClinent?', |
| | | url: 'http://223.82.109.183:2082/api/equipment/equipment/updateClinent?', |
| | | data: { |
| | | "id": code, |
| | | |
| | |
| | | |
| | | // 查看设备的详细信息 |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/equipment/equipment/detail?id=' + code, |
| | | url: 'http://223.82.109.183:2082/api/equipment/equipment/detail?id=' + code, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | console.log(code, 1212121); |
| | | |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 查看警情的详细信息 |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/suser/suser/detail?id=' + code, |
| | | url: 'http://223.82.109.183:2082/api/suser/suser/detail?id=' + code, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | var viewVideoLayer = null; |
| | | // 查看保安人员的详细信息 |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/security/security/selectInfo?snumber=' + code, |
| | | url: 'http://223.82.109.183:2082/api/security/security/selectInfo?snumber=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 查看警情的详细信息 |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + code, |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | console.log(code, 1212121); |
| | | |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 查看警情的详细信息 |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/alarm/alarm/selectInfo?id=' + code, |
| | | url: 'http://223.82.109.183:2082/api/alarm/alarm/selectInfo?id=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | return |
| | | } |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/jingdan/jingdan/saves', |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/saves', |
| | | type: 'POST', |
| | | data: { |
| | | rName: result.rname, |
| | |
| | | layer.confirm('确定撤销该警情?', { icon: 3, title: '提示' }, function (index) { |
| | | |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/alarm/alarm/deletejj', |
| | | url: 'http://223.82.109.183:2082/api/alarm/alarm/deletejj', |
| | | type: 'POST', |
| | | data: { |
| | | id: id |
| | |
| | | function updateJType(id, czTime, bz, jjTime) { |
| | | |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/alarm/alarm/updateJtype', |
| | | url: 'http://223.82.109.183:2082/api/alarm/alarm/updateJtype', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | // 查看保安人员下拉 |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/security/security/selectry', |
| | | url: 'http://223.82.109.183:2082/api/security/security/selectry', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 查看保安人员下拉 |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/security/security/selectry', |
| | | url: 'http://223.82.109.183: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://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://223.82.109.183: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://s16s652780.51mypc.cn/api/position/position/selectry', |
| | | url: 'http://223.82.109.183:2082/api/position/position/selectry', |
| | | type: 'POST', |
| | | data: { |
| | | coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")" |
| | |
| | | } |
| | | // 发送请求修改警单数据 |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/jingdan/jingdan/updateInfo', |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/updateInfo', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://223.82.109.183: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://s16s652780.51mypc.cn/api/regions/regions/selectqy', |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | |
| | | that.layuiLayer.msg('人员未更改!'); |
| | | } else { |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/duty/duty/updatedtInfo', |
| | | url: 'http://223.82.109.183:2082/api/duty/duty/updatedtInfo', |
| | | type: 'POST', |
| | | data: { |
| | | rid: routeId, |
| | |
| | | if (that.tabIndex == 1) { |
| | | if (that.patrolIndex == 1) { |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/routeIn/routein/insertlx', |
| | | url: 'http://223.82.109.183: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://s16s652780.51mypc.cn/api/duty/duty/insertduty', |
| | | url: 'http://223.82.109.183:2082/api/duty/duty/insertduty', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | // that.pepleRealId = pepleRealId; |
| | | } else { |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/regions/regions/insterqy', |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/insterqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | } else if (that.tabIndex == 2) { |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/enclosure/enclosure/insertes', |
| | | url: 'http://223.82.109.183: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://s16s652780.51mypc.cn/api/district/district/selectList', |
| | | url: 'http://223.82.109.183:2082/api/district/district/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/jingdan/jingdan/selectList', |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/regions/regions/selectList', |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/routeIn/routein/selectList', |
| | | url: 'http://223.82.109.183:2082/api/routeIn/routein/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.entityPolygonAll.clear(); |
| | | |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/alarm/alarm/queryBa', |
| | | url: 'http://223.82.109.183:2082/api/alarm/alarm/queryBa', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | } |
| | | }) |
| | | // $.ajax({ |
| | | // url: 'http://s16s652780.51mypc.cn/api/security/security/selectList', |
| | | // url: 'http://223.82.109.183:2082/api/security/security/selectList', |
| | | // type: 'POST', |
| | | // dataType: 'JSON', |
| | | // success: function (data) { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/routeIn/routein/updatelx', |
| | | url: 'http://223.82.109.183:2082/api/routeIn/routein/updatelx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/regions/regions/updateqy', |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/updateqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/enclosure/enclosure/updatee', |
| | | url: 'http://223.82.109.183:2082/api/enclosure/enclosure/updatee', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | |
| | | if (baid != null && baid != "") { |
| | | $.ajax({ |
| | | url: "http://s16s652780.51mypc.cn/api/routeIn/routein/selectList?id=" + baid, |
| | | url: "http://223.82.109.183: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://s16s652780.51mypc.cn/api/blade-user/pages?current=1&size=9999&work_status=&deptId=" + deptId, |
| | | url: "http://223.82.109.183: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://s16s652780.51mypc.cn/api/blade-system/region/select?code=3601', |
| | | url: 'http://223.82.109.183:2082/api/blade-system/region/select?code=3601', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: "http://s16s652780.51mypc.cn/api/alarm/alarm/page?current=1&size=99999&waringType=&beginTime=" + beginTime + "&endTime=" +endTime +"&province=36&city=3601&district=" + addvcd, |
| | | 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, |
| | | 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://s16s652780.51mypc.cn/api/lx/lx/seleclx', |
| | | url: 'http://223.82.109.183: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://s16s652780.51mypc.cn/api/dj/dj/selectName?tnumbers=' + tnumbers, |
| | | url: 'http://223.82.109.183:2082/api/dj/dj/selectName?tnumbers=' + tnumbers, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/suser/suser/selectList?type=' + type + '&dj=' + dj, |
| | | url: 'http://223.82.109.183:2082/api/suser/suser/selectList?type=' + type + '&dj=' + dj, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/equipment/equipment/selectList?deviceType=' + deviceType, |
| | | url: 'http://223.82.109.183: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://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://223.82.109.183: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://s16s652780.51mypc.cn/api/position/position/selectry', |
| | | url: 'http://223.82.109.183:2082/api/position/position/selectry', |
| | | type: 'POST', |
| | | data: { |
| | | coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")" |
| | |
| | | } |
| | | // 发送请求修改警单数据 |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/jingdan/jingdan/updateInfo', |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/updateInfo', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://223.82.109.183: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://s16s652780.51mypc.cn/api/regions/regions/selectqy', |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function(res) { |
| | |
| | | |
| | | |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/duty/duty/updatedtInfo', |
| | | url: 'http://223.82.109.183:2082/api/duty/duty/updatedtInfo', |
| | | type: 'POST', |
| | | data: { |
| | | rid: routeId, |
| | |
| | | if (that.tabIndex == 1) { |
| | | if (that.patrolIndex == 1) { |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/routeIn/routein/insertlx', |
| | | url: 'http://223.82.109.183:2082/api/routeIn/routein/insertlx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | // that.pepleRealId = pepleRealId; |
| | | } else { |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/regions/regions/insterqy', |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/insterqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | } else if (that.tabIndex == 2) { |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/enclosure/enclosure/insertes', |
| | | url: 'http://223.82.109.183: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://s16s652780.51mypc.cn/api/regions/regions/selectqy', |
| | | // url: 'http://223.82.109.183: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://s16s652780.51mypc.cn/api/regions/regions/selectqy', |
| | | url: 'http://223.82.109.183: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://s16s652780.51mypc.cn/api/district/district/selectList', |
| | | // url: 'http://223.82.109.183:2082/api/district/district/selectList', |
| | | // type: 'POST', |
| | | // dataType: 'JSON', |
| | | // success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/jingdan/jingdan/selectList', |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/regions/regions/selectList', |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/routeIn/routein/selectList', |
| | | url: 'http://223.82.109.183:2082/api/routeIn/routein/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/security/security/selectList', |
| | | url: 'http://223.82.109.183:2082/api/security/security/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function(data) { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/routeIn/routein/updatelx', |
| | | url: 'http://223.82.109.183:2082/api/routeIn/routein/updatelx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/regions/regions/updateqy', |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/updateqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/enclosure/enclosure/updatee', |
| | | url: 'http://223.82.109.183:2082/api/enclosure/enclosure/updatee', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | |
| | | }); |
| | | return Widget; |
| | | }); |
| | | }); |
| | |
| | | $('.police-container-distribute-details .content table tbody').empty(); |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://223.82.109.183: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://s16s652780.51mypc.cn/api/position/position/selectry', |
| | | url: 'http://223.82.109.183:2082/api/position/position/selectry', |
| | | type: 'POST', |
| | | data: { |
| | | coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")" |
| | |
| | | } |
| | | // 发送请求修改警单数据 |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/jingdan/jingdan/updateInfo', |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/updateInfo', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://223.82.109.183: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://s16s652780.51mypc.cn/api/regions/regions/selectqy', |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | |
| | | |
| | | |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/duty/duty/updatedtInfo', |
| | | url: 'http://223.82.109.183:2082/api/duty/duty/updatedtInfo', |
| | | type: 'POST', |
| | | data: { |
| | | rid: routeId, |
| | |
| | | if (that.tabIndex == 1) { |
| | | if (that.patrolIndex == 1) { |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/routeIn/routein/insertlx', |
| | | url: 'http://223.82.109.183: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://s16s652780.51mypc.cn/api/duty/duty/insertduty', |
| | | url: 'http://223.82.109.183:2082/api/duty/duty/insertduty', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | // that.pepleRealId = pepleRealId; |
| | | } else { |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/regions/regions/insterqy', |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/insterqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | } else if (that.tabIndex == 2) { |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/enclosure/enclosure/insertes', |
| | | url: 'http://223.82.109.183: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://s16s652780.51mypc.cn/api/regions/regions/selectqy', |
| | | // url: 'http://223.82.109.183: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://s16s652780.51mypc.cn/api/regions/regions/selectqy', |
| | | url: 'http://223.82.109.183: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://s16s652780.51mypc.cn/api/district/district/selectList', |
| | | // url: 'http://223.82.109.183:2082/api/district/district/selectList', |
| | | // type: 'POST', |
| | | // dataType: 'JSON', |
| | | // success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/jingdan/jingdan/selectList', |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/regions/regions/selectList', |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/routeIn/routein/selectList', |
| | | url: 'http://223.82.109.183:2082/api/routeIn/routein/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/security/security/selectList', |
| | | url: 'http://223.82.109.183:2082/api/security/security/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/routeIn/routein/updatelx', |
| | | url: 'http://223.82.109.183:2082/api/routeIn/routein/updatelx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/regions/regions/updateqy', |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/updateqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/enclosure/enclosure/updatee', |
| | | url: 'http://223.82.109.183:2082/api/enclosure/enclosure/updatee', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | $('.police-container-distribute-details .content table tbody').empty(); |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://223.82.109.183: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://s16s652780.51mypc.cn/api/position/position/selectry', |
| | | url: 'http://223.82.109.183:2082/api/position/position/selectry', |
| | | type: 'POST', |
| | | data: { |
| | | coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")" |
| | |
| | | } |
| | | // 发送请求修改警单数据 |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/jingdan/jingdan/updateInfo', |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/updateInfo', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://223.82.109.183: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://s16s652780.51mypc.cn/api/regions/regions/selectqy', |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function(res) { |
| | |
| | | that.layuiLayer.msg('人员未更改!'); |
| | | } else { |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/duty/duty/updatedtInfo', |
| | | url: 'http://223.82.109.183:2082/api/duty/duty/updatedtInfo', |
| | | type: 'POST', |
| | | data: { |
| | | rid: routeId, |
| | |
| | | if (that.tabIndex == 1) { |
| | | if (that.patrolIndex == 1) { |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/routeIn/routein/insertlx', |
| | | url: 'http://223.82.109.183: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://s16s652780.51mypc.cn/api/duty/duty/insertduty', |
| | | url: 'http://223.82.109.183:2082/api/duty/duty/insertduty', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | // that.pepleRealId = pepleRealId; |
| | | } else { |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/regions/regions/insterqy', |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/insterqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | } else if (that.tabIndex == 2) { |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/enclosure/enclosure/insertes', |
| | | url: 'http://223.82.109.183: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://s16s652780.51mypc.cn/api/district/district/selectList', |
| | | url: 'http://223.82.109.183:2082/api/district/district/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function(data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/jingdan/jingdan/selectList', |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/regions/regions/selectList', |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/routeIn/routein/selectList', |
| | | url: 'http://223.82.109.183:2082/api/routeIn/routein/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/security/security/selectList', |
| | | url: 'http://223.82.109.183:2082/api/security/security/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function(data) { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/routeIn/routein/updatelx', |
| | | url: 'http://223.82.109.183:2082/api/routeIn/routein/updatelx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/regions/regions/updateqy', |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/updateqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/enclosure/enclosure/updatee', |
| | | url: 'http://223.82.109.183:2082/api/enclosure/enclosure/updatee', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | |
| | | }); |
| | | return Widget; |
| | | }); |
| | | }); |
| | |
| | | $('.police-container-distribute-details .content table tbody').empty(); |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://223.82.109.183: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://s16s652780.51mypc.cn/api/position/position/selectry', |
| | | url: 'http://223.82.109.183:2082/api/position/position/selectry', |
| | | type: 'POST', |
| | | data: { |
| | | coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")" |
| | |
| | | } |
| | | // 发送请求修改警单数据 |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/jingdan/jingdan/updateInfo', |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/updateInfo', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://223.82.109.183: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://s16s652780.51mypc.cn/api/regions/regions/selectqy', |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | |
| | | that.layuiLayer.msg('人员未更改!'); |
| | | } else { |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/duty/duty/updatedtInfo', |
| | | url: 'http://223.82.109.183:2082/api/duty/duty/updatedtInfo', |
| | | type: 'POST', |
| | | data: { |
| | | rid: routeId, |
| | |
| | | if (that.tabIndex == 1) { |
| | | if (that.patrolIndex == 1) { |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/routeIn/routein/insertlx', |
| | | url: 'http://223.82.109.183: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://s16s652780.51mypc.cn/api/duty/duty/insertduty', |
| | | url: 'http://223.82.109.183:2082/api/duty/duty/insertduty', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | // that.pepleRealId = pepleRealId; |
| | | } else { |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/regions/regions/insterqy', |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/insterqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | } else if (that.tabIndex == 2) { |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/enclosure/enclosure/insertes', |
| | | url: 'http://223.82.109.183: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://s16s652780.51mypc.cn/api/district/district/selectList', |
| | | url: 'http://223.82.109.183:2082/api/district/district/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/jingdan/jingdan/selectList', |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/regions/regions/selectList', |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/routeIn/routein/selectList', |
| | | url: 'http://223.82.109.183:2082/api/routeIn/routein/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/security/security/selectList', |
| | | url: 'http://223.82.109.183:2082/api/security/security/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/routeIn/routein/updatelx', |
| | | url: 'http://223.82.109.183:2082/api/routeIn/routein/updatelx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/regions/regions/updateqy', |
| | | url: 'http://223.82.109.183:2082/api/regions/regions/updateqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/enclosure/enclosure/updatee', |
| | | url: 'http://223.82.109.183:2082/api/enclosure/enclosure/updatee', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/jingdan/jingdan/saves', |
| | | url: 'http://223.82.109.183:2082/api/jingdan/jingdan/saves', |
| | | type: 'POST', |
| | | data: { |
| | | rName: $(_self).data('rname'), |
| | |
| | | |
| | | // 行政区 |
| | | // $.ajax({ |
| | | // url: 'http://s16s652780.51mypc.cn/api/district/district/selectList', |
| | | // url: 'http://223.82.109.183:2082/api/district/district/selectList', |
| | | // type: 'POST', |
| | | // dataType: 'JSON', |
| | | // success: function (data) { |
| | |
| | | |
| | | // // 警情类型下拉 |
| | | // $.ajax({ |
| | | // url: 'http://s16s652780.51mypc.cn/api/alarm/alarm/selectScount', |
| | | // url: 'http://223.82.109.183: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://s16s652780.51mypc.cn/api/alarm/alarm/selectList' //数据接口 |
| | | , url: 'http://223.82.109.183: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://s16s652780.51mypc.cn/api/alarm/alarm/selecttx', |
| | | url: 'http://223.82.109.183:2082/api/alarm/alarm/selecttx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | layer.confirm('确定撤销该警情?', { icon: 3, title: '提示' }, function (index) { |
| | | |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/alarm/alarm/deletejj', |
| | | url: 'http://223.82.109.183:2082/api/alarm/alarm/deletejj', |
| | | type: 'POST', |
| | | data: { |
| | | id: id |
| | |
| | | |
| | | updateJType: function (id, czTime, bz, jjTime) { |
| | | $.ajax({ |
| | | url: 'http://s16s652780.51mypc.cn/api/alarm/alarm/updateJtype', |
| | | url: 'http://223.82.109.183:2082/api/alarm/alarm/updateJtype', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | //基础路径 |
| | | //pathUrl: "http://localhost:89", |
| | | pathUrl: "http://s16s652780.51mypc.cn/api/blade-jfpts", |
| | | pathUrl: "http://223.82.109.183:2082/api/blade-jfpts", |
| | | |
| | | // 电子围栏需要新增的Id |
| | | newElectronicFenceId: null, |
| | |
| | | |
| | | //基础路径 |
| | | pathUrl: "http://localhost:89", |
| | | //pathUrl: "http://s16s652780.51mypc.cn/api/blade-jfpts", |
| | | //pathUrl: "http://223.82.109.183:2082/api/blade-jfpts", |
| | | |
| | | // 电子围栏需要新增的Id |
| | | newElectronicFenceId: null, |
| | |
| | | }; |
| | | } |
| | | } |
| | | |
| | | if (releaseTimeRange) { |
| | | values = { |
| | | ...params, |
| | |
| | | label: "所属客户", |
| | | prop: "tenantId", |
| | | type: "tree", |
| | | display:false, |
| | | dicUrl: "/api/blade-system/tenant/select", |
| | | props: { |
| | | label: "tenantName", |
| | | value: "tenantId", |
| | | }, |
| | | value:"000000", |
| | | hide: !website.tenantMode, |
| | | addDisplay: website.tenantMode, |
| | | editDisplay: website.tenantMode, |
| | |
| | | label: "所属岗位", |
| | | prop: "postId", |
| | | type: "tree", |
| | | display: false, |
| | | multiple: true, |
| | | dicData: [], |
| | | props: { |
| | |
| | | @click="handleDelete">删 除 |
| | | </el-button> |
| | | </template> |
| | | <template slot-scope="{row}" slot="type"> |
| | | <template slot-scope="{row}" slot="type"> |
| | | <el-tag>{{row.type==='0'?'未审核':row.type==='1'?'审核通过':'审核未通过'}}</el-tag> |
| | | </template> |
| | | <template slot-scope="{ row }" slot="examination_type"> |
| | |
| | | <el-tag>{{row.roleName}}</el-tag> |
| | | </template> |
| | | <template slot-scope="scope" slot="menu"> |
| | | <el-button icon="el-icon-check" size="small" @click.stop="handleEdit(scope.row,scope.index)">审核</el-button> |
| | | <el-button icon="el-icon-check" size="small" @click.stop="handleEdit(scope.row,scope.index)">审核</el-button> |
| | | </template> |
| | | </avue-crud> |
| | | |
| | |
| | | }, |
| | | selectionList: [], |
| | | option: { |
| | | height:'auto', |
| | | height: 'auto', |
| | | calcHeight: 54, |
| | | tip: false, |
| | | searchShow: true, |
| | |
| | | { |
| | | label: "账号", |
| | | search: true, |
| | | searchSpan:4, |
| | | searchSpan: 4, |
| | | display: false, |
| | | disabled:true, |
| | | disabled: true, |
| | | prop: "username", |
| | | }, |
| | | { |
| | |
| | | { |
| | | label: "姓名", |
| | | display: false, |
| | | searchSpan:4, |
| | | searchSpan: 4, |
| | | search: true, |
| | | disabled:true, |
| | | disabled: true, |
| | | prop: "sname", |
| | | }, |
| | | { |
| | | label: "性别", |
| | | display: false, |
| | | searchSpan:4, |
| | | searchSpan: 4, |
| | | search: true, |
| | | disabled:true, |
| | | disabled: true, |
| | | prop: "sex", |
| | | type: "select", |
| | | dicData: [ |
| | |
| | | label: "女", |
| | | value: "2" |
| | | } |
| | | ], |
| | | ], |
| | | }, |
| | | { |
| | | label: "手机号码", |
| | | disabled:true, |
| | | disabled: true, |
| | | display: false, |
| | | prop: "phone", |
| | | }, |
| | |
| | | // label: "title", |
| | | // value: "value" |
| | | // }, |
| | | }, { |
| | | label: "辖区", |
| | | prop: "jurisdiction", |
| | | }, |
| | | { |
| | | label: "角色", |
| | | prop: "parentId", |
| | | hide: true, |
| | | dicData: [], |
| | | type: "tree", |
| | | prop: "parentId", |
| | | dicUrl: "/api/blade-system/role/tree", |
| | | props: { |
| | | label: "title" |
| | | label: "title", |
| | | value: "value" |
| | | }, |
| | | }, |
| | | { |
| | |
| | | prop: "type", |
| | | search: true, |
| | | slot: true, |
| | | searchSpan:4, |
| | | searchSpan: 4, |
| | | type: "select", |
| | | dicData: [ |
| | | { |
| | |
| | | } |
| | | |
| | | ], |
| | | },{ |
| | | }, { |
| | | label: "审查状态", |
| | | prop: "examination_type", |
| | | slot: true, |
| | | search: true, |
| | | searchSpan:4, |
| | | searchSpan: 4, |
| | | display: false, |
| | | type: "select", |
| | | dicData: [ |
| | |
| | | ...mapGetters(["permission"]), |
| | | permissionList() { |
| | | return { |
| | | addBtn: this.vaildData(this.permission.zc_add, false), |
| | | addBtn: this.vaildData(this.permission.zc_add, false), |
| | | viewBtn: this.vaildData(this.permission.zc_view, true), |
| | | delBtn: this.vaildData(this.permission.zc_delete, false), |
| | | editBtn: this.vaildData(this.permission.zc_edit, false) |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | initData(){ |
| | | initData() { |
| | | getRoleTree().then(res => { |
| | | const column = this.findObject(this.option.column, "parentId"); |
| | | column.dicData = res.data.data; |
| | | }); |
| | | }, |
| | | handleEdit (row, index) { |
| | | this.initData(); |
| | | handleEdit(row, index) { |
| | | // this.initData(); |
| | | this.$refs.crud.rowEdit(row, index); |
| | | }, |
| | | rowSave(row, done, loading) { |
| | |
| | | this.selectionList = []; |
| | | this.$refs.crud.toggleSelection(); |
| | | }, |
| | | currentChange(currentPage){ |
| | | currentChange(currentPage) { |
| | | this.page.currentPage = currentPage; |
| | | }, |
| | | sizeChange(pageSize){ |
| | | sizeChange(pageSize) { |
| | | this.page.pageSize = pageSize; |
| | | }, |
| | | refreshChange() { |