zengh
2021-08-09 ee4e0076832e55cf23b41bdf0426e11e26bb8a5c
public/map/widgets/patrolManagement/PatrolManagement.js
@@ -509,7 +509,7 @@
                    $('.police-container-distribute-details .content table tbody').empty();
                    var str = '';
                    $.ajax({
                        url: 'http://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id,
                        url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id,
                        type: 'POST',
                        dataType: 'JSON',
                        success: function(data) {
@@ -540,7 +540,7 @@
                                        var str = '';
                                        $('.police-container-distribute-details .security-guard-nearby .security-staff-content tbody').empty();
                                        $.ajax({
                                            url: 'http://s16s652780.51mypc.cn/api/position/position/selectry',
                                            url: 'http://223.82.109.183:2082/api/position/position/selectry',
                                            type: 'POST',
                                            data: {
                                                coordinate: "point(" + $(this).attr('lgtd') + "," + $(this).attr('lttd') + ")"
@@ -608,7 +608,7 @@
                        }
                        // 发送请求修改警单数据
                        $.ajax({
                            url: 'http://s16s652780.51mypc.cn/api/jingdan/jingdan/updateInfo',
                            url: 'http://223.82.109.183:2082/api/jingdan/jingdan/updateInfo',
                            type: 'POST',
                            data: {
                                id: id,
@@ -647,7 +647,7 @@
                    var str = '';
                    $.ajax({
                        url: 'http://s16s652780.51mypc.cn/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id,
                        url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectdInfo?deviceNumber=&id=' + id,
                        type: 'POST',
                        dataType: 'JSON',
                        success: function(data) {
@@ -1014,7 +1014,7 @@
                    if ($(this).index() == 1) {
                        $('.police-dispatching .police-container .police-container-patrol .main-content .select-list ul').empty();
                        $.ajax({
                            url: 'http://s16s652780.51mypc.cn/api/regions/regions/selectqy',
                            url: 'http://223.82.109.183:2082/api/regions/regions/selectqy',
                            type: 'GET',
                            dataType: 'JSON',
                            success: function(res) {
@@ -1177,7 +1177,7 @@
                                $.ajax({
                                    url: 'http://s16s652780.51mypc.cn/api/duty/duty/updatedtInfo',
                                    url: 'http://223.82.109.183:2082/api/duty/duty/updatedtInfo',
                                    type: 'POST',
                                    data: {
                                        rid: routeId,
@@ -1269,7 +1269,7 @@
                        if (that.tabIndex == 1) {
                            if (that.patrolIndex == 1) {
                                $.ajax({
                                    url: 'http://s16s652780.51mypc.cn/api/routeIn/routein/insertlx',
                                    url: 'http://223.82.109.183:2082/api/routeIn/routein/insertlx',
                                    type: 'POST',
                                    dataType: 'JSON',
                                    data: {
@@ -1306,7 +1306,7 @@
                                // that.pepleRealId = pepleRealId;
                            } else {
                                $.ajax({
                                    url: 'http://s16s652780.51mypc.cn/api/regions/regions/insterqy',
                                    url: 'http://223.82.109.183:2082/api/regions/regions/insterqy',
                                    type: 'POST',
                                    dataType: 'JSON',
                                    data: {
@@ -1325,7 +1325,7 @@
                            }
                        } else if (that.tabIndex == 2) {
                            $.ajax({
                                url: 'http://s16s652780.51mypc.cn/api/enclosure/enclosure/insertes',
                                url: 'http://223.82.109.183:2082/api/enclosure/enclosure/insertes',
                                type: 'POST',
                                dataType: 'JSON',
                                data: {
@@ -1357,7 +1357,7 @@
            // $('.police-dispatching .police-container .police-container-patrol .main-content .select-list ul').empty();
            // $.ajax({
            //     url: 'http://s16s652780.51mypc.cn/api/regions/regions/selectqy',
            //     url: 'http://223.82.109.183:2082/api/regions/regions/selectqy',
            //     type: 'GET',
            //     dataType: 'JSON',
            //     success: function (res) {
@@ -1390,7 +1390,7 @@
            $('.police-dispatching .police-container .distribute-district .select-list ul').append("<li key='addvcd' addvcd=''>全部</li>");
            $.ajax({
                url: 'http://s16s652780.51mypc.cn/api/regions/regions/selectqy',
                url: 'http://223.82.109.183:2082/api/regions/regions/selectqy',
                type: 'GET',
                dataType: 'JSON',
                success: function(res) {
@@ -1403,7 +1403,7 @@
            })
            that.getRouteInformation($('.police-dispatching .police-container .police-container-patrol .main-content>li:eq(1) .table .tbody tbody'), '');
            // $.ajax({
            //     url: 'http://s16s652780.51mypc.cn/api/district/district/selectList',
            //     url: 'http://223.82.109.183:2082/api/district/district/selectList',
            //     type: 'POST',
            //     dataType: 'JSON',
            //     success: function (data) {
@@ -1771,7 +1771,7 @@
            dom.empty();
            var that = this;
            $.ajax({
                url: 'http://s16s652780.51mypc.cn/api/jingdan/jingdan/selectList',
                url: 'http://223.82.109.183:2082/api/jingdan/jingdan/selectList',
                type: 'POST',
                dataType: 'JSON',
                data: {
@@ -1834,7 +1834,7 @@
            that.currentDrawing = [];
            that.entityPolygonAll.clear();
            $.ajax({
                url: 'http://s16s652780.51mypc.cn/api/regions/regions/selectList',
                url: 'http://223.82.109.183:2082/api/regions/regions/selectList',
                type: 'POST',
                dataType: 'JSON',
                data: {
@@ -1878,7 +1878,7 @@
            that.currentDrawing = [];
            that.entityPolygonAll.clear();
            $.ajax({
                url: 'http://s16s652780.51mypc.cn/api/routeIn/routein/selectList',
                url: 'http://223.82.109.183:2082/api/routeIn/routein/selectList',
                type: 'POST',
                dataType: 'JSON',
                data: {
@@ -1920,7 +1920,7 @@
            that.currentDrawing = [];
            that.entityPolygonAll.clear();
            $.ajax({
                url: 'http://s16s652780.51mypc.cn/api/security/security/selectList',
                url: 'http://223.82.109.183:2082/api/security/security/selectList',
                type: 'POST',
                dataType: 'JSON',
                success: function(data) {
@@ -2155,7 +2155,7 @@
                    dataStr = dataStr.substring(0, dataStr.length - 1);
                    $.ajax({
                        url: 'http://s16s652780.51mypc.cn/api/routeIn/routein/updatelx',
                        url: 'http://223.82.109.183:2082/api/routeIn/routein/updatelx',
                        type: 'POST',
                        dataType: 'JSON',
                        data: {
@@ -2211,7 +2211,7 @@
                    dataStr = dataStr.substring(0, dataStr.length - 1);
                    $.ajax({
                        url: 'http://s16s652780.51mypc.cn/api/regions/regions/updateqy',
                        url: 'http://223.82.109.183:2082/api/regions/regions/updateqy',
                        type: 'POST',
                        dataType: 'JSON',
                        data: {
@@ -2267,7 +2267,7 @@
                dataStr = dataStr.substring(0, dataStr.length - 1);
                $.ajax({
                    url: 'http://s16s652780.51mypc.cn/api/enclosure/enclosure/updatee',
                    url: 'http://223.82.109.183:2082/api/enclosure/enclosure/updatee',
                    type: 'POST',
                    dataType: 'JSON',
                    data: {
@@ -2371,4 +2371,4 @@
    });
    return Widget;
});
});