| | |
| | | <meta http-equiv="X-UA-Compatible" content="ie=edge" /> |
| | | <title>Document</title> |
| | | <link rel="stylesheet" type="text/css" |
| | | href="https://s16s652780.51mypc.cn/arcgis_js_v318_api/arcgis_js_api/library/3.18/3.18/dijit/themes/tundra/tundra.css" /> |
| | | href="http://36.134.81.48:18000/arcgis_js_v318_api/arcgis_js_api/library/3.18/3.18/dijit/themes/tundra/tundra.css" /> |
| | | <link rel="stylesheet" type="text/css" |
| | | href="https://s16s652780.51mypc.cn/arcgis_js_v318_api/arcgis_js_api/library/3.18/3.18/esri/css/esri.css" /> |
| | | href="http://36.134.81.48:18000/arcgis_js_v318_api/arcgis_js_api/library/3.18/3.18/esri/css/esri.css" /> |
| | | <link rel="stylesheet" href="./lib/layui/css/layui.css" /> |
| | | <link rel="stylesheet" href="./css/forestry-map.css" /> |
| | | <link type="text/css" rel="stylesheet" href="framework.css" /> |
| | |
| | | <script src="env.js"></script> |
| | | |
| | | <script type="text/javascript" |
| | | src="https://s16s652780.51mypc.cn/arcgis_js_v318_api/arcgis_js_api/library/3.18/3.18/init.js"></script> |
| | | src="http://36.134.81.48:18000/arcgis_js_v318_api/arcgis_js_api/library/3.18/3.18/init.js"></script> |
| | | <script src='./lib/zTree_v3/js/jquery.ztree.all.js'></script> |
| | | <script> |
| | | var _framework = null; |
| | |
| | | |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/equipment/equipment/detail?id=' + code, |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/equipment/equipment/updateClinent?', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/equipment/equipment/updateClinent?', |
| | | data: { |
| | | "id": code, |
| | | |
| | |
| | | |
| | | // 查看设备的详细信息 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/equipment/equipment/detail?id=' + code, |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 查看警情的详细信息 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/suser/suser/detail?id=' + code, |
| | | url: 'http://36.134.81.48:18000/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-jfpts/security/security/selectInfo?snumber=' + code, |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/security/security/selectInfo?snumber=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 查看警情的详细信息 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + code, |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 查看警情的详细信息 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/alarm/alarm/selectInfo?id=' + code, |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/alarm/alarm/selectInfo?id=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | return |
| | | } |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/jingdan/jingdan/saves', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/jingdan/jingdan/saves', |
| | | type: 'POST', |
| | | data: { |
| | | rName: result.rname, |
| | |
| | | $(this).addClass('on'); |
| | | |
| | | $.ajax({ |
| | | url: "https://s16s652780.51mypc.cn/talk?deviceCode=" + $('.realtime-police-details-box>div:eq(1)').data('code'), |
| | | url: "http://36.134.81.48:18000/talk?deviceCode=" + $('.realtime-police-details-box>div:eq(1)').data('code'), |
| | | type: "POST", |
| | | data: '12345', |
| | | dataType: 'JSON', |
| | |
| | | var getPCMBlob = recorder.getPCMBlob(); |
| | | |
| | | $.ajax({ |
| | | url: "https://s16s652780.51mypc.cn/talk", |
| | | url: "http://36.134.81.48:18000/talk", |
| | | type: 'POST', |
| | | data: { |
| | | PktType: URL.createObjectURL(getPCMBlob), |
| | |
| | | layer.confirm('确定撤销该警情?', { icon: 3, title: '提示' }, function (index) { |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/alarm/alarm/deletejj', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/alarm/alarm/deletejj', |
| | | type: 'POST', |
| | | data: { |
| | | id: id |
| | |
| | | function updateJType(id, czTime, bz, jjTime) { |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/alarm/alarm/updateJtype', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/alarm/alarm/updateJtype', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | $.ajax({ |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | url: "https://s16s652780.51mypc.cn/GetPlayUrl?deviceCode=" + channelNumber + "&chl=" + serialNumber, |
| | | url: "http://36.134.81.48:18000/GetPlayUrl?deviceCode=" + channelNumber + "&chl=" + serialNumber, |
| | | success: function (data) { |
| | | |
| | | realStartVideo($('.realtime-view-video-box video')[0], data.data.m3u8) |
| | |
| | | |
| | | // 查看保安人员下拉 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/blade-user/selectry', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/blade-user/selectry', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 查看保安人员下拉 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/blade-user/selectry', |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/position/position/selectry', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/position/position/selectry', |
| | | type: 'POST', |
| | | data: { |
| | | coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")" |
| | |
| | | } |
| | | // 发送请求修改警单数据 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/jingdan/jingdan/updateInfo', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/jingdan/jingdan/updateInfo', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/regions/regions/selectqy', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | |
| | | that.layuiLayer.msg('人员未更改!'); |
| | | } else { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/duty/duty/updatedtInfo', |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/routeIn/routein/insertlx', |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/duty/duty/insertduty', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/duty/duty/insertduty', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | // that.pepleRealId = pepleRealId; |
| | | } else { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/regions/regions/insterqy', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/regions/regions/insterqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | } else if (that.tabIndex == 2) { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/enclosure/enclosure/insertes', |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/district/district/selectList', |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/jingdan/jingdan/selectList', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/regions/regions/selectList', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/regions/regions/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/routeIn/routein/selectList', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/routeIn/routein/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/security/security/selectList', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/security/security/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/routeIn/routein/updatelx', |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/regions/regions/updateqy', |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/enclosure/enclosure/updatee', |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/district/district/selectd', |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/jingdan/jingdan/selectList', |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/lx/lx/seleclx', |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/dj/dj/selectName?tnumbers=' + tnumbers, |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/suser/suser/selectList?type=' + type + '&dj=' + dj, |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/equipment/equipment/selectList?deviceType=' + deviceType, |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/jingdan/jingdan/selectList', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/suser/suser/selectList?type=' + type + '&dj=' + dj, |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/equipment/equipment/selectList?deviceType=' + deviceType, |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/netty/netty/selectNettyChannelb', |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/netty/netty/selectNettyChannelc', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/netty/netty/selectNettyChannelc', |
| | | data: { |
| | | pid: nodes[0].id |
| | | }, |
| | |
| | | ]; |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/catalogs/catalogs/catalogList', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/catalogs/catalogs/catalogList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | }); |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/district/district/selectList', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/district/district/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | break; |
| | | case 'deploy': //布防 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/netty/netty/selectNettyChannelOb', |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/netty/netty/selectNettyChannelOc', |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/equipment/equipment/page', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/equipment/equipment/page', |
| | | data: { |
| | | pid: pid |
| | | }, |
| | |
| | | |
| | | //获取四个查询条件 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/equipment/equipment/page', |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/position/position/selectry', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/position/position/selectry', |
| | | type: 'POST', |
| | | data: { |
| | | coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")" |
| | |
| | | } |
| | | // 发送请求修改警单数据 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/jingdan/jingdan/updateInfo', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/jingdan/jingdan/updateInfo', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/regions/regions/selectqy', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | |
| | | that.layuiLayer.msg('人员未更改!'); |
| | | } else { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/duty/duty/updatedtInfo', |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/routeIn/routein/insertlx', |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/duty/duty/insertduty', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/duty/duty/insertduty', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | // that.pepleRealId = pepleRealId; |
| | | } else { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/regions/regions/insterqy', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/regions/regions/insterqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | } else if (that.tabIndex == 2) { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/enclosure/enclosure/insertes', |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/district/district/selectList', |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/jingdan/jingdan/selectList', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/regions/regions/selectList', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/regions/regions/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/routeIn/routein/selectList', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/routeIn/routein/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/security/security/selectList', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/security/security/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/routeIn/routein/updatelx', |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/regions/regions/updateqy', |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/enclosure/enclosure/updatee', |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/position/position/selectry', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/position/position/selectry', |
| | | type: 'POST', |
| | | data: { |
| | | coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")" |
| | |
| | | } |
| | | // 发送请求修改警单数据 |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/jingdan/jingdan/updateInfo', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/jingdan/jingdan/updateInfo', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/regions/regions/selectqy', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | |
| | | that.layuiLayer.msg('人员未更改!'); |
| | | } else { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/duty/duty/updatedtInfo', |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/routeIn/routein/insertlx', |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/duty/duty/insertduty', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/duty/duty/insertduty', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | // that.pepleRealId = pepleRealId; |
| | | } else { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/regions/regions/insterqy', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/regions/regions/insterqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | } else if (that.tabIndex == 2) { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/enclosure/enclosure/insertes', |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/district/district/selectList', |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/jingdan/jingdan/selectList', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/regions/regions/selectList', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/regions/regions/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/routeIn/routein/selectList', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/routeIn/routein/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/security/security/selectList', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/security/security/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/routeIn/routein/updatelx', |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/regions/regions/updateqy', |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/enclosure/enclosure/updatee', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/enclosure/enclosure/updatee', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/jingdan/jingdan/saves', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/jingdan/jingdan/saves', |
| | | type: 'POST', |
| | | data: { |
| | | rName: $(_self).data('rname'), |
| | |
| | | |
| | | // 行政区 |
| | | // $.ajax({ |
| | | // url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/district/district/selectList', |
| | | // url: 'http://36.134.81.48:18000/api/blade-jfpts/district/district/selectList', |
| | | // type: 'POST', |
| | | // dataType: 'JSON', |
| | | // success: function (data) { |
| | |
| | | |
| | | // // 警情类型下拉 |
| | | // $.ajax({ |
| | | // url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/alarm/alarm/selectScount', |
| | | // url: 'http://36.134.81.48:18000/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/blade-jfpts/alarm/alarm/selectList' //数据接口 |
| | | , url: 'http://36.134.81.48:18000/api/blade-jfpts/alarm/alarm/selectList' //数据接口 |
| | | , method: "post" |
| | | , where: { jtype: '', beginTime: that.realBeginTime, endTime: that.realEndTime } |
| | | , parseData: function (res) { //res 即为原始返回的数据 |
| | |
| | | $.ajax({ |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | url: "https://s16s652780.51mypc.cn/GetPlayUrl?deviceCode=" + channelNumber + "&chl=" + serialNumber, |
| | | url: "http://36.134.81.48:18000/GetPlayUrl?deviceCode=" + channelNumber + "&chl=" + serialNumber, |
| | | success: function (data) { |
| | | |
| | | that.realStartVideo(dom, data.data.m3u8) |
| | |
| | | that.realTimeQuery = setInterval(function () { |
| | | if (that.historyPoliceId != null) { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/alarm/alarm/selecttx', |
| | | url: 'http://36.134.81.48:18000/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/blade-jfpts/alarm/alarm/deletejj', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/alarm/alarm/deletejj', |
| | | type: 'POST', |
| | | data: { |
| | | id: id |
| | |
| | | |
| | | updateJType: function (id, czTime, bz, jjTime) { |
| | | $.ajax({ |
| | | url: 'https://s16s652780.51mypc.cn/api/blade-jfpts/alarm/alarm/updateJtype', |
| | | url: 'http://36.134.81.48:18000/api/blade-jfpts/alarm/alarm/updateJtype', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | } |
| | | |
| | | var newAxios = axios.create({ |
| | | baseURL: "https://s16s652780.51mypc.cn", |
| | | baseURL: "http://36.134.81.48:18000", |
| | | withCredentials: false, |
| | | headers: {} |
| | | }); |
| | |
| | | |
| | | getSelectOptions() { |
| | | var newAxios = axios.create({ |
| | | baseURL: "https://s16s652780.51mypc.cn", |
| | | baseURL: "http://36.134.81.48:18000", |
| | | withCredentials: false, |
| | | headers: {} |
| | | }); |