zengh
2022-04-11 4b0e99956c9b87f1a6dd72795f4f6f33658fdff0
public/map/widgets/policeDispatching/PoliceDispatching.js
@@ -256,7 +256,7 @@
                $('.police-container-distribute-details .content table tbody').empty();
                var str = '';
                $.ajax({
                    url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id,
                    url: 'http://61.131.136.25:2082/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id,
                    type: 'POST',
                    dataType: 'JSON',
                    success: function (data) {
@@ -287,7 +287,7 @@
                                    var str = '';
                                    $('.police-container-distribute-details .security-guard-nearby .security-staff-content tbody').empty();
                                    $.ajax({
                                        url: 'http://223.82.109.183:2082/api/position/position/selectry',
                                        url: 'http://61.131.136.25:2082/api/position/position/selectry',
                                        type: 'POST',
                                        data: {
                                            coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")"
@@ -355,7 +355,7 @@
                    }
                    // 发送请求修改警单数据
                    $.ajax({
                        url: 'http://223.82.109.183:2082/api/jingdan/jingdan/updateInfo',
                        url: 'http://61.131.136.25:2082/api/jingdan/jingdan/updateInfo',
                        type: 'POST',
                        data: {
                            id: id,
@@ -394,7 +394,7 @@
                var str = '';
                $.ajax({
                    url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id,
                    url: 'http://61.131.136.25:2082/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id,
                    type: 'POST',
                    dataType: 'JSON',
                    success: function (data) {
@@ -757,7 +757,7 @@
                if ($(this).index() == 1) {
                    $('.police-dispatching .police-container .police-container-patrol .main-content .select-list ul').empty();
                    $.ajax({
                        url: 'http://223.82.109.183:2082/api/regions/regions/selectqy',
                        url: 'http://61.131.136.25:2082/api/regions/regions/selectqy',
                        type: 'GET',
                        dataType: 'JSON',
                        success: function (res) {
@@ -917,7 +917,7 @@
                                    that.layuiLayer.msg('人员未更改!');
                                } else {
                                    $.ajax({
                                        url: 'http://223.82.109.183:2082/api/duty/duty/updatedtInfo',
                                        url: 'http://61.131.136.25:2082/api/duty/duty/updatedtInfo',
                                        type: 'POST',
                                        data: {
                                            rid: routeId,
@@ -1007,7 +1007,7 @@
                        if (that.tabIndex == 1) {
                            if (that.patrolIndex == 1) {
                                $.ajax({
                                    url: 'http://223.82.109.183:2082/api/routeIn/routein/insertlx',
                                    url: 'http://61.131.136.25:2082/api/routeIn/routein/insertlx',
                                    type: 'POST',
                                    dataType: 'JSON',
                                    data: {
@@ -1023,7 +1023,7 @@
                                            that.polygonData = [];
                                            that.getRouteInformation($('.police-dispatching .police-container .police-container-patrol .table .tbody tbody'), '');
                                            $.ajax({
                                                url: 'http://223.82.109.183:2082/api/duty/duty/insertduty',
                                                url: 'http://61.131.136.25:2082/api/duty/duty/insertduty',
                                                type: 'POST',
                                                dataType: 'JSON',
                                                data: {
@@ -1047,7 +1047,7 @@
                                // that.pepleRealId = pepleRealId;
                            } else {
                                $.ajax({
                                    url: 'http://223.82.109.183:2082/api/regions/regions/insterqy',
                                    url: 'http://61.131.136.25:2082/api/regions/regions/insterqy',
                                    type: 'POST',
                                    dataType: 'JSON',
                                    data: {
@@ -1066,7 +1066,7 @@
                            }
                        } else if (that.tabIndex == 2) {
                            $.ajax({
                                url: 'http://223.82.109.183:2082/api/enclosure/enclosure/insertes',
                                url: 'http://61.131.136.25:2082/api/enclosure/enclosure/insertes',
                                type: 'POST',
                                dataType: 'JSON',
                                data: {
@@ -1104,7 +1104,7 @@
            $('.police-dispatching .police-container .distribute-district .select-list ul').empty();
            $('.police-dispatching .police-container .distribute-district .select-list ul').append("<li key='addvcd' addvcd=''>全部</li>");
            $.ajax({
                url: 'http://223.82.109.183:2082/api/district/district/selectList',
                url: 'http://61.131.136.25:2082/api/district/district/selectList',
                type: 'POST',
                dataType: 'JSON',
                success: function (data) {
@@ -1457,7 +1457,7 @@
            dom.empty();
            var that = this;
            $.ajax({
                url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectList',
                url: 'http://61.131.136.25:2082/api/jingdan/jingdan/selectList',
                type: 'POST',
                dataType: 'JSON',
                data: {
@@ -1520,7 +1520,7 @@
            that.currentDrawing = [];
            that.entityPolygonAll.clear();
            $.ajax({
                url: 'http://223.82.109.183:2082/api/regions/regions/selectList',
                url: 'http://61.131.136.25:2082/api/regions/regions/selectList',
                type: 'POST',
                dataType: 'JSON',
                data: {
@@ -1564,7 +1564,7 @@
            that.currentDrawing = [];
            that.entityPolygonAll.clear();
            $.ajax({
                url: 'http://223.82.109.183:2082/api/routeIn/routein/selectList',
                url: 'http://61.131.136.25:2082/api/routeIn/routein/selectList',
                type: 'POST',
                dataType: 'JSON',
                data: {
@@ -1606,7 +1606,7 @@
            that.currentDrawing = [];
            that.entityPolygonAll.clear();
            $.ajax({
                url: 'http://223.82.109.183:2082/api/security/security/selectList',
                url: 'http://61.131.136.25:2082/api/security/security/selectList',
                type: 'POST',
                dataType: 'JSON',
                success: function (data) {
@@ -1837,7 +1837,7 @@
                    dataStr = dataStr.substring(0, dataStr.length - 1);
                    $.ajax({
                        url: 'http://223.82.109.183:2082/api/routeIn/routein/updatelx',
                        url: 'http://61.131.136.25:2082/api/routeIn/routein/updatelx',
                        type: 'POST',
                        dataType: 'JSON',
                        data: {
@@ -1885,7 +1885,7 @@
                    dataStr = dataStr.substring(0, dataStr.length - 1);
                    $.ajax({
                        url: 'http://223.82.109.183:2082/api/regions/regions/updateqy',
                        url: 'http://61.131.136.25:2082/api/regions/regions/updateqy',
                        type: 'POST',
                        dataType: 'JSON',
                        data: {
@@ -1941,7 +1941,7 @@
                dataStr = dataStr.substring(0, dataStr.length - 1);
                $.ajax({
                    url: 'http://223.82.109.183:2082/api/enclosure/enclosure/updatee',
                    url: 'http://61.131.136.25:2082/api/enclosure/enclosure/updatee',
                    type: 'POST',
                    dataType: 'JSON',
                    data: {