Merge branch 'master' of http://192.168.0.105:10010/r/jfpt-Vue into master
| | |
| | | |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/equipment/equipment/detail?id=' + code, |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/equipment/equipment/detail?id=' + code, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | $("#client_bc").off("click").click(function () { |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/equipment/equipment/updateClinent?', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/equipment/equipment/updateClinent?', |
| | | data: { |
| | | "id": code, |
| | | |
| | |
| | | |
| | | // 查看设备的详细信息 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/equipment/equipment/detail?id=' + code, |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/equipment/equipment/detail?id=' + code, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | console.log(code, 1212121); |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 查看警情的详细信息 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/suser/suser/detail?id=' + code, |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/suser/suser/detail?id=' + code, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | var viewVideoLayer = null; |
| | | // 查看保安人员的详细信息 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-user/selectInfo?id=' + code, |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/blade-user/selectInfo?id=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 查看警情的详细信息 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + code, |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | console.log(code, 1212121); |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 查看警情的详细信息 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/alarm/alarm/selectInfo?id=' + code, |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/alarm/alarm/selectInfo?id=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | return |
| | | } |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/saves', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/jingdan/jingdan/saves', |
| | | type: 'POST', |
| | | data: { |
| | | rName: result.rname, |
| | |
| | | layer.confirm('确定撤销该警情?', { icon: 3, title: '提示' }, function (index) { |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/alarm/alarm/deletejj', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/alarm/alarm/deletejj', |
| | | type: 'POST', |
| | | data: { |
| | | id: id |
| | |
| | | function updateJType(id, czTime, bz, jjTime) { |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/alarm/alarm/updateJtype', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/alarm/alarm/updateJtype', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | // 查看保安人员下拉 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-user/selectry', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/blade-user/selectry', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 查看保安人员下拉 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-user/selectry', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/blade-user/selectry', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | $('.police-container-distribute-details .content table tbody').empty(); |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | var str = ''; |
| | | $('.police-container-distribute-details .security-guard-nearby .security-staff-content tbody').empty(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/position/position/selectry', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/position/position/selectry', |
| | | type: 'POST', |
| | | data: { |
| | | coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")" |
| | |
| | | } |
| | | // 发送请求修改警单数据 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/updateInfo', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/jingdan/jingdan/updateInfo', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | if ($(this).index() == 1) { |
| | | $('.police-dispatching .police-container .police-container-patrol .main-content .select-list ul').empty(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/regions/regions/selectqy', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | |
| | | that.layuiLayer.msg('人员未更改!'); |
| | | } else { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/duty/duty/updatedtInfo', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/duty/duty/updatedtInfo', |
| | | type: 'POST', |
| | | data: { |
| | | rid: routeId, |
| | |
| | | if (that.tabIndex == 1) { |
| | | if (that.patrolIndex == 1) { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/routeIn/routein/insertlx', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/routeIn/routein/insertlx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.polygonData = []; |
| | | that.getRouteInformation($('.police-dispatching .police-container .police-container-patrol .table .tbody tbody'), ''); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/duty/duty/insertduty', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/duty/duty/insertduty', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | // that.pepleRealId = pepleRealId; |
| | | } else { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/regions/regions/insterqy', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/regions/regions/insterqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | } else if (that.tabIndex == 2) { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/enclosure/enclosure/insertes', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/enclosure/enclosure/insertes', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | $('.police-dispatching .police-container .distribute-district .select-list ul').empty(); |
| | | $('.police-dispatching .police-container .distribute-district .select-list ul').append("<li key='addvcd' addvcd=''>全部</li>"); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/district/district/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/district/district/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/regions/regions/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/regions/regions/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/routeIn/routein/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/routeIn/routein/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-user/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/blade-user/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/routeIn/routein/updatelx', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/routeIn/routein/updatelx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/regions/regions/updateqy', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/regions/regions/updateqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/enclosure/enclosure/updatee', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/enclosure/enclosure/updatee', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dom.children('.select-list').children('ul').append($("<li areaid='all'>全部</li>")); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/district/district/selectd', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/district/district/selectd', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dom.children('.select-list').children('ul').empty(); |
| | | dom.children('.select-list').children('ul').append($("<li ownerid='all'>全部</li>")); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/lx/lx/seleclx', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/lx/lx/seleclx', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.children('.select-list').children('ul').empty(); |
| | | dom.children('.select-list').children('ul').append($("<li>全部</li>")); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/dj/dj/selectName?tnumbers=' + tnumbers, |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/dj/dj/selectName?tnumbers=' + tnumbers, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/suser/suser/selectList?type=' + type + '&dj=' + dj, |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/suser/suser/selectList?type=' + type + '&dj=' + dj, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/equipment/equipment/selectList?deviceType=' + deviceType, |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/equipment/equipment/selectList?deviceType=' + deviceType, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/suser/suser/selectList?type=' + type + '&dj=' + dj, |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/suser/suser/selectList?type=' + type + '&dj=' + dj, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/equipment/equipment/selectList?deviceType=' + deviceType, |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/equipment/equipment/selectList?deviceType=' + deviceType, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | $("#client-all-deploy").off('click').click(function () { |
| | | var nodes = that.zTree.getSelectedNodes(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/netty/netty/selectNettyChannelb', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/netty/netty/selectNettyChannelb', |
| | | data: { |
| | | pid: nodes[0].id |
| | | }, |
| | |
| | | $("#client-all-retreat").off('click').click(function () { |
| | | var nodes = that.zTree.getSelectedNodes(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/netty/netty/selectNettyChannelc', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/netty/netty/selectNettyChannelc', |
| | | data: { |
| | | pid: nodes[0].id |
| | | }, |
| | |
| | | ]; |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/catalogs/catalogs/catalogList', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/catalogs/catalogs/catalogList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | }); |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/district/district/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/district/district/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | break; |
| | | case 'deploy': //布防 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/netty/netty/selectNettyChannelOb', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/netty/netty/selectNettyChannelOb', |
| | | data: { |
| | | deviceNumber: obj.data.deviceNumber, |
| | | ID: obj.data.id |
| | |
| | | break; |
| | | case 'retreat': //撤防 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/netty/netty/selectNettyChannelOc', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/netty/netty/selectNettyChannelOc', |
| | | data: { |
| | | deviceNumber: obj.data.deviceNumber, |
| | | ID: obj.data.id |
| | |
| | | var that = this; |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/equipment/equipment/page', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/equipment/equipment/page', |
| | | data: { |
| | | pid: pid |
| | | }, |
| | |
| | | |
| | | //获取四个查询条件 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/equipment/equipment/page', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/equipment/equipment/page', |
| | | data: where, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | |
| | | $('.police-container-distribute-details .content table tbody').empty(); |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | var str = ''; |
| | | $('.police-container-distribute-details .security-guard-nearby .security-staff-content tbody').empty(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/position/position/selectry', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/position/position/selectry', |
| | | type: 'POST', |
| | | data: { |
| | | coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")" |
| | |
| | | } |
| | | // 发送请求修改警单数据 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/updateInfo', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/jingdan/jingdan/updateInfo', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | if ($(this).index() == 1) { |
| | | $('.police-dispatching .police-container .police-container-patrol .main-content .select-list ul').empty(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/regions/regions/selectqy', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | |
| | | that.layuiLayer.msg('人员未更改!'); |
| | | } else { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/duty/duty/updatedtInfo', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/duty/duty/updatedtInfo', |
| | | type: 'POST', |
| | | data: { |
| | | rid: routeId, |
| | |
| | | if (that.tabIndex == 1) { |
| | | if (that.patrolIndex == 1) { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/routeIn/routein/insertlx', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/routeIn/routein/insertlx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.polygonData = []; |
| | | that.getRouteInformation($('.police-dispatching .police-container .police-container-patrol .table .tbody tbody'), ''); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/duty/duty/insertduty', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/duty/duty/insertduty', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | // that.pepleRealId = pepleRealId; |
| | | } else { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/regions/regions/insterqy', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/regions/regions/insterqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | } else if (that.tabIndex == 2) { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/enclosure/enclosure/insertes', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/enclosure/enclosure/insertes', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | $('.police-dispatching .police-container .distribute-district .select-list ul').empty(); |
| | | $('.police-dispatching .police-container .distribute-district .select-list ul').append("<li key='addvcd' addvcd=''>全部</li>"); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/district/district/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/district/district/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/regions/regions/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/regions/regions/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/routeIn/routein/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/routeIn/routein/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-user/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/blade-user/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/routeIn/routein/updatelx', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/routeIn/routein/updatelx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/regions/regions/updateqy', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/regions/regions/updateqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/enclosure/enclosure/updatee', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/enclosure/enclosure/updatee', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | $('.police-container-distribute-details .content table tbody').empty(); |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | var str = ''; |
| | | $('.police-container-distribute-details .security-guard-nearby .security-staff-content tbody').empty(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/position/position/selectry', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/position/position/selectry', |
| | | type: 'POST', |
| | | data: { |
| | | coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")" |
| | |
| | | } |
| | | // 发送请求修改警单数据 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/updateInfo', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/jingdan/jingdan/updateInfo', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | if ($(this).index() == 1) { |
| | | $('.police-dispatching .police-container .police-container-patrol .main-content .select-list ul').empty(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/regions/regions/selectqy', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | |
| | | that.layuiLayer.msg('人员未更改!'); |
| | | } else { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/duty/duty/updatedtInfo', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/duty/duty/updatedtInfo', |
| | | type: 'POST', |
| | | data: { |
| | | rid: routeId, |
| | |
| | | if (that.tabIndex == 1) { |
| | | if (that.patrolIndex == 1) { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/routeIn/routein/insertlx', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/routeIn/routein/insertlx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.polygonData = []; |
| | | that.getRouteInformation($('.police-dispatching .police-container .police-container-patrol .table .tbody tbody'), ''); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/duty/duty/insertduty', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/duty/duty/insertduty', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | // that.pepleRealId = pepleRealId; |
| | | } else { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/regions/regions/insterqy', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/regions/regions/insterqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | } else if (that.tabIndex == 2) { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/enclosure/enclosure/insertes', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/enclosure/enclosure/insertes', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | $('.police-dispatching .police-container .distribute-district .select-list ul').empty(); |
| | | $('.police-dispatching .police-container .distribute-district .select-list ul').append("<li key='addvcd' addvcd=''>全部</li>"); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/district/district/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/district/district/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/regions/regions/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/regions/regions/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/routeIn/routein/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/routeIn/routein/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-user/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/blade-user/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/routeIn/routein/updatelx', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/routeIn/routein/updatelx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/regions/regions/updateqy', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/regions/regions/updateqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/enclosure/enclosure/updatee', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/enclosure/enclosure/updatee', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/jingdan/jingdan/saves', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/jingdan/jingdan/saves', |
| | | type: 'POST', |
| | | data: { |
| | | rName: $(_self).data('rname'), |
| | |
| | | |
| | | // 行政区 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/district/district/selectList', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/district/district/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 警情类型下拉 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/alarm/alarm/selectScount', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/alarm/alarm/selectScount', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | that.updateRealTable = table.render({ |
| | | elem: '#real_time_table' |
| | | , height: (layerTabHei - 20) |
| | | , url: 'https://s16s652780.51mypc.cn/api/alarm/alarm/selectList' //数据接口 |
| | | , url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/alarm/alarm/selectList' //数据接口 |
| | | , method: "post" |
| | | , where: { jtype: '', beginTime: that.realBeginTime, endTime: that.realEndTime } |
| | | , parseData: function (res) { //res 即为原始返回的数据 |
| | |
| | | that.realTimeQuery = setInterval(function () { |
| | | if (that.historyPoliceId != null) { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/alarm/alarm/selecttx', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/alarm/alarm/selecttx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | layer.confirm('确定撤销该警情?', { icon: 3, title: '提示' }, function (index) { |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/alarm/alarm/deletejj', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/alarm/alarm/deletejj', |
| | | type: 'POST', |
| | | data: { |
| | | id: id |
| | |
| | | |
| | | updateJType: function (id, czTime, bz, jjTime) { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/alarm/alarm/updateJtype', |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/alarm/alarm/updateJtype', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | data () { |
| | | return { |
| | | box: false, |
| | | text: "白色主题", |
| | | text: "", |
| | | list: [ |
| | | { |
| | | name: "默认主题", |
| | |
| | | /* |
| | | * @Descripttion: |
| | | * @version: |
| | | * @Author: song |
| | | * @Date: 2021-01-26 08:56:33 |
| | | * @LastEditors: song |
| | | * @LastEditTime: 2021-01-29 16:46:46 |
| | | */ |
| | | import { |
| | | setStore, |
| | | getStore, |
| | |
| | | showMenu: true, |
| | | showColor: true, |
| | | colorName: getStore({name: 'colorName'}) || '#409EFF', |
| | | themeName: getStore({name: 'themeName'}) || 'theme-default', |
| | | themeName: getStore({name: 'themeName'}) || 'theme-white', |
| | | lockPasswd: getStore({name: 'lockPasswd'}) || '', |
| | | website: website, |
| | | }, |