| | |
| | | <meta http-equiv="X-UA-Compatible" content="ie=edge" /> |
| | | <title>Document</title> |
| | | <link rel="stylesheet" type="text/css" |
| | | href="http://36.134.81.48:18001/arcgis_js_v318_api/arcgis_js_api/library/3.18/3.18/dijit/themes/tundra/tundra.css" /> |
| | | href="https://web.byisf.com/arcgis_js_v318_api/arcgis_js_api/library/3.18/3.18/dijit/themes/tundra/tundra.css" /> |
| | | <link rel="stylesheet" type="text/css" |
| | | href="http://36.134.81.48:18001/arcgis_js_v318_api/arcgis_js_api/library/3.18/3.18/esri/css/esri.css" /> |
| | | href="https://web.byisf.com/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="http://36.134.81.48:18001/arcgis_js_v318_api/arcgis_js_api/library/3.18/3.18/init.js"></script> |
| | | src="https://web.byisf.com/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: 'http://36.134.81.48:18001/api/blade-jfpts/equipment/equipment/detail?id=' + code, |
| | | url: 'https://web.byisf.com/api/blade-jfpts/equipment/equipment/detail?id=' + code, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | $("#client_bc").off("click").click(function () { |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/equipment/equipment/updateClinent?', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/equipment/equipment/updateClinent?', |
| | | data: { |
| | | "id": code, |
| | | |
| | |
| | | |
| | | // 查看设备的详细信息 |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/equipment/equipment/detail?id=' + code, |
| | | url: 'https://web.byisf.com/api/blade-jfpts/equipment/equipment/detail?id=' + code, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | console.log(code, 1212121); |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 查看警情的详细信息 |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/suser/suser/detail?id=' + code, |
| | | url: 'https://web.byisf.com/api/blade-jfpts/suser/suser/detail?id=' + code, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | var viewVideoLayer = null; |
| | | // 查看保安人员的详细信息 |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/security/security/selectInfo?snumber=' + code, |
| | | url: 'https://web.byisf.com/api/blade-jfpts/security/security/selectInfo?snumber=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 查看警情的详细信息 |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + code, |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | console.log(code, 1212121); |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | |
| | | // 查看警情的详细信息 |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/alarm/alarm/selectInfo?id=' + code, |
| | | url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/selectInfo?id=' + code, |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | return |
| | | } |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/saves', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/saves', |
| | | type: 'POST', |
| | | data: { |
| | | rName: result.rname, |
| | |
| | | $(this).addClass('on'); |
| | | |
| | | $.ajax({ |
| | | url: "http://36.134.81.48:18001/talk?deviceCode=" + $('.realtime-police-details-box>div:eq(1)').data('code'), |
| | | url: "https://web.byisf.com/talk?deviceCode=" + $('.realtime-police-details-box>div:eq(1)').data('code'), |
| | | type: "POST", |
| | | data: '12345', |
| | | dataType: 'JSON', |
| | |
| | | var getPCMBlob = recorder.getPCMBlob(); |
| | | |
| | | $.ajax({ |
| | | url: "http://36.134.81.48:18001/talk", |
| | | url: "https://web.byisf.com/talk", |
| | | type: 'POST', |
| | | data: { |
| | | PktType: URL.createObjectURL(getPCMBlob), |
| | |
| | | layer.confirm('确定撤销该警情?', { icon: 3, title: '提示' }, function (index) { |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/alarm/alarm/deletejj', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/deletejj', |
| | | type: 'POST', |
| | | data: { |
| | | id: id |
| | |
| | | function updateJType(id, czTime, bz, jjTime) { |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/alarm/alarm/updateJtype', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/updateJtype', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | /* |
| | | * @Author: Morpheus |
| | | * @Date: 2021-03-12 11:57:38 |
| | | * @Last Modified by: Morpheus |
| | | * @Last Modified time: 2021-03-12 11:57:38 |
| | | * @Author: Morpheus |
| | | * @Date: 2021-03-12 11:57:38 |
| | | * @Last Modified by: Morpheus |
| | | * @Last Modified time: 2021-03-12 11:57:38 |
| | | */ |
| | | $(function () { |
| | | // var code = GetQueryString("id"); |
| | |
| | | |
| | | // 查看保安人员下拉 |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/security/security/selectry', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/security/security/selectry', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | /* |
| | | * @Author: Morpheus |
| | | * @Date: 2021-03-12 11:57:34 |
| | | * @Last Modified by: Morpheus |
| | | * @Last Modified time: 2021-03-12 11:57:34 |
| | | * @Author: Morpheus |
| | | * @Date: 2021-03-12 11:57:34 |
| | | * @Last Modified by: Morpheus |
| | | * @Last Modified time: 2021-03-12 11:57:34 |
| | | */ |
| | | $(function () { |
| | | |
| | |
| | | |
| | | // 查看保安人员下拉 |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/security/security/selectry', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/security/security/selectry', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | $('.police-container-distribute-details .content table tbody').empty(); |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'https://web.byisf.com/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: 'http://36.134.81.48:18001/api/blade-jfpts/position/position/selectry', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/position/position/selectry', |
| | | type: 'POST', |
| | | data: { |
| | | coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")" |
| | |
| | | } |
| | | // 发送请求修改警单数据 |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/updateInfo', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/updateInfo', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'https://web.byisf.com/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: 'http://36.134.81.48:18001/api/blade-jfpts/regions/regions/selectqy', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | |
| | | that.layuiLayer.msg('人员未更改!'); |
| | | } else { |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/duty/duty/updatedtInfo', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/duty/duty/updatedtInfo', |
| | | type: 'POST', |
| | | data: { |
| | | rid: routeId, |
| | |
| | | if (that.tabIndex == 1) { |
| | | if (that.patrolIndex == 1) { |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/routeIn/routein/insertlx', |
| | | url: 'https://web.byisf.com/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: 'http://36.134.81.48:18001/api/blade-jfpts/duty/duty/insertduty', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/duty/duty/insertduty', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | // that.pepleRealId = pepleRealId; |
| | | } else { |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/regions/regions/insterqy', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/insterqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | } else if (that.tabIndex == 2) { |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/enclosure/enclosure/insertes', |
| | | url: 'https://web.byisf.com/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: 'http://36.134.81.48:18001/api/blade-jfpts/district/district/selectList', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/district/district/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/regions/regions/selectList', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/routeIn/routein/selectList', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/security/security/selectList', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/security/security/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/routeIn/routein/updatelx', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/updatelx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/regions/regions/updateqy', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/updateqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/enclosure/enclosure/updatee', |
| | | url: 'https://web.byisf.com/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: 'http://36.134.81.48:18001/api/blade-jfpts/district/district/selectd', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/district/district/selectd', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | url: 'https://web.byisf.com/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: 'http://36.134.81.48:18001/api/blade-jfpts/lx/lx/seleclx', |
| | | url: 'https://web.byisf.com/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: 'http://36.134.81.48:18001/api/blade-jfpts/dj/dj/selectName?tnumbers=' + tnumbers, |
| | | url: 'https://web.byisf.com/api/blade-jfpts/dj/dj/selectName?tnumbers=' + tnumbers, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/suser/suser/selectList?type=' + type + '&dj=' + dj, |
| | | url: 'https://web.byisf.com/api/blade-jfpts/suser/suser/selectList?type=' + type + '&dj=' + dj, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/equipment/equipment/selectList?deviceType=' + deviceType, |
| | | url: 'https://web.byisf.com/api/blade-jfpts/equipment/equipment/selectList?deviceType=' + deviceType, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/suser/suser/selectList?type=' + type + '&dj=' + dj, |
| | | url: 'https://web.byisf.com/api/blade-jfpts/suser/suser/selectList?type=' + type + '&dj=' + dj, |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/equipment/equipment/selectList?deviceType=' + deviceType, |
| | | url: 'https://web.byisf.com/api/blade-jfpts/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://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'https://web.byisf.com/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: 'http://36.134.81.48:18001/api/blade-jfpts/position/position/selectry', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/position/position/selectry', |
| | | type: 'POST', |
| | | data: { |
| | | coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")" |
| | |
| | | } |
| | | // 发送请求修改警单数据 |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/updateInfo', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/updateInfo', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'https://web.byisf.com/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: 'http://36.134.81.48:18001/api/blade-jfpts/regions/regions/selectqy', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | |
| | | that.layuiLayer.msg('人员未更改!'); |
| | | } else { |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/duty/duty/updatedtInfo', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/duty/duty/updatedtInfo', |
| | | type: 'POST', |
| | | data: { |
| | | rid: routeId, |
| | |
| | | if (that.tabIndex == 1) { |
| | | if (that.patrolIndex == 1) { |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/routeIn/routein/insertlx', |
| | | url: 'https://web.byisf.com/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: 'http://36.134.81.48:18001/api/blade-jfpts/duty/duty/insertduty', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/duty/duty/insertduty', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | // that.pepleRealId = pepleRealId; |
| | | } else { |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/regions/regions/insterqy', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/insterqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | } else if (that.tabIndex == 2) { |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/enclosure/enclosure/insertes', |
| | | url: 'https://web.byisf.com/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: 'http://36.134.81.48:18001/api/blade-jfpts/district/district/selectList', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/district/district/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/regions/regions/selectList', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/routeIn/routein/selectList', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/security/security/selectList', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/security/security/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/routeIn/routein/updatelx', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/updatelx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/regions/regions/updateqy', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/updateqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/enclosure/enclosure/updatee', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/enclosure/enclosure/updatee', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | $('.police-container-distribute-details .content table tbody').empty(); |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'https://web.byisf.com/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: 'http://36.134.81.48:18001/api/blade-jfpts/position/position/selectry', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/position/position/selectry', |
| | | type: 'POST', |
| | | data: { |
| | | coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")" |
| | |
| | | } |
| | | // 发送请求修改警单数据 |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/updateInfo', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/updateInfo', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | |
| | | var str = ''; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id, |
| | | url: 'https://web.byisf.com/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: 'http://36.134.81.48:18001/api/blade-jfpts/regions/regions/selectqy', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/selectqy', |
| | | type: 'GET', |
| | | dataType: 'JSON', |
| | | success: function (res) { |
| | |
| | | that.layuiLayer.msg('人员未更改!'); |
| | | } else { |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/duty/duty/updatedtInfo', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/duty/duty/updatedtInfo', |
| | | type: 'POST', |
| | | data: { |
| | | rid: routeId, |
| | |
| | | if (that.tabIndex == 1) { |
| | | if (that.patrolIndex == 1) { |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/routeIn/routein/insertlx', |
| | | url: 'https://web.byisf.com/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: 'http://36.134.81.48:18001/api/blade-jfpts/duty/duty/insertduty', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/duty/duty/insertduty', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | // that.pepleRealId = pepleRealId; |
| | | } else { |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/regions/regions/insterqy', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/insterqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | } else if (that.tabIndex == 2) { |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/enclosure/enclosure/insertes', |
| | | url: 'https://web.byisf.com/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: 'http://36.134.81.48:18001/api/blade-jfpts/district/district/selectList', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/district/district/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dom.empty(); |
| | | var that = this; |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/regions/regions/selectList', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/routeIn/routein/selectList', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | that.currentDrawing = []; |
| | | that.entityPolygonAll.clear(); |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/security/security/selectList', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/security/security/selectList', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | success: function (data) { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/routeIn/routein/updatelx', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/routeIn/routein/updatelx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/regions/regions/updateqy', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/regions/regions/updateqy', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | dataStr = dataStr.substring(0, dataStr.length - 1); |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/enclosure/enclosure/updatee', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/enclosure/enclosure/updatee', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | } |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/jingdan/jingdan/saves', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/jingdan/jingdan/saves', |
| | | type: 'POST', |
| | | data: { |
| | | rName: $(_self).data('rname'), |
| | |
| | | |
| | | // 行政区 |
| | | // $.ajax({ |
| | | // url: 'http://36.134.81.48:18001/api/blade-jfpts/district/district/selectList', |
| | | // url: 'https://web.byisf.com/api/blade-jfpts/district/district/selectList', |
| | | // type: 'POST', |
| | | // dataType: 'JSON', |
| | | // success: function (data) { |
| | |
| | | |
| | | // // 警情类型下拉 |
| | | // $.ajax({ |
| | | // url: 'http://36.134.81.48:18001/api/blade-jfpts/alarm/alarm/selectScount', |
| | | // url: 'https://web.byisf.com/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: 'http://36.134.81.48:18001/api/blade-jfpts/alarm/alarm/selectList' //数据接口 |
| | | , url: 'https://web.byisf.com/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: 'http://36.134.81.48:18001/api/blade-jfpts/alarm/alarm/selecttx', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/selecttx', |
| | | type: 'POST', |
| | | dataType: 'JSON', |
| | | data: { |
| | |
| | | layer.confirm('确定撤销该警情?', { icon: 3, title: '提示' }, function (index) { |
| | | |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/alarm/alarm/deletejj', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/deletejj', |
| | | type: 'POST', |
| | | data: { |
| | | id: id |
| | |
| | | |
| | | updateJType: function (id, czTime, bz, jjTime) { |
| | | $.ajax({ |
| | | url: 'http://36.134.81.48:18001/api/blade-jfpts/alarm/alarm/updateJtype', |
| | | url: 'https://web.byisf.com/api/blade-jfpts/alarm/alarm/updateJtype', |
| | | type: 'POST', |
| | | data: { |
| | | id: id, |
| | |
| | | } |
| | | |
| | | var newAxios = axios.create({ |
| | | baseURL: "http://36.134.81.48:18001", |
| | | baseURL: "https://web.byisf.com", |
| | | withCredentials: false, |
| | | headers: {} |
| | | }); |
| | |
| | | |
| | | getSelectOptions() { |
| | | var newAxios = axios.create({ |
| | | baseURL: "http://36.134.81.48:18001", |
| | | baseURL: "https://web.byisf.com", |
| | | withCredentials: false, |
| | | headers: {} |
| | | }); |
| | |
| | | <template> |
| | | <iframe v-show="iframeState" id="show-iframe" frameborder=0 name="showHere" scrolling=auto |
| | | src="http://36.134.81.48:18001/bigScreen/view/1349193280059879426"></iframe> |
| | | src="https://web.byisf.com/bigScreen/view/1349193280059879426"></iframe> |
| | | </template> |
| | | |
| | | <script> |
| | |
| | | <iframe |
| | | id="mapDiv" |
| | | ref="mapDiv" |
| | | src="http://36.134.81.48:18001/map/index.html?openid=ClientManagement" |
| | | src="https://web.byisf.com/map/index.html?openid=ClientManagement" |
| | | frameborder="0" |
| | | width="100%" |
| | | height="100%" |
| | |
| | | } |
| | | }); |
| | | that.$store.state.tags.tagList = arr; |
| | | |
| | | row.type = 0; |
| | | row.id = response.data.data; |
| | | that.$router.push({path: "/distribution/index", query: row}); |
| | | |
| | | }) |
| | |
| | | '/api': { |
| | | //本地服务接口地址 |
| | | //target: 'http://localhost:82/', |
| | | target: 'http://36.134.81.48:18001/api/', |
| | | target: 'https://web.byisf.com/api/', |
| | | //远程演示服务地址,可用于直接启动项目 |
| | | //target: 'https://saber.bladex.vip/api', |
| | | ws: true, |